From e0132ea2f11fefeab49041d71ce347a33d67bbf5 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Mon, 19 Jul 2021 18:34:50 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Data/Format/Syntax.lean | 2 +- stage0/src/Init/Data/String/Basic.lean | 25 +- stage0/src/Init/Meta.lean | 56 +- stage0/src/Init/NotationExtra.lean | 6 +- stage0/src/Init/Prelude.lean | 2 +- stage0/src/Lean/Data.lean | 2 + stage0/src/Lean/Data/Json/Parser.lean | 139 +- stage0/src/Lean/Data/Parsec.lean | 170 + stage0/src/Lean/Data/Xml.lean | 2 + stage0/src/Lean/Data/Xml/Basic.lean | 41 + stage0/src/Lean/Data/Xml/Parser.lean | 488 + stage0/src/Lean/Elab/App.lean | 8 +- stage0/src/Lean/Elab/Binders.lean | 14 +- stage0/src/Lean/Elab/Deriving/FromToJson.lean | 1 - stage0/src/Lean/Elab/Do.lean | 2 +- stage0/src/Lean/Elab/InfoTree.lean | 5 +- stage0/src/Lean/Elab/LetRec.lean | 9 +- stage0/src/Lean/Elab/Mixfix.lean | 26 +- stage0/src/Lean/Elab/Term.lean | 33 +- stage0/src/Lean/Parser/Command.lean | 4 +- stage0/src/Lean/Parser/Syntax.lean | 2 +- .../src/Lean/PrettyPrinter/Parenthesizer.lean | 6 +- .../Server/FileWorker/RequestHandling.lean | 33 +- stage0/src/Lean/Syntax.lean | 44 + stage0/src/include/lean/compiler_hints.h | 17 - stage0/src/include/lean/lean.h | 243 +- stage0/src/runtime/alloc.cpp | 61 +- stage0/src/runtime/object.cpp | 93 +- stage0/src/util/object_ref.h | 2 +- stage0/stdlib/CMakeLists.txt | 2 +- stage0/stdlib/Init/Data/Format/Syntax.c | 46 +- stage0/stdlib/Init/Data/String/Basic.c | 855 +- stage0/stdlib/Init/Data/ToString/Basic.c | 4 +- stage0/stdlib/Init/Meta.c | 1548 +- stage0/stdlib/Init/NotationExtra.c | 174 +- stage0/stdlib/Init/Prelude.c | 2 +- stage0/stdlib/Lean/Compiler/ExportAttr.c | 4 +- stage0/stdlib/Lean/Data.c | 10 +- stage0/stdlib/Lean/Data/Json/Basic.c | 4 +- stage0/stdlib/Lean/Data/Json/Parser.c | 2321 +- stage0/stdlib/Lean/Data/Lsp/Capabilities.c | 13 +- stage0/stdlib/Lean/Data/Lsp/TextSync.c | 90 +- stage0/stdlib/Lean/Data/Parsec.c | 3022 ++ stage0/stdlib/Lean/Data/Xml.c | 37 + stage0/stdlib/Lean/Data/Xml/Basic.c | 547 + stage0/stdlib/Lean/Data/Xml/Parser.c | 30131 ++++++++++++++++ stage0/stdlib/Lean/Elab/App.c | 2551 +- stage0/stdlib/Lean/Elab/AutoBound.c | 4 +- stage0/stdlib/Lean/Elab/Binders.c | 1000 +- stage0/stdlib/Lean/Elab/BuiltinTerm.c | 94 +- stage0/stdlib/Lean/Elab/Declaration.c | 94 +- stage0/stdlib/Lean/Elab/Deriving/Basic.c | 94 +- stage0/stdlib/Lean/Elab/Deriving/FromToJson.c | 451 +- stage0/stdlib/Lean/Elab/Do.c | 2 +- stage0/stdlib/Lean/Elab/InfoTree.c | 86 +- stage0/stdlib/Lean/Elab/LetRec.c | 601 +- stage0/stdlib/Lean/Elab/Mixfix.c | 3990 +- stage0/stdlib/Lean/Elab/PatternVar.c | 94 +- stage0/stdlib/Lean/Elab/Print.c | 54 +- stage0/stdlib/Lean/Elab/Quotation.c | 1693 +- stage0/stdlib/Lean/Elab/Syntax.c | 54 +- stage0/stdlib/Lean/Elab/Tactic/Induction.c | 94 +- stage0/stdlib/Lean/Elab/Tactic/Simp.c | 94 +- stage0/stdlib/Lean/Elab/Term.c | 2302 +- stage0/stdlib/Lean/Meta/Closure.c | 6654 ++-- stage0/stdlib/Lean/Parser/Syntax.c | 269 +- .../stdlib/Lean/PrettyPrinter/Parenthesizer.c | 793 +- .../Lean/Server/FileWorker/RequestHandling.c | 9684 ++--- stage0/stdlib/Lean/Syntax.c | 1092 +- 69 files changed, 53687 insertions(+), 18503 deletions(-) create mode 100644 stage0/src/Lean/Data/Parsec.lean create mode 100644 stage0/src/Lean/Data/Xml.lean create mode 100644 stage0/src/Lean/Data/Xml/Basic.lean create mode 100644 stage0/src/Lean/Data/Xml/Parser.lean delete mode 100644 stage0/src/include/lean/compiler_hints.h create mode 100644 stage0/stdlib/Lean/Data/Parsec.c create mode 100644 stage0/stdlib/Lean/Data/Xml.c create mode 100644 stage0/stdlib/Lean/Data/Xml/Basic.c create mode 100644 stage0/stdlib/Lean/Data/Xml/Parser.c diff --git a/stage0/src/Init/Data/Format/Syntax.lean b/stage0/src/Init/Data/Format/Syntax.lean index bda8e9ae84..818c912c5f 100644 --- a/stage0/src/Init/Data/Format/Syntax.lean +++ b/stage0/src/Init/Data/Format/Syntax.lean @@ -15,7 +15,7 @@ open Std.Format private def formatInfo (showInfo : Bool) (info : SourceInfo) (f : Format) : Format := match showInfo, info with - | true, SourceInfo.original lead pos trail endPos => f!"{lead}:{f}:{pos}:{trail}:{endPos}" + | true, SourceInfo.original lead pos trail endPos => f!"{lead}:{pos}:{f}:{endPos}:{trail}" | true, SourceInfo.synthetic pos endPos => f!"{pos}:{f}:{endPos}" | _, _ => f diff --git a/stage0/src/Init/Data/String/Basic.lean b/stage0/src/Init/Data/String/Basic.lean index 204a4371a7..81ac8a245e 100644 --- a/stage0/src/Init/Data/String/Basic.lean +++ b/stage0/src/Init/Data/String/Basic.lean @@ -192,10 +192,11 @@ def intercalate (s : String) (ss : List String) : String := structure Iterator where s : String i : Pos + deriving DecidableEq def mkIterator (s : String) : Iterator := ⟨s, 0⟩ - + namespace Iterator def toString : Iterator → String | ⟨s, _⟩ => s @@ -344,23 +345,23 @@ namespace Substring /-- Given an offset of a codepoint into the substring, return the offset there of the next codepoint. -/ -@[inline] private def next : Substring → String.Pos → String.Pos +@[inline] def next : Substring → String.Pos → String.Pos | ⟨s, b, e⟩, p => let absP := b+p if absP = e then p else s.next absP - b /-- Given an offset of a codepoint into the substring, return the offset there of the previous codepoint. -/ -@[inline] private def prev : Substring → String.Pos → String.Pos +@[inline] def prev : Substring → String.Pos → String.Pos | ⟨s, b, _⟩, p => let absP := b+p if absP = b then p else s.prev absP - b -private def nextn : Substring → Nat → String.Pos → String.Pos +def nextn : Substring → Nat → String.Pos → String.Pos | ss, 0, p => p | ss, i+1, p => ss.nextn i (ss.next p) -private def prevn : Substring → String.Pos → Nat → String.Pos +def prevn : Substring → String.Pos → Nat → String.Pos | ss, 0, p => p | ss, i+1, p => ss.prevn i (ss.prev p) @@ -389,31 +390,29 @@ or `s.bsize` if `c` doesn't occur. -/ | ⟨s, b, e⟩, p => b + p == e @[inline] def extract : Substring → String.Pos → String.Pos → Substring - | ⟨s, b, _⟩, b', e' => if b' ≥ e' then ⟨"", 0, 1⟩ else ⟨s, b+b', b+e'⟩ + | ⟨s, b, e⟩, b', e' => if b' ≥ e' then ⟨"", 0, 0⟩ else ⟨s, e.min (b+b'), e.min (b+e')⟩ partial def splitOn (s : Substring) (sep : String := " ") : List Substring := if sep == "" then [s] else - let stopPos := s.stopPos - let str := s.str let rec loop (b i j : String.Pos) (r : List Substring) : List Substring := - if i == stopPos then + if i == s.bsize then let r := if sep.atEnd j then - "".toSubstring::{ str := str, startPos := b, stopPos := i-j } :: r + "".toSubstring :: s.extract b (i-j) :: r else - { str := str, startPos := b, stopPos := i } :: r + s.extract b i :: r r.reverse else if s.get i == sep.get j then let i := s.next i let j := sep.next j if sep.atEnd j then - loop i i 0 ({ str := str, startPos := b, stopPos := i-j } :: r) + loop i i 0 (s.extract b (i-j) :: r) else loop b i j r else loop b (s.next i) 0 r - loop s.startPos s.startPos 0 [] + loop 0 0 0 [] @[inline] def foldl {α : Type u} (f : α → Char → α) (init : α) (s : Substring) : α := match s with diff --git a/stage0/src/Init/Meta.lean b/stage0/src/Init/Meta.lean index c8b1c66ba9..67c8d78966 100644 --- a/stage0/src/Init/Meta.lean +++ b/stage0/src/Init/Meta.lean @@ -615,31 +615,41 @@ def isCharLit? (stx : Syntax) : Option Char := | some val => decodeCharLit val | _ => none -private partial def decodeNameLitAux (s : String) (i : Nat) (r : Name) : Option Name := - OptionM.run do - let continue? (i : Nat) (r : Name) : OptionM Name := - if s.get i == '.' then - decodeNameLitAux s (s.next i) r - else if s.atEnd i then - pure r - else - none - let curr := s.get i - if isIdBeginEscape curr then - let startPart := s.next i - let stopPart := s.nextUntil isIdEndEscape startPart - if !isIdEndEscape (s.get stopPart) then none - else continue? (s.next stopPart) (Name.mkStr r (s.extract startPart stopPart)) - else if isIdFirst curr then - let startPart := i - let stopPart := s.nextWhile isIdRest startPart - continue? stopPart (Name.mkStr r (s.extract startPart stopPart)) +private partial def splitNameLitAux (ss : Substring) (acc : List Substring) : List Substring := + let splitRest (ss : Substring) (acc : List Substring) : List Substring := + if ss.front == '.' then + splitNameLitAux (ss.drop 1) acc + else if ss.isEmpty then + acc else - none + [] + if ss.isEmpty then [] + else + let curr := ss.front + if isIdBeginEscape curr then + let escapedPart := ss.takeWhile (!isIdEndEscape ·) + let escapedPart := { escapedPart with stopPos := ss.stopPos.min (escapedPart.str.next escapedPart.stopPos) } + if !isIdEndEscape (escapedPart.get <| escapedPart.prev escapedPart.bsize) then [] + else splitRest (ss.extract escapedPart.bsize ss.bsize) (escapedPart :: acc) + else if isIdFirst curr then + let idPart := ss.takeWhile isIdRest + splitRest (ss.extract idPart.bsize ss.bsize) (idPart :: acc) + else + [] + +/-- Split a name literal (without the backtick) into its dot-separated components. For example, +`foo.bla.«bo.o»` ↦ `["foo", "bla", "«bo.o»"]`. If the literal cannot be parsed, return `[]`. -/ +def splitNameLit (ss : Substring) : List Substring := + splitNameLitAux ss [] |>.reverse def decodeNameLit (s : String) : Option Name := if s.get 0 == '`' then - decodeNameLitAux s 1 Name.anonymous + match splitNameLitAux (s.toSubstring.drop 1) [] with + | [] => none + | comps => some <| comps.foldr (init := Name.anonymous) + fun comp n => + let comp := if isIdBeginEscape comp.front then comp.drop 1 |>.dropRight 1 else comp + Name.mkStr n comp.toString else none @@ -753,10 +763,6 @@ macro_rules macro "eval_prec " p:prec:max : term => return quote (← evalPrec p) -def evalOptPrec : Option Syntax → MacroM Nat - | some prec => evalPrec prec - | none => return 0 - /- Evaluator for `prio` DSL -/ def evalPrio (stx : Syntax) : MacroM Nat := Macro.withIncRecDepth stx do diff --git a/stage0/src/Init/NotationExtra.lean b/stage0/src/Init/NotationExtra.lean index 9c1a8d5e58..16e0ee09ff 100644 --- a/stage0/src/Init/NotationExtra.lean +++ b/stage0/src/Init/NotationExtra.lean @@ -20,9 +20,9 @@ macro_rules -- Auxiliary parsers and functions for declaring notation with binders syntax binderIdent := ident <|> "_" -syntax unbracktedExplicitBinders := binderIdent+ (" : " term)? +syntax unbracketedExplicitBinders := binderIdent+ (" : " term)? syntax bracketedExplicitBinders := "(" binderIdent+ " : " term ")" -syntax explicitBinders := bracketedExplicitBinders+ <|> unbracktedExplicitBinders +syntax explicitBinders := bracketedExplicitBinders+ <|> unbracketedExplicitBinders def expandExplicitBindersAux (combinator : Syntax) (idents : Array Syntax) (type? : Option Syntax) (body : Syntax) : MacroM Syntax := let rec loop (i : Nat) (acc : Syntax) := do @@ -51,7 +51,7 @@ def expandBrackedBindersAux (combinator : Syntax) (binders : Array Syntax) (body def expandExplicitBinders (combinatorDeclName : Name) (explicitBinders : Syntax) (body : Syntax) : MacroM Syntax := do let combinator := mkIdentFrom (← getRef) combinatorDeclName let explicitBinders := explicitBinders[0] - if explicitBinders.getKind == `Lean.unbracktedExplicitBinders then + if explicitBinders.getKind == `Lean.unbracketedExplicitBinders then let idents := explicitBinders[0].getArgs let type? := if explicitBinders[1].isNone then none else some explicitBinders[1][1] expandExplicitBindersAux combinator idents type? body diff --git a/stage0/src/Init/Prelude.lean b/stage0/src/Init/Prelude.lean index add4a7083c..fd3bcb19d9 100644 --- a/stage0/src/Init/Prelude.lean +++ b/stage0/src/Init/Prelude.lean @@ -1841,7 +1841,7 @@ def mkAtom (val : String) : Syntax := Syntax.atom SourceInfo.none val def mkAtomFrom (src : Syntax) (val : String) : Syntax := - Syntax.atom src.getHeadInfo val + Syntax.atom (SourceInfo.fromRef src) val /- Parser descriptions -/ diff --git a/stage0/src/Lean/Data.lean b/stage0/src/Lean/Data.lean index 61f35a40fe..de84c8f733 100644 --- a/stage0/src/Lean/Data.lean +++ b/stage0/src/Lean/Data.lean @@ -4,7 +4,9 @@ Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import Lean.Data.Format +import Lean.Data.Parsec import Lean.Data.Json +import Lean.Data.Xml import Lean.Data.JsonRpc import Lean.Data.KVMap import Lean.Data.LBool diff --git a/stage0/src/Lean/Data/Json/Parser.lean b/stage0/src/Lean/Data/Json/Parser.lean index c3d8b434fc..1255653ae6 100644 --- a/stage0/src/Lean/Data/Json/Parser.lean +++ b/stage0/src/Lean/Data/Json/Parser.lean @@ -5,104 +5,19 @@ Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Marc Huisinga -/ import Lean.Data.Json.Basic +import Lean.Data.Parsec namespace Lean open Std (RBNode RBNode.singleton RBNode.leaf) -inductive Quickparse.Result (α : Type) where - | success (pos : String.Iterator) (res : α) : Result α - | error (pos : String.Iterator) (err : String) : Result α - -def Quickparse (α : Type) : Type := String.Iterator → Lean.Quickparse.Result α - -instance (α : Type) : Inhabited (Quickparse α) := - ⟨fun it => Quickparse.Result.error it ""⟩ - -namespace Quickparse - -open Result - -partial def skipWs (it : String.Iterator) : String.Iterator := - if it.hasNext then - let c := it.curr - if c = '\u0009' ∨ c = '\u000a' ∨ c = '\u000d' ∨ c = '\u0020' then - skipWs it.next - else - it - else - it - -@[inline] -protected def pure (a : α) : Quickparse α := fun it => - success it a - -@[inline] -protected def bind {α β : Type} (f : Quickparse α) (g : α → Quickparse β) : Quickparse β := fun it => - match f it with - | success rem a => g a rem - | error pos msg => error pos msg - -@[inline] -def fail (msg : String) : Quickparse α := fun it => - error it msg - -@[inline] -instance : Monad Quickparse := - { pure := @Quickparse.pure, bind := @Quickparse.bind } - -def unexpectedEndOfInput := "unexpected end of input" - -@[inline] -def peek? : Quickparse (Option Char) := fun it => - if it.hasNext then - success it it.curr - else - success it none - -@[inline] -def peek! : Quickparse Char := do - let some c ← peek? | fail unexpectedEndOfInput - c - -@[inline] -def skip : Quickparse Unit := fun it => - success it.next () - -@[inline] -def next : Quickparse Char := do - let c ← peek! - skip - c - -def expect (s : String) : Quickparse Unit := fun it => - if it.extract (it.forward s.length) = s then - success (it.forward s.length) () - else - error it s!"expected: {s}" - -@[inline] -def ws : Quickparse Unit := fun it => - success (skipWs it) () - -def expectedEndOfInput := "expected end of input" - -@[inline] -def eoi : Quickparse Unit := fun it => - if it.hasNext then - error it expectedEndOfInput - else - success it () - -end Quickparse - namespace Json.Parser -open Quickparse +open Lean.Parsec @[inline] -def hexChar : Quickparse Nat := do - let c ← next +def hexChar : Parsec Nat := do + let c ← anyChar if '0' ≤ c ∧ c ≤ '9' then pure $ c.val.toNat - '0'.val.toNat else if 'a' ≤ c ∧ c ≤ 'f' then @@ -112,8 +27,8 @@ def hexChar : Quickparse Nat := do else fail "invalid hex character" -def escapedChar : Quickparse Char := do - let c ← next +def escapedChar : Parsec Char := do + let c ← anyChar match c with | '\\' => '\\' | '"' => '"' @@ -128,13 +43,13 @@ def escapedChar : Quickparse Char := do Char.ofNat $ 4096*u1 + 256*u2 + 16*u3 + u4 | _ => fail "illegal \\u escape" -partial def strCore (acc : String) : Quickparse String := do +partial def strCore (acc : String) : Parsec String := do let c ← peek! if c = '"' then -- " skip acc else - let c ← next + let c ← anyChar let ec ← if c = '\\' then escapedChar @@ -147,9 +62,9 @@ partial def strCore (acc : String) : Quickparse String := do fail "unexpected character in string" strCore (acc.push ec) -def str : Quickparse String := strCore "" +def str : Parsec String := strCore "" -partial def natCore (acc digits : Nat) : Quickparse (Nat × Nat) := do +partial def natCore (acc digits : Nat) : Parsec (Nat × Nat) := do let some c ← peek? | (acc, digits) if '0' ≤ c ∧ c ≤ '9' then skip @@ -159,7 +74,7 @@ partial def natCore (acc digits : Nat) : Quickparse (Nat × Nat) := do (acc, digits) @[inline] -def lookahead (p : Char → Prop) (desc : String) [DecidablePred p] : Quickparse Unit := do +def lookahead (p : Char → Prop) (desc : String) [DecidablePred p] : Parsec Unit := do let c ← peek! if p c then () @@ -167,22 +82,22 @@ def lookahead (p : Char → Prop) (desc : String) [DecidablePred p] : Quickparse fail $ "expected " ++ desc @[inline] -def natNonZero : Quickparse Nat := do +def natNonZero : Parsec Nat := do lookahead (fun c => '1' ≤ c ∧ c ≤ '9') "1-9" let (n, _) ← natCore 0 0 n @[inline] -def natNumDigits : Quickparse (Nat × Nat) := do +def natNumDigits : Parsec (Nat × Nat) := do lookahead (fun c => '0' ≤ c ∧ c ≤ '9') "digit" natCore 0 0 @[inline] -def natMaybeZero : Quickparse Nat := do +def natMaybeZero : Parsec Nat := do let (n, _) ← natNumDigits n -def num : Quickparse JsonNumber := do +def num : Parsec JsonNumber := do let c ← peek! let sign : Int ← if c = '-' then @@ -224,10 +139,10 @@ def num : Quickparse JsonNumber := do else res -partial def arrayCore (anyCore : Unit → Quickparse Json) (acc : Array Json) : Quickparse (Array Json) := do +partial def arrayCore (anyCore : Unit → Parsec Json) (acc : Array Json) : Parsec (Array Json) := do let hd ← anyCore () let acc' := acc.push hd - let c ← next + let c ← anyChar if c = ']' then ws acc' @@ -237,12 +152,12 @@ partial def arrayCore (anyCore : Unit → Quickparse Json) (acc : Array Json) : else fail "unexpected character in array" -partial def objectCore (anyCore : Unit → Quickparse Json) : Quickparse (RBNode String (fun _ => Json)) := do +partial def objectCore (anyCore : Unit → Parsec Json) : Parsec (RBNode String (fun _ => Json)) := do lookahead (fun c => c = '"') "\""; skip; -- " let k ← strCore ""; ws lookahead (fun c => c = ':') ":"; skip; ws let v ← anyCore () - let c ← next + let c ← anyChar if c = '}' then ws RBNode.singleton k v @@ -255,7 +170,7 @@ partial def objectCore (anyCore : Unit → Quickparse Json) : Quickparse (RBNode -- takes a unit parameter so that -- we can use the equation compiler and recursion -partial def anyCore (u : Unit) : Quickparse Json := do +partial def anyCore (u : Unit) : Parsec Json := do let c ← peek! if c = '[' then skip; ws @@ -281,13 +196,13 @@ partial def anyCore (u : Unit) : Quickparse Json := do ws Json.str s else if c = 'f' then - expect "false"; ws + skipString "false"; ws Json.bool false else if c = 't' then - expect "true"; ws + skipString "true"; ws Json.bool true else if c = 'n' then - expect "null"; ws + skipString "null"; ws Json.null else if c = '-' ∨ ('0' ≤ c ∧ c ≤ '9') then let n ← num @@ -297,10 +212,10 @@ partial def anyCore (u : Unit) : Quickparse Json := do fail "unexpected input" -def any : Quickparse Json := do +def any : Parsec Json := do ws let res ← anyCore () - eoi + eof res end Json.Parser @@ -309,8 +224,8 @@ namespace Json def parse (s : String) : Except String Lean.Json := match Json.Parser.any s.mkIterator with - | Quickparse.Result.success _ res => Except.ok res - | Quickparse.Result.error it err => Except.error s!"offset {it.i.repr}: {err}" + | Parsec.ParseResult.success _ res => Except.ok res + | Parsec.ParseResult.error it err => Except.error s!"offset {it.i.repr}: {err}" end Json diff --git a/stage0/src/Lean/Data/Parsec.lean b/stage0/src/Lean/Data/Parsec.lean new file mode 100644 index 0000000000..b7ab019d02 --- /dev/null +++ b/stage0/src/Lean/Data/Parsec.lean @@ -0,0 +1,170 @@ + +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Author: Dany Fabian +-/ + +namespace Lean + +namespace Parsec +inductive ParseResult (α : Type) where + | success (pos : String.Iterator) (res : α) + | error (pos : String.Iterator) (err : String) + deriving Repr +end Parsec + +def Parsec (α : Type) : Type := String.Iterator → Lean.Parsec.ParseResult α + +namespace Parsec + +open ParseResult + +instance (α : Type) : Inhabited (Parsec α) := + ⟨λ it => error it ""⟩ + +@[inline] +protected def pure (a : α) : Parsec α := λ it => + success it a + +@[inline] +def bind {α β : Type} (f : Parsec α) (g : α → Parsec β) : Parsec β := λ it => + match f it with + | success rem a => g a rem + | error pos msg => error pos msg + +instance : Monad Parsec := + { pure := Parsec.pure, bind } + +@[inline] +def fail (msg : String) : Parsec α := fun it => + error it msg + +@[inline] +def orElse (p q : Parsec α) : Parsec α := fun it => + match p it with + | success rem a => success rem a + | error rem err => + if it = rem then q it else error rem err + +@[inline] +def attempt (p : Parsec α) : Parsec α := λ it => + match p it with + | success rem res => success rem res + | error _ err => error it err + +instance : Alternative Parsec := +{ failure := fail "", orElse } + +def expectedEndOfInput := "expected end of input" + +@[inline] +def eof : Parsec Unit := fun it => + if it.hasNext then + error it expectedEndOfInput + else + success it () + +@[inline] +partial def manyCore (p : Parsec α) (acc : Array α) : Parsec $ Array α := + (do manyCore p (acc.push $ ←p)) + <|> pure acc + +@[inline] +def many (p : Parsec α) : Parsec $ Array α := manyCore p #[] + +@[inline] +def many1 (p : Parsec α) : Parsec $ Array α := do manyCore p #[←p] + +@[inline] +partial def manyCharsCore (p : Parsec Char) (acc : String) : Parsec String := + (do manyCharsCore p (acc.push $ ←p)) + <|> pure acc + +@[inline] +def manyChars (p : Parsec Char) : Parsec String := manyCharsCore p "" + +@[inline] +def many1Chars (p : Parsec Char) : Parsec String := do manyCharsCore p (←p).toString + +def pstring (s : String) : Parsec String := λ it => + let substr := it.extract (it.forward s.length) + if substr = s then + success (it.forward s.length) substr + else + error it s!"expected: {s}" + +@[inline] +def skipString (s : String) : Parsec Unit := pstring s *> pure () + +def unexpectedEndOfInput := "unexpected end of input" + +@[inline] +def anyChar : Parsec Char := λ it => + if it.hasNext then success it.next it.curr else error it unexpectedEndOfInput + +@[inline] +def pchar (c : Char) : Parsec Char := attempt do + if (←anyChar) = c then pure c else fail s!"expected: '{c}'" + +@[inline] +def skipChar (c : Char) : Parsec Unit := pchar c *> pure () + +@[inline] +def digit : Parsec Char := attempt do + let c ← anyChar + if '0' ≤ c ∧ c ≤ '9' then c else fail s!"digit expected" + +@[inline] +def hexDigit : Parsec Char := attempt do + let c ← anyChar + if ('0' ≤ c ∧ c ≤ '9') + ∨ ('a' ≤ c ∧ c ≤ 'a') + ∨ ('A' ≤ c ∧ c ≤ 'A') then c else fail s!"hex digit expected" + +@[inline] +def asciiLetter : Parsec Char := attempt do + let c ← anyChar + if ('A' ≤ c ∧ c ≤ 'Z') ∨ ('a' ≤ c ∧ c ≤ 'z') then c else fail s!"ASCII letter expected" + +@[inline] +def satisfy (p : Char → Bool) : Parsec Char := attempt do + let c ← anyChar + if p c then c else fail "condition not satisfied" + +@[inline] +def notFollowedBy (p : Parsec α) : Parsec Unit := λ it => + match p it with + | success _ _ => error it "" + | error _ _ => success it () + +partial def skipWs (it : String.Iterator) : String.Iterator := + if it.hasNext then + let c := it.curr + if c = '\u0009' ∨ c = '\u000a' ∨ c = '\u000d' ∨ c = '\u0020' then + skipWs it.next + else + it + else + it + +@[inline] +def peek? : Parsec (Option Char) := fun it => + if it.hasNext then + success it it.curr + else + success it none + +@[inline] +def peek! : Parsec Char := do + let some c ← peek? | fail unexpectedEndOfInput + c + +@[inline] +def skip : Parsec Unit := fun it => + success it.next () + +@[inline] +def ws : Parsec Unit := fun it => + success (skipWs it) () +end Parsec diff --git a/stage0/src/Lean/Data/Xml.lean b/stage0/src/Lean/Data/Xml.lean new file mode 100644 index 0000000000..8c6ad55a2f --- /dev/null +++ b/stage0/src/Lean/Data/Xml.lean @@ -0,0 +1,2 @@ +import Lean.Data.Xml.Basic +import Lean.Data.Xml.Parser diff --git a/stage0/src/Lean/Data/Xml/Basic.lean b/stage0/src/Lean/Data/Xml/Basic.lean new file mode 100644 index 0000000000..3f9d4fb507 --- /dev/null +++ b/stage0/src/Lean/Data/Xml/Basic.lean @@ -0,0 +1,41 @@ + +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Author: Dany Fabian +-/ + +import Std.Data.RBMap +namespace Lean +namespace Xml + +def Attributes := Std.RBMap String String compare +instance : ToString Attributes := ⟨λ as => as.fold (λ s n v => s ++ s!" {n}=\"{v}\"") ""⟩ + +mutual +inductive Element +| Element + (name : String) + (attributes : Attributes) + (content : Array Content) + +inductive Content +| Element (element : Element) +| Comment (comment : String) +| Character (content : String) +deriving Inhabited +end + +mutual +private partial def eToString : Element → String +| Element.Element n a c => s!"<{n}{a}>{c.map cToString |>.foldl (· ++ ·) ""}" + +private partial def cToString : Content → String +| Content.Element e => eToString e +| Content.Comment c => s!"" +| Content.Character c => c + +end +instance : ToString Element := ⟨eToString⟩ +instance : ToString Content := ⟨cToString⟩ + diff --git a/stage0/src/Lean/Data/Xml/Parser.lean b/stage0/src/Lean/Data/Xml/Parser.lean new file mode 100644 index 0000000000..25138df817 --- /dev/null +++ b/stage0/src/Lean/Data/Xml/Parser.lean @@ -0,0 +1,488 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Author: Dany Fabian +-/ + +import Lean.Data.Parsec +import Lean.Data.Xml.Basic +open IO +open System +open Lean + +namespace Lean +namespace Xml + +namespace Parser +open Lean.Parsec +open Parsec.ParseResult + +abbrev LeanChar := Char + +/-- consume a newline character sequence pretending, that we read '\n'. As per spec: + https://www.w3.org/TR/xml/#sec-line-ends -/ +def endl : Parsec LeanChar := (skipString "\r\n" <|> skipChar '\r' <|> skipChar '\n') *> pure '\n' + +def quote (p : Parsec α) : Parsec α := + skipChar '\'' *> p <* skipChar '\'' + <|> skipChar '"' *> p <* skipChar '"' + +/-- https://www.w3.org/TR/xml/#NT-Char -/ +def Char : Parsec LeanChar := + (attempt do + let c ← anyChar + let cNat ← c.toNat + if (0x20 ≤ cNat ∧ cNat ≤ 0xD7FF) + ∨ (0xE000 ≤ cNat ∧ cNat ≤ 0xFFFD) + ∨ (0x10000 ≤ cNat ∧ cNat ≤ 0x10FFFF) then c else fail "expected xml char") + <|> pchar '\t' <|> endl + +/-- https://www.w3.org/TR/xml/#NT-S -/ +def S : Parsec String := + many1Chars (pchar ' ' <|> endl <|> pchar '\t') + +/-- https://www.w3.org/TR/xml/#NT-Eq -/ +def Eq : Parsec Unit := + optional S *> skipChar '=' <* optional S + +private def nameStartCharRanges : Array (Nat × Nat) := + #[(0xC0, 0xD6), + (0xD8, 0xF6), + (0xF8, 0x2FF), + (0x370, 0x37D), + (0x37F, 0x1FFF), + (0x200C, 0x200D), + (0x2070, 0x218F), + (0x2C00, 0x2FEF), + (0x3001, 0xD7FF), + (0xF900, 0xFDCF), + (0xFDF0, 0xFFFD), + (0x10000, 0xEFFFF)] + +/-- https://www.w3.org/TR/xml/#NT-NameStartChar -/ +def NameStartChar : Parsec LeanChar := attempt do + let c ← anyChar + if ('A' ≤ c ∧ c ≤ 'Z') ∨ ('a' ≤ c ∧ c ≤ 'z') then c + else if c = ':' ∨ c = '_' then c + else + let cNum := c.toNat + if nameStartCharRanges.any (fun (lo, hi) => lo ≤ cNum ∧ cNum ≤ hi) then c + else fail "expected a name character" + +/-- https://www.w3.org/TR/xml/#NT-NameChar -/ +def NameChar : Parsec LeanChar := + NameStartChar <|> digit <|> pchar '-' <|> pchar '.' <|> pchar '\xB7' + <|> satisfy (λ c => ('\u0300' ≤ c ∧ c ≤ '\u036F') ∨ ('\u203F' ≤ c ∧ c ≤ '\u2040')) + +/-- https://www.w3.org/TR/xml/#NT-Name -/ +def Name : Parsec String := do + let x ← NameStartChar + manyCharsCore NameChar x.toString + +/-- https://www.w3.org/TR/xml/#NT-VersionNum -/ +def VersionNum : Parsec Unit := + skipString "1." <* (many1 digit) + +/-- https://www.w3.org/TR/xml/#NT-VersionInfo -/ +def VersionInfo : Parsec Unit := do + S *> + skipString "version" + Eq + quote VersionNum + +/-- https://www.w3.org/TR/xml/#NT-EncName -/ +def EncName : Parsec String := do + let x ← asciiLetter + manyCharsCore (asciiLetter <|> digit <|> pchar '-' <|> pchar '_' <|> pchar '.') x.toString + +/-- https://www.w3.org/TR/xml/#NT-EncodingDecl -/ +def EncodingDecl : Parsec String := do + S *> + skipString "encoding" + Eq + quote EncName + +/-- https://www.w3.org/TR/xml/#NT-SDDecl -/ +def SDDecl : Parsec String := do + S *> skipString "standalone" *> Eq *> quote (pstring "yes" <|> pstring "no") + +/-- https://www.w3.org/TR/xml/#NT-XMLDecl -/ +def XMLdecl : Parsec Unit := do + skipString " + optional SDDecl *> + optional S *> + skipString "?>" + +/-- https://www.w3.org/TR/xml/#NT-Comment -/ +def Comment : Parsec String := + let notDash := Char.toString <$> satisfy (λ c => c ≠ '-') + skipString "" + +/-- https://www.w3.org/TR/xml/#NT-PITarget -/ +def PITarget : Parsec String := + Name <* (skipChar 'X' <|> skipChar 'x') <* (skipChar 'M' <|> skipChar 'm') <* (skipChar 'L' <|> skipChar 'l') + +/-- https://www.w3.org/TR/xml/#NT-PI -/ +def PI : Parsec Unit := do + skipString " manyChars (notFollowedBy (skipString "?>") *> Char)) + skipString "?>" + +/-- https://www.w3.org/TR/xml/#NT-Misc -/ +def Misc : Parsec Unit := + Comment *> pure () <|> PI <|> S *> pure () + +/-- https://www.w3.org/TR/xml/#NT-SystemLiteral -/ +def SystemLiteral : Parsec String := + pchar '"' *> manyChars (satisfy λ c => c ≠ '"') <* pchar '"' + <|> pchar '\'' *> manyChars (satisfy λ c => c ≠ '\'') <* '\'' + +/-- https://www.w3.org/TR/xml/#NT-PubidChar -/ +def PubidChar : Parsec LeanChar := + asciiLetter <|> digit <|> endl <|> attempt do + let c ← anyChar + if "-'()+,./:=?;!*#@$_%".contains c then c else fail "PublidChar expected" + +/-- https://www.w3.org/TR/xml/#NT-PubidLiteral -/ +def PubidLiteral : Parsec String := + pchar '"' *> manyChars PubidChar <* pchar '"' + <|> pchar '\'' *> manyChars (attempt do + let c ← PubidChar + if c = '\'' then fail "'\\'' not expected" else c) <* pchar '\'' + +/-- https://www.w3.org/TR/xml/#NT-ExternalID -/ +def ExternalID : Parsec Unit := + skipString "SYSTEM" *> S *> SystemLiteral *> pure () + <|> skipString "PUBLIC" *> S *> PubidLiteral *> S *> SystemLiteral *> pure () + +/-- https://www.w3.org/TR/xml/#NT-Mixed -/ +def Mixed : Parsec Unit := + (do + skipChar '(' + optional S *> + skipString "#PCDATA" *> + many (optional S *> skipChar '|' *> optional S *> Name) *> + optional S *> + skipString ")*") + <|> skipChar '(' *> (optional S) *> skipString "#PCDATA" <* (optional S) <* skipChar ')' + +mutual + /-- https://www.w3.org/TR/xml/#NT-cp -/ + partial def cp : Parsec Unit := + (Name *> pure () <|> choice <|> seq) <* optional (skipChar '?' <|> skipChar '*' <|> skipChar '+') + + /-- https://www.w3.org/TR/xml/#NT-choice -/ + partial def choice : Parsec Unit := do + skipChar '(' + optional S *> + cp + many1 (optional S *> skipChar '|' *> optional S *> cp) *> + optional S *> + skipChar ')' + + /-- https://www.w3.org/TR/xml/#NT-seq -/ + partial def seq : Parsec Unit := do + skipChar '(' + optional S *> + cp + many (optional S *> skipChar ',' *> optional S *> cp) *> + optional S *> + skipChar ')' +end + +/-- https://www.w3.org/TR/xml/#NT-children -/ +def children : Parsec Unit := + (choice <|> seq) <* optional (skipChar '?' <|> skipChar '*' <|> skipChar '+') + +/-- https://www.w3.org/TR/xml/#NT-contentspec -/ +def contentspec : Parsec Unit := do + skipString "EMPTY" <|> skipString "ANY" <|> Mixed <|> children + +/-- https://www.w3.org/TR/xml/#NT-elementdecl -/ +def elementDecl : Parsec Unit := do + skipString " + Name *> + contentspec *> + optional S *> + skipChar '>' + +/-- https://www.w3.org/TR/xml/#NT-StringType -/ +def StringType : Parsec Unit := + skipString "CDATA" + +/-- https://www.w3.org/TR/xml/#NT-TokenizedType -/ +def TokenizedType : Parsec Unit := + skipString "ID" + <|> skipString "IDREF" + <|> skipString "IDREFS" + <|> skipString "ENTITY" + <|> skipString "ENTITIES" + <|> skipString "NMTOKEN" + <|> skipString "NMTOKENS" + +/-- https://www.w3.org/TR/xml/#NT-NotationType -/ +def NotationType : Parsec Unit := do + skipString "NOTATION" + S *> + skipChar '(' <* + optional S + Name *> many (optional S *> skipChar '|' *> optional S *> Name) *> + optional S *> + skipChar ')' + +/-- https://www.w3.org/TR/xml/#NT-Nmtoken -/ +def Nmtoken : Parsec String := do + many1Chars NameChar + +/-- https://www.w3.org/TR/xml/#NT-Enumeration -/ +def Enumeration : Parsec Unit := do + skipChar '(' + optional S *> + Nmtoken *> many (optional S *> skipChar '|' *> optional S *> Nmtoken) *> + optional S *> + skipChar ')' + +/-- https://www.w3.org/TR/xml/#NT-EnumeratedType -/ +def EnumeratedType : Parsec Unit := + NotationType <|> Enumeration + +/-- https://www.w3.org/TR/xml/#NT-AttType -/ +def AttType : Parsec Unit := + StringType <|> TokenizedType <|> EnumeratedType + +def predefinedEntityToChar : String → Option LeanChar +| "lt" => some '<' +| "gt" => some '>' +| "amp" => some '&' +| "apos" => some '\'' +| "quot" => some '"' +| _ => none + +/-- https://www.w3.org/TR/xml/#NT-EntityRef -/ +def EntityRef : Parsec $ Option LeanChar := attempt $ + skipChar '&' *> predefinedEntityToChar <$> Name <* skipChar ';' + +@[inline] +def hexDigitToNat (c : LeanChar) : Nat := + if '0' ≤ c ∧ c ≤ '9' then c.toNat - '0'.toNat + else if 'a' ≤ c ∧ c ≤ 'f' then c.toNat - 'a'.toNat + 10 + else c.toNat - 'A'.toNat + 10 + +def digitsToNat (base : Nat) (digits : Array Nat) : Nat := + digits.foldl (λ r d => r * base + d) 0 + +/-- https://www.w3.org/TR/xml/#NT-CharRef -/ +def CharRef : Parsec LeanChar := do + skipString "&#" + let charCode ← + digitsToNat 10 <$> many1 (hexDigitToNat <$> digit) + <|> skipChar 'x' *> digitsToNat 16 <$> many1 (hexDigitToNat <$> hexDigit) + skipChar ';' + Char.ofNat charCode + +/-- https://www.w3.org/TR/xml/#NT-Reference -/ +def Reference : Parsec $ Option LeanChar := + EntityRef <|> some <$> CharRef + +/-- https://www.w3.org/TR/xml/#NT-AttValue -/ +def AttValue : Parsec String := do + let chars ← + (do + skipChar '"' + many (some <$> satisfy (λ c => c ≠ '<' ∧ c ≠ '&' ∧ c ≠ '"') <|> Reference) <* + skipChar '"') + <|> (do + skipChar '\'' + many (some <$> satisfy (λ c => c ≠ '<' ∧ c ≠ '&' ∧ c ≠ '\'') <|> Reference) <* + skipChar '\'') + return chars.foldl (λ s c => if let some c := c then s.push c else s) "" + +/-- https://www.w3.org/TR/xml/#NT-DefaultDecl -/ +def DefaultDecl : Parsec Unit := + skipString "#REQUIRED" + <|> skipString "#IMPLIED" + <|> optional (skipString "#FIXED" <* S) *> AttValue *> pure () + +/-- https://www.w3.org/TR/xml/#NT-AttDef -/ +def AttDef : Parsec Unit := + S *> Name *> S *> AttType *> S *> DefaultDecl + +/-- https://www.w3.org/TR/xml/#NT-AttlistDecl -/ +def AttlistDecl : Parsec Unit := + skipString " S *> Name *> many AttDef *> optional S *> skipChar '>' + +/-- https://www.w3.org/TR/xml/#NT-PEReference -/ +def PEReference : Parsec Unit := + skipChar '%' *> Name *> skipChar ';' + +/-- https://www.w3.org/TR/xml/#NT-EntityValue -/ +def EntityValue : Parsec String := do + let chars ← + (do + skipChar '"' + many (some <$> satisfy (λ c => c ≠ '%' ∧ c ≠ '&' ∧ c ≠ '"') <|> PEReference *> pure none <|> Reference) <* + skipChar '"') + <|> (do + skipChar '\'' + many (some <$> satisfy (λ c => c ≠ '%' ∧ c ≠ '&' ∧ c ≠ '\'') <|> PEReference *> pure none <|> Reference) <* + skipChar '\'') + return chars.foldl (λ s c => if let some c := c then s.push c else s) "" + + +/-- https://www.w3.org/TR/xml/#NT-NDataDecl -/ +def NDataDecl : Parsec Unit := + S *> skipString "NDATA" <* S <* Name + +/-- https://www.w3.org/TR/xml/#NT-EntityDef -/ +def EntityDef : Parsec Unit := + EntityValue *> pure () <|> (ExternalID <* optional NDataDecl) + +/-- https://www.w3.org/TR/xml/#NT-GEDecl -/ +def GEDecl : Parsec Unit := + skipString " S *> Name *> S *> EntityDef *> optional S *> skipChar '>' + +/-- https://www.w3.org/TR/xml/#NT-PEDef -/ +def PEDef : Parsec Unit := + EntityValue *> pure () <|> ExternalID + +/-- https://www.w3.org/TR/xml/#NT-PEDecl -/ +def PEDecl : Parsec Unit := + skipString " S *> skipChar '%' *> S *> Name *> PEDef *> optional S *> skipChar '>' + +/-- https://www.w3.org/TR/xml/#NT-EntityDecl -/ +def EntityDecl : Parsec Unit := + GEDecl <|> PEDecl + +/-- https://www.w3.org/TR/xml/#NT-PublicID -/ +def PublicID : Parsec Unit := + skipString "PUBLIC" <* S <* PubidLiteral + +/-- https://www.w3.org/TR/xml/#NT-NotationDecl -/ +def NotationDecl : Parsec Unit := + skipString " S *> Name *> (ExternalID <|> PublicID) *> optional S *> skipChar '>' + +/-- https://www.w3.org/TR/xml/#NT-markupdecl -/ +def markupDecl : Parsec Unit := + elementDecl <|> AttlistDecl <|> EntityDecl <|> NotationDecl <|> PI <|> (Comment *> pure ()) + +/-- https://www.w3.org/TR/xml/#NT-DeclSep -/ +def DeclSep : Parsec Unit := + PEReference <|> S *> pure () + +/-- https://www.w3.org/TR/xml/#NT-intSubset -/ +def intSubset : Parsec Unit := + many (markupDecl <|> DeclSep) *> pure () + +/-- https://www.w3.org/TR/xml/#NT-doctypedecl -/ +def doctypedecl : Parsec Unit := do + skipString " + Name *> + optional (S *> ExternalID) *> pure () + <* optional S + optional (skipChar '[' *> intSubset <* skipChar ']' <* optional S) *> + skipChar '>' + +/-- https://www.w3.org/TR/xml/#NT-prolog -/ +def prolog : Parsec Unit := + optional XMLdecl *> + many Misc *> + optional (doctypedecl <* many Misc) *> pure () + +/-- https://www.w3.org/TR/xml/#NT-Attribute -/ +def Attribute : Parsec (String × String) := do + let name ← Name + Eq + let value ← AttValue + (name, value) + +protected def elementPrefix : Parsec (Array Content → Element) := do + skipChar '<' + let name ← Name + let attributes ← many (S *> Attribute) + optional S *> pure () + Element.Element name (Std.RBMap.fromList attributes.toList compare) + +/-- https://www.w3.org/TR/xml/#NT-EmptyElemTag -/ +def EmptyElemTag (elem : Array Content → Element) : Parsec Element := do + skipString "/>" *> pure (elem #[]) + +/-- https://www.w3.org/TR/xml/#NT-STag -/ +def STag (elem : Array Content → Element) : Parsec (Array Content → Element) := do + skipChar '>' *> pure elem + +/-- https://www.w3.org/TR/xml/#NT-ETag -/ +def ETag : Parsec Unit := + skipString " Name *> optional S *> skipChar '>' + +/-- https://www.w3.org/TR/xml/#NT-CDStart -/ +def CDStart : Parsec Unit := + skipString "" + +/-- https://www.w3.org/TR/xml/#NT-CData -/ +def CData : Parsec String := + manyChars (notFollowedBy (skipString "]]>") *> anyChar) + +/-- https://www.w3.org/TR/xml/#NT-CDSect -/ +def CDSect : Parsec String := + CDStart *> CData <* CDEnd + +/-- https://www.w3.org/TR/xml/#NT-CharData -/ +def CharData : Parsec String := + notFollowedBy (skipString "]]>") *> manyChars (satisfy λ c => c ≠ '<' ∧ c ≠ '&') + +mutual + /-- https://www.w3.org/TR/xml/#NT-content -/ + partial def content : Parsec (Array Content) := do + let x ← optional (Content.Character <$> CharData) + let xs ← many do + let y ← + attempt (some <$> Content.Element <$> element) + <|> (do let c ← Reference; c.map (Content.Character ∘ Char.toString)) + <|> some <$> Content.Character <$> CDSect + <|> PI *> none + <|> some <$> Content.Comment <$> Comment + + let z ← optional (Content.Character <$> CharData) + #[y, z] + let xs := #[x] ++ xs.concatMap id |>.filterMap id + let mut res := #[] + for x in xs do + if res.size > 0 then + match res.back, x with + | Content.Character x, Content.Character y => res ← res.set! (res.size - 1) (Content.Character $ x ++ y) + | _, x => res ← res.push x + else res ← res.push x + res + + /-- https://www.w3.org/TR/xml/#NT-element -/ + partial def element : Parsec Element := do + let elem ← Parser.elementPrefix + EmptyElemTag elem <|> STag elem <*> content <* ETag + +end + +/-- https://www.w3.org/TR/xml/#NT-document -/ +def document : Parsec Element := prolog *> element <* many Misc <* eof + +end Parser + +def parse (s : String) : Except String Element := + match Xml.Parser.document s.mkIterator with + | Parsec.ParseResult.success _ res => Except.ok res + | Parsec.ParseResult.error it err => Except.error s!"offset {it.i.repr}: {err}\n{(it.prevn 10).extract it}" + +end Xml diff --git a/stage0/src/Lean/Elab/App.lean b/stage0/src/Lean/Elab/App.lean index 4c7342378a..00f5231d5b 100644 --- a/stage0/src/Lean/Elab/App.lean +++ b/stage0/src/Lean/Elab/App.lean @@ -673,7 +673,7 @@ private def elabAppLValsAux (namedArgs : Array NamedArg) (args : Array Arg) (exp | f, [] => elabAppArgs f namedArgs args expectedType? explicit ellipsis | f, lval::lvals => do if let LVal.fieldName (ref := fieldStx) (targetStx := targetStx) .. := lval then - addDotCompletionInfo targetStx f expectedType? fieldStx + addDotCompletionInfo targetStx f expectedType? fieldStx let (f, lvalRes) ← resolveLVal f lval match lvalRes with | LValResolution.projIdx structName idx => @@ -785,9 +785,9 @@ private partial def elabAppFn (f : Syntax) (lvals : List LVal) (namedArgs : Arra f.getArgs.foldlM (fun acc f => elabAppFn f lvals namedArgs args expectedType? explicit ellipsis true acc) acc else let elabFieldName (e field : Syntax) := do - let newLVals := field.getId.eraseMacroScopes.components.map fun n => - -- We use `none` here since `field` can't be part of a composite name - LVal.fieldName field (toString n) none e + let newLVals := field.identComponents.map fun comp => + -- We use `none` in `suffix?` since `field` can't be part of a composite name + LVal.fieldName comp (toString comp.getId) none e elabAppFn e (newLVals ++ lvals) namedArgs args expectedType? explicit ellipsis overloaded acc let elabFieldIdx (e idxStx : Syntax) := do let idx := idxStx.isFieldIdx?.get! diff --git a/stage0/src/Lean/Elab/Binders.lean b/stage0/src/Lean/Elab/Binders.lean index 5c2e0738f6..e7fe909904 100644 --- a/stage0/src/Lean/Elab/Binders.lean +++ b/stage0/src/Lean/Elab/Binders.lean @@ -107,19 +107,19 @@ private def matchBinder (stx : Syntax) : TermElabM (Array BinderView) := do if k == `Lean.Parser.Term.simpleBinder then -- binderIdent+ >> optType let ids ← getBinderIds stx[0] - let type := expandOptType stx stx[1] + let type := expandOptType (mkNullNode ids) stx[1] ids.mapM fun id => do pure { id := (← expandBinderIdent id), type := type, bi := BinderInfo.default } else if k == `Lean.Parser.Term.explicitBinder then -- `(` binderIdent+ binderType (binderDefault <|> binderTactic)? `)` let ids ← getBinderIds stx[1] - let type := expandBinderType stx stx[2] + let type := expandBinderType (mkNullNode ids) stx[2] let optModifier := stx[3] let type ← expandBinderModifier type optModifier ids.mapM fun id => do pure { id := (← expandBinderIdent id), type := type, bi := BinderInfo.default } else if k == `Lean.Parser.Term.implicitBinder then -- `{` binderIdent+ binderType `}` let ids ← getBinderIds stx[1] - let type := expandBinderType stx stx[2] + let type := expandBinderType (mkNullNode ids) stx[2] ids.mapM fun id => do pure { id := (← expandBinderIdent id), type := type, bi := BinderInfo.implicit } else if k == `Lean.Parser.Term.instBinder then -- `[` optIdent type `]` @@ -133,7 +133,7 @@ private def registerFailedToInferBinderTypeInfo (type : Expr) (ref : Syntax) : T registerCustomErrorIfMVar type ref "failed to infer binder type" private def addLocalVarInfo (stx : Syntax) (fvar : Expr) : TermElabM Unit := do - addTermInfo (lctx? := some (← getLCtx)) stx fvar + addTermInfo (isBinder := true) stx fvar private def ensureAtomicBinderName (binderView : BinderView) : TermElabM Unit := let n := binderView.id.getId.eraseMacroScopes @@ -329,7 +329,7 @@ private partial def elabFunBinderViews (binderViews : Array BinderView) (i : Nat We do not believe this is an useful feature, and it would complicate the logic here. -/ let lctx := s.lctx.mkLocalDecl fvarId binderView.id.getId type binderView.bi - addTermInfo (lctx? := some lctx) binderView.id fvar + addTermInfo (lctx? := some lctx) (isBinder := true) binderView.id fvar let s ← withRef binderView.id <| propagateExpectedType fvar type s let s := { s with lctx := lctx } match (← isClass? type) with @@ -580,7 +580,7 @@ def mkLetIdDeclView (letIdDecl : Syntax) : LetIdDeclView := let id := letIdDecl[0] let binders := letIdDecl[1].getArgs let optType := letIdDecl[2] - let type := expandOptType letIdDecl optType + let type := expandOptType id optType let value := letIdDecl[4] { id := id, binders := binders, type := type, value := value } @@ -601,7 +601,7 @@ def elabLetDeclCore (stx : Syntax) (expectedType? : Option Expr) (useLetExpr : B -- node `Lean.Parser.Term.letPatDecl $ try (termParser >> pushNone >> optType >> " := ") >> termParser let pat := letDecl[0] let optType := letDecl[2] - let type := expandOptType stx optType + let type := expandOptType pat optType let val := letDecl[4] let stxNew ← `(let x : $type := $val; match x with | $pat => $body) let stxNew := match useLetExpr, elabBodyFirst with diff --git a/stage0/src/Lean/Elab/Deriving/FromToJson.lean b/stage0/src/Lean/Elab/Deriving/FromToJson.lean index a986383e3b..7c4149c207 100644 --- a/stage0/src/Lean/Elab/Deriving/FromToJson.lean +++ b/stage0/src/Lean/Elab/Deriving/FromToJson.lean @@ -132,7 +132,6 @@ where let localDecl ← getLocalDecl x.fvarId! if !localDecl.userName.hasMacroScopes then userNames := userNames.push localDecl.userName - let xTy ← inferType x let a := mkIdent (← mkFreshUserName `a) identNames := identNames.push a let jsonAccess ← identNames.mapIdxM (fun idx _ => `(jsons[$(quote idx.val)])) diff --git a/stage0/src/Lean/Elab/Do.lean b/stage0/src/Lean/Elab/Do.lean index 8fb99f4956..4f8e6ae082 100644 --- a/stage0/src/Lean/Elab/Do.lean +++ b/stage0/src/Lean/Elab/Do.lean @@ -949,7 +949,7 @@ def declToTerm (decl : Syntax) (k : Syntax) : M Syntax := withRef decl <| withFr let ref := arg if arg.getKind == `Lean.Parser.Term.doIdDecl then let id := arg[0] - let type := expandOptType ref arg[1] + let type := expandOptType id arg[1] let doElem := arg[3] -- `doElem` must be a `doExpr action`. See `doLetArrowToCode` match isDoExpr? doElem with diff --git a/stage0/src/Lean/Elab/InfoTree.lean b/stage0/src/Lean/Elab/InfoTree.lean index 8bd57827ba..1403ec1a9e 100644 --- a/stage0/src/Lean/Elab/InfoTree.lean +++ b/stage0/src/Lean/Elab/InfoTree.lean @@ -37,6 +37,7 @@ structure TermInfo extends ElabInfo where lctx : LocalContext -- The local context when the term was elaborated. expectedType? : Option Expr expr : Expr + isBinder : Bool := false deriving Inhabited structure CommandInfo extends ElabInfo where @@ -101,12 +102,12 @@ inductive InfoTree where | hole (mvarId : MVarId) -- The elaborator creates holes (aka metavariables) for tactics and postponed terms deriving Inhabited -partial def InfoTree.findInfo? (p : Info → Bool) (t : InfoTree) : Option InfoTree := +partial def InfoTree.findInfo? (p : Info → Bool) (t : InfoTree) : Option Info := match t with | context _ t => findInfo? p t | node i ts => if p i then - some t + some i else ts.findSome? (findInfo? p) | _ => none diff --git a/stage0/src/Lean/Elab/LetRec.lean b/stage0/src/Lean/Elab/LetRec.lean index df2ac951d9..c4f79476de 100644 --- a/stage0/src/Lean/Elab/LetRec.lean +++ b/stage0/src/Lean/Elab/LetRec.lean @@ -36,15 +36,16 @@ private def mkLetRecDeclView (letRec : Syntax) : TermElabM LetRecView := do if decl.isOfKind `Lean.Parser.Term.letPatDecl then throwErrorAt decl "patterns are not allowed in 'let rec' expressions" else if decl.isOfKind `Lean.Parser.Term.letIdDecl || decl.isOfKind `Lean.Parser.Term.letEqnsDecl then - let shortDeclName := decl[0].getId + let declId := decl[0] + let shortDeclName := declId.getId let currDeclName? ← getDeclName? let declName := currDeclName?.getD Name.anonymous ++ shortDeclName checkNotAlreadyDeclared declName applyAttributesAt declName attrs AttributeApplicationTime.beforeElaboration addDocString' declName docStr? - addAuxDeclarationRanges declName decl decl[0] + addAuxDeclarationRanges declName decl declId let binders := decl[1].getArgs - let typeStx := expandOptType decl decl[2] + let typeStx := expandOptType declId decl[2] let (type, numParams) ← elabBinders binders fun xs => do let type ← elabType typeStx registerCustomErrorIfMVar type typeStx "failed to infer 'let rec' declaration type" @@ -114,6 +115,8 @@ private def registerLetRecsToLift (views : Array LetRecDeclView) (fvars : Array @[builtinTermElab «letrec»] def elabLetRec : TermElab := fun stx expectedType? => do let view ← mkLetRecDeclView stx withAuxLocalDecls view.decls fun fvars => do + for decl in view.decls, fvar in fvars do + addTermInfo (isBinder := true) decl.ref[0] fvar let values ← elabLetRecDeclValues view let body ← elabTermEnsuringType view.body expectedType? registerLetRecsToLift view.decls fvars values diff --git a/stage0/src/Lean/Elab/Mixfix.lean b/stage0/src/Lean/Elab/Mixfix.lean index d108cbb928..8c26c72f7f 100644 --- a/stage0/src/Lean/Elab/Mixfix.lean +++ b/stage0/src/Lean/Elab/Mixfix.lean @@ -10,19 +10,19 @@ namespace Lean.Elab.Command @[builtinMacro Lean.Parser.Command.mixfix] def expandMixfix : Macro := fun stx => withAttrKindGlobal stx fun stx => do match stx with - | `(infixl $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => - let prec1 := quote <| (← evalOptPrec prec) + 1 - `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? lhs$[:$prec]? $op:strLit rhs:$prec1 => $f lhs rhs) - | `(infix $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => - let prec1 := quote <| (← evalOptPrec prec) + 1 - `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? lhs:$prec1 $op:strLit rhs:$prec1 => $f lhs rhs) - | `(infixr $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => - let prec1 := quote <| (← evalOptPrec prec) + 1 - `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? lhs:$prec1 $op:strLit rhs $[: $prec]? => $f lhs rhs) - | `(prefix $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => - `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op:strLit arg $[: $prec]? => $f arg) - | `(postfix $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? $op => $f) => - `(notation $[: $prec]? $[(name := $name)]? $[(priority := $prio)]? arg$[:$prec]? $op:strLit => $f arg) + | `(infixl:$prec $[(name := $name)]? $[(priority := $prio)]? $op => $f) => + let prec1 := quote <| (← evalPrec prec) + 1 + `(notation:$prec $[(name := $name)]? $[(priority := $prio)]? lhs:$prec $op:strLit rhs:$prec1 => $f lhs rhs) + | `(infix:$prec $[(name := $name)]? $[(priority := $prio)]? $op => $f) => + let prec1 := quote <| (← evalPrec prec) + 1 + `(notation:$prec $[(name := $name)]? $[(priority := $prio)]? lhs:$prec1 $op:strLit rhs:$prec1 => $f lhs rhs) + | `(infixr:$prec $[(name := $name)]? $[(priority := $prio)]? $op => $f) => + let prec1 := quote <| (← evalPrec prec) + 1 + `(notation:$prec $[(name := $name)]? $[(priority := $prio)]? lhs:$prec1 $op:strLit rhs:$prec => $f lhs rhs) + | `(prefix:$prec $[(name := $name)]? $[(priority := $prio)]? $op => $f) => + `(notation:$prec $[(name := $name)]? $[(priority := $prio)]? $op:strLit arg:$prec => $f arg) + | `(postfix:$prec $[(name := $name)]? $[(priority := $prio)]? $op => $f) => + `(notation:$prec $[(name := $name)]? $[(priority := $prio)]? arg:$prec $op:strLit => $f arg) | _ => Macro.throwUnsupported where -- set "global" `attrKind`, apply `f`, and restore `attrKind` to result diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index 0b48144ca3..39b3e0bf3d 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -937,7 +937,7 @@ private def postponeElabTerm (stx : Syntax) (expectedType? : Option Expr) : Term def getSyntheticMVarDecl? (mvarId : MVarId) : TermElabM (Option SyntheticMVarDecl) := return (← get).syntheticMVars.find? fun d => d.mvarId == mvarId -def mkTermInfo (elaborator : Name) (stx : Syntax) (e : Expr) (expectedType? : Option Expr := none) (lctx? : Option LocalContext := none) : TermElabM (Sum Info MVarId) := do +def mkTermInfo (elaborator : Name) (stx : Syntax) (e : Expr) (expectedType? : Option Expr := none) (lctx? : Option LocalContext := none) (isBinder := false) : TermElabM (Sum Info MVarId) := do let isHole? : TermElabM (Option MVarId) := do match e with | Expr.mvar mvarId _ => @@ -947,11 +947,11 @@ def mkTermInfo (elaborator : Name) (stx : Syntax) (e : Expr) (expectedType? : Op | _ => return none | _ => pure none match (← isHole?) with - | none => return Sum.inl <| Info.ofTermInfo { elaborator, lctx := lctx?.getD (← getLCtx), expr := e, stx, expectedType? } + | none => return Sum.inl <| Info.ofTermInfo { elaborator, lctx := lctx?.getD (← getLCtx), expr := e, stx, expectedType?, isBinder } | some mvarId => return Sum.inr mvarId -def addTermInfo (stx : Syntax) (e : Expr) (expectedType? : Option Expr := none) (lctx? : Option LocalContext := none) (elaborator := Name.anonymous) : TermElabM Unit := do - withInfoContext' (pure ()) (fun _ => mkTermInfo elaborator stx e expectedType? lctx?) |> discard +def addTermInfo (stx : Syntax) (e : Expr) (expectedType? : Option Expr := none) (lctx? : Option LocalContext := none) (elaborator := Name.anonymous) (isBinder := false) : TermElabM Unit := do + withInfoContext' (pure ()) (fun _ => mkTermInfo elaborator stx e expectedType? lctx? isBinder) |> discard /- Helper function for `elabTerm` is tries the registered elaboration functions for `stxNode` kind until it finds one that supports the syntax or @@ -1379,29 +1379,8 @@ def resolveName' (ident : Syntax) (explicitLevels : List Level) (expectedType? : | Syntax.ident info rawStr n preresolved => let r ← resolveName ident n preresolved explicitLevels expectedType? r.mapM fun (c, fields) => do - let (cSstr, fields) := fields.foldr (init := (rawStr, [])) fun field (restSstr, fs) => - let fieldSstr := restSstr.takeRightWhile (· ≠ '.') - ({ restSstr with stopPos := restSstr.stopPos - (fieldSstr.bsize + 1) }, (field, fieldSstr) :: fs) - let mkIdentFromPos pos rawVal val := - let info := match info with - | SourceInfo.original .. => SourceInfo.original "".toSubstring pos "".toSubstring (pos + rawVal.bsize) - | _ => SourceInfo.synthetic pos (pos + rawVal.bsize) - Syntax.ident info rawVal val [] - let id := match c with - | Expr.const id _ _ => id - | Expr.fvar id _ => id - | _ => unreachable! - let id := mkIdentFromPos (ident.getPos?.getD 0) cSstr id - match info.getPos? with - | none => - return (c, id, fields.map fun (field, _) => mkIdentFrom ident (Name.mkSimple field)) - | some pos => - let mut pos := pos + cSstr.bsize + 1 - let mut newFields := #[] - for (field, fieldSstr) in fields do - newFields := newFields.push <| mkIdentFromPos pos fieldSstr (Name.mkSimple field) - pos := pos + fieldSstr.bsize + 1 - return (c, id, newFields.toList) + let ids := ident.identComponents (nFields? := fields.length) + return (c, ids.head!, ids.tail!) | _ => throwError "identifier expected" def resolveId? (stx : Syntax) (kind := "term") (withInfo := false) : TermElabM (Option Expr) := diff --git a/stage0/src/Lean/Parser/Command.lean b/stage0/src/Lean/Parser/Command.lean index 8284902f6e..fcdd1d24bf 100644 --- a/stage0/src/Lean/Parser/Command.lean +++ b/stage0/src/Lean/Parser/Command.lean @@ -11,8 +11,8 @@ namespace Parser /-- Syntax quotation for terms and (lists of) commands. We prefer terms, so ambiguous quotations like - `($x $y) will be parsed as an application, not two commands. Use `($x:command $y:command) instead. - Multiple command will be put in a `null node, but a single command will not (so that you can directly + `` `($x $y) `` will be parsed as an application, not two commands. Use `` `($x:command $y:command) `` instead. + Multiple command will be put in a `` `null `` node, but a single command will not (so that you can directly match against a quotation in a command kind's elaborator). -/ -- TODO: use two separate quotation parsers with parser priorities instead @[builtinTermParser] def Term.quot := leading_parser "`(" >> incQuotDepth (termParser <|> many1Unbox commandParser) >> ")" diff --git a/stage0/src/Lean/Parser/Syntax.lean b/stage0/src/Lean/Parser/Syntax.lean index 8fd0120373..6a5061b94e 100644 --- a/stage0/src/Lean/Parser/Syntax.lean +++ b/stage0/src/Lean/Parser/Syntax.lean @@ -59,7 +59,7 @@ def «infixl» := leading_parser "infixl" def «infixr» := leading_parser "infixr" def «postfix» := leading_parser "postfix" def mixfixKind := «prefix» <|> «infix» <|> «infixl» <|> «infixr» <|> «postfix» -@[builtinCommandParser] def «mixfix» := leading_parser Term.attrKind >> mixfixKind >> optPrecedence >> optNamedName >> optNamedPrio >> ppSpace >> strLit >> darrow >> termParser +@[builtinCommandParser] def «mixfix» := leading_parser Term.attrKind >> mixfixKind >> precedence >> optNamedName >> optNamedPrio >> ppSpace >> strLit >> darrow >> termParser -- NOTE: We use `suppressInsideQuot` in the following parsers because quotations inside them are evaluated in the same stage and -- thus should be ignored when we use `checkInsideQuot` to prepare the next stage for a builtin syntax change def identPrec := leading_parser ident >> optPrecedence diff --git a/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean b/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean index b7de8dd704..6d6e76cf78 100644 --- a/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean +++ b/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean @@ -137,7 +137,7 @@ unsafe def mkCategoryParenthesizerAttribute : IO (KeyedDeclsAttribute CategoryPa name := `categoryParenthesizer, descr := "Register a parenthesizer for a syntax category. - [parenthesizer cat] registers a declaration of type `Lean.PrettyPrinter.CategoryParenthesizer` for the category `cat`, + [categoryParenthesizer cat] registers a declaration of type `Lean.PrettyPrinter.CategoryParenthesizer` for the category `cat`, which is used when parenthesizing calls of `categoryParser cat prec`. Implementations should call `maybeParenthesize` with the precedence and `cat`. If no category parenthesizer is registered, the category will never be parenthesized, but still be traversed for parenthesizing nested categories.", @@ -146,7 +146,7 @@ unsafe def mkCategoryParenthesizerAttribute : IO (KeyedDeclsAttribute CategoryPa let env ← getEnv let id ← Attribute.Builtin.getId stx if Parser.isParserCategory env id then pure id - else throwError "invalid [parenthesizer] argument, unknown parser category '{toString id}'" + else throwError "invalid [categoryParenthesizer] argument, unknown parser category '{toString id}'" } `Lean.PrettyPrinter.categoryParenthesizerAttribute @[builtinInit mkCategoryParenthesizerAttribute] constant categoryParenthesizerAttribute : KeyedDeclsAttribute CategoryParenthesizer @@ -208,7 +208,7 @@ def maybeParenthesize (cat : Name) (canJuxtapose : Bool) (mkParen : Syntax → S x let { minPrec := some minPrec, trailPrec := trailPrec, trailCat := trailCat, .. } ← get | trace[PrettyPrinter.parenthesize] "visited a syntax tree without precedences?!{line ++ fmt stx}" - trace[PrettyPrinter.parenthesize] ("...precedences are {prec} >? {minPrec}" ++ if canJuxtapose then m!", {(trailPrec, trailCat)} <=? {(st.contPrec, st.contCat)}" else "") + trace[PrettyPrinter.parenthesize] (m!"...precedences are {prec} >? {minPrec}" ++ if canJuxtapose then m!", {(trailPrec, trailCat)} <=? {(st.contPrec, st.contCat)}" else "") -- Should we parenthesize? if (prec > minPrec || canJuxtapose && match trailPrec, st.contPrec with | some trailPrec, some contPrec => trailCat == st.contCat && trailPrec <= contPrec | _, _ => false) then -- The recursive `visit` call, by the invariant, has moved to the preceding node. In order to parenthesize diff --git a/stage0/src/Lean/Server/FileWorker/RequestHandling.lean b/stage0/src/Lean/Server/FileWorker/RequestHandling.lean index 91955c01a5..1135cceca4 100644 --- a/stage0/src/Lean/Server/FileWorker/RequestHandling.lean +++ b/stage0/src/Lean/Server/FileWorker/RequestHandling.lean @@ -90,6 +90,21 @@ partial def handleDefinition (kind : GoToKind) (p : TextDocumentPositionParams) return #[ll] return #[] + let locationLinksFromBinder (t : InfoTree) (i : Elab.Info) (id : FVarId) := do + if let some i' := t.findInfo? fun + | Info.ofTermInfo { isBinder := true, expr := Expr.fvar id' .., .. } => id' == id + | _ => false then + if let some r := i'.range? then + let r := r.toLspRange text + let ll : LocationLink := { + originSelectionRange? := (·.toLspRange text) <$> i.range? + targetUri := p.textDocument.uri + targetRange := r + targetSelectionRange := r + } + return #[ll] + return #[] + withWaitFindSnap doc (fun s => s.endPos > hoverPos) (notFoundX := pure #[]) fun snap => do for t in snap.cmdState.infoState.trees do @@ -98,14 +113,16 @@ partial def handleDefinition (kind : GoToKind) (p : TextDocumentPositionParams) let mut expr := ti.expr if kind = type then expr ← ci.runMetaM i.lctx do - Meta.instantiateMVars (← Meta.inferType expr) - if let some n := expr.constName? then - return ← ci.runMetaM i.lctx <| locationLinksFromDecl i n + Expr.getAppFn (← Meta.instantiateMVars (← Meta.inferType expr)) + match expr with + | Expr.const n .. => return ← ci.runMetaM i.lctx <| locationLinksFromDecl i n + | Expr.fvar id .. => return ← ci.runMetaM i.lctx <| locationLinksFromBinder t i id + | _ => pure () if let Info.ofFieldInfo fi := i then if kind = type then let expr ← ci.runMetaM i.lctx do Meta.instantiateMVars (← Meta.inferType fi.val) - if let some n := expr.constName? then + if let some n := expr.getAppFn.constName? then return ← ci.runMetaM i.lctx <| locationLinksFromDecl i n else return ← ci.runMetaM i.lctx <| locationLinksFromDecl i fi.projName @@ -145,6 +162,7 @@ partial def handlePlainGoal (p : PlainGoalParams) return none open Elab in +open Meta in partial def handlePlainTermGoal (p : PlainTermGoalParams) : RequestM (RequestTask (Option PlainTermGoal)) := do let doc ← readDoc @@ -154,8 +172,11 @@ partial def handlePlainTermGoal (p : PlainTermGoalParams) (notFoundX := pure none) fun snap => do for t in snap.cmdState.infoState.trees do if let some (ci, i@(Info.ofTermInfo ti)) := t.termGoalAt? hoverPos then - let goal ← ci.runMetaM i.lctx <| open Meta in do - let ty ← instantiateMVars <| ti.expectedType?.getD (← inferType ti.expr) + let ty ← ci.runMetaM i.lctx do + instantiateMVars <| ti.expectedType?.getD (← inferType ti.expr) + -- for binders, hide the last hypothesis (the binder itself) + let lctx' := if ti.isBinder then i.lctx.pop else i.lctx + let goal ← ci.runMetaM lctx' do withPPInaccessibleNames <| Meta.ppGoal (← mkFreshExprMVar ty).mvarId! let range := if let some r := i.range? then r.toLspRange text else ⟨p.position, p.position⟩ return some { goal := toString goal, range } diff --git a/stage0/src/Lean/Syntax.lean b/stage0/src/Lean/Syntax.lean index e98e1088bc..d57f633c22 100644 --- a/stage0/src/Lean/Syntax.lean +++ b/stage0/src/Lean/Syntax.lean @@ -172,6 +172,50 @@ partial def getTailWithPos : Syntax → Option Syntax | node _ args => args.findSomeRev? getTailWithPos | _ => none +open SourceInfo in +/-- Split an `ident` into its dot-separated components while preserving source info. +Macro scopes are first erased. For example, `` `foo.bla.boo._@._hyg.4 `` ↦ `` [`foo, `bla, `boo] ``. +If `nFields` is set, we take that many fields from the end and keep the remaining components +as one name. For example, `` `foo.bla.boo `` with `(nFields := 1)` ↦ `` [`foo.bla, `boo] ``. -/ +def identComponents (stx : Syntax) (nFields? : Option Nat := none) : List Syntax := + match stx with + | ident (SourceInfo.original lead pos trail _) rawStr val _ => + let val := val.eraseMacroScopes + -- With original info, we assume that `rawStr` represents `val`. + let nameComps := nameComps val nFields? + let rawComps := splitNameLit rawStr + let rawComps := + if let some nFields := nFields? then + let nPrefix := rawComps.length - nFields + let prefixSz := rawComps.take nPrefix |>.foldl (init := 0) fun acc (ss : Substring) => acc + ss.bsize + 1 + let prefixSz := prefixSz - 1 -- The last component has no dot + rawStr.extract 0 prefixSz :: rawComps.drop nPrefix + else + rawComps + assert! nameComps.length == rawComps.length + nameComps.zip rawComps |>.map fun (id, ss) => + let off := ss.startPos - rawStr.startPos + let lead := if off == 0 then lead else "".toSubstring + let trail := if ss.stopPos == rawStr.stopPos then trail else "".toSubstring + let info := original lead (pos + off) trail (pos + off + ss.bsize) + ident info ss id [] + | ident si _ val _ => + let val := val.eraseMacroScopes + /- With non-original info: + - `rawStr` can take all kinds of forms so we only use `val`. + - there is no source extent to offset, so we pass it as-is. -/ + nameComps val nFields? |>.map fun n => ident si n.toString.toSubstring n [] + | _ => unreachable! + where + nameComps (n : Name) (nFields? : Option Nat) : List Name := + if let some nFields := nFields? then + let nameComps := n.components + let nPrefix := nameComps.length - nFields + let namePrefix := nameComps.take nPrefix |>.foldl (init := Name.anonymous) fun acc n => acc ++ n + namePrefix :: nameComps.drop nPrefix + else + n.components + structure TopDown where firstChoiceOnly : Bool stx : Syntax diff --git a/stage0/src/include/lean/compiler_hints.h b/stage0/src/include/lean/compiler_hints.h deleted file mode 100644 index 05e2539082..0000000000 --- a/stage0/src/include/lean/compiler_hints.h +++ /dev/null @@ -1,17 +0,0 @@ -/* -Copyright (c) 2017 Microsoft Corporation. All rights reserved. -Released under Apache 2.0 license as described in the file LICENSE. - -Author: Gabriel Ebner -*/ -#pragma once - -#if defined(__GNUC__) || defined(__clang__) -#define LEAN_UNLIKELY(x) (__builtin_expect((x), 0)) -#define LEAN_LIKELY(x) (__builtin_expect((x), 1)) -#define LEAN_ALWAYS_INLINE __attribute__((always_inline)) -#else -#define LEAN_UNLIKELY(x) (x) -#define LEAN_LIKELY(x) (x) -#define LEAN_ALWAYS_INLINE -#endif diff --git a/stage0/src/include/lean/lean.h b/stage0/src/include/lean/lean.h index 4dba84f89b..fdeea02cce 100644 --- a/stage0/src/include/lean/lean.h +++ b/stage0/src/include/lean/lean.h @@ -89,46 +89,16 @@ LEAN_CASSERT(sizeof(void*) == 8); /* Lean object header */ typedef struct { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) - /* (high) 8-bits : tag - 8-bits : num fields for constructors, element size for scalar arrays - 1-bit : single-threaded - 1-bit : multi-threaded - 1-bit : persistent - (low) 45-bits : RC */ - size_t m_header; -#define LEAN_RC_NBITS 45 -#define LEAN_PERSISTENT_BIT 45 -#define LEAN_MT_BIT 46 -#define LEAN_ST_BIT 47 -#elif defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - /* (high) 8-bits : tag - 8-bits : num fields for constructors, element size for scalar arrays - 8-bits : memory kind - 8-bits : - (low) 32-bits : RC */ - size_t m_header; -#define LEAN_RC_NBITS 32 -#define LEAN_ST_MEM_KIND 0 -#define LEAN_MT_MEM_KIND 1 -#define LEAN_PERSISTENT_MEM_KIND 2 -#define LEAN_OTHER_MEM_KIND 3 -#else - size_t m_rc; - uint8_t m_tag; - uint8_t m_mem_kind; - uint16_t m_other; /* num fields for constructors, element size for scalar arrays, etc. */ -#define LEAN_ST_MEM_KIND 0 -#define LEAN_MT_MEM_KIND 1 -#define LEAN_PERSISTENT_MEM_KIND 2 -#define LEAN_OTHER_MEM_KIND 3 -#endif + int m_rc; /* > 0 - single thread object, < 0 - multi threaded object, == 0 - persistent object. */ + unsigned m_cs_sz:16; /* for small objects stored in compact regions, this field contains the object size. It is 0, otherwise */ + unsigned m_other:8; /* number of fields for constructors, element size for scalar arrays */ + unsigned m_tag:8; } lean_object; /* In our runtime, a Lean function consume the reference counter (RC) of its argument or not. We say this behavior is part of the "calling convention" for the function. We say an argument uses: - +x 1- "standard" calling convention if it consumes/decrements the RC. In this calling convention each argument should be viewed as a resource that is consumed by the function. This is roughly equivalent to `S && a` in C++, where `S` is a smart pointer, and `a` is the argument. @@ -378,19 +348,11 @@ lean_object * lean_alloc_object(size_t sz); void lean_free_object(lean_object * o); static inline uint8_t lean_ptr_tag(lean_object * o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) || defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - return LEAN_BYTE(o->m_header, 7); -#else return o->m_tag; -#endif } static inline unsigned lean_ptr_other(lean_object * o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) || defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - return LEAN_BYTE(o->m_header, 6); -#else return o->m_other; -#endif } /* The object size may be slightly bigger for constructor objects. @@ -401,145 +363,54 @@ static inline unsigned lean_ptr_other(lean_object * o) { size_t lean_object_byte_size(lean_object * o); static inline bool lean_is_mt(lean_object * o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) - return ((o->m_header >> LEAN_MT_BIT) & 1) != 0; -#elif defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - return LEAN_BYTE(o->m_header, 5) == LEAN_MT_MEM_KIND; -#else - return o->m_mem_kind == LEAN_MT_MEM_KIND; -#endif + return o->m_rc < 0; } static inline bool lean_is_st(lean_object * o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) - return ((o->m_header >> LEAN_ST_BIT) & 1) != 0; -#elif defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - return LEAN_BYTE(o->m_header, 5) == LEAN_ST_MEM_KIND; -#else - return o->m_mem_kind == LEAN_ST_MEM_KIND; -#endif + return o->m_rc > 0; } +/* We never update the reference counter of objects stored in compact regions and allocated at initialization time. */ static inline bool lean_is_persistent(lean_object * o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) - return ((o->m_header >> LEAN_PERSISTENT_BIT) & 1) != 0; -#elif defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - return LEAN_BYTE(o->m_header, 5) == LEAN_PERSISTENT_MEM_KIND; -#else - return o->m_mem_kind == LEAN_PERSISTENT_MEM_KIND; -#endif + return o->m_rc == 0; } static inline bool lean_has_rc(lean_object * o) { - return lean_is_st(o) || lean_is_mt(o); + return o->m_rc != 0; } -static inline _Atomic(size_t) * lean_get_rc_mt_addr(lean_object* o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) || defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - return (_Atomic(size_t)*)(&(o->m_header)); -#else - return (_Atomic(size_t)*)(&(o->m_rc)); -#endif +static inline _Atomic(int) * lean_get_rc_mt_addr(lean_object* o) { + return (_Atomic(int)*)(&(o->m_rc)); } +void lean_inc_ref_cold(lean_object * o); +void lean_inc_ref_n_cold(lean_object * o, unsigned n); + static inline void lean_inc_ref(lean_object * o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) - if (LEAN_LIKELY(lean_is_st(o))) { - o->m_header++; - } else if (lean_is_mt(o)) { - LEAN_USING_STD; - atomic_fetch_add_explicit(lean_get_rc_mt_addr(o), (size_t)1, memory_order_relaxed); - } -#elif defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - if (LEAN_LIKELY(lean_is_st(o))) { - o->m_header++; - #ifdef LEAN_CHECK_RC_OVERFLOW - if (LEAN_UNLIKELY(((uint32_t)o->m_header) == 0)) { - lean_internal_panic_rc_overflow(); - } - #endif - } else if (lean_is_mt(o)) { - LEAN_USING_STD; - #ifdef LEAN_CHECK_RC_OVERFLOW - uint32_t old_rc = (uint32_t) - #endif - atomic_fetch_add_explicit(lean_get_rc_mt_addr(o), (size_t)1, memory_order_relaxed); - #ifdef LEAN_CHECK_RC_OVERFLOW - if (LEAN_UNLIKELY(old_rc + 1 == 0)) { - lean_internal_panic_rc_overflow(); - } - #endif - } -#else if (LEAN_LIKELY(lean_is_st(o))) { o->m_rc++; - } else if (lean_is_mt(o)) { - LEAN_USING_STD; - atomic_fetch_add_explicit(lean_get_rc_mt_addr(o), (size_t)1, memory_order_relaxed); + } else { + lean_inc_ref_cold(o); } -#endif } static inline void lean_inc_ref_n(lean_object * o, size_t n) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) - if (LEAN_LIKELY(lean_is_st(o))) { - o->m_header += n; - } else if (lean_is_mt(o)) { - LEAN_USING_STD; - atomic_fetch_add_explicit(lean_get_rc_mt_addr(o), n, memory_order_relaxed); - } -#elif defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - if (LEAN_LIKELY(lean_is_st(o))) { - o->m_header += n; - #ifdef LEAN_CHECK_RC_OVERFLOW - if (LEAN_UNLIKELY(((uint32_t)o->m_header) < n)) { - lean_internal_panic_rc_overflow(); - } - #endif - } else if (lean_is_mt(o)) { - LEAN_USING_STD; - #ifdef LEAN_CHECK_RC_OVERFLOW - uint32_t old_rc = (uint32_t) - #endif - atomic_fetch_add_explicit(lean_get_rc_mt_addr(o), n, memory_order_relaxed); - #ifdef LEAN_CHECK_RC_OVERFLOW - if (LEAN_UNLIKELY(old_rc + n < n)) { - lean_internal_panic_rc_overflow(); - } - #endif - } -#else if (LEAN_LIKELY(lean_is_st(o))) { o->m_rc += n; } else if (lean_is_mt(o)) { - LEAN_USING_STD; - atomic_fetch_add_explicit(lean_get_rc_mt_addr(o), n, memory_order_relaxed); + lean_inc_ref_n_cold(o, n); } -#endif } +bool lean_dec_ref_core_cold(lean_object * o); + static inline bool lean_dec_ref_core(lean_object * o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) || defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - if (LEAN_LIKELY(lean_is_st(o))) { - o->m_header--; - return ((o->m_header) & ((1ull << LEAN_RC_NBITS) - 1)) == 0; - } else if (lean_is_mt(o)) { - LEAN_USING_STD; - return (atomic_fetch_sub_explicit(lean_get_rc_mt_addr(o), (size_t)1, memory_order_acq_rel) & ((1ull << LEAN_RC_NBITS) - 1)) == 1; - } else { - return false; - } -#else - if (LEAN_LIKELY(lean_is_st(o))) { + if (LEAN_LIKELY(o->m_rc > 1)) { o->m_rc--; - return o->m_rc == 0; - } else if (lean_is_mt(o)) { - LEAN_USING_STD; - return atomic_fetch_sub_explicit(lean_get_rc_mt_addr(o), (size_t)1, memory_order_acq_rel) == 1; - } else { return false; + } else { + return lean_dec_ref_core_cold(o); } -#endif } /* Generic Lean object delete operation. */ @@ -579,97 +450,41 @@ static inline lean_ref_object * lean_to_ref(lean_object * o) { assert(lean_is_re static inline lean_external_object * lean_to_external(lean_object * o) { assert(lean_is_external(o)); return (lean_external_object*)(o); } static inline bool lean_is_exclusive(lean_object * o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) || defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - if (LEAN_LIKELY(lean_is_st(o))) { - return ((o->m_header) & ((1ull << LEAN_RC_NBITS) - 1)) == 1; - } else { - // In theory, an MT object with RC 1 can also be used for destructive updates as long as - // the single reference is reachable only from a single thread (which is the case when - // it is on the stack/passed to a primitive, in contrast to stored in another object). - // However, we would need to add an additional check to this function (which is inlined) - // and also reset the mem kind of `o` to ST, and the object will be iterated over anyway - // when we put it back in an MT context. So we focus on the more common ST case instead. - return false; - } -#else if (LEAN_LIKELY(lean_is_st(o))) { return o->m_rc == 1; } else { return false; } -#endif } static inline bool lean_is_shared(lean_object * o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) || defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - if (LEAN_LIKELY(lean_is_st(o))) { - return ((o->m_header) & ((1ull << LEAN_RC_NBITS) - 1)) > 1; - } else { - return false; - } -#else if (LEAN_LIKELY(lean_is_st(o))) { return o->m_rc > 1; } else { return false; } -#endif -} - -static inline bool lean_nonzero_rc(lean_object * o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) || defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - if (LEAN_LIKELY(lean_is_st(o))) { - return ((o->m_header) & ((1ull << LEAN_RC_NBITS) - 1)) > 0; - } else if (lean_is_mt(o)) { - LEAN_USING_STD; - return (atomic_load_explicit(lean_get_rc_mt_addr(o), memory_order_acquire) & ((1ull << LEAN_RC_NBITS) - 1)) > 0; - } else { - return false; - } -#else - if (LEAN_LIKELY(lean_is_st(o))) { - return o->m_rc > 0; - } else if (lean_is_mt(o)) { - LEAN_USING_STD; - return atomic_load_explicit(lean_get_rc_mt_addr(o), memory_order_acquire) > 0; - } else { - return false; - } -#endif } void lean_mark_mt(lean_object * o); void lean_mark_persistent(lean_object * o); static inline void lean_set_st_header(lean_object * o, unsigned tag, unsigned other) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) - o->m_header = ((size_t)(tag) << 56) | ((size_t)(other) << 48) | (1ull << LEAN_ST_BIT) | 1; -#elif defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - o->m_header = ((size_t)(tag) << 56) | ((size_t)(other) << 48) | ((size_t)LEAN_ST_MEM_KIND << 40) | 1; -#else o->m_rc = 1; o->m_tag = tag; - o->m_mem_kind = LEAN_ST_MEM_KIND; o->m_other = other; -#endif + o->m_cs_sz = 0; } /* Remark: we don't need a reference counter for objects that are not stored in the heap. Thus, we use the area to store the object size for small objects. */ static inline void lean_set_non_heap_header(lean_object * o, size_t sz, unsigned tag, unsigned other) { assert(sz > 0); - assert(sz < (1ull << 45)); + assert(sz < (1ull << 16)); assert(sz == 1 || !lean_is_big_object_tag(tag)); -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) - o->m_header = ((size_t)(tag) << 56) | ((size_t)(other) << 48) | sz; -#elif defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - o->m_header = ((size_t)(tag) << 56) | ((size_t)(other) << 48) | ((size_t)LEAN_OTHER_MEM_KIND << 40) | sz; -#else - o->m_rc = sz; + o->m_rc = 0; o->m_tag = tag; - o->m_mem_kind = LEAN_OTHER_MEM_KIND; o->m_other = other; -#endif + o->m_cs_sz = sz; } /* `lean_set_non_heap_header` for (potentially) big objects such as arrays and strings. */ @@ -713,11 +528,7 @@ static inline void lean_ctor_set(b_lean_obj_arg o, unsigned i, lean_obj_arg v) { static inline void lean_ctor_set_tag(b_lean_obj_arg o, uint8_t new_tag) { assert(new_tag <= LeanMaxCtorTag); -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) || defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - LEAN_BYTE(o->m_header, 7) = new_tag; -#else o->m_tag = new_tag; -#endif } static inline void lean_ctor_release(b_lean_obj_arg o, unsigned i) { diff --git a/stage0/src/runtime/alloc.cpp b/stage0/src/runtime/alloc.cpp index 60b5ac3ee5..5aa606d8fb 100644 --- a/stage0/src/runtime/alloc.cpp +++ b/stage0/src/runtime/alloc.cpp @@ -10,6 +10,12 @@ Author: Leonardo de Moura #include #include +#if defined(__GNUC__) || defined(__clang__) +#define LEAN_NOINLINE __attribute__((noinline)) +#else +#define LEAN_NOINLINE +#endif + #define LEAN_PAGE_SIZE 8192 // 8 Kb #define LEAN_SEGMENT_SIZE 8*1024*1024 // 8 Mb #define LEAN_NUM_SLOTS (LEAN_MAX_SMALL_OBJECT_SIZE / LEAN_OBJECT_SIZE_DELTA) @@ -370,6 +376,7 @@ static void finalize_heap(void * _h) { g_heap_manager->push_orphan(h); } +LEAN_NOINLINE static void init_heap(bool main) { lean_assert(g_heap == nullptr); g_heap = new heap(); @@ -396,24 +403,33 @@ void init_thread_heap() { init_heap(false); } +LEAN_NOINLINE +void * lean_alloc_small_cold(unsigned sz, unsigned slot_idx, page * p) { + if (g_heap->m_page_free_list[slot_idx] == nullptr) { + g_heap->import_objs(); + lean_assert(g_heap->m_curr_page[slot_idx] == p); + /* g_heap->import_objs() may add objects to p->m_header.m_free_list */ + if (p->m_header.m_free_list == nullptr) + p = alloc_page(g_heap, sz); + } else { + p = page_list_pop(g_heap->m_page_free_list[slot_idx]); + p->m_header.m_in_page_free_list = false; + page_list_insert(g_heap->m_curr_page[slot_idx], p); + } + void * r = p->m_header.m_free_list; + lean_assert(r); + p->m_header.m_free_list = get_next_obj(r); + p->m_header.m_num_free--; + lean_assert(get_page_of(r) == p); + return r; +} + extern "C" void * lean_alloc_small(unsigned sz, unsigned slot_idx) { page * p = g_heap->m_curr_page[slot_idx]; g_heap->m_heartbeat++; void * r = p->m_header.m_free_list; if (LEAN_UNLIKELY(r == nullptr)) { - if (g_heap->m_page_free_list[slot_idx] == nullptr) { - g_heap->import_objs(); - lean_assert(g_heap->m_curr_page[slot_idx] == p); - /* g_heap->import_objs() may add objects to p->m_header.m_free_list */ - if (p->m_header.m_free_list == nullptr) - p = alloc_page(g_heap, sz); - } else { - p = page_list_pop(g_heap->m_page_free_list[slot_idx]); - p->m_header.m_in_page_free_list = false; - page_list_insert(g_heap->m_curr_page[slot_idx], p); - } - r = p->m_header.m_free_list; - lean_assert(r); + return lean_alloc_small_cold(sz, slot_idx, p); } p->m_header.m_free_list = get_next_obj(r); p->m_header.m_num_free--; @@ -448,6 +464,17 @@ void * alloc(size_t sz) { return lean_alloc_small(sz, slot_idx); } +LEAN_NOINLINE +static void dealloc_small_core_cold(void * o) { + set_next_obj(o, g_heap->m_to_export_list); + g_heap->m_to_export_list = o; + g_heap->m_to_export_list_size++; + if (g_heap->m_to_export_list_size > LEAN_MAX_TO_EXPORT_OBJS) { + LEAN_RUNTIME_STAT_CODE(g_num_exports++); + g_heap->export_objs(); + } +} + static inline void dealloc_small_core(void * o) { LEAN_RUNTIME_STAT_CODE(g_num_small_dealloc++); if (LEAN_UNLIKELY(g_heap == nullptr)) { @@ -458,13 +485,7 @@ static inline void dealloc_small_core(void * o) { if (LEAN_LIKELY(p->get_heap() == g_heap)) { p->push_free_obj(o); } else { - set_next_obj(o, g_heap->m_to_export_list); - g_heap->m_to_export_list = o; - g_heap->m_to_export_list_size++; - if (g_heap->m_to_export_list_size > LEAN_MAX_TO_EXPORT_OBJS) { - LEAN_RUNTIME_STAT_CODE(g_num_exports++); - g_heap->export_objs(); - } + dealloc_small_core_cold(o); } } diff --git a/stage0/src/runtime/object.cpp b/stage0/src/runtime/object.cpp index 25c90c976e..b09e84e6a7 100644 --- a/stage0/src/runtime/object.cpp +++ b/stage0/src/runtime/object.cpp @@ -69,8 +69,26 @@ extern "C" object * lean_sorry(uint8) { lean_unreachable(); } +extern "C" void lean_inc_ref_cold(lean_object * o) { + if (o->m_rc == 0) + return; + atomic_fetch_sub_explicit(lean_get_rc_mt_addr(o), 1, memory_order_relaxed); +} + +extern "C" void lean_inc_ref_n_cold(lean_object * o, unsigned n) { + if (o->m_rc == 0) + return; + atomic_fetch_sub_explicit(lean_get_rc_mt_addr(o), n, memory_order_relaxed); +} + +extern "C" bool lean_dec_ref_core_cold(lean_object * o) { + if (o->m_rc == 1) return true; + if (o->m_rc == 0) return false; + return atomic_fetch_add_explicit(lean_get_rc_mt_addr(o), 1, memory_order_acq_rel) == -1; +} + extern "C" size_t lean_object_byte_size(lean_object * o) { - if (lean_is_mt(o) || lean_is_st(o) || lean_is_persistent(o)) { + if (o->m_cs_sz == 0) { /* Recall that multi-threaded, single-threaded and persistent objects are stored in the heap. Persistent objects are multi-threaded and/or single-threaded that have been "promoted" to a persistent status. */ @@ -86,15 +104,7 @@ extern "C" size_t lean_object_byte_size(lean_object * o) { case LeanArray: return lean_array_byte_size(o); case LeanScalarArray: return lean_sarray_byte_size(o); case LeanString: return lean_string_byte_size(o); - default: - /* For potentially big objects, we cannot store the size in the RC field when `defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC)`. - In this case, the RC is 32-bits, and it is not enough for big arrays/strings. - Thus, we compute them using the respective *_byte_size operations. */ -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) || defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - return o->m_header & ((1ull << LEAN_RC_NBITS) - 1); -#else - return o->m_rc; -#endif + default: return o->m_cs_sz; } } } @@ -118,25 +128,28 @@ extern "C" void lean_free_object(lean_object * o) { } static inline lean_object * get_next(lean_object * o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) || defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - size_t header = o->m_header; - LEAN_BYTE(header, 6) = 0; - LEAN_BYTE(header, 7) = 0; - return (lean_object*)(header); -#else - return (lean_object*)((size_t)(o->m_rc)); -#endif + if (sizeof(void*) == 8) { + size_t header = ((size_t*)o)[0]; + LEAN_BYTE(header, 7) = 0; + LEAN_BYTE(header, 6) = 0; + return (lean_object*)(header); + } else { + // 32-bit version + return ((lean_object**)o)[0]; + } } static inline void set_next(lean_object * o, lean_object * n) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) || defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - size_t new_header = (size_t)n; - LEAN_BYTE(new_header, 6) = LEAN_BYTE(o->m_header, 6); - LEAN_BYTE(new_header, 7) = LEAN_BYTE(o->m_header, 7); - o->m_header = new_header; -#else - o->m_rc = (size_t)n; -#endif + if (sizeof(void*) == 8) { + size_t new_header = (size_t)n; + LEAN_BYTE(new_header, 7) = o->m_tag; + LEAN_BYTE(new_header, 6) = o->m_other; + ((size_t*)o)[0] = new_header; + lean_assert(get_next(o) == n); + } else { + // 32-bit version + ((lean_object**)o)[0] = n; + } } static inline void push_back(lean_object * & todo, lean_object * v) { @@ -449,14 +462,7 @@ extern "C" void lean_mark_persistent(object * o) { object * o = todo.back(); todo.pop_back(); if (!lean_is_scalar(o) && lean_has_rc(o)) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) - o->m_header &= ~((1ull << LEAN_ST_BIT) | (1ull << LEAN_MT_BIT)); - o->m_header |= (1ull << LEAN_PERSISTENT_BIT); -#elif defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - LEAN_BYTE(o->m_header, 5) = LEAN_PERSISTENT_MEM_KIND; -#else - o->m_mem_kind = LEAN_PERSISTENT_MEM_KIND; -#endif + o->m_rc = 0; #if defined(__has_feature) #if __has_feature(address_sanitizer) // do not report as leak @@ -538,14 +544,7 @@ extern "C" void lean_mark_mt(object * o) { object * o = todo.back(); todo.pop_back(); if (!lean_is_scalar(o) && lean_is_st(o)) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) - o->m_header &= ~(1ull << LEAN_ST_BIT); - o->m_header |= (1ull << LEAN_MT_BIT); -#elif defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - LEAN_BYTE(o->m_header, 5) = LEAN_MT_MEM_KIND; -#else - o->m_mem_kind = LEAN_MT_MEM_KIND; -#endif + o->m_rc = -o->m_rc; uint8_t tag = lean_ptr_tag(o); if (tag <= LeanMaxCtorTag) { object ** it = lean_ctor_obj_cptr(o); @@ -916,16 +915,10 @@ void deactivate_task(lean_task_object * t) { } static inline void lean_set_task_header(lean_object * o) { -#if defined(LEAN_COMPRESSED_OBJECT_HEADER) - o->m_header = ((size_t)(LeanTask) << 56) | (1ull << LEAN_MT_BIT) | 1; -#elif defined(LEAN_COMPRESSED_OBJECT_HEADER_SMALL_RC) - o->m_header = ((size_t)(LeanTask) << 56) | ((size_t)LEAN_MT_MEM_KIND << 40) | 1; -#else - o->m_rc = 1; + o->m_rc = -1; o->m_tag = LeanTask; - o->m_mem_kind = LEAN_MT_MEM_KIND; o->m_other = 0; -#endif + o->m_cs_sz = 0; } static lean_task_object * alloc_task(obj_arg c, unsigned prio, bool keep_alive) { diff --git a/stage0/src/util/object_ref.h b/stage0/src/util/object_ref.h index 4dc8ccbccd..4a1d8cad62 100644 --- a/stage0/src/util/object_ref.h +++ b/stage0/src/util/object_ref.h @@ -18,7 +18,7 @@ protected: object * m_obj; public: object_ref():m_obj(box(0)) {} - explicit object_ref(obj_arg o):m_obj(o) { lean_assert(is_scalar(o) || !is_heap_obj(o) || lean_nonzero_rc(o)); } + explicit object_ref(obj_arg o):m_obj(o) {} object_ref(b_obj_arg o, bool):m_obj(o) { inc(o); } object_ref(object_ref const & s):m_obj(s.m_obj) { inc(m_obj); } object_ref(object_ref && s):m_obj(s.m_obj) { s.m_obj = box(0); } diff --git a/stage0/stdlib/CMakeLists.txt b/stage0/stdlib/CMakeLists.txt index a449f7f449..4dfd3dad5e 100644 --- a/stage0/stdlib/CMakeLists.txt +++ b/stage0/stdlib/CMakeLists.txt @@ -4,5 +4,5 @@ add_library (Init STATIC Init.c Init/Classical.c Init/Coe.c Init/Control.c Init/ set_target_properties(Init PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/lean") add_library (Std STATIC Std.c Std/Control.c Std/Control/Nondet.c Std/Data.c Std/Data/AssocList.c Std/Data/BinomialHeap.c Std/Data/DList.c Std/Data/HashMap.c Std/Data/HashSet.c Std/Data/PersistentArray.c Std/Data/PersistentHashMap.c Std/Data/PersistentHashSet.c Std/Data/Queue.c Std/Data/RBMap.c Std/Data/RBTree.c Std/Data/Stack.c Std/ShareCommon.c ) set_target_properties(Std PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/lean") -add_library (Lean STATIC Lean.c Lean/Attributes.c Lean/AuxRecursor.c Lean/Class.c Lean/Compiler.c Lean/Compiler/BorrowedAnnotation.c Lean/Compiler/ClosedTermCache.c Lean/Compiler/ConstFolding.c Lean/Compiler/ExportAttr.c Lean/Compiler/ExternAttr.c Lean/Compiler/IR.c Lean/Compiler/IR/Basic.c Lean/Compiler/IR/Borrow.c Lean/Compiler/IR/Boxing.c Lean/Compiler/IR/Checker.c Lean/Compiler/IR/CompilerM.c Lean/Compiler/IR/CtorLayout.c Lean/Compiler/IR/ElimDeadBranches.c Lean/Compiler/IR/ElimDeadVars.c Lean/Compiler/IR/EmitC.c Lean/Compiler/IR/EmitUtil.c Lean/Compiler/IR/ExpandResetReuse.c Lean/Compiler/IR/Format.c Lean/Compiler/IR/FreeVars.c Lean/Compiler/IR/LiveVars.c Lean/Compiler/IR/NormIds.c Lean/Compiler/IR/PushProj.c Lean/Compiler/IR/RC.c Lean/Compiler/IR/ResetReuse.c Lean/Compiler/IR/SimpCase.c Lean/Compiler/IR/Sorry.c Lean/Compiler/IR/UnboxResult.c Lean/Compiler/ImplementedByAttr.c Lean/Compiler/InitAttr.c Lean/Compiler/InlineAttrs.c Lean/Compiler/NameMangling.c Lean/Compiler/NeverExtractAttr.c Lean/Compiler/Specialize.c Lean/Compiler/Util.c Lean/CoreM.c Lean/Data.c Lean/Data/Format.c Lean/Data/Json.c Lean/Data/Json/Basic.c Lean/Data/Json/FromToJson.c Lean/Data/Json/Parser.c Lean/Data/Json/Printer.c Lean/Data/Json/Stream.c Lean/Data/JsonRpc.c Lean/Data/KVMap.c Lean/Data/LBool.c Lean/Data/LOption.c Lean/Data/Lsp.c Lean/Data/Lsp/Basic.c Lean/Data/Lsp/Capabilities.c Lean/Data/Lsp/Communication.c Lean/Data/Lsp/Diagnostics.c Lean/Data/Lsp/Extra.c Lean/Data/Lsp/InitShutdown.c Lean/Data/Lsp/Ipc.c Lean/Data/Lsp/LanguageFeatures.c Lean/Data/Lsp/TextSync.c Lean/Data/Lsp/Utf16.c Lean/Data/Lsp/Workspace.c Lean/Data/Name.c Lean/Data/NameTrie.c Lean/Data/Occurrences.c Lean/Data/OpenDecl.c Lean/Data/Options.c Lean/Data/Position.c Lean/Data/PrefixTree.c Lean/Data/SMap.c Lean/Data/Trie.c Lean/Declaration.c Lean/DeclarationRange.c Lean/DocString.c Lean/Elab.c Lean/Elab/App.c Lean/Elab/Arg.c Lean/Elab/Attributes.c Lean/Elab/AutoBound.c Lean/Elab/Binders.c Lean/Elab/BindersUtil.c Lean/Elab/BuiltinCommand.c Lean/Elab/BuiltinNotation.c Lean/Elab/BuiltinTerm.c Lean/Elab/Command.c Lean/Elab/DeclModifiers.c Lean/Elab/DeclUtil.c Lean/Elab/Declaration.c Lean/Elab/DeclarationRange.c Lean/Elab/DefView.c Lean/Elab/Deriving.c Lean/Elab/Deriving/BEq.c Lean/Elab/Deriving/Basic.c Lean/Elab/Deriving/DecEq.c Lean/Elab/Deriving/FromToJson.c Lean/Elab/Deriving/Hashable.c Lean/Elab/Deriving/Inhabited.c Lean/Elab/Deriving/Ord.c Lean/Elab/Deriving/Repr.c Lean/Elab/Deriving/SizeOf.c Lean/Elab/Deriving/Util.c Lean/Elab/Do.c Lean/Elab/ElabRules.c Lean/Elab/Exception.c Lean/Elab/Extra.c Lean/Elab/Frontend.c Lean/Elab/GenInjective.c Lean/Elab/Import.c Lean/Elab/Inductive.c Lean/Elab/InfoTree.c Lean/Elab/LetRec.c Lean/Elab/Level.c Lean/Elab/Log.c Lean/Elab/Macro.c Lean/Elab/MacroArgUtil.c Lean/Elab/MacroRules.c Lean/Elab/Match.c Lean/Elab/MatchAltView.c Lean/Elab/Mixfix.c Lean/Elab/MutualDef.c Lean/Elab/Notation.c Lean/Elab/Open.c Lean/Elab/PatternVar.c Lean/Elab/PreDefinition.c Lean/Elab/PreDefinition/Basic.c Lean/Elab/PreDefinition/Main.c Lean/Elab/PreDefinition/MkInhabitant.c Lean/Elab/PreDefinition/Structural.c Lean/Elab/PreDefinition/WF.c Lean/Elab/Print.c Lean/Elab/Quotation.c Lean/Elab/Quotation/Precheck.c Lean/Elab/Quotation/Util.c Lean/Elab/SetOption.c Lean/Elab/StructInst.c Lean/Elab/Structure.c Lean/Elab/Syntax.c Lean/Elab/SyntheticMVars.c Lean/Elab/Tactic.c Lean/Elab/Tactic/Basic.c Lean/Elab/Tactic/BuiltinTactic.c Lean/Elab/Tactic/ElabTerm.c Lean/Elab/Tactic/Generalize.c Lean/Elab/Tactic/Induction.c Lean/Elab/Tactic/Injection.c Lean/Elab/Tactic/Location.c Lean/Elab/Tactic/Match.c Lean/Elab/Tactic/Rewrite.c Lean/Elab/Tactic/Simp.c Lean/Elab/Term.c Lean/Elab/Util.c Lean/Environment.c Lean/Eval.c Lean/Exception.c Lean/Expr.c Lean/HeadIndex.c Lean/Hygiene.c Lean/InternalExceptionId.c Lean/KeyedDeclsAttribute.c Lean/Level.c Lean/LocalContext.c Lean/Message.c Lean/Meta.c Lean/Meta/AbstractMVars.c Lean/Meta/AbstractNestedProofs.c Lean/Meta/AppBuilder.c Lean/Meta/Basic.c Lean/Meta/Check.c Lean/Meta/Closure.c Lean/Meta/Coe.c Lean/Meta/CollectFVars.c Lean/Meta/CollectMVars.c Lean/Meta/DiscrTree.c Lean/Meta/DiscrTreeTypes.c Lean/Meta/ExprDefEq.c Lean/Meta/ForEachExpr.c Lean/Meta/FunInfo.c Lean/Meta/GeneralizeTelescope.c Lean/Meta/GeneralizeVars.c Lean/Meta/GetConst.c Lean/Meta/IndPredBelow.c Lean/Meta/Inductive.c Lean/Meta/InferType.c Lean/Meta/Injective.c Lean/Meta/Instances.c Lean/Meta/KAbstract.c Lean/Meta/LevelDefEq.c Lean/Meta/Match.c Lean/Meta/Match/Basic.c Lean/Meta/Match/CaseArraySizes.c Lean/Meta/Match/CaseValues.c Lean/Meta/Match/MVarRenaming.c Lean/Meta/Match/Match.c Lean/Meta/Match/MatchPatternAttr.c Lean/Meta/Match/MatcherInfo.c Lean/Meta/MatchUtil.c Lean/Meta/Offset.c Lean/Meta/PPGoal.c Lean/Meta/RecursorInfo.c Lean/Meta/Reduce.c Lean/Meta/ReduceEval.c Lean/Meta/SizeOf.c Lean/Meta/SortLocalDecls.c Lean/Meta/SynthInstance.c Lean/Meta/Tactic.c Lean/Meta/Tactic/Apply.c Lean/Meta/Tactic/Assert.c Lean/Meta/Tactic/Assumption.c Lean/Meta/Tactic/AuxLemma.c Lean/Meta/Tactic/Cases.c Lean/Meta/Tactic/Clear.c Lean/Meta/Tactic/Constructor.c Lean/Meta/Tactic/Contradiction.c Lean/Meta/Tactic/Delta.c Lean/Meta/Tactic/ElimInfo.c Lean/Meta/Tactic/FVarSubst.c Lean/Meta/Tactic/Generalize.c Lean/Meta/Tactic/Induction.c Lean/Meta/Tactic/Injection.c Lean/Meta/Tactic/Intro.c Lean/Meta/Tactic/Replace.c Lean/Meta/Tactic/Revert.c Lean/Meta/Tactic/Rewrite.c Lean/Meta/Tactic/Simp.c Lean/Meta/Tactic/Simp/CongrLemmas.c Lean/Meta/Tactic/Simp/Main.c Lean/Meta/Tactic/Simp/Rewrite.c Lean/Meta/Tactic/Simp/SimpAll.c Lean/Meta/Tactic/Simp/SimpLemmas.c Lean/Meta/Tactic/Simp/Types.c Lean/Meta/Tactic/Subst.c Lean/Meta/Tactic/Util.c Lean/Meta/Transform.c Lean/Meta/TransparencyMode.c Lean/Meta/UnificationHint.c Lean/Meta/WHNF.c Lean/MetavarContext.c Lean/Modifiers.c Lean/MonadEnv.c Lean/Parser.c Lean/Parser/Attr.c Lean/Parser/Basic.c Lean/Parser/Command.c Lean/Parser/Do.c Lean/Parser/Extension.c Lean/Parser/Extra.c Lean/Parser/Level.c Lean/Parser/Module.c Lean/Parser/StrInterpolation.c Lean/Parser/Syntax.c Lean/Parser/Tactic.c Lean/Parser/Term.c Lean/ParserCompiler.c Lean/ParserCompiler/Attribute.c Lean/PrettyPrinter.c Lean/PrettyPrinter/Basic.c Lean/PrettyPrinter/Delaborator.c Lean/PrettyPrinter/Delaborator/Basic.c Lean/PrettyPrinter/Delaborator/Builtins.c Lean/PrettyPrinter/Formatter.c Lean/PrettyPrinter/Parenthesizer.c Lean/ProjFns.c Lean/ReducibilityAttrs.c Lean/ResolveName.c Lean/Runtime.c Lean/ScopedEnvExtension.c Lean/Server.c Lean/Server/AsyncList.c Lean/Server/Completion.c Lean/Server/FileSource.c Lean/Server/FileWorker.c Lean/Server/FileWorker/RequestHandling.c Lean/Server/FileWorker/Utils.c Lean/Server/InfoUtils.c Lean/Server/Requests.c Lean/Server/Snapshots.c Lean/Server/Utils.c Lean/Server/Watchdog.c Lean/Structure.c Lean/Syntax.c Lean/ToExpr.c Lean/Util.c Lean/Util/CollectFVars.c Lean/Util/CollectLevelParams.c Lean/Util/CollectMVars.c Lean/Util/Constructions.c Lean/Util/FindExpr.c Lean/Util/FindMVar.c Lean/Util/FoldConsts.c Lean/Util/ForEachExpr.c Lean/Util/MonadBacktrack.c Lean/Util/MonadCache.c Lean/Util/OccursCheck.c Lean/Util/PPExt.c Lean/Util/Path.c Lean/Util/Profile.c Lean/Util/RecDepth.c Lean/Util/Recognizers.c Lean/Util/ReplaceExpr.c Lean/Util/ReplaceLevel.c Lean/Util/SCC.c Lean/Util/Sorry.c Lean/Util/Trace.c ) +add_library (Lean STATIC Lean.c Lean/Attributes.c Lean/AuxRecursor.c Lean/Class.c Lean/Compiler.c Lean/Compiler/BorrowedAnnotation.c Lean/Compiler/ClosedTermCache.c Lean/Compiler/ConstFolding.c Lean/Compiler/ExportAttr.c Lean/Compiler/ExternAttr.c Lean/Compiler/IR.c Lean/Compiler/IR/Basic.c Lean/Compiler/IR/Borrow.c Lean/Compiler/IR/Boxing.c Lean/Compiler/IR/Checker.c Lean/Compiler/IR/CompilerM.c Lean/Compiler/IR/CtorLayout.c Lean/Compiler/IR/ElimDeadBranches.c Lean/Compiler/IR/ElimDeadVars.c Lean/Compiler/IR/EmitC.c Lean/Compiler/IR/EmitUtil.c Lean/Compiler/IR/ExpandResetReuse.c Lean/Compiler/IR/Format.c Lean/Compiler/IR/FreeVars.c Lean/Compiler/IR/LiveVars.c Lean/Compiler/IR/NormIds.c Lean/Compiler/IR/PushProj.c Lean/Compiler/IR/RC.c Lean/Compiler/IR/ResetReuse.c Lean/Compiler/IR/SimpCase.c Lean/Compiler/IR/Sorry.c Lean/Compiler/IR/UnboxResult.c Lean/Compiler/ImplementedByAttr.c Lean/Compiler/InitAttr.c Lean/Compiler/InlineAttrs.c Lean/Compiler/NameMangling.c Lean/Compiler/NeverExtractAttr.c Lean/Compiler/Specialize.c Lean/Compiler/Util.c Lean/CoreM.c Lean/Data.c Lean/Data/Format.c Lean/Data/Json.c Lean/Data/Json/Basic.c Lean/Data/Json/FromToJson.c Lean/Data/Json/Parser.c Lean/Data/Json/Printer.c Lean/Data/Json/Stream.c Lean/Data/JsonRpc.c Lean/Data/KVMap.c Lean/Data/LBool.c Lean/Data/LOption.c Lean/Data/Lsp.c Lean/Data/Lsp/Basic.c Lean/Data/Lsp/Capabilities.c Lean/Data/Lsp/Communication.c Lean/Data/Lsp/Diagnostics.c Lean/Data/Lsp/Extra.c Lean/Data/Lsp/InitShutdown.c Lean/Data/Lsp/Ipc.c Lean/Data/Lsp/LanguageFeatures.c Lean/Data/Lsp/TextSync.c Lean/Data/Lsp/Utf16.c Lean/Data/Lsp/Workspace.c Lean/Data/Name.c Lean/Data/NameTrie.c Lean/Data/Occurrences.c Lean/Data/OpenDecl.c Lean/Data/Options.c Lean/Data/Parsec.c Lean/Data/Position.c Lean/Data/PrefixTree.c Lean/Data/SMap.c Lean/Data/Trie.c Lean/Data/Xml.c Lean/Data/Xml/Basic.c Lean/Data/Xml/Parser.c Lean/Declaration.c Lean/DeclarationRange.c Lean/DocString.c Lean/Elab.c Lean/Elab/App.c Lean/Elab/Arg.c Lean/Elab/Attributes.c Lean/Elab/AutoBound.c Lean/Elab/Binders.c Lean/Elab/BindersUtil.c Lean/Elab/BuiltinCommand.c Lean/Elab/BuiltinNotation.c Lean/Elab/BuiltinTerm.c Lean/Elab/Command.c Lean/Elab/DeclModifiers.c Lean/Elab/DeclUtil.c Lean/Elab/Declaration.c Lean/Elab/DeclarationRange.c Lean/Elab/DefView.c Lean/Elab/Deriving.c Lean/Elab/Deriving/BEq.c Lean/Elab/Deriving/Basic.c Lean/Elab/Deriving/DecEq.c Lean/Elab/Deriving/FromToJson.c Lean/Elab/Deriving/Hashable.c Lean/Elab/Deriving/Inhabited.c Lean/Elab/Deriving/Ord.c Lean/Elab/Deriving/Repr.c Lean/Elab/Deriving/SizeOf.c Lean/Elab/Deriving/Util.c Lean/Elab/Do.c Lean/Elab/ElabRules.c Lean/Elab/Exception.c Lean/Elab/Extra.c Lean/Elab/Frontend.c Lean/Elab/GenInjective.c Lean/Elab/Import.c Lean/Elab/Inductive.c Lean/Elab/InfoTree.c Lean/Elab/LetRec.c Lean/Elab/Level.c Lean/Elab/Log.c Lean/Elab/Macro.c Lean/Elab/MacroArgUtil.c Lean/Elab/MacroRules.c Lean/Elab/Match.c Lean/Elab/MatchAltView.c Lean/Elab/Mixfix.c Lean/Elab/MutualDef.c Lean/Elab/Notation.c Lean/Elab/Open.c Lean/Elab/PatternVar.c Lean/Elab/PreDefinition.c Lean/Elab/PreDefinition/Basic.c Lean/Elab/PreDefinition/Main.c Lean/Elab/PreDefinition/MkInhabitant.c Lean/Elab/PreDefinition/Structural.c Lean/Elab/PreDefinition/WF.c Lean/Elab/Print.c Lean/Elab/Quotation.c Lean/Elab/Quotation/Precheck.c Lean/Elab/Quotation/Util.c Lean/Elab/SetOption.c Lean/Elab/StructInst.c Lean/Elab/Structure.c Lean/Elab/Syntax.c Lean/Elab/SyntheticMVars.c Lean/Elab/Tactic.c Lean/Elab/Tactic/Basic.c Lean/Elab/Tactic/BuiltinTactic.c Lean/Elab/Tactic/ElabTerm.c Lean/Elab/Tactic/Generalize.c Lean/Elab/Tactic/Induction.c Lean/Elab/Tactic/Injection.c Lean/Elab/Tactic/Location.c Lean/Elab/Tactic/Match.c Lean/Elab/Tactic/Rewrite.c Lean/Elab/Tactic/Simp.c Lean/Elab/Term.c Lean/Elab/Util.c Lean/Environment.c Lean/Eval.c Lean/Exception.c Lean/Expr.c Lean/HeadIndex.c Lean/Hygiene.c Lean/InternalExceptionId.c Lean/KeyedDeclsAttribute.c Lean/Level.c Lean/LocalContext.c Lean/Message.c Lean/Meta.c Lean/Meta/AbstractMVars.c Lean/Meta/AbstractNestedProofs.c Lean/Meta/AppBuilder.c Lean/Meta/Basic.c Lean/Meta/Check.c Lean/Meta/Closure.c Lean/Meta/Coe.c Lean/Meta/CollectFVars.c Lean/Meta/CollectMVars.c Lean/Meta/DiscrTree.c Lean/Meta/DiscrTreeTypes.c Lean/Meta/ExprDefEq.c Lean/Meta/ForEachExpr.c Lean/Meta/FunInfo.c Lean/Meta/GeneralizeTelescope.c Lean/Meta/GeneralizeVars.c Lean/Meta/GetConst.c Lean/Meta/IndPredBelow.c Lean/Meta/Inductive.c Lean/Meta/InferType.c Lean/Meta/Injective.c Lean/Meta/Instances.c Lean/Meta/KAbstract.c Lean/Meta/LevelDefEq.c Lean/Meta/Match.c Lean/Meta/Match/Basic.c Lean/Meta/Match/CaseArraySizes.c Lean/Meta/Match/CaseValues.c Lean/Meta/Match/MVarRenaming.c Lean/Meta/Match/Match.c Lean/Meta/Match/MatchPatternAttr.c Lean/Meta/Match/MatcherInfo.c Lean/Meta/MatchUtil.c Lean/Meta/Offset.c Lean/Meta/PPGoal.c Lean/Meta/RecursorInfo.c Lean/Meta/Reduce.c Lean/Meta/ReduceEval.c Lean/Meta/SizeOf.c Lean/Meta/SortLocalDecls.c Lean/Meta/SynthInstance.c Lean/Meta/Tactic.c Lean/Meta/Tactic/Apply.c Lean/Meta/Tactic/Assert.c Lean/Meta/Tactic/Assumption.c Lean/Meta/Tactic/AuxLemma.c Lean/Meta/Tactic/Cases.c Lean/Meta/Tactic/Clear.c Lean/Meta/Tactic/Constructor.c Lean/Meta/Tactic/Contradiction.c Lean/Meta/Tactic/Delta.c Lean/Meta/Tactic/ElimInfo.c Lean/Meta/Tactic/FVarSubst.c Lean/Meta/Tactic/Generalize.c Lean/Meta/Tactic/Induction.c Lean/Meta/Tactic/Injection.c Lean/Meta/Tactic/Intro.c Lean/Meta/Tactic/Replace.c Lean/Meta/Tactic/Revert.c Lean/Meta/Tactic/Rewrite.c Lean/Meta/Tactic/Simp.c Lean/Meta/Tactic/Simp/CongrLemmas.c Lean/Meta/Tactic/Simp/Main.c Lean/Meta/Tactic/Simp/Rewrite.c Lean/Meta/Tactic/Simp/SimpAll.c Lean/Meta/Tactic/Simp/SimpLemmas.c Lean/Meta/Tactic/Simp/Types.c Lean/Meta/Tactic/Subst.c Lean/Meta/Tactic/Util.c Lean/Meta/Transform.c Lean/Meta/TransparencyMode.c Lean/Meta/UnificationHint.c Lean/Meta/WHNF.c Lean/MetavarContext.c Lean/Modifiers.c Lean/MonadEnv.c Lean/Parser.c Lean/Parser/Attr.c Lean/Parser/Basic.c Lean/Parser/Command.c Lean/Parser/Do.c Lean/Parser/Extension.c Lean/Parser/Extra.c Lean/Parser/Level.c Lean/Parser/Module.c Lean/Parser/StrInterpolation.c Lean/Parser/Syntax.c Lean/Parser/Tactic.c Lean/Parser/Term.c Lean/ParserCompiler.c Lean/ParserCompiler/Attribute.c Lean/PrettyPrinter.c Lean/PrettyPrinter/Basic.c Lean/PrettyPrinter/Delaborator.c Lean/PrettyPrinter/Delaborator/Basic.c Lean/PrettyPrinter/Delaborator/Builtins.c Lean/PrettyPrinter/Formatter.c Lean/PrettyPrinter/Parenthesizer.c Lean/ProjFns.c Lean/ReducibilityAttrs.c Lean/ResolveName.c Lean/Runtime.c Lean/ScopedEnvExtension.c Lean/Server.c Lean/Server/AsyncList.c Lean/Server/Completion.c Lean/Server/FileSource.c Lean/Server/FileWorker.c Lean/Server/FileWorker/RequestHandling.c Lean/Server/FileWorker/Utils.c Lean/Server/InfoUtils.c Lean/Server/Requests.c Lean/Server/Snapshots.c Lean/Server/Utils.c Lean/Server/Watchdog.c Lean/Structure.c Lean/Syntax.c Lean/ToExpr.c Lean/Util.c Lean/Util/CollectFVars.c Lean/Util/CollectLevelParams.c Lean/Util/CollectMVars.c Lean/Util/Constructions.c Lean/Util/FindExpr.c Lean/Util/FindMVar.c Lean/Util/FoldConsts.c Lean/Util/ForEachExpr.c Lean/Util/MonadBacktrack.c Lean/Util/MonadCache.c Lean/Util/OccursCheck.c Lean/Util/PPExt.c Lean/Util/Path.c Lean/Util/Profile.c Lean/Util/RecDepth.c Lean/Util/Recognizers.c Lean/Util/ReplaceExpr.c Lean/Util/ReplaceLevel.c Lean/Util/SCC.c Lean/Util/Sorry.c Lean/Util/Trace.c ) set_target_properties(Lean PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/lean") diff --git a/stage0/stdlib/Init/Data/Format/Syntax.c b/stage0/stdlib/Init/Data/Format/Syntax.c index 8350434360..f8f32c8257 100644 --- a/stage0/stdlib/Init/Data/Format/Syntax.c +++ b/stage0/stdlib/Init/Data/Format/Syntax.c @@ -49,6 +49,7 @@ lean_object* l_List_map___at_Lean_Syntax_formatStxAux___spec__4___boxed(lean_obj static lean_object* l_Lean_Syntax_formatStxAux___closed__5; lean_object* l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__2(lean_object*); static lean_object* l_Lean_Syntax_formatStxAux___closed__16; +lean_object* l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__4___boxed(lean_object*); lean_object* l_List_map___at_Lean_Syntax_formatStxAux___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_Syntax_instToFormatSyntax(lean_object*); @@ -95,7 +96,6 @@ static lean_object* l_Lean_Syntax_formatStxAux___closed__26; lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__3___boxed(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Syntax_formatStxAux___spec__6(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -199,13 +199,6 @@ return x_6; lean_object* l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__3(lean_object* x_1) { _start: { -lean_inc(x_1); -return x_1; -} -} -lean_object* l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__4(lean_object* x_1) { -_start: -{ lean_object* x_2; lean_object* x_3; x_2 = l_Nat_repr(x_1); x_3 = lean_alloc_ctor(2, 1, 0); @@ -213,6 +206,13 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } +lean_object* l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__4(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} static lean_object* _init_l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__1() { _start: { @@ -282,28 +282,28 @@ x_11 = l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__4 x_12 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_3); +x_13 = l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__3(x_5); x_14 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_11); -x_15 = l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__4(x_5); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +x_15 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_11); x_16 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_3); x_17 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_11); -x_18 = l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__2(x_6); -lean_dec(x_6); +x_18 = l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__3(x_7); x_19 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); x_20 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_11); -x_21 = l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__4(x_7); +x_21 = l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__2(x_6); +lean_dec(x_6); x_22 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -320,7 +320,7 @@ lean_inc(x_24); x_25 = lean_ctor_get(x_2, 1); lean_inc(x_25); lean_dec(x_2); -x_26 = l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__4(x_24); +x_26 = l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__3(x_24); x_27 = l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__2; x_28 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_28, 0, x_27); @@ -335,7 +335,7 @@ lean_ctor_set(x_31, 1, x_3); x_32 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_29); -x_33 = l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__4(x_25); +x_33 = l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__3(x_25); x_34 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_34, 0, x_32); lean_ctor_set(x_34, 1, x_33); @@ -361,11 +361,11 @@ lean_dec(x_1); return x_2; } } -lean_object* l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__3___boxed(lean_object* x_1) { +lean_object* l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__4___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__3(x_1); +x_2 = l_Std_fmt___at___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___spec__4(x_1); lean_dec(x_1); return x_2; } diff --git a/stage0/stdlib/Init/Data/String/Basic.c b/stage0/stdlib/Init/Data/String/Basic.c index 2cdf9b1b1f..b693a61706 100644 --- a/stage0/stdlib/Init/Data/String/Basic.c +++ b/stage0/stdlib/Init/Data/String/Basic.c @@ -45,12 +45,10 @@ lean_object* l_Substring_extract_match__1___rarg(lean_object*, lean_object*, lea lean_object* l_String_anyAux_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_trimRight___boxed(lean_object*); lean_object* l_String_takeRightWhile___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_prevn_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_String_splitOnAux___closed__1; lean_object* l_Substring_isEmpty___boxed(lean_object*); lean_object* l_List_map___at_String_intercalate___spec__1(lean_object*); lean_object* l_String_nextWhile___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_prev___boxed(lean_object*, lean_object*); lean_object* l_Substring_drop(lean_object*, lean_object*); lean_object* l_String_Iterator_extract___boxed(lean_object*, lean_object*); lean_object* l_String_toUpper(lean_object*); @@ -87,7 +85,7 @@ lean_object* l_String_foldl___rarg___boxed(lean_object*, lean_object*, lean_obje lean_object* l_String_foldlAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_extract_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Substring_splitOn_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Substring_splitOn_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* lean_string_utf8_set(lean_object*, lean_object*, uint32_t); lean_object* l_String_set___boxed(lean_object*, lean_object*, lean_object*); @@ -96,6 +94,7 @@ uint8_t l_String_contains___lambda__1(uint32_t, uint32_t); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); uint8_t l_Char_isWhitespace(uint32_t); lean_object* l_String_Iterator_toEnd(lean_object*); +lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214__match__1(lean_object*); uint32_t l___private_Init_Data_String_Basic_0__String_utf8GetAux(lean_object*, lean_object*, lean_object*); lean_object* l_Substring_toString_match__1(lean_object*); lean_object* l_String_split___boxed(lean_object*, lean_object*); @@ -105,22 +104,22 @@ lean_object* l_String_splitOn(lean_object*, lean_object*); lean_object* l_String_dropWhile(lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_String_trimLeft___boxed(lean_object*); +uint8_t l_String_instDecidableEqIterator(lean_object*, lean_object*); lean_object* l_String_Iterator_forward_match__1(lean_object*); lean_object* l_String_revFind___boxed(lean_object*, lean_object*); lean_object* l_String_set_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_toNat_x3f___lambda__1(lean_object*, uint32_t); -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Substring_hasBeq___closed__1; lean_object* l_String_Iterator_setCurr_match__1___rarg(lean_object*, uint32_t, lean_object*); lean_object* l_String_atEnd_match__1(lean_object*); lean_object* l_String_trim___boxed(lean_object*); +lean_object* l_Substring_nextn_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Substring_takeWhile_match__1(lean_object*); lean_object* l_String_foldlAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_offsetOfPosAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_next(lean_object*, lean_object*); lean_object* l_String_Iterator_toString_match__1(lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_prev(lean_object*, lean_object*); uint8_t l_Substring_all(lean_object*, lean_object*); lean_object* l_String_trimRight(lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at_Substring_trimLeft___spec__1(lean_object*, lean_object*, lean_object*); @@ -137,9 +136,13 @@ lean_object* l_String_takeWhile(lean_object*, lean_object*); lean_object* l_String_push_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at_String_join___spec__1___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Substring_prevn_match__1(lean_object*); +lean_object* l_Substring_next___boxed(lean_object*, lean_object*); lean_object* l_Nat_repeat_loop___at_String_pushn___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Substring_prevn(lean_object*, lean_object*, lean_object*); uint8_t l_instDecidableNot___rarg(uint8_t); uint8_t l_String_contains(lean_object*, uint32_t); +lean_object* l_Substring_next(lean_object*, lean_object*); lean_object* l_String_atEnd___boxed(lean_object*, lean_object*); lean_object* l_String_Iterator_forward(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -155,13 +158,13 @@ uint8_t l_String_isNat___lambda__1(uint32_t); lean_object* l_String_pushn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__String_utf8GetAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_take(lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_prevn_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Substring_isNat(lean_object*); lean_object* l_Substring_foldr___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Substring_contains(lean_object*, uint32_t); -lean_object* l_String_Iterator_extract_match__1(lean_object*); lean_object* l_String_mapAux___at_String_toLower___spec__1(lean_object*, lean_object*); +lean_object* l_String_instDecidableEqIterator___boxed(lean_object*, lean_object*); lean_object* l_String_capitalize(lean_object*); +lean_object* l_Substring_nextn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_String_Iterator_pos___boxed(lean_object*); lean_object* l_String_isNat___lambda__1___boxed(lean_object*); lean_object* l_String_join(lean_object*); @@ -181,7 +184,6 @@ uint32_t l_String_back(lean_object*); uint8_t l_String_all(lean_object*, lean_object*); lean_object* l_Substring_foldl(lean_object*); uint32_t l_Substring_get(lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Substring_any___boxed(lean_object*, lean_object*); lean_object* l_String_takeRight(lean_object*, lean_object*); lean_object* l_String_Iterator_setCurr_match__1(lean_object*); @@ -189,7 +191,6 @@ lean_object* l_String_getOp___boxed(lean_object*, lean_object*); uint8_t l_String_endsWith(lean_object*, lean_object*); lean_object* l_Substring_toIterator(lean_object*); lean_object* l_Substring_hasBeq; -lean_object* l___private_Init_Data_String_Basic_0__Substring_prevn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_String_Iterator_toString___boxed(lean_object*); uint8_t l_String_isNat(lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at_Substring_trimLeft___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -203,12 +204,14 @@ lean_object* l_String_revFind(lean_object*, lean_object*); lean_object* l_String_splitOn___boxed(lean_object*, lean_object*); lean_object* l_String_Iterator_prevn(lean_object*, lean_object*); lean_object* l_String_foldl(lean_object*); +uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(lean_object*, lean_object*); lean_object* l_String_foldr___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Substring_beq(lean_object*, lean_object*); lean_object* l_String_endsWith___boxed(lean_object*, lean_object*); lean_object* l_Substring_toString_match__1___rarg(lean_object*, lean_object*); lean_object* l_String_extract_match__1(lean_object*); lean_object* l_String_Iterator_next(lean_object*); +lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*); lean_object* l_String_nextUntil___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Substring_front___boxed(lean_object*); lean_object* l_String_trimLeft(lean_object*); @@ -234,17 +237,18 @@ lean_object* l_String_posOfAux(lean_object*, uint32_t, lean_object*, lean_object lean_object* l_String_splitAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_set_match__1(lean_object*); uint8_t l_String_isEmpty(lean_object*); +lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214__match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_String_foldrAux(lean_object*); lean_object* l_String_foldlAux_loop(lean_object*); +lean_object* l_Substring_nextn_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Substring_takeRightWhile(lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn_match__1(lean_object*); uint8_t l_String_isPrefixOf(lean_object*, lean_object*); lean_object* l_Substring_foldl___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_prevn_match__1(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Substring_take(lean_object*, lean_object*); lean_object* l_Nat_repeat_loop___at_String_pushn___spec__1(uint32_t, lean_object*, lean_object*); +lean_object* l_Substring_prevn_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_foldr___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Substring_isNat___boxed(lean_object*); lean_object* l_String_split(lean_object*, lean_object*); @@ -272,9 +276,8 @@ lean_object* l___private_Init_Data_String_Basic_0__String_utf8ExtractAux_u2081_m lean_object* l_Substring_toIterator___boxed(lean_object*); lean_object* l_Substring_dropRight(lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); -lean_object* l_Substring_splitOn_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Substring_splitOn_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_String_anyAux(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_toLower(lean_object*); lean_object* l_String_foldlAux(lean_object*); uint8_t l_String_startsWith(lean_object*, lean_object*); @@ -295,9 +298,7 @@ lean_object* l_String_foldrAux_loop(lean_object*); lean_object* l_List_asString(lean_object*); lean_object* l_String_all___boxed(lean_object*, lean_object*); lean_object* l_String_Iterator_forward_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_next(lean_object*, lean_object*); static lean_object* l_String_toNat_x3f___closed__1; -lean_object* l___private_Init_Data_String_Basic_0__Substring_prevn(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__String_utf8ExtractAux_u2081(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Substring_isEmpty(lean_object*); lean_object* lean_string_length(lean_object*); @@ -306,6 +307,7 @@ lean_object* l_String_foldr(lean_object*); lean_object* l_String_Iterator_setCurr___boxed(lean_object*, lean_object*); lean_object* l_Substring_posOf(lean_object*, uint32_t); lean_object* l_Substring_extract_match__1(lean_object*); +lean_object* l_Substring_nextn_match__1(lean_object*); lean_object* l_String_Iterator_remainingBytes(lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at_String_nextUntil___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Substring_toString(lean_object*); @@ -318,12 +320,14 @@ lean_object* l_String_drop(lean_object*, lean_object*); lean_object* l_String_startsWith___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__String_utf8GetAux___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_String_pushn(lean_object*, uint32_t, lean_object*); +lean_object* l_Nat_min(lean_object*, lean_object*); +lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214____boxed(lean_object*, lean_object*); lean_object* l_Substring_drop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__String_utf8ExtractAux_u2082(lean_object*, lean_object*, lean_object*); lean_object* l_String_singleton___boxed(lean_object*); +lean_object* l_Substring_prev___boxed(lean_object*, lean_object*); lean_object* l_String_contains___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Substring_get___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_posOf(lean_object*, uint32_t); lean_object* l_Substring_dropRightWhile(lean_object*, lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); @@ -332,21 +336,22 @@ lean_object* l___private_Init_Data_String_Basic_0__String_utf8GetAux_match__1(le lean_object* lean_uint32_to_nat(uint32_t); lean_object* l___private_Init_Data_String_Basic_0__String_utf8SetAux(uint32_t, lean_object*, lean_object*, lean_object*); lean_object* l_String_append_match__1(lean_object*); -lean_object* l_String_Iterator_extract_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_String_length_match__1(lean_object*); lean_object* l_Substring_contains___boxed(lean_object*, lean_object*); +lean_object* l_Substring_prevn_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_mk(lean_object*); +lean_object* l_Substring_prev(lean_object*, lean_object*); lean_object* l_String_dropRightWhile(lean_object*, lean_object*); static lean_object* l_String_instAppendString___closed__1; lean_object* l_String_dropRightWhile___boxed(lean_object*, lean_object*); lean_object* l_String_offsetOfPos(lean_object*, lean_object*); +lean_object* l_Substring_prevn___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_lt(lean_object*, lean_object*); lean_object* l_String_Iterator_forward_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_length_match__1___rarg(lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Char_toString___boxed(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_next___boxed(lean_object*, lean_object*); lean_object* l_List_asString(lean_object* x_1) { _start: { @@ -1854,6 +1859,85 @@ x_6 = lean_string_mk(x_5); return x_6; } } +lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +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_2, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +lean_dec(x_2); +x_8 = lean_apply_4(x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214__match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214__match__1___rarg), 3, 0); +return x_2; +} +} +uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_1, 1); +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_string_dec_eq(x_3, x_5); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = 0; +return x_8; +} +else +{ +uint8_t x_9; +x_9 = lean_nat_dec_eq(x_4, x_6); +return x_9; +} +} +} +lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +uint8_t l_String_instDecidableEqIterator(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_2); +return x_3; +} +} +lean_object* l_String_instDecidableEqIterator___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_String_instDecidableEqIterator(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} lean_object* l_String_mkIterator(lean_object* x_1) { _start: { @@ -2170,32 +2254,6 @@ return x_8; } } } -lean_object* l_String_Iterator_extract_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -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_2, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_2, 1); -lean_inc(x_7); -lean_dec(x_2); -x_8 = lean_apply_4(x_3, x_4, x_5, x_6, x_7); -return x_8; -} -} -lean_object* l_String_Iterator_extract_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_String_Iterator_extract_match__1___rarg), 3, 0); -return x_2; -} -} lean_object* l_String_Iterator_extract(lean_object* x_1, lean_object* x_2) { _start: { @@ -3272,7 +3330,7 @@ x_4 = lean_box_uint32(x_3); return x_4; } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_next(lean_object* x_1, lean_object* x_2) { +lean_object* l_Substring_next(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -3298,17 +3356,17 @@ return x_2; } } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_next___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Substring_next___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_Data_String_Basic_0__Substring_next(x_1, x_2); +x_3 = l_Substring_next(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_prev(lean_object* x_1, lean_object* x_2) { +lean_object* l_Substring_prev(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; @@ -3333,17 +3391,17 @@ return x_2; } } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_prev___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Substring_prev___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_Data_String_Basic_0__Substring_prev(x_1, x_2); +x_3 = l_Substring_prev(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn_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_Substring_nextn_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -3367,24 +3425,24 @@ return x_11; } } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn_match__1(lean_object* x_1) { +lean_object* l_Substring_nextn_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Data_String_Basic_0__Substring_nextn_match__1___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Substring_nextn_match__1___rarg___boxed), 5, 0); return x_2; } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Substring_nextn_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Data_String_Basic_0__Substring_nextn_match__1___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Substring_nextn_match__1___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); return x_6; } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Substring_nextn(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3427,16 +3485,16 @@ return x_3; } } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Substring_nextn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Data_String_Basic_0__Substring_nextn(x_1, x_2, x_3); +x_4 = l_Substring_nextn(x_1, x_2, x_3); lean_dec(x_1); return x_4; } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_prevn_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_Substring_prevn_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -3460,24 +3518,24 @@ return x_11; } } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_prevn_match__1(lean_object* x_1) { +lean_object* l_Substring_prevn_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Data_String_Basic_0__Substring_prevn_match__1___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Substring_prevn_match__1___rarg___boxed), 5, 0); return x_2; } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_prevn_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Substring_prevn_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Data_String_Basic_0__Substring_prevn_match__1___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Substring_prevn_match__1___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); return x_6; } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_prevn(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Substring_prevn(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3519,11 +3577,11 @@ return x_3; } } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_prevn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Substring_prevn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Data_String_Basic_0__Substring_prevn(x_1, x_2, x_3); +x_4 = l_Substring_prevn(x_1, x_2, x_3); lean_dec(x_1); return x_4; } @@ -3615,7 +3673,7 @@ lean_inc(x_4); x_5 = lean_ctor_get(x_1, 2); lean_inc(x_5); x_6 = lean_unsigned_to_nat(0u); -x_7 = l___private_Init_Data_String_Basic_0__Substring_nextn(x_1, x_2, x_6); +x_7 = l_Substring_nextn(x_1, x_2, x_6); x_8 = !lean_is_exclusive(x_1); if (x_8 == 0) { @@ -3659,7 +3717,7 @@ x_5 = lean_ctor_get(x_1, 2); lean_inc(x_5); x_6 = lean_nat_sub(x_5, x_4); lean_dec(x_5); -x_7 = l___private_Init_Data_String_Basic_0__Substring_prevn(x_1, x_2, x_6); +x_7 = l_Substring_prevn(x_1, x_2, x_6); x_8 = !lean_is_exclusive(x_1); if (x_8 == 0) { @@ -3698,7 +3756,7 @@ lean_inc(x_3); x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); x_5 = lean_unsigned_to_nat(0u); -x_6 = l___private_Init_Data_String_Basic_0__Substring_nextn(x_1, x_2, x_5); +x_6 = l_Substring_nextn(x_1, x_2, x_5); x_7 = !lean_is_exclusive(x_1); if (x_7 == 0) { @@ -3739,7 +3797,7 @@ lean_inc(x_4); x_5 = lean_ctor_get(x_1, 2); lean_inc(x_5); x_6 = lean_nat_sub(x_5, x_4); -x_7 = l___private_Init_Data_String_Basic_0__Substring_prevn(x_1, x_2, x_6); +x_7 = l_Substring_prevn(x_1, x_2, x_6); x_8 = !lean_is_exclusive(x_1); if (x_8 == 0) { @@ -3820,15 +3878,14 @@ return x_2; static lean_object* _init_l_Substring_extract___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_String_splitOnAux___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_unsigned_to_nat(1u); -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +return x_3; } } lean_object* l_Substring_extract(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -3842,56 +3899,69 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; x_5 = lean_ctor_get(x_1, 0); x_6 = lean_ctor_get(x_1, 1); x_7 = lean_ctor_get(x_1, 2); -lean_dec(x_7); x_8 = lean_nat_dec_le(x_3, x_2); if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_nat_add(x_6, x_2); -x_10 = lean_nat_add(x_6, x_3); +x_10 = l_Nat_min(x_7, x_9); +lean_dec(x_9); +x_11 = lean_nat_add(x_6, x_3); lean_dec(x_6); -lean_ctor_set(x_1, 2, x_10); -lean_ctor_set(x_1, 1, x_9); +x_12 = l_Nat_min(x_7, x_11); +lean_dec(x_11); +lean_dec(x_7); +lean_ctor_set(x_1, 2, x_12); +lean_ctor_set(x_1, 1, x_10); return x_1; } else { -lean_object* x_11; +lean_object* x_13; lean_free_object(x_1); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_11 = l_Substring_extract___closed__1; -return x_11; +x_13 = l_Substring_extract___closed__1; +return x_13; } } else { -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_1, 0); -x_13 = lean_ctor_get(x_1, 1); -lean_inc(x_13); -lean_inc(x_12); +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_1, 0); +x_15 = lean_ctor_get(x_1, 1); +x_16 = lean_ctor_get(x_1, 2); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); lean_dec(x_1); -x_14 = lean_nat_dec_le(x_3, x_2); -if (x_14 == 0) +x_17 = lean_nat_dec_le(x_3, x_2); +if (x_17 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_nat_add(x_13, x_2); -x_16 = lean_nat_add(x_13, x_3); -lean_dec(x_13); -x_17 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_17, 0, x_12); -lean_ctor_set(x_17, 1, x_15); -lean_ctor_set(x_17, 2, x_16); -return x_17; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_nat_add(x_15, x_2); +x_19 = l_Nat_min(x_16, x_18); +lean_dec(x_18); +x_20 = lean_nat_add(x_15, x_3); +lean_dec(x_15); +x_21 = l_Nat_min(x_16, x_20); +lean_dec(x_20); +lean_dec(x_16); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_14); +lean_ctor_set(x_22, 1, x_19); +lean_ctor_set(x_22, 2, x_21); +return x_22; } else { -lean_object* x_18; -lean_dec(x_13); -lean_dec(x_12); -x_18 = l_Substring_extract___closed__1; -return x_18; +lean_object* x_23; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +x_23 = l_Substring_extract___closed__1; +return x_23; } } } @@ -3929,172 +3999,430 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Substring_splitOn_loop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Substring_splitOn_loop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_9; -x_9 = lean_nat_dec_eq(x_6, x_3); -if (x_9 == 0) +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_nat_sub(x_9, x_8); +x_11 = lean_nat_dec_eq(x_4, x_10); +lean_dec(x_10); +if (x_11 == 0) { -uint32_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint32_t x_15; uint8_t x_16; -x_10 = lean_string_utf8_get(x_2, x_7); -x_11 = lean_ctor_get(x_1, 0); -x_12 = lean_ctor_get(x_1, 1); -x_13 = lean_ctor_get(x_1, 2); -x_14 = lean_nat_add(x_12, x_6); -x_15 = lean_string_utf8_get(x_11, x_14); -x_16 = x_15 == x_10; +uint32_t x_12; lean_object* x_13; uint32_t x_14; uint8_t x_15; +x_12 = lean_string_utf8_get(x_2, x_5); +x_13 = lean_nat_add(x_8, x_4); +x_14 = lean_string_utf8_get(x_7, x_13); +x_15 = x_14 == x_12; +if (x_15 == 0) +{ +uint8_t x_16; +lean_dec(x_5); +x_16 = lean_nat_dec_eq(x_13, x_9); +lean_dec(x_9); if (x_16 == 0) { -uint8_t x_17; +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +x_17 = lean_string_utf8_next(x_7, x_13); +lean_dec(x_13); lean_dec(x_7); -x_17 = lean_nat_dec_eq(x_14, x_13); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_6); -x_18 = lean_string_utf8_next(x_11, x_14); -lean_dec(x_14); -x_19 = lean_nat_sub(x_18, x_12); -lean_dec(x_18); -x_20 = lean_unsigned_to_nat(0u); -x_6 = x_19; -x_7 = x_20; +x_18 = lean_nat_sub(x_17, x_8); +lean_dec(x_8); +lean_dec(x_17); +x_19 = lean_unsigned_to_nat(0u); +x_4 = x_18; +x_5 = x_19; goto _start; } else { -lean_object* x_22; -lean_dec(x_14); -x_22 = lean_unsigned_to_nat(0u); -x_7 = x_22; +lean_object* x_21; +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +x_21 = lean_unsigned_to_nat(0u); +x_5 = x_21; goto _start; } } else { -lean_object* x_24; uint8_t x_25; uint8_t x_26; -x_24 = lean_string_utf8_next(x_2, x_7); -lean_dec(x_7); -x_25 = lean_string_utf8_at_end(x_2, x_24); -x_26 = lean_nat_dec_eq(x_14, x_13); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_6); -x_27 = lean_string_utf8_next(x_11, x_14); -lean_dec(x_14); -x_28 = lean_nat_sub(x_27, x_12); -lean_dec(x_27); +lean_object* x_23; uint8_t x_24; uint8_t x_25; +x_23 = lean_string_utf8_next(x_2, x_5); +lean_dec(x_5); +x_24 = lean_string_utf8_at_end(x_2, x_23); +x_25 = lean_nat_dec_eq(x_13, x_9); if (x_25 == 0) { -x_6 = x_28; -x_7 = x_24; -goto _start; -} -else +lean_object* x_26; lean_object* x_27; +lean_dec(x_4); +x_26 = lean_string_utf8_next(x_7, x_13); +lean_dec(x_13); +x_27 = lean_nat_sub(x_26, x_8); +lean_dec(x_26); +if (x_24 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_nat_sub(x_28, x_24); -lean_dec(x_24); -lean_inc(x_4); -x_31 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_31, 0, x_4); -lean_ctor_set(x_31, 1, x_5); -lean_ctor_set(x_31, 2, x_30); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_8); -x_33 = lean_unsigned_to_nat(0u); -lean_inc(x_28); -x_5 = x_28; -x_6 = x_28; -x_7 = x_33; -x_8 = x_32; -goto _start; -} -} -else -{ -lean_dec(x_14); -if (x_25 == 0) -{ -x_7 = x_24; -goto _start; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_36 = lean_nat_sub(x_6, x_24); -lean_dec(x_24); -lean_inc(x_4); -x_37 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_37, 0, x_4); -lean_ctor_set(x_37, 1, x_5); -lean_ctor_set(x_37, 2, x_36); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_8); -x_39 = lean_unsigned_to_nat(0u); -lean_inc(x_6); -x_5 = x_6; -x_7 = x_39; -x_8 = x_38; -goto _start; -} -} -} -} -else -{ -uint8_t x_41; -x_41 = lean_string_utf8_at_end(x_2, x_7); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); -x_42 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_42, 0, x_4); -lean_ctor_set(x_42, 1, x_5); -lean_ctor_set(x_42, 2, x_6); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_8); -x_44 = l_List_reverse___rarg(x_43); -return x_44; +x_4 = x_27; +x_5 = x_23; +goto _start; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_45 = lean_nat_sub(x_6, x_7); +lean_object* x_29; uint8_t x_30; +x_29 = lean_nat_sub(x_27, x_23); +lean_dec(x_23); +x_30 = lean_nat_dec_le(x_29, x_3); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_31 = lean_nat_add(x_8, x_3); +lean_dec(x_3); +x_32 = l_Nat_min(x_9, x_31); +lean_dec(x_31); +x_33 = lean_nat_add(x_8, x_29); +lean_dec(x_29); +lean_dec(x_8); +x_34 = l_Nat_min(x_9, x_33); +lean_dec(x_33); +lean_dec(x_9); +x_35 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_35, 0, x_7); +lean_ctor_set(x_35, 1, x_32); +lean_ctor_set(x_35, 2, x_34); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_6); +x_37 = lean_unsigned_to_nat(0u); +lean_inc(x_27); +x_3 = x_27; +x_4 = x_27; +x_5 = x_37; +x_6 = x_36; +goto _start; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_dec(x_29); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); -x_46 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_46, 0, x_4); -lean_ctor_set(x_46, 1, x_5); -lean_ctor_set(x_46, 2, x_45); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_8); -x_48 = l_Substring_splitOn_loop___closed__2; -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = l_List_reverse___rarg(x_49); -return x_50; +lean_dec(x_3); +x_39 = l_Substring_extract___closed__1; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_6); +x_41 = lean_unsigned_to_nat(0u); +lean_inc(x_27); +x_3 = x_27; +x_4 = x_27; +x_5 = x_41; +x_6 = x_40; +goto _start; +} +} +} +else +{ +lean_dec(x_13); +if (x_24 == 0) +{ +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_5 = x_23; +goto _start; +} +else +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_nat_sub(x_4, x_23); +lean_dec(x_23); +x_45 = lean_nat_dec_le(x_44, x_3); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_46 = lean_nat_add(x_8, x_3); +lean_dec(x_3); +x_47 = l_Nat_min(x_9, x_46); +lean_dec(x_46); +x_48 = lean_nat_add(x_8, x_44); +lean_dec(x_44); +lean_dec(x_8); +x_49 = l_Nat_min(x_9, x_48); +lean_dec(x_48); +lean_dec(x_9); +x_50 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_50, 0, x_7); +lean_ctor_set(x_50, 1, x_47); +lean_ctor_set(x_50, 2, x_49); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_6); +x_52 = lean_unsigned_to_nat(0u); +lean_inc(x_4); +x_3 = x_4; +x_5 = x_52; +x_6 = x_51; +goto _start; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_44); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +x_54 = l_Substring_extract___closed__1; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_6); +x_56 = lean_unsigned_to_nat(0u); +lean_inc(x_4); +x_3 = x_4; +x_5 = x_56; +x_6 = x_55; +goto _start; } } } } -lean_object* l_Substring_splitOn_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +} +else +{ +uint8_t x_58; +x_58 = !lean_is_exclusive(x_1); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_59 = lean_ctor_get(x_1, 2); +lean_dec(x_59); +x_60 = lean_ctor_get(x_1, 1); +lean_dec(x_60); +x_61 = lean_ctor_get(x_1, 0); +lean_dec(x_61); +x_62 = lean_string_utf8_at_end(x_2, x_5); +if (x_62 == 0) +{ +uint8_t x_63; +lean_dec(x_5); +x_63 = lean_nat_dec_le(x_4, x_3); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_64 = lean_nat_add(x_8, x_3); +lean_dec(x_3); +x_65 = l_Nat_min(x_9, x_64); +lean_dec(x_64); +x_66 = lean_nat_add(x_8, x_4); +lean_dec(x_4); +lean_dec(x_8); +x_67 = l_Nat_min(x_9, x_66); +lean_dec(x_66); +lean_dec(x_9); +lean_ctor_set(x_1, 2, x_67); +lean_ctor_set(x_1, 1, x_65); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_1); +lean_ctor_set(x_68, 1, x_6); +x_69 = l_List_reverse___rarg(x_68); +return x_69; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_free_object(x_1); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_70 = l_Substring_extract___closed__1; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_6); +x_72 = l_List_reverse___rarg(x_71); +return x_72; +} +} +else +{ +lean_object* x_73; uint8_t x_74; +x_73 = lean_nat_sub(x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +x_74 = lean_nat_dec_le(x_73, x_3); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_75 = lean_nat_add(x_8, x_3); +lean_dec(x_3); +x_76 = l_Nat_min(x_9, x_75); +lean_dec(x_75); +x_77 = lean_nat_add(x_8, x_73); +lean_dec(x_73); +lean_dec(x_8); +x_78 = l_Nat_min(x_9, x_77); +lean_dec(x_77); +lean_dec(x_9); +lean_ctor_set(x_1, 2, x_78); +lean_ctor_set(x_1, 1, x_76); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_1); +lean_ctor_set(x_79, 1, x_6); +x_80 = l_Substring_splitOn_loop___closed__2; +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_79); +x_82 = l_List_reverse___rarg(x_81); +return x_82; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec(x_73); +lean_free_object(x_1); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +x_83 = l_Substring_extract___closed__1; +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_6); +x_85 = l_Substring_splitOn_loop___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 = l_List_reverse___rarg(x_86); +return x_87; +} +} +} +else +{ +uint8_t x_88; +lean_dec(x_1); +x_88 = lean_string_utf8_at_end(x_2, x_5); +if (x_88 == 0) +{ +uint8_t x_89; +lean_dec(x_5); +x_89 = lean_nat_dec_le(x_4, x_3); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_90 = lean_nat_add(x_8, x_3); +lean_dec(x_3); +x_91 = l_Nat_min(x_9, x_90); +lean_dec(x_90); +x_92 = lean_nat_add(x_8, x_4); +lean_dec(x_4); +lean_dec(x_8); +x_93 = l_Nat_min(x_9, x_92); +lean_dec(x_92); +lean_dec(x_9); +x_94 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_94, 0, x_7); +lean_ctor_set(x_94, 1, x_91); +lean_ctor_set(x_94, 2, x_93); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_6); +x_96 = l_List_reverse___rarg(x_95); +return x_96; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_97 = l_Substring_extract___closed__1; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_6); +x_99 = l_List_reverse___rarg(x_98); +return x_99; +} +} +else +{ +lean_object* x_100; uint8_t x_101; +x_100 = lean_nat_sub(x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +x_101 = lean_nat_dec_le(x_100, x_3); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_102 = lean_nat_add(x_8, x_3); +lean_dec(x_3); +x_103 = l_Nat_min(x_9, x_102); +lean_dec(x_102); +x_104 = lean_nat_add(x_8, x_100); +lean_dec(x_100); +lean_dec(x_8); +x_105 = l_Nat_min(x_9, x_104); +lean_dec(x_104); +lean_dec(x_9); +x_106 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_106, 0, x_7); +lean_ctor_set(x_106, 1, x_103); +lean_ctor_set(x_106, 2, x_105); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_6); +x_108 = l_Substring_splitOn_loop___closed__2; +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_107); +x_110 = l_List_reverse___rarg(x_109); +return x_110; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_100); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +x_111 = l_Substring_extract___closed__1; +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_6); +x_113 = l_Substring_splitOn_loop___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 = l_List_reverse___rarg(x_114); +return x_115; +} +} +} +} +} +} +lean_object* l_Substring_splitOn_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_9; -x_9 = l_Substring_splitOn_loop(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); +lean_object* x_7; +x_7 = l_Substring_splitOn_loop(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); -lean_dec(x_1); -return x_9; +return x_7; } } lean_object* l_Substring_splitOn(lean_object* x_1, lean_object* x_2) { @@ -4105,29 +4433,20 @@ x_3 = l_String_splitOnAux___closed__1; x_4 = lean_string_dec_eq(x_2, x_3); if (x_4 == 0) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_5 = lean_ctor_get(x_1, 2); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_1, 1); -lean_inc(x_7); -x_8 = lean_box(0); -x_9 = lean_unsigned_to_nat(0u); -lean_inc(x_7); -x_10 = l_Substring_splitOn_loop(x_1, x_2, x_5, x_6, x_7, x_7, x_9, x_8); -lean_dec(x_5); -lean_dec(x_1); -return x_10; +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_box(0); +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Substring_splitOn_loop(x_1, x_2, x_6, x_6, x_6, x_5); +return x_7; } else { -lean_object* x_11; lean_object* x_12; -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_1); -lean_ctor_set(x_12, 1, x_11); -return x_12; +lean_object* x_8; lean_object* x_9; +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +return x_9; } } } @@ -4874,7 +5193,7 @@ x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_4); lean_ctor_set(x_5, 2, x_3); -x_6 = l___private_Init_Data_String_Basic_0__Substring_nextn(x_5, x_2, x_4); +x_6 = l_Substring_nextn(x_5, x_2, x_4); lean_dec(x_5); x_7 = lean_nat_add(x_4, x_6); lean_dec(x_6); @@ -4899,7 +5218,7 @@ lean_ctor_set(x_5, 1, x_4); lean_ctor_set(x_5, 2, x_3); x_6 = lean_nat_sub(x_3, x_4); lean_dec(x_3); -x_7 = l___private_Init_Data_String_Basic_0__Substring_prevn(x_5, x_2, x_6); +x_7 = l_Substring_prevn(x_5, x_2, x_6); lean_dec(x_5); x_8 = lean_nat_add(x_4, x_7); lean_dec(x_7); @@ -4920,7 +5239,7 @@ x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_4); lean_ctor_set(x_5, 2, x_3); -x_6 = l___private_Init_Data_String_Basic_0__Substring_nextn(x_5, x_2, x_4); +x_6 = l_Substring_nextn(x_5, x_2, x_4); lean_dec(x_5); x_7 = lean_nat_add(x_4, x_6); lean_dec(x_6); @@ -4943,7 +5262,7 @@ lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_4); lean_ctor_set(x_5, 2, x_3); x_6 = lean_nat_sub(x_3, x_4); -x_7 = l___private_Init_Data_String_Basic_0__Substring_prevn(x_5, x_2, x_6); +x_7 = l_Substring_prevn(x_5, x_2, x_6); lean_dec(x_5); x_8 = lean_nat_add(x_4, x_7); lean_dec(x_7); @@ -5054,7 +5373,7 @@ lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_4); lean_ctor_set(x_5, 2, x_3); x_6 = lean_string_length(x_2); -x_7 = l___private_Init_Data_String_Basic_0__Substring_nextn(x_5, x_6, x_4); +x_7 = l_Substring_nextn(x_5, x_6, x_4); lean_dec(x_5); x_8 = lean_nat_add(x_4, x_7); lean_dec(x_7); @@ -5096,7 +5415,7 @@ lean_ctor_set(x_5, 1, x_4); lean_ctor_set(x_5, 2, x_3); x_6 = lean_string_length(x_2); x_7 = lean_nat_sub(x_3, x_4); -x_8 = l___private_Init_Data_String_Basic_0__Substring_prevn(x_5, x_6, x_7); +x_8 = l_Substring_prevn(x_5, x_6, x_7); lean_dec(x_5); x_9 = lean_nat_add(x_4, x_8); lean_dec(x_8); diff --git a/stage0/stdlib/Init/Data/ToString/Basic.c b/stage0/stdlib/Init/Data/ToString/Basic.c index 91dc93a04c..1279162b65 100644 --- a/stage0/stdlib/Init/Data/ToString/Basic.c +++ b/stage0/stdlib/Init/Data/ToString/Basic.c @@ -55,7 +55,6 @@ lean_object* l_String_toInt_x21_match__1___rarg(lean_object*, lean_object*, lean lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_instToStringSubstring(lean_object*); lean_object* l_String_toInt_x21(lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_List_toStringAux___rarg(lean_object*, uint8_t, lean_object*); lean_object* l_instToStringFormat(lean_object*); @@ -104,6 +103,7 @@ lean_object* l_String_toInt_x21_match__1(lean_object*); lean_object* l_instToStringSum___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_instToStringSum___rarg___closed__1; static lean_object* l_List_toString___rarg___closed__1; +lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*); static lean_object* l_instToStringOption___rarg___closed__2; static lean_object* l_String_toInt_x3f___lambda__2___closed__1; lean_object* l_List_toString_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -1564,7 +1564,7 @@ lean_ctor_set(x_8, 0, x_1); lean_ctor_set(x_8, 1, x_2); lean_ctor_set(x_8, 2, x_7); x_9 = lean_unsigned_to_nat(1u); -x_10 = l___private_Init_Data_String_Basic_0__Substring_nextn(x_8, x_9, x_2); +x_10 = l_Substring_nextn(x_8, x_9, x_2); lean_dec(x_8); x_11 = lean_nat_add(x_2, x_10); lean_dec(x_10); diff --git a/stage0/stdlib/Init/Meta.c b/stage0/stdlib/Init/Meta.c index 814ec84a22..e2e5372c78 100644 --- a/stage0/stdlib/Init/Meta.c +++ b/stage0/stdlib/Init/Meta.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Array_getSepElems___rarg___boxed(lean_object*); static lean_object* l_Lean_mkHole___closed__3; lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decode___boxed(lean_object*, lean_object*, lean_object*); @@ -24,28 +25,28 @@ static lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Lean_Syntax_isIdOrAtom_x3f___boxed(lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__25; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__8; lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l_Lean_mkIdentFromRef(lean_object*); lean_object* l_Lean_Syntax_setInfo_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); extern lean_object* l_Lean_fieldIdxKind; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__29; lean_object* l_Lean_Syntax_isNatLit_x3f___boxed(lean_object*); static lean_object* l_Lean_Syntax_unsetTrailing___closed__1; lean_object* l_Lean_Syntax_setTailInfoAux(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__4; +lean_object* l_Lean_Syntax_decodeNameLit_match__1(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeDecimalLitAux___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__22; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__28; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__14; lean_object* l_Lean_instQuoteBool(uint8_t); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterExp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t lean_is_inaccessible_user_name(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__17; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Name_toString_maybePseudoSyntax___closed__2; lean_object* l_Lean_Syntax_getTrailingSize(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__21; lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___at_Lean_Syntax_setHeadInfoAux___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; @@ -54,11 +55,11 @@ lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg___lambda__ static lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__7; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexDigit(lean_object*, lean_object*); static lean_object* l_Lean_Name_escapePart___closed__1; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__9; static lean_object* l_Lean_termEval__prio_____closed__9; uint32_t l_Lean_idBeginEscape; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar_match__1(lean_object*); @@ -69,6 +70,7 @@ lean_object* l_Lean_Syntax_expandInterpolatedStrChunks(lean_object*, lean_object lean_object* l_Lean_Syntax_decodeQuotedChar(lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeStrLitAux_match__1(lean_object*); static lean_object* l_Lean_mkSepArray___closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36; lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*); static lean_object* l_Lean_mkHole___closed__7; lean_object* l_Array_filterSepElemsM___rarg(lean_object*, lean_object*, lean_object*); @@ -88,15 +90,22 @@ extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_toNat___boxed(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__1; uint8_t l_Lean_Meta_Simp_Config_memoize___default; lean_object* l_Lean_instQuoteName_match__1(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686__match__1(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHead_x3f(lean_object*); uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar(lean_object*, lean_object*); lean_object* l_Lean_termEval__prec__; +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5351____closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___lambda__2___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5351____closed__2; +lean_object* lean_string_utf8_prev(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35; lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__5; @@ -119,6 +128,7 @@ lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeBinLitAux(lean_object*, uint32_t l_Lean_idEndEscape; lean_object* l_Lean_Syntax_SepArray_instCoeTailSepArrayArraySyntax(lean_object*); lean_object* l_Lean_Name_escapePart___lambda__1___boxed(lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__4; lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__5; static lean_object* l_Lean_Name_escapePart___closed__2; lean_object* l_Lean_isIdRest___boxed(lean_object*); @@ -126,12 +136,13 @@ lean_object* l_Lean_instQuoteProd(lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); uint8_t l_Lean_isIdBeginEscape(uint32_t); lean_object* l_Lean_Syntax_isLit_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__19; uint8_t l_Lean_Name_escapePart___lambda__1(uint32_t); static lean_object* l_Lean_instQuoteProd___rarg___closed__3; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__6; lean_object* l_Lean_Syntax_mkScientificLit(lean_object*, lean_object*); static lean_object* l_Lean_termEval__prec_____closed__3; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__21; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__27; +lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isIdFirst___boxed(lean_object*); lean_object* l_Lean_mkHole___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___at_Array_filterSepElems___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -143,39 +154,33 @@ lean_object* l_Lean_Syntax_setInfo_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_version_getSpecialDesc___boxed(lean_object*); lean_object* l_Lean_Syntax_mkApp_match__1(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__31; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexDigit___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); lean_object* l_Lean_instQuoteArray(lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteProd_match__1(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_Simp_Config_decide___default; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__1; static lean_object* l_Lean_instQuoteBool___closed__8; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__3; -lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1(lean_object*, lean_object*); uint8_t l_Lean_Meta_Simp_Config_contextual___default; lean_object* l_Lean_instQuoteList___rarg(lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__23; lean_object* l_Lean_NameGenerator_namePrefix___default; lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterSepElems___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setHeadInfo(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__34; static lean_object* l_Lean_instQuoteBool___closed__1; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_version_patch; extern lean_object* l_Lean_nameLitKind; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__5; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____boxed(lean_object*, lean_object*); +lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux___boxed(lean_object*, lean_object*); lean_object* l_Lean_withHeadRefOnly___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteBool___boxed(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656__match__1(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__13; -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_version_specialDesc; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkSep___boxed(lean_object*, lean_object*); @@ -183,15 +188,15 @@ static lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__6; lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__6; lean_object* l_Lean_isSubScriptAlnum___boxed(lean_object*); lean_object* l_Array_mapSepElems(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__4; lean_object* l_Lean_Name_instReprName(lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l_Lean_Name_escapePart___closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__8; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__29; static lean_object* l_Lean_termEval__prio_____closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__9; static lean_object* l_Lean_version_major___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__14; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__28; lean_object* l_Lean_Syntax_isLit_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instQuoteSubstring___closed__1; lean_object* lean_string_utf8_next(lean_object*, lean_object*); @@ -201,15 +206,15 @@ lean_object* l_Lean_Syntax_getTrailingSize_match__1___rarg(lean_object*, lean_ob lean_object* l_Lean_Name_toStringWithSep_maybeEscape(uint8_t, lean_object*); static lean_object* l_Lean_instQuoteSubstring___closed__2; lean_object* l_Lean_Syntax_isLit_x3f___boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__30; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__18; lean_object* l_Lean_Syntax_hasArgs___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__27; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit_loop___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_getElems___rarg(lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Syntax_getTailInfo_x3f___spec__1(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_Simp_Config_singlePass___default; lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); lean_object* l_Array_mapSepElems___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__2; lean_object* l_Lean_Meta_Simp_Config_maxSteps___default; static lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__6; lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -225,7 +230,6 @@ lean_object* l_Lean_instQuoteList(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteNameMk___closed__6; lean_object* l_Lean_Meta_Simp_instInhabitedConfig; lean_object* l_Lean_Syntax_isScientificLit_x3f___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36; lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTrailingSize___boxed(lean_object*); @@ -234,16 +238,17 @@ lean_object* l_Lean_version_major; static lean_object* l_Lean_instQuoteProd___rarg___closed__4; lean_object* l_Lean_Syntax_instBEqSyntax; uint8_t l_Lean_Meta_Simp_Config_zeta___default; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686____boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_instQuoteSyntax___closed__1; lean_object* l_Array_isEqvAux___at_Lean_Syntax_structEq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setHeadInfoAux_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Substring_prevn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Name_appendIndexAfter___closed__1; uint8_t l_instDecidableNot___rarg(uint8_t); uint8_t l_String_contains(lean_object*, uint32_t); lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35; lean_object* l_Lean_Syntax_mkStrLit___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkApp_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -267,30 +272,30 @@ lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind; static lean_object* l_Lean_termEval__prio_____closed__6; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__17; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__25; lean_object* l_Array_getSepElems(lean_object*); lean_object* l_Lean_monadNameGeneratorLift___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_getElems(lean_object*); lean_object* l_Lean_Syntax_structEq___boxed(lean_object*, lean_object*); -uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656_(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__23; +uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686_(lean_object*, lean_object*); uint8_t l_Lean_Meta_Simp_ConfigCtx_contextual___default; lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isFieldIdx_x3f(lean_object*); lean_object* l_Lean_Syntax_setTailInfo_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast_match__1(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__13; static lean_object* l_Lean_instQuoteProd___rarg___closed__1; lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElems___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5066____closed__1; 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_Lean_Syntax_expandInterpolatedStrChunks_match__1(lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5124____closed__2; lean_object* l_Lean_Syntax_isScientificLit_x3f(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandMacros_match__1(lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg(lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); @@ -317,13 +322,16 @@ extern lean_object* l_Lean_reservedMacroScope; static lean_object* l_Lean_Syntax_unsetTrailing___closed__2; static lean_object* l_Lean_NameGenerator_namePrefix___default___closed__1; lean_object* l_Lean_mkNullNode(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__6; lean_object* l_Lean_Name_instToStringName(lean_object*); lean_object* l_Lean_Syntax_structEq_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep_maybeEscape___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_modifyBase(lean_object*, lean_object*); static lean_object* l_Lean_instQuoteBool___closed__3; +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5124____closed__1; lean_object* l_Nat_repr(lean_object*); lean_object* l_Array_mapSepElemsM___at_Array_mapSepElems___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1; lean_object* l_Lean_instQuoteSubstring___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteSubstring(lean_object*); @@ -333,22 +341,24 @@ static lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__3; lean_object* l_Lean_Name_isInaccessibleUserName_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteNameMk(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar___boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__34; lean_object* l_Lean_Syntax_getHead_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_charLitKind; static lean_object* l_Lean_Syntax_instBEqSyntax___closed__1; lean_object* l_Lean_NameGenerator_idx___default; lean_object* l_Lean_Name_toString_maybePseudoSyntax_match__1(lean_object*); lean_object* l_Lean_Syntax_getTailInfo_x3f_match__1(lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__2(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__2; lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l_Lean_mkFreshId(lean_object*); lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__5; lean_object* l_Lean_mkCIdent(lean_object*); lean_object* l_Lean_version_getIsRelease___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__19; +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__1; uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isLit_x3f_match__1(lean_object*); @@ -364,8 +374,7 @@ lean_object* l_Nat_pred(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteNameMk___closed__5; -lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_evalOptPrec(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__2; static lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__4; static lean_object* l_Lean_version_patch___closed__1; uint8_t l_Array_isEmpty___rarg(lean_object*); @@ -376,30 +385,28 @@ lean_object* l_Lean_Syntax_isNone_match__1(lean_object*); lean_object* l_Array_filterSepElemsM(lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_version_getSpecialDesc(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__31; static lean_object* l_Lean_version_minor___closed__1; lean_object* l_Lean_mkCIdentFromRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_Config_maxDischargeDepth___default; lean_object* l_Lean_Name_appendBefore_match__1(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isNumericSubscript___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__11; +lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__12; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656____boxed(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteNameMk___closed__2; static lean_object* l_Lean_Syntax_mkApp___closed__2; lean_object* l_Lean_NameGenerator_mkChild(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__32; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__10; lean_object* l_Lean_Syntax_isCharLit_x3f___boxed(lean_object*); +lean_object* l_Lean_Syntax_splitNameLit(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__6; static lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2___closed__1; static lean_object* l___private_Init_Meta_0__Lean_quoteNameMk___closed__7; static lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__4; size_t lean_usize_of_nat(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit(lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5066____closed__2; lean_object* l_Lean_version_minor; lean_object* l_Lean_Syntax_decodeStrLit___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Array_mapSepElems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -419,8 +426,6 @@ uint8_t l_Char_isAlpha(uint32_t); lean_object* l_Lean_Option_hasQuote(lean_object*); uint8_t l_Lean_Syntax_isAtom(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__26; -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__4; uint8_t l_Lean_isLetterLike(uint32_t); static lean_object* l_Lean_instQuoteName___closed__2; lean_object* l_Lean_evalPrec(lean_object*, lean_object*, lean_object*); @@ -430,7 +435,6 @@ lean_object* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*, lean_objec lean_object* l_Lean_Syntax_toNat_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); static lean_object* l_Lean_termEval__prio_____closed__8; -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5321____closed__1; lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedNameGenerator___closed__1; lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef(lean_object*); @@ -443,11 +447,11 @@ lean_object* l_Lean_Syntax_isIdOrAtom_x3f(lean_object*); lean_object* l_Lean_mkIdentFromRef___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Array_mapSepElems___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__2; -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5321____closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__16; lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteProd_match__1___rarg(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__3; lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__1; lean_object* l_Lean_Syntax_isLit_x3f_match__2(lean_object*); static lean_object* l_Lean_Syntax_mkApp___closed__1; uint8_t l_UInt32_decEq(uint32_t, uint32_t); @@ -462,7 +466,9 @@ lean_object* lean_name_append_after(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteNameMk___closed__9; lean_object* l___private_Init_Meta_0__Lean_version_getMinor(lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__15; static lean_object* l___private_Init_Meta_0__Lean_quoteNameMk___closed__4; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__24; lean_object* l_Lean_mkHole(lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_scientificLitKind; @@ -481,6 +487,7 @@ lean_object* l___private_Init_Meta_0__Lean_quoteList(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux_match__1(lean_object*); lean_object* l_Lean_withHeadRefOnly(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__7; lean_object* l_String_quote(lean_object*); uint8_t l_Char_isAlphanum(uint32_t); lean_object* l_Lean_Syntax_copyHeadTailInfoFrom___boxed(lean_object*, lean_object*); @@ -488,13 +495,13 @@ lean_object* l_Lean_Meta_Simp_instReprConfig; lean_object* l_Lean_instInhabitedNameGenerator; static lean_object* l_Lean_mkHole___closed__4; lean_object* l_Lean_Syntax_getHead_x3f_match__1(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__10; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__32; static lean_object* l_Lean_evalPrec___closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__22; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f(lean_object*); uint8_t l_Lean_isGreek(uint32_t); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__5; lean_object* l___private_Init_Meta_0__Lean_quoteList_match__1(lean_object*, lean_object*); lean_object* l_Lean_Name_getRoot_match__1(lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); @@ -505,9 +512,9 @@ lean_object* l_Array_filterSepElems(lean_object*, lean_object*); lean_object* l_Array_mapSepElemsM___at_Array_mapSepElems___spec__1(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux_match__1(lean_object*); lean_object* l_Lean_Name_appendBefore_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__2; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843_(lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873_(lean_object*, lean_object*); lean_object* l_Lean_mkSepArray_match__1___rarg(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__33; static lean_object* l_Lean_instQuoteSubstring___closed__4; lean_object* l_Lean_Name_isInaccessibleUserName___boxed(lean_object*); lean_object* l_Lean_Name_replacePrefix___boxed(lean_object*, lean_object*, lean_object*); @@ -522,7 +529,6 @@ lean_object* l_Lean_Syntax_SepArray_getElems___rarg___boxed(lean_object*); lean_object* l_Lean_Syntax_isNameLit_x3f___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkHole___closed__1; -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__3; static lean_object* l_Lean_Syntax_mkApp___closed__3; lean_object* l_Lean_isIdBeginEscape___boxed(lean_object*); lean_object* l_Lean_mkFreshId___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -530,32 +536,33 @@ lean_object* l_Lean_withHeadRefOnly_match__1___rarg(lean_object*, lean_object*, lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__2___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__16; lean_object* lean_nat_mul(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__24; lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__26; lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkCIdentFromRef___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__4; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__1; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailInfo_x3f(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_instBEqConfig; static lean_object* l_Lean_termEval__prec_____closed__2; uint8_t l_Lean_Meta_Simp_Config_iota___default; -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5425____closed__1; lean_object* l_Lean_Syntax_setInfo(lean_object*, lean_object*); -static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5425____closed__2; lean_object* l___private_Init_Meta_0__Lean_quoteOption(lean_object*); lean_object* l_Lean_instQuoteNat(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__11; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__3___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__3; lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterDot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString_maybePseudoSyntax___boxed(lean_object*); lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5455____closed__1; lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast(lean_object*); lean_object* l_Lean_Syntax_decodeNameLit(lean_object*); static lean_object* l_Lean_instQuoteArray___rarg___closed__1; @@ -568,15 +575,16 @@ lean_object* l_Lean_Syntax_getHead_x3f___lambda__1___boxed(lean_object*, lean_ob lean_object* l_String_trim(lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar___boxed(lean_object*, lean_object*); lean_object* l_Lean_isIdEndEscape___boxed(lean_object*); +static lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5455____closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailInfo_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_getTailInfo(lean_object*); lean_object* l_Lean_Syntax_getOptionalIdent_x3f___boxed(lean_object*); static lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__3; +lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_termEval__prec_____closed__5; static lean_object* l_Lean_instQuoteBool___closed__4; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__7; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__20; lean_object* l_Lean_mkCIdentFromRef(lean_object*); lean_object* l_Lean_Syntax_unsetTrailing_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeStrLit(lean_object*); @@ -596,13 +604,13 @@ static lean_object* l_Lean_termEval__prec_____closed__8; lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__3; lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_SepArray_instCoeTailSepArrayArraySyntax___boxed(lean_object*); -lean_object* l_Lean_Syntax_decodeNameLit___boxed(lean_object*); static lean_object* l_Lean_instQuoteArray___rarg___closed__2; lean_object* lean_string_length(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_findAux___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Syntax_SepArray_instCoeTailSepArrayArraySyntax___closed__1; static lean_object* l_Lean_mkHole___closed__6; static lean_object* l_Lean_Name_instReprName___closed__2; +lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__2(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isSubScriptAlnum(uint32_t); lean_object* l_Lean_Syntax_toNat_match__1(lean_object*); uint8_t l_Lean_Meta_Simp_Config_beta___default; @@ -614,6 +622,7 @@ lean_object* l_Lean_withHeadRefOnly___rarg___lambda__2(lean_object*, lean_object lean_object* lean_mk_syntax_ident(lean_object*); static lean_object* l_Lean_Syntax_getHead_x3f___closed__1; lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_decodeNameLit_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_termEval__prec_____closed__1; lean_object* l_Lean_Syntax_toNat(lean_object*); @@ -634,7 +643,6 @@ lean_object* l_Lean_mkFreshId___rarg___lambda__1___boxed(lean_object*, lean_obje lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1(lean_object*, lean_object*); static lean_object* l_Lean_termEval__prec_____closed__4; uint8_t l_Lean_Meta_Simp_Config_proj___default; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__15; lean_object* l_Lean_Syntax_instCoeArraySyntaxSepArray(lean_object*); lean_object* l_Lean_Syntax_find_x3f(lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); @@ -646,14 +654,13 @@ lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1___rarg(lean_obje lean_object* l_Lean_monadNameGeneratorLift___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_replacePrefix_match__1(lean_object*); static lean_object* l_Lean_Name_escapePart___closed__5; -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5321_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5425_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5544_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5066_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5185_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4962_(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__5; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__30; +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5351_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5455_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5574_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5124_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5243_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5020_(lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_min(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__1; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__4; lean_object* l_Lean_Syntax_expandInterpolatedStr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -665,11 +672,10 @@ uint8_t l_UInt32_decLe(uint32_t, uint32_t); static lean_object* l_Lean_evalPrec___closed__3; lean_object* l_Lean_mkSepArray___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNone_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__7; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__12; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__2; uint8_t l_Lean_Name_toString_maybePseudoSyntax(lean_object*); static lean_object* l_Lean_instQuoteName___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__18; static lean_object* l_Lean_termEval__prec_____closed__9; lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_getSepElems___rarg___closed__1; @@ -687,7 +693,6 @@ lean_object* l_Lean_Syntax_structEq_match__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___closed__1; lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_termEval__prio_____closed__5; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__33; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit_loop(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); uint8_t l_Lean_Syntax_isToken(lean_object*, lean_object*); @@ -695,13 +700,14 @@ lean_object* l_Lean_Syntax_isFieldIdx_x3f___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit___boxed(lean_object*); lean_object* l_Lean_evalPrio(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_defaultMaxSteps; +lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Syntax_setHeadInfoAux(lean_object*, lean_object*); lean_object* l_Lean_Option_hasQuote___rarg(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__3; extern lean_object* l_Lean_interpolatedStrLitKind; static lean_object* l_Lean_termEval__prio_____closed__3; static lean_object* l_Lean_Meta_Simp_instInhabitedConfig___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__20; lean_object* l_Lean_Name_isInaccessibleUserName_match__1(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___at_Lean_Syntax_setTailInfoAux___spec__1(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isIdRest(uint32_t); @@ -711,6 +717,7 @@ lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); lean_object* l_Char_ofNat(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_version_getMajor___boxed(lean_object* x_1) { _start: { @@ -1793,7 +1800,7 @@ lean_ctor_set(x_26, 0, x_1); lean_ctor_set(x_26, 1, x_3); lean_ctor_set(x_26, 2, x_25); x_27 = lean_unsigned_to_nat(1u); -x_28 = l___private_Init_Data_String_Basic_0__Substring_nextn(x_26, x_27, x_3); +x_28 = l_Substring_nextn(x_26, x_27, x_3); lean_dec(x_26); x_29 = lean_nat_add(x_3, x_28); lean_dec(x_28); @@ -9290,7 +9297,7 @@ lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -9319,7 +9326,7 @@ return x_3; } } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -9349,163 +9356,767 @@ return x_3; } } } -lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +static lean_object* _init_l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1() { _start: { -uint32_t x_4; uint32_t x_5; uint8_t x_6; -x_4 = lean_string_utf8_get(x_1, x_2); -x_5 = l_Lean_idBeginEscape; -x_6 = x_4 == x_5; -if (x_6 == 0) +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Name_escapePart___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +return x_3; +} +} +lean_object* l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux(lean_object* x_1, lean_object* x_2) { +_start: { -uint8_t x_7; -x_7 = l_Lean_isIdFirst(x_4); -if (x_7 == 0) +lean_object* x_3; lean_object* x_4; uint8_t x_28; +x_28 = !lean_is_exclusive(x_1); +if (x_28 == 0) { -lean_object* x_8; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_29 = lean_ctor_get(x_1, 0); +x_30 = lean_ctor_get(x_1, 1); +x_31 = lean_ctor_get(x_1, 2); +x_32 = lean_nat_sub(x_31, x_30); +x_33 = lean_unsigned_to_nat(0u); +x_34 = lean_nat_dec_eq(x_32, x_33); +if (x_34 == 0) +{ +lean_object* x_35; uint32_t x_36; uint32_t x_37; uint8_t x_38; +x_35 = lean_nat_add(x_30, x_33); +x_36 = lean_string_utf8_get(x_29, x_35); +lean_dec(x_35); +x_37 = l_Lean_idBeginEscape; +x_38 = x_36 == x_37; +if (x_38 == 0) +{ +uint8_t x_39; +x_39 = l_Lean_isIdFirst(x_36); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_32); +lean_free_object(x_1); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_2); +x_40 = lean_box(0); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +lean_inc(x_30); +x_41 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__1(x_29, x_31, x_30); +lean_inc(x_41); +lean_inc(x_30); +lean_inc(x_29); +lean_ctor_set(x_1, 2, x_41); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_1); +lean_ctor_set(x_42, 1, x_2); +x_43 = lean_nat_sub(x_41, x_30); +lean_dec(x_41); +x_44 = lean_nat_dec_le(x_32, x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_nat_add(x_30, x_43); +lean_dec(x_43); +x_46 = l_Nat_min(x_31, x_45); +lean_dec(x_45); +x_47 = lean_nat_add(x_30, x_32); +lean_dec(x_32); +lean_dec(x_30); +x_48 = l_Nat_min(x_31, x_47); +lean_dec(x_47); +lean_dec(x_31); +x_49 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_49, 0, x_29); +lean_ctor_set(x_49, 1, x_46); +lean_ctor_set(x_49, 2, x_48); +x_3 = x_49; +x_4 = x_42; +goto block_27; +} +else +{ +lean_object* x_50; +lean_dec(x_43); +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +x_50 = l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1; +x_3 = x_50; +x_4 = x_42; +goto block_27; +} +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_inc(x_30); +x_51 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__2(x_29, x_31, x_30); +x_52 = lean_string_utf8_next(x_29, x_51); +lean_dec(x_51); +x_53 = l_Nat_min(x_31, x_52); +lean_dec(x_52); +lean_inc(x_53); +lean_inc(x_30); +lean_inc(x_29); +lean_ctor_set(x_1, 2, x_53); +x_54 = lean_nat_sub(x_53, x_30); +lean_dec(x_53); +x_55 = lean_nat_add(x_30, x_54); +x_56 = lean_nat_dec_eq(x_55, x_30); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; uint32_t x_60; uint32_t x_61; uint8_t x_62; +x_57 = lean_string_utf8_prev(x_29, x_55); +x_58 = lean_nat_sub(x_57, x_30); +lean_dec(x_57); +x_59 = lean_nat_add(x_30, x_58); +lean_dec(x_58); +x_60 = lean_string_utf8_get(x_29, x_59); +lean_dec(x_59); +x_61 = l_Lean_idEndEscape; +x_62 = x_60 == x_61; +if (x_62 == 0) +{ +lean_object* x_63; +lean_dec(x_55); +lean_dec(x_54); +lean_dec(x_1); +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_2); +x_63 = lean_box(0); +return x_63; +} +else +{ +lean_object* x_64; uint8_t x_65; +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_1); +lean_ctor_set(x_64, 1, x_2); +x_65 = lean_nat_dec_le(x_32, x_54); +lean_dec(x_54); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_66 = l_Nat_min(x_31, x_55); +lean_dec(x_55); +x_67 = lean_nat_add(x_30, x_32); +lean_dec(x_32); +lean_dec(x_30); +x_68 = l_Nat_min(x_31, x_67); +lean_dec(x_67); +lean_dec(x_31); +x_69 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_69, 0, x_29); +lean_ctor_set(x_69, 1, x_66); +lean_ctor_set(x_69, 2, x_68); +x_3 = x_69; +x_4 = x_64; +goto block_27; +} +else +{ +lean_object* x_70; +lean_dec(x_55); +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +x_70 = l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1; +x_3 = x_70; +x_4 = x_64; +goto block_27; +} +} +} +else +{ +uint32_t x_71; uint32_t x_72; uint8_t x_73; +x_71 = lean_string_utf8_get(x_29, x_55); +x_72 = l_Lean_idEndEscape; +x_73 = x_71 == x_72; +if (x_73 == 0) +{ +lean_object* x_74; +lean_dec(x_55); +lean_dec(x_54); +lean_dec(x_1); +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_2); +x_74 = lean_box(0); +return x_74; +} +else +{ +lean_object* x_75; uint8_t x_76; +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_1); +lean_ctor_set(x_75, 1, x_2); +x_76 = lean_nat_dec_le(x_32, x_54); +lean_dec(x_54); +if (x_76 == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_77 = l_Nat_min(x_31, x_55); +lean_dec(x_55); +x_78 = lean_nat_add(x_30, x_32); +lean_dec(x_32); +lean_dec(x_30); +x_79 = l_Nat_min(x_31, x_78); +lean_dec(x_78); +lean_dec(x_31); +x_80 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_80, 0, x_29); +lean_ctor_set(x_80, 1, x_77); +lean_ctor_set(x_80, 2, x_79); +x_3 = x_80; +x_4 = x_75; +goto block_27; +} +else +{ +lean_object* x_81; +lean_dec(x_55); +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +x_81 = l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1; +x_3 = x_81; +x_4 = x_75; +goto block_27; +} +} +} +} +} +else +{ +lean_object* x_82; +lean_dec(x_32); +lean_free_object(x_1); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_2); +x_82 = lean_box(0); +return x_82; +} +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; +x_83 = lean_ctor_get(x_1, 0); +x_84 = lean_ctor_get(x_1, 1); +x_85 = lean_ctor_get(x_1, 2); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_1); +x_86 = lean_nat_sub(x_85, x_84); +x_87 = lean_unsigned_to_nat(0u); +x_88 = lean_nat_dec_eq(x_86, x_87); +if (x_88 == 0) +{ +lean_object* x_89; uint32_t x_90; uint32_t x_91; uint8_t x_92; +x_89 = lean_nat_add(x_84, x_87); +x_90 = lean_string_utf8_get(x_83, x_89); +lean_dec(x_89); +x_91 = l_Lean_idBeginEscape; +x_92 = x_90 == x_91; +if (x_92 == 0) +{ +uint8_t x_93; +x_93 = l_Lean_isIdFirst(x_90); +if (x_93 == 0) +{ +lean_object* x_94; +lean_dec(x_86); +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_83); +lean_dec(x_2); +x_94 = lean_box(0); +return x_94; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; +lean_inc(x_84); +x_95 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__1(x_83, x_85, x_84); +lean_inc(x_95); +lean_inc(x_84); +lean_inc(x_83); +x_96 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_96, 0, x_83); +lean_ctor_set(x_96, 1, x_84); +lean_ctor_set(x_96, 2, x_95); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_2); +x_98 = lean_nat_sub(x_95, x_84); +lean_dec(x_95); +x_99 = lean_nat_dec_le(x_86, x_98); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_100 = lean_nat_add(x_84, x_98); +lean_dec(x_98); +x_101 = l_Nat_min(x_85, x_100); +lean_dec(x_100); +x_102 = lean_nat_add(x_84, x_86); +lean_dec(x_86); +lean_dec(x_84); +x_103 = l_Nat_min(x_85, x_102); +lean_dec(x_102); +lean_dec(x_85); +x_104 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_104, 0, x_83); +lean_ctor_set(x_104, 1, x_101); +lean_ctor_set(x_104, 2, x_103); +x_3 = x_104; +x_4 = x_97; +goto block_27; +} +else +{ +lean_object* x_105; +lean_dec(x_98); +lean_dec(x_86); +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_83); +x_105 = l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1; +x_3 = x_105; +x_4 = x_97; +goto block_27; +} +} +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +lean_inc(x_84); +x_106 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__2(x_83, x_85, x_84); +x_107 = lean_string_utf8_next(x_83, x_106); +lean_dec(x_106); +x_108 = l_Nat_min(x_85, x_107); +lean_dec(x_107); +lean_inc(x_108); +lean_inc(x_84); +lean_inc(x_83); +x_109 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_109, 0, x_83); +lean_ctor_set(x_109, 1, x_84); +lean_ctor_set(x_109, 2, x_108); +x_110 = lean_nat_sub(x_108, x_84); +lean_dec(x_108); +x_111 = lean_nat_add(x_84, x_110); +x_112 = lean_nat_dec_eq(x_111, x_84); +if (x_112 == 0) +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; uint32_t x_116; uint32_t x_117; uint8_t x_118; +x_113 = lean_string_utf8_prev(x_83, x_111); +x_114 = lean_nat_sub(x_113, x_84); +lean_dec(x_113); +x_115 = lean_nat_add(x_84, x_114); +lean_dec(x_114); +x_116 = lean_string_utf8_get(x_83, x_115); +lean_dec(x_115); +x_117 = l_Lean_idEndEscape; +x_118 = x_116 == x_117; +if (x_118 == 0) +{ +lean_object* x_119; +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_109); +lean_dec(x_86); +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_83); +lean_dec(x_2); +x_119 = lean_box(0); +return x_119; +} +else +{ +lean_object* x_120; uint8_t x_121; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_109); +lean_ctor_set(x_120, 1, x_2); +x_121 = lean_nat_dec_le(x_86, x_110); +lean_dec(x_110); +if (x_121 == 0) +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_122 = l_Nat_min(x_85, x_111); +lean_dec(x_111); +x_123 = lean_nat_add(x_84, x_86); +lean_dec(x_86); +lean_dec(x_84); +x_124 = l_Nat_min(x_85, x_123); +lean_dec(x_123); +lean_dec(x_85); +x_125 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_125, 0, x_83); +lean_ctor_set(x_125, 1, x_122); +lean_ctor_set(x_125, 2, x_124); +x_3 = x_125; +x_4 = x_120; +goto block_27; +} +else +{ +lean_object* x_126; +lean_dec(x_111); +lean_dec(x_86); +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_83); +x_126 = l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1; +x_3 = x_126; +x_4 = x_120; +goto block_27; +} +} +} +else +{ +uint32_t x_127; uint32_t x_128; uint8_t x_129; +x_127 = lean_string_utf8_get(x_83, x_111); +x_128 = l_Lean_idEndEscape; +x_129 = x_127 == x_128; +if (x_129 == 0) +{ +lean_object* x_130; +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_109); +lean_dec(x_86); +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_83); +lean_dec(x_2); +x_130 = lean_box(0); +return x_130; +} +else +{ +lean_object* x_131; uint8_t x_132; +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_109); +lean_ctor_set(x_131, 1, x_2); +x_132 = lean_nat_dec_le(x_86, x_110); +lean_dec(x_110); +if (x_132 == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_133 = l_Nat_min(x_85, x_111); +lean_dec(x_111); +x_134 = lean_nat_add(x_84, x_86); +lean_dec(x_86); +lean_dec(x_84); +x_135 = l_Nat_min(x_85, x_134); +lean_dec(x_134); +lean_dec(x_85); +x_136 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_136, 0, x_83); +lean_ctor_set(x_136, 1, x_133); +lean_ctor_set(x_136, 2, x_135); +x_3 = x_136; +x_4 = x_131; +goto block_27; +} +else +{ +lean_object* x_137; +lean_dec(x_111); +lean_dec(x_86); +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_83); +x_137 = l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1; +x_3 = x_137; +x_4 = x_131; +goto block_27; +} +} +} +} +} +else +{ +lean_object* x_138; +lean_dec(x_86); +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_83); +lean_dec(x_2); +x_138 = lean_box(0); +return x_138; +} +} +block_27: +{ +uint32_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint32_t x_11; uint8_t x_12; +x_5 = 46; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_3, 2); +lean_inc(x_8); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_add(x_7, x_9); +x_11 = lean_string_utf8_get(x_6, x_10); +lean_dec(x_10); +x_12 = x_11 == x_5; +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +lean_dec(x_6); lean_dec(x_3); -lean_dec(x_2); -x_8 = lean_box(0); -return x_8; +x_13 = lean_nat_sub(x_8, x_7); +lean_dec(x_7); +lean_dec(x_8); +x_14 = lean_nat_dec_eq(x_13, x_9); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_4); +x_15 = lean_box(0); +return x_15; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint32_t x_13; uint32_t x_14; uint8_t x_15; -x_9 = lean_string_utf8_byte_size(x_1); -lean_inc(x_2); -x_10 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__1(x_1, x_9, x_2); -lean_dec(x_9); -x_11 = lean_string_utf8_extract(x_1, x_2, x_10); -lean_dec(x_2); -x_12 = lean_name_mk_string(x_3, x_11); -x_13 = lean_string_utf8_get(x_1, x_10); -x_14 = 46; -x_15 = x_13 == x_14; -if (x_15 == 0) -{ -uint8_t x_16; -x_16 = lean_string_utf8_at_end(x_1, x_10); -lean_dec(x_10); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_12); -x_17 = lean_box(0); -return x_17; -} -else -{ -lean_object* x_18; -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_12); -return x_18; +return x_4; } } else { -lean_object* x_19; -x_19 = lean_string_utf8_next(x_1, x_10); -lean_dec(x_10); -x_2 = x_19; -x_3 = x_12; +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_unsigned_to_nat(1u); +x_17 = l_Substring_nextn(x_3, x_16, x_9); +x_18 = !lean_is_exclusive(x_3); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_3, 2); +lean_dec(x_19); +x_20 = lean_ctor_get(x_3, 1); +lean_dec(x_20); +x_21 = lean_ctor_get(x_3, 0); +lean_dec(x_21); +x_22 = lean_nat_add(x_7, x_17); +lean_dec(x_17); +lean_dec(x_7); +lean_ctor_set(x_3, 1, x_22); +x_1 = x_3; +x_2 = x_4; +goto _start; +} +else +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_3); +x_24 = lean_nat_add(x_7, x_17); +lean_dec(x_17); +lean_dec(x_7); +x_25 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_25, 0, x_6); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_25, 2, x_8); +x_1 = x_25; +x_2 = x_4; goto _start; } } } +} +} +lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__1(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__2(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Syntax_splitNameLit(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_box(0); +x_3 = l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux(x_1, x_2); +x_4 = l_List_reverse___rarg(x_3); +return x_4; +} +} +lean_object* l_Lean_Syntax_decodeNameLit_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_21; lean_object* x_22; lean_object* x_23; uint32_t x_24; uint32_t x_25; uint8_t x_26; -x_21 = lean_string_utf8_next(x_1, x_2); +lean_object* x_6; lean_dec(x_2); -x_22 = lean_string_utf8_byte_size(x_1); -lean_inc(x_21); -x_23 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__2(x_1, x_22, x_21); -lean_dec(x_22); -x_24 = lean_string_utf8_get(x_1, x_23); -x_25 = l_Lean_idEndEscape; -x_26 = x_24 == x_25; -if (x_26 == 0) +x_6 = lean_apply_1(x_3, x_1); +return x_6; +} +} +} +lean_object* l_Lean_Syntax_decodeNameLit_match__1(lean_object* x_1) { +_start: { -lean_object* x_27; -lean_dec(x_23); -lean_dec(x_21); +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_decodeNameLit_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_inc(x_1); +return x_1; +} +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; uint32_t x_11; uint32_t x_12; uint8_t x_13; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1(x_1, x_4); +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_3, 2); +lean_inc(x_8); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_add(x_7, x_9); +x_11 = lean_string_utf8_get(x_6, x_10); +lean_dec(x_10); +x_12 = l_Lean_idBeginEscape; +x_13 = x_11 == x_12; +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_dec(x_3); -x_27 = lean_box(0); +x_14 = lean_string_utf8_extract(x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_15 = lean_name_mk_string(x_5, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_unsigned_to_nat(1u); +x_17 = l_Substring_nextn(x_3, x_16, x_9); +x_18 = !lean_is_exclusive(x_3); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_19 = lean_ctor_get(x_3, 2); +lean_dec(x_19); +x_20 = lean_ctor_get(x_3, 1); +lean_dec(x_20); +x_21 = lean_ctor_get(x_3, 0); +lean_dec(x_21); +x_22 = lean_nat_add(x_7, x_17); +lean_dec(x_17); +lean_dec(x_7); +lean_inc(x_8); +lean_inc(x_22); +lean_inc(x_6); +lean_ctor_set(x_3, 1, x_22); +x_23 = lean_nat_sub(x_8, x_22); +lean_dec(x_8); +x_24 = l_Substring_prevn(x_3, x_16, x_23); +lean_dec(x_3); +x_25 = lean_nat_add(x_22, x_24); +lean_dec(x_24); +x_26 = lean_string_utf8_extract(x_6, x_22, x_25); +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_6); +x_27 = lean_name_mk_string(x_5, x_26); return x_27; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; uint32_t x_31; uint32_t x_32; uint8_t x_33; -x_28 = lean_string_utf8_next(x_1, x_23); -x_29 = lean_string_utf8_extract(x_1, x_21, x_23); -lean_dec(x_23); -lean_dec(x_21); -x_30 = lean_name_mk_string(x_3, x_29); -x_31 = lean_string_utf8_get(x_1, x_28); -x_32 = 46; -x_33 = x_31 == x_32; -if (x_33 == 0) -{ -uint8_t x_34; -x_34 = lean_string_utf8_at_end(x_1, x_28); +lean_object* x_28; lean_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_3); +x_28 = lean_nat_add(x_7, x_17); +lean_dec(x_17); +lean_dec(x_7); +lean_inc(x_8); +lean_inc(x_28); +lean_inc(x_6); +x_29 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_29, 0, x_6); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_8); +x_30 = lean_nat_sub(x_8, x_28); +lean_dec(x_8); +x_31 = l_Substring_prevn(x_29, x_16, x_30); +lean_dec(x_29); +x_32 = lean_nat_add(x_28, x_31); +lean_dec(x_31); +x_33 = lean_string_utf8_extract(x_6, x_28, x_32); +lean_dec(x_32); lean_dec(x_28); -if (x_34 == 0) -{ -lean_object* x_35; -lean_dec(x_30); -x_35 = lean_box(0); -return x_35; -} -else -{ -lean_object* x_36; -x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_30); -return x_36; -} -} -else -{ -lean_object* x_37; -x_37 = lean_string_utf8_next(x_1, x_28); -lean_dec(x_28); -x_2 = x_37; -x_3 = x_30; -goto _start; +lean_dec(x_6); +x_34 = lean_name_mk_string(x_5, x_33); +return x_34; } } } } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__1(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__2(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} lean_object* l_Lean_Syntax_decodeNameLit(lean_object* x_1) { _start: { @@ -9517,26 +10128,56 @@ x_5 = x_3 == x_4; if (x_5 == 0) { lean_object* x_6; +lean_dec(x_1); x_6 = lean_box(0); return x_6; } else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_unsigned_to_nat(1u); -x_8 = lean_box(0); -x_9 = l___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux(x_1, x_7, x_8); -return x_9; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_7 = lean_string_utf8_byte_size(x_1); +lean_inc(x_7); +lean_inc(x_1); +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_2); +lean_ctor_set(x_8, 2, x_7); +x_9 = lean_unsigned_to_nat(1u); +x_10 = l_Substring_nextn(x_8, x_9, x_2); +lean_dec(x_8); +x_11 = lean_nat_add(x_2, x_10); +lean_dec(x_10); +x_12 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_12, 1, x_11); +lean_ctor_set(x_12, 2, x_7); +x_13 = lean_box(0); +x_14 = l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux(x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +x_15 = lean_box(0); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_box(0); +x_17 = l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1(x_16, x_14); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; } } } -lean_object* l_Lean_Syntax_decodeNameLit___boxed(lean_object* x_1) { +} +lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_2; -x_2 = l_Lean_Syntax_decodeNameLit(x_1); +lean_object* x_3; +x_3 = l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1(x_1, x_2); lean_dec(x_1); -return x_2; +return x_3; } } lean_object* l_Lean_Syntax_isNameLit_x3f(lean_object* x_1) { @@ -9558,7 +10199,6 @@ x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); lean_dec(x_3); x_6 = l_Lean_Syntax_decodeNameLit(x_5); -lean_dec(x_5); return x_6; } } @@ -11310,7 +11950,7 @@ return x_75; } } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__1() { _start: { lean_object* x_1; @@ -11318,17 +11958,17 @@ x_1 = lean_mk_string("Syntax"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkHole___closed__4; -x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__1; +x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__3() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__3() { _start: { lean_object* x_1; @@ -11336,21 +11976,21 @@ x_1 = lean_mk_string("addPrec"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__4() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__2; -x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__3; +x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__2; +x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4962_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5020_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__4; +x_4 = l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__4; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -11481,7 +12121,7 @@ return x_40; } } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5066____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5124____closed__1() { _start: { lean_object* x_1; @@ -11489,21 +12129,21 @@ x_1 = lean_mk_string("subPrec"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5066____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5124____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__2; -x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5066____closed__1; +x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__2; +x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5124____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5066_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5124_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_myMacro____x40_Init_Meta___hyg_5066____closed__2; +x_4 = l_Lean_myMacro____x40_Init_Meta___hyg_5124____closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -11754,7 +12394,7 @@ x_1 = l_Lean_termEval__prec_____closed__11; return x_1; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5185_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5243_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -11837,30 +12477,6 @@ return x_27; } } } -lean_object* l_Lean_evalOptPrec(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_unsigned_to_nat(0u); -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; -} -else -{ -lean_object* x_6; lean_object* x_7; -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = l_Lean_evalPrec(x_6, x_2, x_3); -return x_7; -} -} -} static lean_object* _init_l_Lean_evalPrio___closed__1() { _start: { @@ -12175,7 +12791,7 @@ return x_75; } } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5321____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5351____closed__1() { _start: { lean_object* x_1; @@ -12183,21 +12799,21 @@ x_1 = lean_mk_string("addPrio"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5321____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5351____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__2; -x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5321____closed__1; +x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__2; +x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5351____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5321_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5351_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_myMacro____x40_Init_Meta___hyg_5321____closed__2; +x_4 = l_Lean_myMacro____x40_Init_Meta___hyg_5351____closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -12328,7 +12944,7 @@ return x_40; } } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5425____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5455____closed__1() { _start: { lean_object* x_1; @@ -12336,21 +12952,21 @@ x_1 = lean_mk_string("subPrio"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5425____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Init_Meta___hyg_5455____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__2; -x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5425____closed__1; +x_1 = l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__2; +x_2 = l_Lean_myMacro____x40_Init_Meta___hyg_5455____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5425_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5455_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_myMacro____x40_Init_Meta___hyg_5425____closed__2; +x_4 = l_Lean_myMacro____x40_Init_Meta___hyg_5455____closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -12583,7 +13199,7 @@ x_1 = l_Lean_termEval__prio_____closed__9; return x_1; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5544_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5574_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -14904,7 +15520,7 @@ x_1 = l_Lean_Meta_Simp_instInhabitedConfig___closed__1; return x_1; } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_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; @@ -14959,24 +15575,24 @@ x_45 = lean_apply_m(x_3, 22, _aargs); } return x_45; } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656__match__1(lean_object* x_1) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656__match__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686__match__1___rarg___boxed), 4, 0); return x_2; } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656__match__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686__match__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); return x_5; } } -uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656_(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; lean_object* x_29; lean_object* x_35; lean_object* x_41; lean_object* x_47; lean_object* x_53; lean_object* x_59; lean_object* x_65; uint8_t x_71; @@ -15332,11 +15948,11 @@ goto block_64; } } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -15347,7 +15963,7 @@ static lean_object* _init_l_Lean_Meta_Simp_instBEqConfig___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6656____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6686____boxed), 2, 0); return x_1; } } @@ -15359,7 +15975,7 @@ x_1 = l_Lean_Meta_Simp_instBEqConfig___closed__1; return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__1() { _start: { lean_object* x_1; @@ -15367,29 +15983,29 @@ x_1 = lean_mk_string("maxSteps"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__2; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__4() { _start: { lean_object* x_1; @@ -15397,29 +16013,29 @@ x_1 = lean_mk_string(" := "); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__4; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__5; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__3; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__5; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__7() { _start: { lean_object* x_1; @@ -15427,17 +16043,17 @@ x_1 = lean_mk_string(","); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__7; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__9() { _start: { lean_object* x_1; @@ -15445,17 +16061,17 @@ x_1 = lean_mk_string("maxDischargeDepth"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__9; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__9; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__11() { _start: { lean_object* x_1; @@ -15463,17 +16079,17 @@ x_1 = lean_mk_string("contextual"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__11; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__11; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__13() { _start: { lean_object* x_1; @@ -15481,17 +16097,17 @@ x_1 = lean_mk_string("memoize"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__13; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__13; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__15() { _start: { lean_object* x_1; @@ -15499,17 +16115,17 @@ x_1 = lean_mk_string("singlePass"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__15; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__15; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__17() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__17() { _start: { lean_object* x_1; @@ -15517,17 +16133,17 @@ x_1 = lean_mk_string("zeta"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__18() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__17; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__17; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__19() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__19() { _start: { lean_object* x_1; @@ -15535,17 +16151,17 @@ x_1 = lean_mk_string("beta"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__20() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__19; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__21() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__21() { _start: { lean_object* x_1; @@ -15553,17 +16169,17 @@ x_1 = lean_mk_string("eta"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__22() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__21; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__21; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__23() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__23() { _start: { lean_object* x_1; @@ -15571,17 +16187,17 @@ x_1 = lean_mk_string("iota"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__24() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__23; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__23; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__25() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__25() { _start: { lean_object* x_1; @@ -15589,17 +16205,17 @@ x_1 = lean_mk_string("proj"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__26() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__26() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__25; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__25; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__27() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__27() { _start: { lean_object* x_1; @@ -15607,17 +16223,17 @@ x_1 = lean_mk_string("decide"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__28() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__28() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__27; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__27; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__29() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__29() { _start: { lean_object* x_1; @@ -15625,35 +16241,35 @@ x_1 = lean_mk_string("{ "); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__30() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__30() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__29; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__29; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__31() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__31() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__30; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__30; x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__32() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__32() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__29; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__29; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__33() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__33() { _start: { lean_object* x_1; @@ -15661,17 +16277,17 @@ x_1 = lean_mk_string(" }"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__34() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__34() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__33; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__33; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35() { _start: { lean_object* x_1; lean_object* x_2; @@ -15681,7 +16297,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36() { _start: { lean_object* x_1; lean_object* x_2; @@ -15691,7 +16307,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843_(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; lean_object* x_34; @@ -15700,11 +16316,11 @@ lean_inc(x_3); x_4 = l_Nat_repr(x_3); x_5 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__6; +x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__6; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); -x_8 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__8; +x_8 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__8; x_9 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); @@ -15712,11 +16328,11 @@ x_10 = lean_box(1); x_11 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); -x_12 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__10; +x_12 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__10; x_13 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); -x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__5; +x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__5; x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -15734,7 +16350,7 @@ lean_ctor_set(x_20, 1, x_8); x_21 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_21, 0, x_20); lean_ctor_set(x_21, 1, x_10); -x_22 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__12; +x_22 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__12; x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); @@ -15754,14 +16370,14 @@ lean_dec(x_1); if (x_25 == 0) { lean_object* x_154; -x_154 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35; +x_154 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35; x_34 = x_154; goto block_153; } else { lean_object* x_155; -x_155 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36; +x_155 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36; x_34 = x_155; goto block_153; } @@ -15777,7 +16393,7 @@ lean_ctor_set(x_36, 1, x_8); x_37 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_10); -x_38 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__14; +x_38 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__14; x_39 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); @@ -15787,14 +16403,14 @@ lean_ctor_set(x_40, 1, x_14); if (x_26 == 0) { lean_object* x_151; -x_151 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35; +x_151 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35; x_41 = x_151; goto block_150; } else { lean_object* x_152; -x_152 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36; +x_152 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36; x_41 = x_152; goto block_150; } @@ -15810,7 +16426,7 @@ lean_ctor_set(x_43, 1, x_8); x_44 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_10); -x_45 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__16; +x_45 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__16; x_46 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_46, 0, x_44); lean_ctor_set(x_46, 1, x_45); @@ -15820,14 +16436,14 @@ lean_ctor_set(x_47, 1, x_14); if (x_27 == 0) { lean_object* x_148; -x_148 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35; +x_148 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35; x_48 = x_148; goto block_147; } else { lean_object* x_149; -x_149 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36; +x_149 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36; x_48 = x_149; goto block_147; } @@ -15843,7 +16459,7 @@ lean_ctor_set(x_50, 1, x_8); x_51 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_10); -x_52 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__18; +x_52 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__18; x_53 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_53, 0, x_51); lean_ctor_set(x_53, 1, x_52); @@ -15853,14 +16469,14 @@ lean_ctor_set(x_54, 1, x_14); if (x_28 == 0) { lean_object* x_145; -x_145 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35; +x_145 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35; x_55 = x_145; goto block_144; } else { lean_object* x_146; -x_146 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36; +x_146 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36; x_55 = x_146; goto block_144; } @@ -15876,7 +16492,7 @@ lean_ctor_set(x_57, 1, x_8); x_58 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_10); -x_59 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__20; +x_59 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__20; x_60 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_60, 0, x_58); lean_ctor_set(x_60, 1, x_59); @@ -15886,14 +16502,14 @@ lean_ctor_set(x_61, 1, x_14); if (x_29 == 0) { lean_object* x_142; -x_142 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35; +x_142 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35; x_62 = x_142; goto block_141; } else { lean_object* x_143; -x_143 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36; +x_143 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36; x_62 = x_143; goto block_141; } @@ -15909,7 +16525,7 @@ lean_ctor_set(x_64, 1, x_8); x_65 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_10); -x_66 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__22; +x_66 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__22; x_67 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_67, 0, x_65); lean_ctor_set(x_67, 1, x_66); @@ -15919,14 +16535,14 @@ lean_ctor_set(x_68, 1, x_14); if (x_30 == 0) { lean_object* x_139; -x_139 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35; +x_139 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35; x_69 = x_139; goto block_138; } else { lean_object* x_140; -x_140 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36; +x_140 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36; x_69 = x_140; goto block_138; } @@ -15942,7 +16558,7 @@ lean_ctor_set(x_71, 1, x_8); x_72 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_10); -x_73 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__24; +x_73 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__24; x_74 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_74, 0, x_72); lean_ctor_set(x_74, 1, x_73); @@ -15952,14 +16568,14 @@ lean_ctor_set(x_75, 1, x_14); if (x_31 == 0) { lean_object* x_136; -x_136 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35; +x_136 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35; x_76 = x_136; goto block_135; } else { lean_object* x_137; -x_137 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36; +x_137 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36; x_76 = x_137; goto block_135; } @@ -15975,7 +16591,7 @@ lean_ctor_set(x_78, 1, x_8); x_79 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_10); -x_80 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__26; +x_80 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__26; x_81 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_81, 0, x_79); lean_ctor_set(x_81, 1, x_80); @@ -15985,7 +16601,7 @@ lean_ctor_set(x_82, 1, x_14); if (x_32 == 0) { lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_83 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35; +x_83 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35; x_84 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_84, 0, x_82); lean_ctor_set(x_84, 1, x_83); @@ -15995,7 +16611,7 @@ lean_ctor_set(x_85, 1, x_8); x_86 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_10); -x_87 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__28; +x_87 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__28; x_88 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_88, 0, x_86); lean_ctor_set(x_88, 1, x_87); @@ -16008,15 +16624,15 @@ lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean x_90 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_83); -x_91 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__32; +x_91 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__32; x_92 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); -x_93 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__34; +x_93 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__34; x_94 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_94, 0, x_92); lean_ctor_set(x_94, 1, x_93); -x_95 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__31; +x_95 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__31; x_96 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_96, 0, x_95); lean_ctor_set(x_96, 1, x_94); @@ -16029,19 +16645,19 @@ return x_98; else { lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; lean_object* x_108; -x_99 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36; +x_99 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36; x_100 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_100, 0, x_89); lean_ctor_set(x_100, 1, x_99); -x_101 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__32; +x_101 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__32; x_102 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_102, 0, x_101); lean_ctor_set(x_102, 1, x_100); -x_103 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__34; +x_103 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__34; x_104 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_104, 0, x_102); lean_ctor_set(x_104, 1, x_103); -x_105 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__31; +x_105 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__31; x_106 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_106, 0, x_105); lean_ctor_set(x_106, 1, x_104); @@ -16055,7 +16671,7 @@ return x_108; else { lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_109 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36; +x_109 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36; x_110 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_110, 0, x_82); lean_ctor_set(x_110, 1, x_109); @@ -16065,7 +16681,7 @@ lean_ctor_set(x_111, 1, x_8); x_112 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_112, 0, x_111); lean_ctor_set(x_112, 1, x_10); -x_113 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__28; +x_113 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__28; x_114 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_114, 0, x_112); lean_ctor_set(x_114, 1, x_113); @@ -16075,19 +16691,19 @@ lean_ctor_set(x_115, 1, x_14); if (x_33 == 0) { lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; -x_116 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35; +x_116 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35; x_117 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_117, 0, x_115); lean_ctor_set(x_117, 1, x_116); -x_118 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__32; +x_118 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__32; x_119 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_119, 0, x_118); lean_ctor_set(x_119, 1, x_117); -x_120 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__34; +x_120 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__34; x_121 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_121, 0, x_119); lean_ctor_set(x_121, 1, x_120); -x_122 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__31; +x_122 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__31; x_123 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_123, 0, x_122); lean_ctor_set(x_123, 1, x_121); @@ -16103,15 +16719,15 @@ lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; x_126 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_126, 0, x_115); lean_ctor_set(x_126, 1, x_109); -x_127 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__32; +x_127 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__32; x_128 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_128, 0, x_127); lean_ctor_set(x_128, 1, x_126); -x_129 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__34; +x_129 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__34; x_130 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_130, 0, x_128); lean_ctor_set(x_130, 1, x_129); -x_131 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__31; +x_131 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__31; x_132 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_132, 0, x_131); lean_ctor_set(x_132, 1, x_130); @@ -16131,11 +16747,11 @@ return x_134; } } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -16144,7 +16760,7 @@ static lean_object* _init_l_Lean_Meta_Simp_instReprConfig___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____boxed), 2, 0); return x_1; } } @@ -16295,6 +16911,8 @@ l_Lean_Syntax_decodeQuotedChar___boxed__const__5 = _init_l_Lean_Syntax_decodeQuo lean_mark_persistent(l_Lean_Syntax_decodeQuotedChar___boxed__const__5); l_Lean_Syntax_decodeQuotedChar___boxed__const__6 = _init_l_Lean_Syntax_decodeQuotedChar___boxed__const__6(); lean_mark_persistent(l_Lean_Syntax_decodeQuotedChar___boxed__const__6); +l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1 = _init_l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1); l_Lean_instQuoteSyntax___closed__1 = _init_l_Lean_instQuoteSyntax___closed__1(); lean_mark_persistent(l_Lean_instQuoteSyntax___closed__1); l_Lean_instQuoteSyntax = _init_l_Lean_instQuoteSyntax(); @@ -16391,18 +17009,18 @@ l_Lean_evalPrec___closed__2 = _init_l_Lean_evalPrec___closed__2(); lean_mark_persistent(l_Lean_evalPrec___closed__2); l_Lean_evalPrec___closed__3 = _init_l_Lean_evalPrec___closed__3(); lean_mark_persistent(l_Lean_evalPrec___closed__3); -l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__1); -l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__2); -l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__3 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__3); -l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__4 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_4962____closed__4); -l_Lean_myMacro____x40_Init_Meta___hyg_5066____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5066____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5066____closed__1); -l_Lean_myMacro____x40_Init_Meta___hyg_5066____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5066____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5066____closed__2); +l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__1); +l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__2); +l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__3 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__3); +l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__4 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5020____closed__4); +l_Lean_myMacro____x40_Init_Meta___hyg_5124____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5124____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5124____closed__1); +l_Lean_myMacro____x40_Init_Meta___hyg_5124____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5124____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5124____closed__2); l_Lean_termEval__prec_____closed__1 = _init_l_Lean_termEval__prec_____closed__1(); lean_mark_persistent(l_Lean_termEval__prec_____closed__1); l_Lean_termEval__prec_____closed__2 = _init_l_Lean_termEval__prec_____closed__2(); @@ -16429,14 +17047,14 @@ l_Lean_termEval__prec__ = _init_l_Lean_termEval__prec__(); lean_mark_persistent(l_Lean_termEval__prec__); l_Lean_evalPrio___closed__1 = _init_l_Lean_evalPrio___closed__1(); lean_mark_persistent(l_Lean_evalPrio___closed__1); -l_Lean_myMacro____x40_Init_Meta___hyg_5321____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5321____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5321____closed__1); -l_Lean_myMacro____x40_Init_Meta___hyg_5321____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5321____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5321____closed__2); -l_Lean_myMacro____x40_Init_Meta___hyg_5425____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5425____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5425____closed__1); -l_Lean_myMacro____x40_Init_Meta___hyg_5425____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5425____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5425____closed__2); +l_Lean_myMacro____x40_Init_Meta___hyg_5351____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5351____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5351____closed__1); +l_Lean_myMacro____x40_Init_Meta___hyg_5351____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5351____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5351____closed__2); +l_Lean_myMacro____x40_Init_Meta___hyg_5455____closed__1 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5455____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5455____closed__1); +l_Lean_myMacro____x40_Init_Meta___hyg_5455____closed__2 = _init_l_Lean_myMacro____x40_Init_Meta___hyg_5455____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Meta___hyg_5455____closed__2); l_Lean_termEval__prio_____closed__1 = _init_l_Lean_termEval__prio_____closed__1(); lean_mark_persistent(l_Lean_termEval__prio_____closed__1); l_Lean_termEval__prio_____closed__2 = _init_l_Lean_termEval__prio_____closed__2(); @@ -16518,78 +17136,78 @@ l_Lean_Meta_Simp_instBEqConfig___closed__1 = _init_l_Lean_Meta_Simp_instBEqConfi lean_mark_persistent(l_Lean_Meta_Simp_instBEqConfig___closed__1); l_Lean_Meta_Simp_instBEqConfig = _init_l_Lean_Meta_Simp_instBEqConfig(); lean_mark_persistent(l_Lean_Meta_Simp_instBEqConfig); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__1); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__2); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__3); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__4); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__5); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__6); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__7); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__8); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__9); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__10); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__11); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__12); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__13); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__14); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__15); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__16); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__17(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__17); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__18(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__18); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__19(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__19); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__20(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__20); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__21(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__21); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__22(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__22); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__23(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__23); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__24(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__24); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__25(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__25); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__26(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__26); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__27(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__27); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__28 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__28(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__28); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__29 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__29(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__29); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__30 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__30(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__30); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__31 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__31(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__31); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__32 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__32(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__32); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__33 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__33(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__33); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__34 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__34(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__34); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__35); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6843____closed__36); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__1); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__2); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__3); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__4); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__5); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__6); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__7); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__8); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__9); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__10); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__11); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__12); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__13); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__14); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__15); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__16); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__17(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__17); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__18(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__18); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__19(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__19); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__20(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__20); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__21(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__21); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__22(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__22); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__23(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__23); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__24(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__24); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__25(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__25); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__26(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__26); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__27(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__27); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__28 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__28(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__28); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__29 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__29(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__29); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__30 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__30(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__30); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__31 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__31(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__31); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__32 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__32(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__32); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__33 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__33(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__33); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__34 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__34(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__34); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__35); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6873____closed__36); l_Lean_Meta_Simp_instReprConfig___closed__1 = _init_l_Lean_Meta_Simp_instReprConfig___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_instReprConfig___closed__1); l_Lean_Meta_Simp_instReprConfig = _init_l_Lean_Meta_Simp_instReprConfig(); diff --git a/stage0/stdlib/Init/NotationExtra.c b/stage0/stdlib/Init/NotationExtra.c index ebeb46bf8b..379510e574 100644 --- a/stage0/stdlib/Init/NotationExtra.c +++ b/stage0/stdlib/Init/NotationExtra.c @@ -16,6 +16,7 @@ extern "C" { static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__12; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2091____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__17; +static lean_object* l_Lean_unbracketedExplicitBinders___closed__4; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__8; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__4; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__5; @@ -30,6 +31,7 @@ static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__17; size_t l_USize_add(size_t, size_t); static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__8; static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__5; +static lean_object* l_Lean_unbracketedExplicitBinders___closed__1; static lean_object* l_Lean_unifConstraint___closed__1; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__31; @@ -42,11 +44,11 @@ lean_object* lean_nat_div(lean_object*, lean_object*); static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__28; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__7; static lean_object* l_termExists___x2c_____closed__5; -lean_object* l_Lean_unbracktedExplicitBinders; static lean_object* l_Lean_explicitBinders___closed__4; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__18; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__6; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__9; +static lean_object* l_Lean_unbracketedExplicitBinders___closed__2; extern lean_object* l_Lean_nullKind; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__1; static lean_object* l_Lean_unifConstraint___closed__8; @@ -60,7 +62,6 @@ static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__5; uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_explicitBinders___closed__3; -static lean_object* l_Lean_unbracktedExplicitBinders___closed__5; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__12; static lean_object* l_termExists___x2c_____closed__1; static lean_object* l_Lean_expandExplicitBinders___closed__1; @@ -96,7 +97,6 @@ static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3_ static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__38; static lean_object* l_unexpandExists___closed__3; static lean_object* l_Lean_bracketedExplicitBinders___closed__7; -static lean_object* l_Lean_unbracktedExplicitBinders___closed__4; static lean_object* l_term_u03a3_x27___x2c_____closed__3; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__31; @@ -121,7 +121,6 @@ static lean_object* l_term_u2203___x2c_____closed__7; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__26; lean_object* l_term_u2203___x2c__; static lean_object* l_tacticFunext_______closed__3; -static lean_object* l_Lean_unbracktedExplicitBinders___closed__9; static lean_object* l_Lean_bracketedExplicitBinders___closed__3; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__2; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__32; @@ -136,10 +135,10 @@ static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2091____closed__1; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__20; static lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4___closed__4; static lean_object* l_term_u03a3_x27___x2c_____closed__7; -static lean_object* l_Lean_unbracktedExplicitBinders___closed__8; lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__41; static lean_object* l_Lean_bracketedExplicitBinders___closed__5; +static lean_object* l_Lean_unbracketedExplicitBinders___closed__7; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__13; static lean_object* l_unexpandExists___closed__5; static lean_object* l_tacticFunext_______closed__5; @@ -153,6 +152,7 @@ static lean_object* l_term_u03a3___x2c_____closed__6; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__33; extern lean_object* l_Lean_nameLitKind; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__1; +static lean_object* l_Lean_unbracketedExplicitBinders___closed__3; static lean_object* l_termExists___x2c_____closed__7; static lean_object* l_term_u03a3___x2c_____closed__2; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__7; @@ -191,6 +191,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_term_u03a3_x27___x2c_____closed__5; static lean_object* l_term_u2203___x2c_____closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_unbracketedExplicitBinders___closed__9; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__7; static lean_object* l_tacticFunext_______closed__6; static lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2; @@ -203,6 +204,7 @@ lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, static lean_object* l_solve___closed__8; lean_object* l_Array_foldrMUnsafe_fold___at_myMacro____x40_Init_NotationExtra___hyg_4451____spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_unifConstraint___closed__9; +static lean_object* l_Lean_unbracketedExplicitBinders___closed__11; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__29; static lean_object* l_Lean_unifConstraintElem___closed__4; lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -229,6 +231,7 @@ static lean_object* l_term_u03a3_x27___x2c_____closed__8; static lean_object* l_termExists___x2c_____closed__8; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__3; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7; +static lean_object* l_Lean_unbracketedExplicitBinders___closed__8; static lean_object* l_Lean_unifConstraintElem___closed__1; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__11; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__7; @@ -253,13 +256,13 @@ static lean_object* l_term_u03a3_x27___x2c_____closed__6; lean_object* l___private_Init_Meta_0__Lean_quoteNameMk(lean_object*); static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__22; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__8; -static lean_object* l_Lean_unbracktedExplicitBinders___closed__10; static lean_object* l_termExists___x2c_____closed__6; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__19; +static lean_object* l_Lean_unbracketedExplicitBinders___closed__6; static lean_object* l_solve___closed__13; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__20; +static lean_object* l_Lean_unbracketedExplicitBinders___closed__13; lean_object* l_Lean_bracketedExplicitBinders; -static lean_object* l_Lean_unbracktedExplicitBinders___closed__6; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__1; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____boxed(lean_object*, lean_object*, lean_object*); @@ -303,6 +306,7 @@ static lean_object* l_term_u03a3___x2c_____closed__3; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__18; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__3; +static lean_object* l_Lean_unbracketedExplicitBinders___closed__12; lean_object* l_tacticFunext____; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____closed__6; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__2; @@ -328,7 +332,6 @@ static lean_object* l_Lean_bracketedExplicitBinders___closed__4; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__8; static lean_object* l_term___xd7_x27_____closed__4; lean_object* l_Lean_expandExplicitBindersAux_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_unbracktedExplicitBinders___closed__11; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__2(lean_object*); static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__6; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__31; @@ -366,6 +369,7 @@ static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed_ static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__1; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); +static lean_object* l_Lean_unbracketedExplicitBinders___closed__10; static lean_object* l_term_u03a3_x27___x2c_____closed__2; lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); @@ -387,7 +391,6 @@ static lean_object* l_solve___closed__3; static lean_object* l_tacticFunext_______closed__10; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451__match__1(lean_object*); lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5416____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_unbracktedExplicitBinders___closed__7; lean_object* l_Array_ofSubarray___rarg(lean_object*); static lean_object* l_solve___closed__15; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1923_(lean_object*, lean_object*, lean_object*); @@ -452,12 +455,13 @@ lean_object* l_Lean_expandExplicitBindersAux_loop___boxed(lean_object*, lean_obj static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__21; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__9; static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__23; +lean_object* l_Lean_unbracketedExplicitBinders; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__13; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__3; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__8; static lean_object* l_tacticFunext_______closed__12; +static lean_object* l_Lean_unbracketedExplicitBinders___closed__5; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__17; -static lean_object* l_Lean_unbracktedExplicitBinders___closed__13; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; static lean_object* l_Lean_binderIdent___closed__2; static lean_object* l_term___xd7____1___closed__4; @@ -470,7 +474,6 @@ static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____close static lean_object* l_solve___closed__4; static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__27; -static lean_object* l_Lean_unbracktedExplicitBinders___closed__1; static lean_object* l_term___xd7_x27_____closed__2; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__18; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5; @@ -488,7 +491,6 @@ static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed_ static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__14; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__5; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_unbracktedExplicitBinders___closed__3; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4860____lambda__3___closed__15; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__15; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4232____closed__11; @@ -512,7 +514,6 @@ static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed_ static lean_object* l_Lean_unifConstraintElem___closed__10; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2007____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1839____closed__2; -static lean_object* l_Lean_unbracktedExplicitBinders___closed__12; static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__1; static lean_object* l_term_u2203___x2c_____closed__6; static lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__16; @@ -523,7 +524,6 @@ static lean_object* l_term___xd7_x27_____closed__3; lean_object* l___private_Init_NotationExtra_0__Lean_mkHintBody___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__4; static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__2; -static lean_object* l_Lean_unbracktedExplicitBinders___closed__2; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4451____closed__4; static lean_object* l_term___xd7_x27_____closed__7; static lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2007____closed__1; @@ -1466,25 +1466,25 @@ x_1 = l_Lean_binderIdent___closed__8; return x_1; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__1() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("unbracktedExplicitBinders"); +x_1 = lean_mk_string("unbracketedExplicitBinders"); return x_1; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__2() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__2; -x_2 = l_Lean_unbracktedExplicitBinders___closed__1; +x_2 = l_Lean_unbracketedExplicitBinders___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__3() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__3() { _start: { lean_object* x_1; @@ -1492,21 +1492,21 @@ x_1 = lean_mk_string("many1"); return x_1; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__4() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_unbracktedExplicitBinders___closed__3; +x_2 = l_Lean_unbracketedExplicitBinders___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__5() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_unbracktedExplicitBinders___closed__4; +x_1 = l_Lean_unbracketedExplicitBinders___closed__4; x_2 = l_Lean_binderIdent; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1514,7 +1514,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__6() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__6() { _start: { lean_object* x_1; @@ -1522,17 +1522,17 @@ x_1 = lean_mk_string("optional"); return x_1; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__7() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_unbracktedExplicitBinders___closed__6; +x_2 = l_Lean_unbracketedExplicitBinders___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__8() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__8() { _start: { lean_object* x_1; @@ -1540,22 +1540,22 @@ x_1 = lean_mk_string(" : "); return x_1; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__9() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_unbracktedExplicitBinders___closed__8; +x_1 = l_Lean_unbracketedExplicitBinders___closed__8; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__10() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__6; -x_2 = l_Lean_unbracktedExplicitBinders___closed__9; +x_2 = l_Lean_unbracketedExplicitBinders___closed__9; x_3 = l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__20; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -1564,25 +1564,25 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__11() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_unbracktedExplicitBinders___closed__7; -x_2 = l_Lean_unbracktedExplicitBinders___closed__10; +x_1 = l_Lean_unbracketedExplicitBinders___closed__7; +x_2 = l_Lean_unbracketedExplicitBinders___closed__10; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__12() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__6; -x_2 = l_Lean_unbracktedExplicitBinders___closed__5; -x_3 = l_Lean_unbracktedExplicitBinders___closed__11; +x_2 = l_Lean_unbracketedExplicitBinders___closed__5; +x_3 = l_Lean_unbracketedExplicitBinders___closed__11; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1590,13 +1590,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__13() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_unbracktedExplicitBinders___closed__1; -x_2 = l_Lean_unbracktedExplicitBinders___closed__2; -x_3 = l_Lean_unbracktedExplicitBinders___closed__12; +x_1 = l_Lean_unbracketedExplicitBinders___closed__1; +x_2 = l_Lean_unbracketedExplicitBinders___closed__2; +x_3 = l_Lean_unbracketedExplicitBinders___closed__12; x_4 = lean_alloc_ctor(9, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1604,11 +1604,11 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_unbracktedExplicitBinders() { +static lean_object* _init_l_Lean_unbracketedExplicitBinders() { _start: { lean_object* x_1; -x_1 = l_Lean_unbracktedExplicitBinders___closed__13; +x_1 = l_Lean_unbracketedExplicitBinders___closed__13; return x_1; } } @@ -1646,7 +1646,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__6; x_2 = l_Lean_bracketedExplicitBinders___closed__3; -x_3 = l_Lean_unbracktedExplicitBinders___closed__5; +x_3 = l_Lean_unbracketedExplicitBinders___closed__5; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1660,7 +1660,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__6; x_2 = l_Lean_bracketedExplicitBinders___closed__4; -x_3 = l_Lean_unbracktedExplicitBinders___closed__9; +x_3 = l_Lean_unbracketedExplicitBinders___closed__9; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1750,7 +1750,7 @@ static lean_object* _init_l_Lean_explicitBinders___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_unbracktedExplicitBinders___closed__4; +x_1 = l_Lean_unbracketedExplicitBinders___closed__4; x_2 = l_Lean_bracketedExplicitBinders; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1764,7 +1764,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_binderIdent___closed__4; x_2 = l_Lean_explicitBinders___closed__3; -x_3 = l_Lean_unbracktedExplicitBinders; +x_3 = l_Lean_unbracketedExplicitBinders; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2507,7 +2507,7 @@ x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_2, x_8); lean_inc(x_9); x_10 = l_Lean_Syntax_getKind(x_9); -x_11 = l_Lean_unbracktedExplicitBinders___closed__2; +x_11 = l_Lean_unbracketedExplicitBinders___closed__2; x_12 = lean_name_eq(x_10, x_11); lean_dec(x_10); if (x_12 == 0) @@ -2844,7 +2844,7 @@ static lean_object* _init_l_Lean_unifConstraintElem___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_unbracktedExplicitBinders___closed__7; +x_1 = l_Lean_unbracketedExplicitBinders___closed__7; x_2 = l_Lean_unifConstraintElem___closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2970,7 +2970,7 @@ static lean_object* _init_l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_unbracktedExplicitBinders___closed__7; +x_1 = l_Lean_unbracketedExplicitBinders___closed__7; x_2 = l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__11; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5994,7 +5994,7 @@ x_156 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_157 = lean_array_push(x_156, x_155); x_158 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_159 = lean_array_push(x_157, x_158); -x_160 = l_Lean_unbracktedExplicitBinders___closed__2; +x_160 = l_Lean_unbracketedExplicitBinders___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); @@ -6046,7 +6046,7 @@ x_184 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_185 = lean_array_push(x_184, x_183); x_186 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_187 = lean_array_push(x_185, x_186); -x_188 = l_Lean_unbracktedExplicitBinders___closed__2; +x_188 = l_Lean_unbracketedExplicitBinders___closed__2; x_189 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_189, 0, x_188); lean_ctor_set(x_189, 1, x_187); @@ -6110,7 +6110,7 @@ x_217 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_218 = lean_array_push(x_217, x_216); x_219 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_220 = lean_array_push(x_218, x_219); -x_221 = l_Lean_unbracktedExplicitBinders___closed__2; +x_221 = l_Lean_unbracketedExplicitBinders___closed__2; x_222 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_222, 0, x_221); lean_ctor_set(x_222, 1, x_220); @@ -6161,7 +6161,7 @@ x_244 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__26; x_245 = lean_array_push(x_244, x_243); x_246 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_27____closed__28; x_247 = lean_array_push(x_245, x_246); -x_248 = l_Lean_unbracktedExplicitBinders___closed__2; +x_248 = l_Lean_unbracketedExplicitBinders___closed__2; x_249 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_249, 0, x_248); lean_ctor_set(x_249, 1, x_247); @@ -6192,7 +6192,7 @@ else lean_object* x_261; lean_object* x_262; uint8_t x_263; x_261 = l_Lean_Syntax_getArg(x_202, x_7); lean_dec(x_202); -x_262 = l_Lean_unbracktedExplicitBinders___closed__2; +x_262 = l_Lean_unbracketedExplicitBinders___closed__2; lean_inc(x_261); x_263 = l_Lean_Syntax_isOfKind(x_261, x_262); if (x_263 == 0) @@ -7331,7 +7331,7 @@ static lean_object* _init_l_tacticFunext_______closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_unbracktedExplicitBinders___closed__4; +x_1 = l_Lean_unbracketedExplicitBinders___closed__4; x_2 = l_tacticFunext_______closed__9; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8993,7 +8993,7 @@ static lean_object* _init_l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_unbracktedExplicitBinders___closed__7; +x_1 = l_Lean_unbracketedExplicitBinders___closed__7; x_2 = l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__16; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9085,7 +9085,7 @@ static lean_object* _init_l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_unbracktedExplicitBinders___closed__7; +x_1 = l_Lean_unbracketedExplicitBinders___closed__7; x_2 = l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__24; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10170,7 +10170,7 @@ static lean_object* _init_l_solve___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_unbracktedExplicitBinders___closed__4; +x_1 = l_Lean_unbracketedExplicitBinders___closed__4; x_2 = l_solve___closed__11; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10839,34 +10839,34 @@ l_Lean_binderIdent___closed__8 = _init_l_Lean_binderIdent___closed__8(); lean_mark_persistent(l_Lean_binderIdent___closed__8); l_Lean_binderIdent = _init_l_Lean_binderIdent(); lean_mark_persistent(l_Lean_binderIdent); -l_Lean_unbracktedExplicitBinders___closed__1 = _init_l_Lean_unbracktedExplicitBinders___closed__1(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__1); -l_Lean_unbracktedExplicitBinders___closed__2 = _init_l_Lean_unbracktedExplicitBinders___closed__2(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__2); -l_Lean_unbracktedExplicitBinders___closed__3 = _init_l_Lean_unbracktedExplicitBinders___closed__3(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__3); -l_Lean_unbracktedExplicitBinders___closed__4 = _init_l_Lean_unbracktedExplicitBinders___closed__4(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__4); -l_Lean_unbracktedExplicitBinders___closed__5 = _init_l_Lean_unbracktedExplicitBinders___closed__5(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__5); -l_Lean_unbracktedExplicitBinders___closed__6 = _init_l_Lean_unbracktedExplicitBinders___closed__6(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__6); -l_Lean_unbracktedExplicitBinders___closed__7 = _init_l_Lean_unbracktedExplicitBinders___closed__7(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__7); -l_Lean_unbracktedExplicitBinders___closed__8 = _init_l_Lean_unbracktedExplicitBinders___closed__8(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__8); -l_Lean_unbracktedExplicitBinders___closed__9 = _init_l_Lean_unbracktedExplicitBinders___closed__9(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__9); -l_Lean_unbracktedExplicitBinders___closed__10 = _init_l_Lean_unbracktedExplicitBinders___closed__10(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__10); -l_Lean_unbracktedExplicitBinders___closed__11 = _init_l_Lean_unbracktedExplicitBinders___closed__11(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__11); -l_Lean_unbracktedExplicitBinders___closed__12 = _init_l_Lean_unbracktedExplicitBinders___closed__12(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__12); -l_Lean_unbracktedExplicitBinders___closed__13 = _init_l_Lean_unbracktedExplicitBinders___closed__13(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__13); -l_Lean_unbracktedExplicitBinders = _init_l_Lean_unbracktedExplicitBinders(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders); +l_Lean_unbracketedExplicitBinders___closed__1 = _init_l_Lean_unbracketedExplicitBinders___closed__1(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__1); +l_Lean_unbracketedExplicitBinders___closed__2 = _init_l_Lean_unbracketedExplicitBinders___closed__2(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__2); +l_Lean_unbracketedExplicitBinders___closed__3 = _init_l_Lean_unbracketedExplicitBinders___closed__3(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__3); +l_Lean_unbracketedExplicitBinders___closed__4 = _init_l_Lean_unbracketedExplicitBinders___closed__4(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__4); +l_Lean_unbracketedExplicitBinders___closed__5 = _init_l_Lean_unbracketedExplicitBinders___closed__5(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__5); +l_Lean_unbracketedExplicitBinders___closed__6 = _init_l_Lean_unbracketedExplicitBinders___closed__6(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__6); +l_Lean_unbracketedExplicitBinders___closed__7 = _init_l_Lean_unbracketedExplicitBinders___closed__7(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__7); +l_Lean_unbracketedExplicitBinders___closed__8 = _init_l_Lean_unbracketedExplicitBinders___closed__8(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__8); +l_Lean_unbracketedExplicitBinders___closed__9 = _init_l_Lean_unbracketedExplicitBinders___closed__9(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__9); +l_Lean_unbracketedExplicitBinders___closed__10 = _init_l_Lean_unbracketedExplicitBinders___closed__10(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__10); +l_Lean_unbracketedExplicitBinders___closed__11 = _init_l_Lean_unbracketedExplicitBinders___closed__11(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__11); +l_Lean_unbracketedExplicitBinders___closed__12 = _init_l_Lean_unbracketedExplicitBinders___closed__12(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__12); +l_Lean_unbracketedExplicitBinders___closed__13 = _init_l_Lean_unbracketedExplicitBinders___closed__13(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders___closed__13); +l_Lean_unbracketedExplicitBinders = _init_l_Lean_unbracketedExplicitBinders(); +lean_mark_persistent(l_Lean_unbracketedExplicitBinders); l_Lean_bracketedExplicitBinders___closed__1 = _init_l_Lean_bracketedExplicitBinders___closed__1(); lean_mark_persistent(l_Lean_bracketedExplicitBinders___closed__1); l_Lean_bracketedExplicitBinders___closed__2 = _init_l_Lean_bracketedExplicitBinders___closed__2(); diff --git a/stage0/stdlib/Init/Prelude.c b/stage0/stdlib/Init/Prelude.c index 975f910847..61c19d1f1c 100644 --- a/stage0/stdlib/Init/Prelude.c +++ b/stage0/stdlib/Init/Prelude.c @@ -10060,7 +10060,7 @@ lean_object* l_Lean_mkAtomFrom(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Syntax_getHeadInfo(x_1); +x_3 = l_Lean_SourceInfo_fromRef(x_1); x_4 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_4, 0, x_3); lean_ctor_set(x_4, 1, x_2); diff --git a/stage0/stdlib/Lean/Compiler/ExportAttr.c b/stage0/stdlib/Lean/Compiler/ExportAttr.c index 4e224c23a7..82725cc41d 100644 --- a/stage0/stdlib/Lean/Compiler/ExportAttr.c +++ b/stage0/stdlib/Lean/Compiler/ExportAttr.c @@ -70,7 +70,6 @@ lean_object* lean_string_utf8_byte_size(lean_object*); static uint32_t l_Lean_exportAttr___lambda__3___closed__1; lean_object* l_Lean_exportAttr___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_84____spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_84____spec__5___lambda__2___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_84____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -116,6 +115,7 @@ static lean_object* l_Lean_exportAttr___lambda__1___closed__2; lean_object* l_Std_RBNode_find___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__2(lean_object*, lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_fold___at_Std_RBMap_size___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_84____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_exportAttr___lambda__4(lean_object*, lean_object*); @@ -262,7 +262,7 @@ lean_ctor_set(x_7, 0, x_1); lean_ctor_set(x_7, 1, x_2); lean_ctor_set(x_7, 2, x_6); x_8 = lean_unsigned_to_nat(1u); -x_9 = l___private_Init_Data_String_Basic_0__Substring_nextn(x_7, x_8, x_2); +x_9 = l_Substring_nextn(x_7, x_8, x_2); lean_dec(x_7); x_10 = lean_nat_add(x_2, x_9); lean_dec(x_9); diff --git a/stage0/stdlib/Lean/Data.c b/stage0/stdlib/Lean/Data.c index add862a645..136f5f6f8c 100644 --- a/stage0/stdlib/Lean/Data.c +++ b/stage0/stdlib/Lean/Data.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Data -// Imports: Init Lean.Data.Format Lean.Data.Json Lean.Data.JsonRpc Lean.Data.KVMap Lean.Data.LBool Lean.Data.LOption Lean.Data.Lsp Lean.Data.Name Lean.Data.Occurrences Lean.Data.OpenDecl Lean.Data.Options Lean.Data.Position Lean.Data.SMap Lean.Data.Trie Lean.Data.PrefixTree Lean.Data.NameTrie +// Imports: Init Lean.Data.Format Lean.Data.Parsec Lean.Data.Json Lean.Data.Xml Lean.Data.JsonRpc Lean.Data.KVMap Lean.Data.LBool Lean.Data.LOption Lean.Data.Lsp Lean.Data.Name Lean.Data.Occurrences Lean.Data.OpenDecl Lean.Data.Options Lean.Data.Position Lean.Data.SMap Lean.Data.Trie Lean.Data.PrefixTree Lean.Data.NameTrie #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -15,7 +15,9 @@ extern "C" { #endif lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Data_Format(lean_object*); +lean_object* initialize_Lean_Data_Parsec(lean_object*); lean_object* initialize_Lean_Data_Json(lean_object*); +lean_object* initialize_Lean_Data_Xml(lean_object*); lean_object* initialize_Lean_Data_JsonRpc(lean_object*); lean_object* initialize_Lean_Data_KVMap(lean_object*); lean_object* initialize_Lean_Data_LBool(lean_object*); @@ -41,9 +43,15 @@ lean_dec_ref(res); res = initialize_Lean_Data_Format(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Data_Parsec(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Data_Json(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Data_Xml(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Data_JsonRpc(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Data/Json/Basic.c b/stage0/stdlib/Lean/Data/Json/Basic.c index 20446273fb..ed2f22ca11 100644 --- a/stage0/stdlib/Lean/Data/Json/Basic.c +++ b/stage0/stdlib/Lean/Data/Json/Basic.c @@ -56,7 +56,6 @@ lean_object* l_Lean_Json_getArrVal_x3f(lean_object*, lean_object*); lean_object* l_Lean_Json_getObj_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_mkObj_match__1___rarg(lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_nextn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_JsonNumber_lt_match__2___rarg(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Json_getObj_x3f_match__1(lean_object*); @@ -109,6 +108,7 @@ lean_object* l_Lean_Json_getNat_x3f___boxed(lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_JsonNumber_toString___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_JsonNumber_normalize(lean_object*); lean_object* l_Int_pow(lean_object*, lean_object*); +lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_instCoeIntJson(lean_object*); uint8_t l_Lean_JsonNumber_instOrdJsonNumber(lean_object*, lean_object*); lean_object* l_Lean_JsonNumber_ltProp; @@ -3219,7 +3219,7 @@ x_33 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_33, 0, x_31); lean_ctor_set(x_33, 1, x_4); lean_ctor_set(x_33, 2, x_32); -x_34 = l___private_Init_Data_String_Basic_0__Substring_nextn(x_33, x_9, x_4); +x_34 = l_Substring_nextn(x_33, x_9, x_4); lean_dec(x_33); x_35 = lean_nat_add(x_4, x_34); lean_dec(x_34); diff --git a/stage0/stdlib/Lean/Data/Json/Parser.c b/stage0/stdlib/Lean/Data/Json/Parser.c index 52c187f66d..87ff6d4197 100644 --- a/stage0/stdlib/Lean/Data/Json/Parser.c +++ b/stage0/stdlib/Lean/Data/Json/Parser.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Data.Json.Parser -// Imports: Init Lean.Data.Json.Basic +// Imports: Init Lean.Data.Json.Basic Lean.Data.Parsec #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,18 +14,16 @@ extern "C" { #endif lean_object* l_Lean_Json_Parser_objectCore(lean_object*, lean_object*); +lean_object* l_Lean_Json_Parser_natCore_match__1(lean_object*); lean_object* lean_string_push(lean_object*, uint32_t); lean_object* l_Std_RBNode_insert___at_Lean_Json_mkObj___spec__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Quickparse_expect___closed__1; lean_object* l_Lean_JsonNumber_shiftl(lean_object*, lean_object*); -lean_object* l_Lean_Quickparse_bind_match__1(lean_object*, lean_object*); -lean_object* l_Lean_Quickparse_instMonadQuickparse___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_escapedChar(lean_object*); lean_object* l_Lean_Json_Parser_escapedChar_match__1___rarg(uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__5___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parsec_expectedEndOfInput; static lean_object* l_Lean_Json_Parser_num___lambda__5___closed__1; -lean_object* l_Lean_Quickparse_instMonadQuickparse___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Json_Parser_natNumDigits___closed__1; lean_object* l_Std_RBNode_singleton___rarg(lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_str(lean_object*); @@ -35,77 +33,53 @@ lean_object* l_Lean_Json_Parser_anyCore___boxed(lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__3(lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__5(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__9; -static lean_object* l_Lean_Quickparse_instMonadQuickparse___closed__7; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l_Lean_Quickparse_instMonadQuickparse___closed__8; lean_object* lean_nat_pow(lean_object*, lean_object*); -lean_object* l_Lean_Quickparse_unexpectedEndOfInput; -static lean_object* l_Lean_Quickparse_instMonadQuickparse___closed__1; static lean_object* l_Lean_Json_Parser_strCore___closed__1; static lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__5; -lean_object* l_Lean_Quickparse_pure(lean_object*); static lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__3; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_anyCore(lean_object*); -static lean_object* l_Lean_Quickparse_instMonadQuickparse___closed__2; lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__6; lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__2; -lean_object* l_Lean_Quickparse_expect(lean_object*, lean_object*); static lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__11; static lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__6; -lean_object* l_Lean_Quickparse_expect___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Json_Parser_num___lambda__3___closed__2; lean_object* l_Lean_Json_Parser_anyCore___rarg(lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Json_Parser_natCore_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Json_Parser_lookahead___rarg___closed__1; lean_object* l_Lean_Json_Parser_lookahead___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_String_Iterator_forward(lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_natNumDigits(lean_object*); lean_object* lean_int_mul(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_num(lean_object*); lean_object* l_Lean_Json_Parser_natNonZero_match__1(lean_object*); -lean_object* l_Lean_Quickparse_instMonadQuickparse___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__3___closed__3___boxed__const__1; -lean_object* l_String_Iterator_extract(lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Json_Parser_objectCore___closed__4; static lean_object* l_Lean_Json_Parser_num___lambda__5___closed__2; +static lean_object* l_Lean_Json_Parser_str___closed__1; lean_object* l_Lean_Json_Parser_strCore___lambda__1(lean_object*, uint32_t, lean_object*); -lean_object* l_Lean_Quickparse_instMonadQuickparse___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Quickparse_expectedEndOfInput; static lean_object* l_Lean_Json_Parser_num___closed__3; -lean_object* l_Lean_Quickparse_instMonadQuickparse; static lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__10; lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Json_Parser_any(lean_object*); lean_object* l_Lean_Json_Parser_natNonZero_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Quickparse_peek_x21_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_parse(lean_object*); -lean_object* l_Lean_Quickparse_fail___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Quickparse_skipWs(lean_object*); -lean_object* l_Lean_instInhabitedQuickparse___rarg(lean_object*); +lean_object* l_Lean_Parsec_pstring(lean_object*, lean_object*); static lean_object* l_Lean_Json_Parser_num___lambda__2___closed__1; lean_object* l_String_Iterator_next(lean_object*); -lean_object* l_Lean_Quickparse_eoi(lean_object*); static lean_object* l_Lean_Json_Parser_arrayCore___closed__1; -static lean_object* l_Lean_Quickparse_instMonadQuickparse___closed__3; -lean_object* l_Lean_Quickparse_ws(lean_object*); static lean_object* l_Lean_Json_parse___closed__2; uint8_t l_String_Iterator_hasNext(lean_object*); -lean_object* l_Lean_Quickparse_bind___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Quickparse_expectedEndOfInput___closed__1; lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__7; lean_object* lean_int_neg(lean_object*); -lean_object* l_Lean_Quickparse_fail(lean_object*); -static lean_object* l_Lean_Quickparse_instMonadQuickparse___closed__5; lean_object* l_Lean_Json_Parser_arrayCore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_strCore(lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_UInt32_decEq(uint32_t, uint32_t); -lean_object* l_Lean_Quickparse_skip(lean_object*); -lean_object* l_Lean_Quickparse_bind_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_strCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Json_Parser_objectCore___closed__2; static lean_object* l_Lean_Json_Parser_num___lambda__5___closed__3; @@ -113,44 +87,33 @@ lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__3; lean_object* l_Lean_Json_Parser_lookahead___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__3___closed__1___boxed__const__1; -static lean_object* l_Lean_instInhabitedQuickparse___rarg___closed__1; uint32_t l_String_Iterator_curr(lean_object*); -lean_object* l_Lean_Quickparse_instMonadQuickparse___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Json_Parser_num___lambda__3___closed__1; static lean_object* l_Lean_Json_Parser_num___closed__1; static lean_object* l_Lean_Json_Parser_objectCore___closed__1; lean_object* l_Lean_Json_Parser_escapedChar_match__1(lean_object*); -static lean_object* l_Lean_Quickparse_instMonadQuickparse___closed__9; -lean_object* l_Lean_Quickparse_peek_x3f(lean_object*); static lean_object* l_Lean_Json_parse___closed__1; lean_object* l_Lean_Json_Parser_lookahead(lean_object*); lean_object* l_Lean_Json_Parser_hexChar(lean_object*); -static lean_object* l_Lean_Quickparse_instMonadQuickparse___closed__4; static lean_object* l_Lean_Json_Parser_objectCore___closed__3; -lean_object* l_Lean_instInhabitedQuickparse(lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__8; static lean_object* l_Lean_Json_Parser_objectCore___closed__5; +extern lean_object* l_Lean_Parsec_unexpectedEndOfInput; lean_object* l_UInt32_decEq___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Quickparse_instMonadQuickparse___closed__10; extern lean_object* l_USize_size; -lean_object* l_Lean_Quickparse_bind(lean_object*, lean_object*); static lean_object* l_Lean_Json_Parser_escapedChar___closed__1; static lean_object* l_Lean_Json_Parser_natNonZero___closed__2; static lean_object* l_Lean_Json_Parser_natNonZero___closed__1; lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__5; lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_508____at_instDecidableEqOption___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__2(lean_object*, lean_object*, lean_object*); -lean_object* lean_string_length(lean_object*); lean_object* l_Lean_JsonNumber_shiftr(lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Json_Parser_num___lambda__3___closed__3; lean_object* l_Lean_Json_Parser_num___lambda__6___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_natCore(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Quickparse_peek_x21(lean_object*); lean_object* l_Lean_Json_parse_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Quickparse_unexpectedEndOfInput___closed__1; -static lean_object* l_Lean_Quickparse_instMonadQuickparse___closed__6; static lean_object* l_Lean_Json_Parser_num___closed__2; static lean_object* l_Lean_Json_Parser_natNumDigits___closed__2; uint8_t l_UInt32_decLe(uint32_t, uint32_t); @@ -158,916 +121,19 @@ lean_object* l_Lean_Json_parse_match__1(lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__6(lean_object*, lean_object*); static lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__2; lean_object* l_Lean_Json_Parser_natMaybeZero(lean_object*); -lean_object* l_Lean_Quickparse_next(lean_object*); lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__4; lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__1; lean_object* lean_uint32_to_nat(uint32_t); static lean_object* l_Lean_Json_Parser_hexChar___closed__1; -lean_object* l_Lean_Quickparse_peek_x21_match__1(lean_object*); lean_object* lean_nat_to_int(lean_object*); static lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__1; lean_object* l_Lean_Json_Parser_escapedChar_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_Parser_natNonZero(lean_object*); lean_object* l_Lean_Json_Parser_num___lambda__5___closed__2___boxed__const__1; static lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__7; -lean_object* l_Lean_Quickparse_pure___rarg(lean_object*, lean_object*); -uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_skipWs(lean_object*); lean_object* l_Char_ofNat(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -static lean_object* _init_l_Lean_instInhabitedQuickparse___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(""); -return x_1; -} -} -lean_object* l_Lean_instInhabitedQuickparse___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_instInhabitedQuickparse___rarg___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_instInhabitedQuickparse(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_instInhabitedQuickparse___rarg), 1, 0); -return x_2; -} -} -lean_object* l_Lean_Quickparse_skipWs(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = l_String_Iterator_hasNext(x_1); -if (x_2 == 0) -{ -return x_1; -} -else -{ -uint32_t x_3; uint32_t x_4; uint8_t x_5; -x_3 = l_String_Iterator_curr(x_1); -x_4 = 9; -x_5 = x_3 == x_4; -if (x_5 == 0) -{ -uint32_t x_6; uint8_t x_7; -x_6 = 10; -x_7 = x_3 == x_6; -if (x_7 == 0) -{ -uint32_t x_8; uint8_t x_9; -x_8 = 13; -x_9 = x_3 == x_8; -if (x_9 == 0) -{ -uint32_t x_10; uint8_t x_11; -x_10 = 32; -x_11 = x_3 == x_10; -if (x_11 == 0) -{ -return x_1; -} -else -{ -lean_object* x_12; -x_12 = l_String_Iterator_next(x_1); -x_1 = x_12; -goto _start; -} -} -else -{ -lean_object* x_14; -x_14 = l_String_Iterator_next(x_1); -x_1 = x_14; -goto _start; -} -} -else -{ -lean_object* x_16; -x_16 = l_String_Iterator_next(x_1); -x_1 = x_16; -goto _start; -} -} -else -{ -lean_object* x_18; -x_18 = l_String_Iterator_next(x_1); -x_1 = x_18; -goto _start; -} -} -} -} -lean_object* l_Lean_Quickparse_pure___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_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; -} -} -lean_object* l_Lean_Quickparse_pure(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Quickparse_pure___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Quickparse_bind_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_object* x_6; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_2(x_2, x_4, x_5); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_2); -x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -lean_dec(x_1); -x_9 = lean_apply_2(x_3, x_7, x_8); -return x_9; -} -} -} -lean_object* l_Lean_Quickparse_bind_match__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Quickparse_bind_match__1___rarg), 3, 0); -return x_3; -} -} -lean_object* l_Lean_Quickparse_bind___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_apply_1(x_1, x_3); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_4, 1); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_apply_2(x_2, x_6, x_5); -return x_7; -} -else -{ -uint8_t x_8; -lean_dec(x_2); -x_8 = !lean_is_exclusive(x_4); -if (x_8 == 0) -{ -return x_4; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_4, 0); -x_10 = lean_ctor_get(x_4, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_4); -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_9); -lean_ctor_set(x_11, 1, x_10); -return x_11; -} -} -} -} -lean_object* l_Lean_Quickparse_bind(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Quickparse_bind___rarg), 3, 0); -return x_3; -} -} -lean_object* l_Lean_Quickparse_fail___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -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_Quickparse_fail(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Quickparse_fail___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Quickparse_instMonadQuickparse___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_apply_1(x_4, x_5); -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, 1); -x_9 = lean_apply_1(x_3, x_8); -lean_ctor_set(x_6, 1, x_9); -return x_6; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_6, 0); -x_11 = lean_ctor_get(x_6, 1); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_6); -x_12 = lean_apply_1(x_3, x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_10); -lean_ctor_set(x_13, 1, x_12); -return x_13; -} -} -else -{ -uint8_t x_14; -lean_dec(x_3); -x_14 = !lean_is_exclusive(x_6); -if (x_14 == 0) -{ -return x_6; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_6, 0); -x_16 = lean_ctor_get(x_6, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_6); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -} -} -lean_object* l_Lean_Quickparse_instMonadQuickparse___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_apply_1(x_4, x_5); -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; -x_8 = lean_ctor_get(x_6, 1); -lean_dec(x_8); -lean_ctor_set(x_6, 1, x_3); -return x_6; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_6, 0); -lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_3); -return x_10; -} -} -else -{ -uint8_t x_11; -lean_dec(x_3); -x_11 = !lean_is_exclusive(x_6); -if (x_11 == 0) -{ -return x_6; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_6, 0); -x_13 = lean_ctor_get(x_6, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_6); -x_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_Lean_Quickparse_instMonadQuickparse___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_apply_1(x_3, x_5); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_apply_1(x_4, x_7); -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 1); -x_12 = lean_apply_1(x_8, x_11); -lean_ctor_set(x_9, 1, x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_9); -x_15 = lean_apply_1(x_8, x_14); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_13); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -uint8_t x_17; -lean_dec(x_8); -x_17 = !lean_is_exclusive(x_9); -if (x_17 == 0) -{ -return x_9; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_9, 0); -x_19 = lean_ctor_get(x_9, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_9); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -else -{ -uint8_t x_21; -lean_dec(x_4); -x_21 = !lean_is_exclusive(x_6); -if (x_21 == 0) -{ -return x_6; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_6, 0); -x_23 = lean_ctor_get(x_6, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_6); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -lean_object* l_Lean_Quickparse_instMonadQuickparse___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_apply_1(x_3, x_5); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_apply_1(x_4, x_7); -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; -x_11 = lean_ctor_get(x_9, 1); -lean_dec(x_11); -lean_ctor_set(x_9, 1, x_8); -return x_9; -} -else -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_9, 0); -lean_inc(x_12); -lean_dec(x_9); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_8); -return x_13; -} -} -else -{ -uint8_t x_14; -lean_dec(x_8); -x_14 = !lean_is_exclusive(x_9); -if (x_14 == 0) -{ -return x_9; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_9, 0); -x_16 = lean_ctor_get(x_9, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_9); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -} -else -{ -uint8_t x_18; -lean_dec(x_4); -x_18 = !lean_is_exclusive(x_6); -if (x_18 == 0) -{ -return x_6; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_6, 0); -x_20 = lean_ctor_get(x_6, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_6); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -} -lean_object* l_Lean_Quickparse_instMonadQuickparse___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_apply_1(x_3, x_5); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_apply_1(x_4, x_7); -return x_8; -} -else -{ -uint8_t x_9; -lean_dec(x_4); -x_9 = !lean_is_exclusive(x_6); -if (x_9 == 0) -{ -return x_6; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_6, 0); -x_11 = lean_ctor_get(x_6, 1); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_6); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} -} -} -} -static lean_object* _init_l_Lean_Quickparse_instMonadQuickparse___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Quickparse_instMonadQuickparse___lambda__1), 5, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Quickparse_instMonadQuickparse___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Quickparse_instMonadQuickparse___lambda__2), 5, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Quickparse_instMonadQuickparse___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Quickparse_instMonadQuickparse___closed__1; -x_2 = l_Lean_Quickparse_instMonadQuickparse___closed__2; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Quickparse_instMonadQuickparse___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Quickparse_pure), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Quickparse_instMonadQuickparse___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Quickparse_instMonadQuickparse___lambda__3), 5, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Quickparse_instMonadQuickparse___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Quickparse_instMonadQuickparse___lambda__4), 5, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Quickparse_instMonadQuickparse___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Quickparse_instMonadQuickparse___lambda__5), 5, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Quickparse_instMonadQuickparse___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Quickparse_instMonadQuickparse___closed__3; -x_2 = l_Lean_Quickparse_instMonadQuickparse___closed__4; -x_3 = l_Lean_Quickparse_instMonadQuickparse___closed__5; -x_4 = l_Lean_Quickparse_instMonadQuickparse___closed__6; -x_5 = l_Lean_Quickparse_instMonadQuickparse___closed__7; -x_6 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_2); -lean_ctor_set(x_6, 2, x_3); -lean_ctor_set(x_6, 3, x_4); -lean_ctor_set(x_6, 4, x_5); -return x_6; -} -} -static lean_object* _init_l_Lean_Quickparse_instMonadQuickparse___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Quickparse_bind), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Quickparse_instMonadQuickparse___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Quickparse_instMonadQuickparse___closed__8; -x_2 = l_Lean_Quickparse_instMonadQuickparse___closed__9; -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_Quickparse_instMonadQuickparse() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Quickparse_instMonadQuickparse___closed__10; -return x_1; -} -} -static lean_object* _init_l_Lean_Quickparse_unexpectedEndOfInput___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unexpected end of input"); -return x_1; -} -} -static lean_object* _init_l_Lean_Quickparse_unexpectedEndOfInput() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Quickparse_unexpectedEndOfInput___closed__1; -return x_1; -} -} -lean_object* l_Lean_Quickparse_peek_x3f(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = l_String_Iterator_hasNext(x_1); -if (x_2 == 0) -{ -lean_object* x_3; lean_object* x_4; -x_3 = lean_box(0); -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_3); -return x_4; -} -else -{ -uint32_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = l_String_Iterator_curr(x_1); -x_6 = lean_box_uint32(x_5); -x_7 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_7, 0, x_6); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_1); -lean_ctor_set(x_8, 1, x_7); -return x_8; -} -} -} -lean_object* l_Lean_Quickparse_peek_x21_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; -lean_dec(x_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -} -} -lean_object* l_Lean_Quickparse_peek_x21_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Quickparse_peek_x21_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Quickparse_peek_x21(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = l_String_Iterator_hasNext(x_1); -if (x_2 == 0) -{ -lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Quickparse_unexpectedEndOfInput; -x_4 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_3); -return x_4; -} -else -{ -uint32_t x_5; lean_object* x_6; lean_object* x_7; -x_5 = l_String_Iterator_curr(x_1); -x_6 = lean_box_uint32(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_1); -lean_ctor_set(x_7, 1, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Quickparse_skip(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_String_Iterator_next(x_1); -x_3 = lean_box(0); -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_3); -return x_4; -} -} -lean_object* l_Lean_Quickparse_next(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = l_String_Iterator_hasNext(x_1); -if (x_2 == 0) -{ -lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Quickparse_unexpectedEndOfInput; -x_4 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_3); -return x_4; -} -else -{ -uint32_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = l_String_Iterator_curr(x_1); -x_6 = l_String_Iterator_next(x_1); -x_7 = lean_box_uint32(x_5); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_6); -lean_ctor_set(x_8, 1, x_7); -return x_8; -} -} -} -static lean_object* _init_l_Lean_Quickparse_expect___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("expected: "); -return x_1; -} -} -lean_object* l_Lean_Quickparse_expect(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; -x_3 = lean_string_length(x_1); -lean_inc(x_2); -x_4 = l_String_Iterator_forward(x_2, x_3); -x_5 = l_String_Iterator_extract(x_2, x_4); -x_6 = lean_string_dec_eq(x_5, x_1); -lean_dec(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_4); -x_7 = l_Lean_Quickparse_expect___closed__1; -x_8 = lean_string_append(x_7, x_1); -x_9 = l_Lean_instInhabitedQuickparse___rarg___closed__1; -x_10 = lean_string_append(x_8, x_9); -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_2); -lean_ctor_set(x_11, 1, x_10); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; -lean_dec(x_2); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_12); -return x_13; -} -} -} -lean_object* l_Lean_Quickparse_expect___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Quickparse_expect(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_Quickparse_ws(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Quickparse_skipWs(x_1); -x_3 = lean_box(0); -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Quickparse_expectedEndOfInput___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("expected end of input"); -return x_1; -} -} -static lean_object* _init_l_Lean_Quickparse_expectedEndOfInput() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Quickparse_expectedEndOfInput___closed__1; -return x_1; -} -} -lean_object* l_Lean_Quickparse_eoi(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = l_String_Iterator_hasNext(x_1); -if (x_2 == 0) -{ -lean_object* x_3; lean_object* x_4; -x_3 = lean_box(0); -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_3); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Quickparse_expectedEndOfInput; -x_6 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_5); -return x_6; -} -} -} static lean_object* _init_l_Lean_Json_Parser_hexChar___closed__1() { _start: { @@ -1084,7 +150,7 @@ x_2 = l_String_Iterator_hasNext(x_1); if (x_2 == 0) { lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Quickparse_unexpectedEndOfInput; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; x_4 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_3); @@ -1092,11 +158,13 @@ return x_4; } else { -uint32_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_21; uint32_t x_33; uint8_t x_34; -x_5 = l_String_Iterator_curr(x_1); -x_6 = l_String_Iterator_next(x_1); +lean_object* x_5; uint32_t x_6; lean_object* x_7; lean_object* x_21; uint32_t x_33; uint8_t x_34; +lean_inc(x_1); +x_5 = l_String_Iterator_next(x_1); +x_6 = l_String_Iterator_curr(x_1); +lean_dec(x_1); x_33 = 48; -x_34 = x_33 <= x_5; +x_34 = x_33 <= x_6; if (x_34 == 0) { lean_object* x_35; @@ -1108,7 +176,7 @@ else { uint32_t x_36; uint8_t x_37; x_36 = 57; -x_37 = x_5 <= x_36; +x_37 = x_6 <= x_36; if (x_37 == 0) { lean_object* x_38; @@ -1119,12 +187,12 @@ goto block_32; else { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_39 = lean_uint32_to_nat(x_5); +x_39 = lean_uint32_to_nat(x_6); x_40 = lean_unsigned_to_nat(48u); x_41 = lean_nat_sub(x_39, x_40); lean_dec(x_39); x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_6); +lean_ctor_set(x_42, 0, x_5); lean_ctor_set(x_42, 1, x_41); return x_42; } @@ -1134,13 +202,13 @@ block_20: uint32_t x_8; uint8_t x_9; lean_dec(x_7); x_8 = 65; -x_9 = x_8 <= x_5; +x_9 = x_8 <= x_6; if (x_9 == 0) { lean_object* x_10; lean_object* x_11; x_10 = l_Lean_Json_Parser_hexChar___closed__1; x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_6); +lean_ctor_set(x_11, 0, x_5); lean_ctor_set(x_11, 1, x_10); return x_11; } @@ -1148,25 +216,25 @@ else { uint32_t x_12; uint8_t x_13; x_12 = 70; -x_13 = x_5 <= x_12; +x_13 = x_6 <= x_12; if (x_13 == 0) { lean_object* x_14; lean_object* x_15; x_14 = l_Lean_Json_Parser_hexChar___closed__1; x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_6); +lean_ctor_set(x_15, 0, x_5); lean_ctor_set(x_15, 1, x_14); return x_15; } else { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_uint32_to_nat(x_5); +x_16 = lean_uint32_to_nat(x_6); x_17 = lean_unsigned_to_nat(65u); x_18 = lean_nat_sub(x_16, x_17); lean_dec(x_16); x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_6); +lean_ctor_set(x_19, 0, x_5); lean_ctor_set(x_19, 1, x_18); return x_19; } @@ -1177,7 +245,7 @@ block_32: uint32_t x_22; uint8_t x_23; lean_dec(x_21); x_22 = 97; -x_23 = x_22 <= x_5; +x_23 = x_22 <= x_6; if (x_23 == 0) { lean_object* x_24; @@ -1189,7 +257,7 @@ else { uint32_t x_25; uint8_t x_26; x_25 = 102; -x_26 = x_5 <= x_25; +x_26 = x_6 <= x_25; if (x_26 == 0) { lean_object* x_27; @@ -1200,12 +268,12 @@ goto block_20; else { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = lean_uint32_to_nat(x_5); +x_28 = lean_uint32_to_nat(x_6); x_29 = lean_unsigned_to_nat(97u); x_30 = lean_nat_sub(x_28, x_29); lean_dec(x_28); x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_6); +lean_ctor_set(x_31, 0, x_5); lean_ctor_set(x_31, 1, x_30); return x_31; } @@ -1500,7 +568,7 @@ x_141 = l_String_Iterator_hasNext(x_1); if (x_141 == 0) { lean_object* x_142; lean_object* x_143; -x_142 = l_Lean_Quickparse_unexpectedEndOfInput; +x_142 = l_Lean_Parsec_unexpectedEndOfInput; x_143 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_143, 0, x_1); lean_ctor_set(x_143, 1, x_142); @@ -1508,80 +576,84 @@ return x_143; } else { -uint32_t x_144; lean_object* x_145; uint32_t x_146; uint8_t x_147; -x_144 = l_String_Iterator_curr(x_1); -x_145 = l_String_Iterator_next(x_1); +lean_object* x_144; uint32_t x_145; uint32_t x_146; uint8_t x_147; +lean_inc(x_1); +x_144 = l_String_Iterator_next(x_1); +x_145 = l_String_Iterator_curr(x_1); +lean_dec(x_1); x_146 = 92; -x_147 = x_144 == x_146; +x_147 = x_145 == x_146; if (x_147 == 0) { uint32_t x_148; uint8_t x_149; x_148 = 34; -x_149 = x_144 == x_148; +x_149 = x_145 == x_148; if (x_149 == 0) { uint32_t x_150; uint8_t x_151; x_150 = 47; -x_151 = x_144 == x_150; +x_151 = x_145 == x_150; if (x_151 == 0) { uint32_t x_152; uint8_t x_153; x_152 = 98; -x_153 = x_144 == x_152; +x_153 = x_145 == x_152; if (x_153 == 0) { uint32_t x_154; uint8_t x_155; x_154 = 102; -x_155 = x_144 == x_154; +x_155 = x_145 == x_154; if (x_155 == 0) { uint32_t x_156; uint8_t x_157; x_156 = 110; -x_157 = x_144 == x_156; +x_157 = x_145 == x_156; if (x_157 == 0) { uint32_t x_158; uint8_t x_159; x_158 = 114; -x_159 = x_144 == x_158; +x_159 = x_145 == x_158; if (x_159 == 0) { uint32_t x_160; uint8_t x_161; x_160 = 116; -x_161 = x_144 == x_160; +x_161 = x_145 == x_160; if (x_161 == 0) { uint32_t x_162; uint8_t x_163; x_162 = 117; -x_163 = x_144 == x_162; +x_163 = x_145 == x_162; if (x_163 == 0) { lean_object* x_164; lean_object* x_165; x_164 = l_Lean_Json_Parser_escapedChar___closed__1; x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_145); +lean_ctor_set(x_165, 0, x_144); lean_ctor_set(x_165, 1, x_164); return x_165; } else { uint8_t x_166; -x_166 = l_String_Iterator_hasNext(x_145); +x_166 = l_String_Iterator_hasNext(x_144); if (x_166 == 0) { lean_object* x_167; lean_object* x_168; -x_167 = l_Lean_Quickparse_unexpectedEndOfInput; +x_167 = l_Lean_Parsec_unexpectedEndOfInput; x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_145); +lean_ctor_set(x_168, 0, x_144); lean_ctor_set(x_168, 1, x_167); return x_168; } else { -uint32_t x_169; lean_object* x_170; lean_object* x_171; lean_object* x_184; uint32_t x_194; uint8_t x_195; -x_169 = l_String_Iterator_curr(x_145); -x_170 = l_String_Iterator_next(x_145); +lean_object* x_169; uint32_t x_170; lean_object* x_171; lean_object* x_184; uint32_t x_194; uint8_t x_195; +lean_inc(x_144); +x_169 = l_String_Iterator_next(x_144); +x_170 = l_String_Iterator_curr(x_144); +lean_dec(x_144); x_194 = 48; -x_195 = x_194 <= x_169; +x_195 = x_194 <= x_170; if (x_195 == 0) { lean_object* x_196; @@ -1593,7 +665,7 @@ else { uint32_t x_197; uint8_t x_198; x_197 = 57; -x_198 = x_169 <= x_197; +x_198 = x_170 <= x_197; if (x_198 == 0) { lean_object* x_199; @@ -1604,11 +676,11 @@ goto block_193; else { lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_200 = lean_uint32_to_nat(x_169); +x_200 = lean_uint32_to_nat(x_170); x_201 = lean_unsigned_to_nat(48u); x_202 = lean_nat_sub(x_200, x_201); lean_dec(x_200); -x_2 = x_170; +x_2 = x_169; x_3 = x_202; goto block_140; } @@ -1618,13 +690,13 @@ block_183: uint32_t x_172; uint8_t x_173; lean_dec(x_171); x_172 = 65; -x_173 = x_172 <= x_169; +x_173 = x_172 <= x_170; if (x_173 == 0) { lean_object* x_174; lean_object* x_175; x_174 = l_Lean_Json_Parser_hexChar___closed__1; x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_170); +lean_ctor_set(x_175, 0, x_169); lean_ctor_set(x_175, 1, x_174); return x_175; } @@ -1632,24 +704,24 @@ else { uint32_t x_176; uint8_t x_177; x_176 = 70; -x_177 = x_169 <= x_176; +x_177 = x_170 <= x_176; if (x_177 == 0) { lean_object* x_178; lean_object* x_179; x_178 = l_Lean_Json_Parser_hexChar___closed__1; x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_170); +lean_ctor_set(x_179, 0, x_169); lean_ctor_set(x_179, 1, x_178); return x_179; } else { lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_180 = lean_uint32_to_nat(x_169); +x_180 = lean_uint32_to_nat(x_170); x_181 = lean_unsigned_to_nat(65u); x_182 = lean_nat_sub(x_180, x_181); lean_dec(x_180); -x_2 = x_170; +x_2 = x_169; x_3 = x_182; goto block_140; } @@ -1660,7 +732,7 @@ block_193: uint32_t x_185; uint8_t x_186; lean_dec(x_184); x_185 = 97; -x_186 = x_185 <= x_169; +x_186 = x_185 <= x_170; if (x_186 == 0) { lean_object* x_187; @@ -1671,7 +743,7 @@ goto block_183; else { uint8_t x_188; -x_188 = x_169 <= x_154; +x_188 = x_170 <= x_154; if (x_188 == 0) { lean_object* x_189; @@ -1682,11 +754,11 @@ goto block_183; else { lean_object* x_190; lean_object* x_191; lean_object* x_192; -x_190 = lean_uint32_to_nat(x_169); +x_190 = lean_uint32_to_nat(x_170); x_191 = lean_unsigned_to_nat(97u); x_192 = lean_nat_sub(x_190, x_191); lean_dec(x_190); -x_2 = x_170; +x_2 = x_169; x_3 = x_192; goto block_140; } @@ -1700,7 +772,7 @@ else lean_object* x_203; lean_object* x_204; x_203 = l_Lean_Json_Parser_escapedChar___boxed__const__1; x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_145); +lean_ctor_set(x_204, 0, x_144); lean_ctor_set(x_204, 1, x_203); return x_204; } @@ -1710,7 +782,7 @@ else lean_object* x_205; lean_object* x_206; x_205 = l_Lean_Json_Parser_escapedChar___boxed__const__2; x_206 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_206, 0, x_145); +lean_ctor_set(x_206, 0, x_144); lean_ctor_set(x_206, 1, x_205); return x_206; } @@ -1720,7 +792,7 @@ else lean_object* x_207; lean_object* x_208; x_207 = l_Lean_Json_Parser_escapedChar___boxed__const__3; x_208 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_208, 0, x_145); +lean_ctor_set(x_208, 0, x_144); lean_ctor_set(x_208, 1, x_207); return x_208; } @@ -1730,7 +802,7 @@ else lean_object* x_209; lean_object* x_210; x_209 = l_Lean_Json_Parser_escapedChar___boxed__const__4; x_210 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_210, 0, x_145); +lean_ctor_set(x_210, 0, x_144); lean_ctor_set(x_210, 1, x_209); return x_210; } @@ -1740,7 +812,7 @@ else lean_object* x_211; lean_object* x_212; x_211 = l_Lean_Json_Parser_escapedChar___boxed__const__5; x_212 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_212, 0, x_145); +lean_ctor_set(x_212, 0, x_144); lean_ctor_set(x_212, 1, x_211); return x_212; } @@ -1750,7 +822,7 @@ else lean_object* x_213; lean_object* x_214; x_213 = l_Lean_Json_Parser_escapedChar___boxed__const__6; x_214 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_214, 0, x_145); +lean_ctor_set(x_214, 0, x_144); lean_ctor_set(x_214, 1, x_213); return x_214; } @@ -1760,7 +832,7 @@ else lean_object* x_215; lean_object* x_216; x_215 = l_Lean_Json_Parser_escapedChar___boxed__const__7; x_216 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_216, 0, x_145); +lean_ctor_set(x_216, 0, x_144); lean_ctor_set(x_216, 1, x_215); return x_216; } @@ -1770,7 +842,7 @@ else lean_object* x_217; lean_object* x_218; x_217 = l_Lean_Json_Parser_escapedChar___boxed__const__8; x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_145); +lean_ctor_set(x_218, 0, x_144); lean_ctor_set(x_218, 1, x_217); return x_218; } @@ -1783,7 +855,7 @@ if (x_102 == 0) { lean_object* x_103; lean_object* x_104; lean_dec(x_3); -x_103 = l_Lean_Quickparse_unexpectedEndOfInput; +x_103 = l_Lean_Parsec_unexpectedEndOfInput; x_104 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_104, 0, x_2); lean_ctor_set(x_104, 1, x_103); @@ -1791,11 +863,13 @@ return x_104; } else { -uint32_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_120; uint32_t x_131; uint8_t x_132; -x_105 = l_String_Iterator_curr(x_2); -x_106 = l_String_Iterator_next(x_2); +lean_object* x_105; uint32_t x_106; lean_object* x_107; lean_object* x_120; uint32_t x_131; uint8_t x_132; +lean_inc(x_2); +x_105 = l_String_Iterator_next(x_2); +x_106 = l_String_Iterator_curr(x_2); +lean_dec(x_2); x_131 = 48; -x_132 = x_131 <= x_105; +x_132 = x_131 <= x_106; if (x_132 == 0) { lean_object* x_133; @@ -1807,7 +881,7 @@ else { uint32_t x_134; uint8_t x_135; x_134 = 57; -x_135 = x_105 <= x_134; +x_135 = x_106 <= x_134; if (x_135 == 0) { lean_object* x_136; @@ -1818,11 +892,11 @@ goto block_130; else { lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_uint32_to_nat(x_105); +x_137 = lean_uint32_to_nat(x_106); x_138 = lean_unsigned_to_nat(48u); x_139 = lean_nat_sub(x_137, x_138); lean_dec(x_137); -x_4 = x_106; +x_4 = x_105; x_5 = x_139; goto block_101; } @@ -1832,14 +906,14 @@ block_119: uint32_t x_108; uint8_t x_109; lean_dec(x_107); x_108 = 65; -x_109 = x_108 <= x_105; +x_109 = x_108 <= x_106; if (x_109 == 0) { lean_object* x_110; lean_object* x_111; lean_dec(x_3); x_110 = l_Lean_Json_Parser_hexChar___closed__1; x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_106); +lean_ctor_set(x_111, 0, x_105); lean_ctor_set(x_111, 1, x_110); return x_111; } @@ -1847,25 +921,25 @@ else { uint32_t x_112; uint8_t x_113; x_112 = 70; -x_113 = x_105 <= x_112; +x_113 = x_106 <= x_112; if (x_113 == 0) { lean_object* x_114; lean_object* x_115; lean_dec(x_3); x_114 = l_Lean_Json_Parser_hexChar___closed__1; x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_106); +lean_ctor_set(x_115, 0, x_105); lean_ctor_set(x_115, 1, x_114); return x_115; } else { lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_uint32_to_nat(x_105); +x_116 = lean_uint32_to_nat(x_106); x_117 = lean_unsigned_to_nat(65u); x_118 = lean_nat_sub(x_116, x_117); lean_dec(x_116); -x_4 = x_106; +x_4 = x_105; x_5 = x_118; goto block_101; } @@ -1876,7 +950,7 @@ block_130: uint32_t x_121; uint8_t x_122; lean_dec(x_120); x_121 = 97; -x_122 = x_121 <= x_105; +x_122 = x_121 <= x_106; if (x_122 == 0) { lean_object* x_123; @@ -1888,7 +962,7 @@ else { uint32_t x_124; uint8_t x_125; x_124 = 102; -x_125 = x_105 <= x_124; +x_125 = x_106 <= x_124; if (x_125 == 0) { lean_object* x_126; @@ -1899,11 +973,11 @@ goto block_119; else { lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_uint32_to_nat(x_105); +x_127 = lean_uint32_to_nat(x_106); x_128 = lean_unsigned_to_nat(97u); x_129 = lean_nat_sub(x_127, x_128); lean_dec(x_127); -x_4 = x_106; +x_4 = x_105; x_5 = x_129; goto block_101; } @@ -1919,7 +993,7 @@ if (x_63 == 0) lean_object* x_64; lean_object* x_65; lean_dec(x_5); lean_dec(x_3); -x_64 = l_Lean_Quickparse_unexpectedEndOfInput; +x_64 = l_Lean_Parsec_unexpectedEndOfInput; x_65 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_65, 0, x_4); lean_ctor_set(x_65, 1, x_64); @@ -1927,11 +1001,13 @@ return x_65; } else { -uint32_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_81; uint32_t x_92; uint8_t x_93; -x_66 = l_String_Iterator_curr(x_4); -x_67 = l_String_Iterator_next(x_4); +lean_object* x_66; uint32_t x_67; lean_object* x_68; lean_object* x_81; uint32_t x_92; uint8_t x_93; +lean_inc(x_4); +x_66 = l_String_Iterator_next(x_4); +x_67 = l_String_Iterator_curr(x_4); +lean_dec(x_4); x_92 = 48; -x_93 = x_92 <= x_66; +x_93 = x_92 <= x_67; if (x_93 == 0) { lean_object* x_94; @@ -1943,7 +1019,7 @@ else { uint32_t x_95; uint8_t x_96; x_95 = 57; -x_96 = x_66 <= x_95; +x_96 = x_67 <= x_95; if (x_96 == 0) { lean_object* x_97; @@ -1954,11 +1030,11 @@ goto block_91; else { lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_uint32_to_nat(x_66); +x_98 = lean_uint32_to_nat(x_67); x_99 = lean_unsigned_to_nat(48u); x_100 = lean_nat_sub(x_98, x_99); lean_dec(x_98); -x_6 = x_67; +x_6 = x_66; x_7 = x_100; goto block_62; } @@ -1968,7 +1044,7 @@ block_80: uint32_t x_69; uint8_t x_70; lean_dec(x_68); x_69 = 65; -x_70 = x_69 <= x_66; +x_70 = x_69 <= x_67; if (x_70 == 0) { lean_object* x_71; lean_object* x_72; @@ -1976,7 +1052,7 @@ lean_dec(x_5); lean_dec(x_3); x_71 = l_Lean_Json_Parser_hexChar___closed__1; x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_67); +lean_ctor_set(x_72, 0, x_66); lean_ctor_set(x_72, 1, x_71); return x_72; } @@ -1984,7 +1060,7 @@ else { uint32_t x_73; uint8_t x_74; x_73 = 70; -x_74 = x_66 <= x_73; +x_74 = x_67 <= x_73; if (x_74 == 0) { lean_object* x_75; lean_object* x_76; @@ -1992,18 +1068,18 @@ lean_dec(x_5); lean_dec(x_3); x_75 = l_Lean_Json_Parser_hexChar___closed__1; x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_67); +lean_ctor_set(x_76, 0, x_66); lean_ctor_set(x_76, 1, x_75); return x_76; } else { lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_uint32_to_nat(x_66); +x_77 = lean_uint32_to_nat(x_67); x_78 = lean_unsigned_to_nat(65u); x_79 = lean_nat_sub(x_77, x_78); lean_dec(x_77); -x_6 = x_67; +x_6 = x_66; x_7 = x_79; goto block_62; } @@ -2014,7 +1090,7 @@ block_91: uint32_t x_82; uint8_t x_83; lean_dec(x_81); x_82 = 97; -x_83 = x_82 <= x_66; +x_83 = x_82 <= x_67; if (x_83 == 0) { lean_object* x_84; @@ -2026,7 +1102,7 @@ else { uint32_t x_85; uint8_t x_86; x_85 = 102; -x_86 = x_66 <= x_85; +x_86 = x_67 <= x_85; if (x_86 == 0) { lean_object* x_87; @@ -2037,11 +1113,11 @@ goto block_80; else { lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_uint32_to_nat(x_66); +x_88 = lean_uint32_to_nat(x_67); x_89 = lean_unsigned_to_nat(97u); x_90 = lean_nat_sub(x_88, x_89); lean_dec(x_88); -x_6 = x_67; +x_6 = x_66; x_7 = x_90; goto block_62; } @@ -2058,7 +1134,7 @@ lean_object* x_25; lean_object* x_26; lean_dec(x_7); lean_dec(x_5); lean_dec(x_3); -x_25 = l_Lean_Quickparse_unexpectedEndOfInput; +x_25 = l_Lean_Parsec_unexpectedEndOfInput; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_6); lean_ctor_set(x_26, 1, x_25); @@ -2066,11 +1142,13 @@ return x_26; } else { -uint32_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_42; uint32_t x_53; uint8_t x_54; -x_27 = l_String_Iterator_curr(x_6); -x_28 = l_String_Iterator_next(x_6); +lean_object* x_27; uint32_t x_28; lean_object* x_29; lean_object* x_42; uint32_t x_53; uint8_t x_54; +lean_inc(x_6); +x_27 = l_String_Iterator_next(x_6); +x_28 = l_String_Iterator_curr(x_6); +lean_dec(x_6); x_53 = 48; -x_54 = x_53 <= x_27; +x_54 = x_53 <= x_28; if (x_54 == 0) { lean_object* x_55; @@ -2082,7 +1160,7 @@ else { uint32_t x_56; uint8_t x_57; x_56 = 57; -x_57 = x_27 <= x_56; +x_57 = x_28 <= x_56; if (x_57 == 0) { lean_object* x_58; @@ -2093,11 +1171,11 @@ goto block_52; else { lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_uint32_to_nat(x_27); +x_59 = lean_uint32_to_nat(x_28); x_60 = lean_unsigned_to_nat(48u); x_61 = lean_nat_sub(x_59, x_60); lean_dec(x_59); -x_8 = x_28; +x_8 = x_27; x_9 = x_61; goto block_23; } @@ -2107,7 +1185,7 @@ block_41: uint32_t x_30; uint8_t x_31; lean_dec(x_29); x_30 = 65; -x_31 = x_30 <= x_27; +x_31 = x_30 <= x_28; if (x_31 == 0) { lean_object* x_32; lean_object* x_33; @@ -2116,7 +1194,7 @@ lean_dec(x_5); lean_dec(x_3); x_32 = l_Lean_Json_Parser_hexChar___closed__1; x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_28); +lean_ctor_set(x_33, 0, x_27); lean_ctor_set(x_33, 1, x_32); return x_33; } @@ -2124,7 +1202,7 @@ else { uint32_t x_34; uint8_t x_35; x_34 = 70; -x_35 = x_27 <= x_34; +x_35 = x_28 <= x_34; if (x_35 == 0) { lean_object* x_36; lean_object* x_37; @@ -2133,18 +1211,18 @@ lean_dec(x_5); lean_dec(x_3); x_36 = l_Lean_Json_Parser_hexChar___closed__1; x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_28); +lean_ctor_set(x_37, 0, x_27); lean_ctor_set(x_37, 1, x_36); return x_37; } else { lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_uint32_to_nat(x_27); +x_38 = lean_uint32_to_nat(x_28); x_39 = lean_unsigned_to_nat(65u); x_40 = lean_nat_sub(x_38, x_39); lean_dec(x_38); -x_8 = x_28; +x_8 = x_27; x_9 = x_40; goto block_23; } @@ -2155,7 +1233,7 @@ block_52: uint32_t x_43; uint8_t x_44; lean_dec(x_42); x_43 = 97; -x_44 = x_43 <= x_27; +x_44 = x_43 <= x_28; if (x_44 == 0) { lean_object* x_45; @@ -2167,7 +1245,7 @@ else { uint32_t x_46; uint8_t x_47; x_46 = 102; -x_47 = x_27 <= x_46; +x_47 = x_28 <= x_46; if (x_47 == 0) { lean_object* x_48; @@ -2178,11 +1256,11 @@ goto block_41; else { lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_uint32_to_nat(x_27); +x_49 = lean_uint32_to_nat(x_28); x_50 = lean_unsigned_to_nat(97u); x_51 = lean_nat_sub(x_49, x_50); lean_dec(x_49); -x_8 = x_28; +x_8 = x_27; x_9 = x_51; goto block_23; } @@ -2251,7 +1329,7 @@ if (x_3 == 0) { lean_object* x_4; lean_object* x_5; lean_dec(x_1); -x_4 = l_Lean_Quickparse_unexpectedEndOfInput; +x_4 = l_Lean_Parsec_unexpectedEndOfInput; x_5 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_5, 0, x_2); lean_ctor_set(x_5, 1, x_4); @@ -2371,15 +1449,53 @@ x_5 = l_Lean_Json_Parser_strCore___lambda__1(x_1, x_4, x_3); return x_5; } } +static lean_object* _init_l_Lean_Json_Parser_str___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} lean_object* l_Lean_Json_Parser_str(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_instInhabitedQuickparse___rarg___closed__1; +x_2 = l_Lean_Json_Parser_str___closed__1; x_3 = l_Lean_Json_Parser_strCore(x_2, x_1); return x_3; } } +lean_object* l_Lean_Json_Parser_natCore_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Json_Parser_natCore_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Json_Parser_natCore_match__1___rarg), 3, 0); +return x_2; +} +} lean_object* l_Lean_Json_Parser_natCore(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2502,7 +1618,7 @@ if (x_4 == 0) { lean_object* x_5; lean_object* x_6; lean_dec(x_2); -x_5 = l_Lean_Quickparse_unexpectedEndOfInput; +x_5 = l_Lean_Parsec_unexpectedEndOfInput; x_6 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_6, 0, x_3); lean_ctor_set(x_6, 1, x_5); @@ -2602,7 +1718,7 @@ x_2 = l_String_Iterator_hasNext(x_1); if (x_2 == 0) { lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Quickparse_unexpectedEndOfInput; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; x_4 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_3); @@ -2700,7 +1816,7 @@ x_2 = l_String_Iterator_hasNext(x_1); if (x_2 == 0) { lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Quickparse_unexpectedEndOfInput; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; x_4 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_3); @@ -2754,7 +1870,7 @@ x_2 = l_String_Iterator_hasNext(x_1); if (x_2 == 0) { lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Quickparse_unexpectedEndOfInput; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; x_4 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_3); @@ -2854,7 +1970,7 @@ if (x_4 == 0) { lean_object* x_5; lean_object* x_6; lean_dec(x_1); -x_5 = l_Lean_Quickparse_unexpectedEndOfInput; +x_5 = l_Lean_Parsec_unexpectedEndOfInput; x_6 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_6, 0, x_3); lean_ctor_set(x_6, 1, x_5); @@ -3070,7 +2186,7 @@ if (x_15 == 0) { lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_16 = l_Lean_Quickparse_unexpectedEndOfInput; +x_16 = l_Lean_Parsec_unexpectedEndOfInput; x_17 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_17, 0, x_14); lean_ctor_set(x_17, 1, x_16); @@ -3181,7 +2297,7 @@ if (x_50 == 0) { lean_object* x_51; lean_object* x_52; lean_dec(x_1); -x_51 = l_Lean_Quickparse_unexpectedEndOfInput; +x_51 = l_Lean_Parsec_unexpectedEndOfInput; x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_49); lean_ctor_set(x_52, 1, x_51); @@ -3207,7 +2323,7 @@ if (x_55 == 0) { lean_object* x_56; lean_object* x_57; lean_dec(x_1); -x_56 = l_Lean_Quickparse_unexpectedEndOfInput; +x_56 = l_Lean_Parsec_unexpectedEndOfInput; x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_54); lean_ctor_set(x_57, 1, x_56); @@ -3335,7 +2451,7 @@ if (x_17 == 0) { lean_object* x_18; lean_object* x_19; lean_dec(x_2); -x_18 = l_Lean_Quickparse_unexpectedEndOfInput; +x_18 = l_Lean_Parsec_unexpectedEndOfInput; x_19 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_19, 0, x_16); lean_ctor_set(x_19, 1, x_18); @@ -3464,7 +2580,7 @@ x_3 = l_String_Iterator_hasNext(x_2); if (x_3 == 0) { lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_Quickparse_unexpectedEndOfInput; +x_4 = l_Lean_Parsec_unexpectedEndOfInput; x_5 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_5, 0, x_2); lean_ctor_set(x_5, 1, x_4); @@ -3567,7 +2683,7 @@ x_2 = l_String_Iterator_hasNext(x_1); if (x_2 == 0) { lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Quickparse_unexpectedEndOfInput; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; x_4 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_3); @@ -3678,23 +2794,25 @@ if (x_10 == 0) lean_object* x_11; lean_dec(x_9); lean_dec(x_1); -x_11 = l_Lean_Quickparse_unexpectedEndOfInput; +x_11 = l_Lean_Parsec_unexpectedEndOfInput; lean_ctor_set_tag(x_5, 1); lean_ctor_set(x_5, 1, x_11); return x_5; } else { -uint32_t x_12; lean_object* x_13; uint32_t x_14; uint8_t x_15; -x_12 = l_String_Iterator_curr(x_7); -x_13 = l_String_Iterator_next(x_7); +lean_object* x_12; uint32_t x_13; uint32_t x_14; uint8_t x_15; +lean_inc(x_7); +x_12 = l_String_Iterator_next(x_7); +x_13 = l_String_Iterator_curr(x_7); +lean_dec(x_7); x_14 = 93; -x_15 = x_12 == x_14; +x_15 = x_13 == x_14; if (x_15 == 0) { uint32_t x_16; uint8_t x_17; x_16 = 44; -x_17 = x_12 == x_16; +x_17 = x_13 == x_16; if (x_17 == 0) { lean_object* x_18; @@ -3703,14 +2821,14 @@ lean_dec(x_1); x_18 = l_Lean_Json_Parser_arrayCore___closed__1; lean_ctor_set_tag(x_5, 1); lean_ctor_set(x_5, 1, x_18); -lean_ctor_set(x_5, 0, x_13); +lean_ctor_set(x_5, 0, x_12); return x_5; } else { lean_object* x_19; lean_free_object(x_5); -x_19 = l_Lean_Quickparse_skipWs(x_13); +x_19 = l_Lean_Parsec_skipWs(x_12); x_2 = x_9; x_3 = x_19; goto _start; @@ -3720,7 +2838,7 @@ else { lean_object* x_21; lean_dec(x_1); -x_21 = l_Lean_Quickparse_skipWs(x_13); +x_21 = l_Lean_Parsec_skipWs(x_12); lean_ctor_set(x_5, 1, x_9); lean_ctor_set(x_5, 0, x_21); return x_5; @@ -3742,7 +2860,7 @@ if (x_25 == 0) lean_object* x_26; lean_object* x_27; lean_dec(x_24); lean_dec(x_1); -x_26 = l_Lean_Quickparse_unexpectedEndOfInput; +x_26 = l_Lean_Parsec_unexpectedEndOfInput; x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_22); lean_ctor_set(x_27, 1, x_26); @@ -3750,16 +2868,18 @@ return x_27; } else { -uint32_t x_28; lean_object* x_29; uint32_t x_30; uint8_t x_31; -x_28 = l_String_Iterator_curr(x_22); -x_29 = l_String_Iterator_next(x_22); +lean_object* x_28; uint32_t x_29; uint32_t x_30; uint8_t x_31; +lean_inc(x_22); +x_28 = l_String_Iterator_next(x_22); +x_29 = l_String_Iterator_curr(x_22); +lean_dec(x_22); x_30 = 93; -x_31 = x_28 == x_30; +x_31 = x_29 == x_30; if (x_31 == 0) { uint32_t x_32; uint8_t x_33; x_32 = 44; -x_33 = x_28 == x_32; +x_33 = x_29 == x_32; if (x_33 == 0) { lean_object* x_34; lean_object* x_35; @@ -3767,14 +2887,14 @@ lean_dec(x_24); lean_dec(x_1); x_34 = l_Lean_Json_Parser_arrayCore___closed__1; x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_29); +lean_ctor_set(x_35, 0, x_28); lean_ctor_set(x_35, 1, x_34); return x_35; } else { lean_object* x_36; -x_36 = l_Lean_Quickparse_skipWs(x_29); +x_36 = l_Lean_Parsec_skipWs(x_28); x_2 = x_24; x_3 = x_36; goto _start; @@ -3784,7 +2904,7 @@ else { lean_object* x_38; lean_object* x_39; lean_dec(x_1); -x_38 = l_Lean_Quickparse_skipWs(x_29); +x_38 = l_Lean_Parsec_skipWs(x_28); x_39 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_24); @@ -3872,7 +2992,7 @@ if (x_3 == 0) { lean_object* x_4; lean_object* x_5; lean_dec(x_1); -x_4 = l_Lean_Quickparse_unexpectedEndOfInput; +x_4 = l_Lean_Parsec_unexpectedEndOfInput; x_5 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_5, 0, x_2); lean_ctor_set(x_5, 1, x_4); @@ -3898,7 +3018,7 @@ else { lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = l_String_Iterator_next(x_2); -x_12 = l_Lean_instInhabitedQuickparse___rarg___closed__1; +x_12 = l_Lean_Json_Parser_str___closed__1; x_13 = l_Lean_Json_Parser_strCore(x_12, x_11); if (lean_obj_tag(x_13) == 0) { @@ -3909,14 +3029,14 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; x_15 = lean_ctor_get(x_13, 0); x_16 = lean_ctor_get(x_13, 1); -x_17 = l_Lean_Quickparse_skipWs(x_15); +x_17 = l_Lean_Parsec_skipWs(x_15); x_18 = l_String_Iterator_hasNext(x_17); if (x_18 == 0) { lean_object* x_19; lean_dec(x_16); lean_dec(x_1); -x_19 = l_Lean_Quickparse_unexpectedEndOfInput; +x_19 = l_Lean_Parsec_unexpectedEndOfInput; lean_ctor_set_tag(x_13, 1); lean_ctor_set(x_13, 1, x_19); lean_ctor_set(x_13, 0, x_17); @@ -3944,7 +3064,7 @@ else lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_free_object(x_13); x_24 = l_String_Iterator_next(x_17); -x_25 = l_Lean_Quickparse_skipWs(x_24); +x_25 = l_Lean_Parsec_skipWs(x_24); x_26 = lean_box(0); lean_inc(x_1); x_27 = lean_apply_2(x_1, x_26, x_25); @@ -3964,23 +3084,25 @@ lean_object* x_32; lean_dec(x_30); lean_dec(x_16); lean_dec(x_1); -x_32 = l_Lean_Quickparse_unexpectedEndOfInput; +x_32 = l_Lean_Parsec_unexpectedEndOfInput; lean_ctor_set_tag(x_27, 1); lean_ctor_set(x_27, 1, x_32); return x_27; } else { -uint32_t x_33; lean_object* x_34; uint32_t x_35; uint8_t x_36; -x_33 = l_String_Iterator_curr(x_29); -x_34 = l_String_Iterator_next(x_29); +lean_object* x_33; uint32_t x_34; uint32_t x_35; uint8_t x_36; +lean_inc(x_29); +x_33 = l_String_Iterator_next(x_29); +x_34 = l_String_Iterator_curr(x_29); +lean_dec(x_29); x_35 = 125; -x_36 = x_33 == x_35; +x_36 = x_34 == x_35; if (x_36 == 0) { uint32_t x_37; uint8_t x_38; x_37 = 44; -x_38 = x_33 == x_37; +x_38 = x_34 == x_37; if (x_38 == 0) { lean_object* x_39; @@ -3990,14 +3112,14 @@ lean_dec(x_1); x_39 = l_Lean_Json_Parser_objectCore___closed__5; lean_ctor_set_tag(x_27, 1); lean_ctor_set(x_27, 1, x_39); -lean_ctor_set(x_27, 0, x_34); +lean_ctor_set(x_27, 0, x_33); return x_27; } else { lean_object* x_40; lean_object* x_41; lean_free_object(x_27); -x_40 = l_Lean_Quickparse_skipWs(x_34); +x_40 = l_Lean_Parsec_skipWs(x_33); x_41 = l_Lean_Json_Parser_objectCore(x_1, x_40); if (lean_obj_tag(x_41) == 0) { @@ -4056,7 +3178,7 @@ else { lean_object* x_53; lean_object* x_54; lean_dec(x_1); -x_53 = l_Lean_Quickparse_skipWs(x_34); +x_53 = l_Lean_Parsec_skipWs(x_33); x_54 = l_Std_RBNode_singleton___rarg(x_16, x_30); lean_ctor_set(x_27, 1, x_54); lean_ctor_set(x_27, 0, x_53); @@ -4079,7 +3201,7 @@ lean_object* x_58; lean_object* x_59; lean_dec(x_56); lean_dec(x_16); lean_dec(x_1); -x_58 = l_Lean_Quickparse_unexpectedEndOfInput; +x_58 = l_Lean_Parsec_unexpectedEndOfInput; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_55); lean_ctor_set(x_59, 1, x_58); @@ -4087,16 +3209,18 @@ return x_59; } else { -uint32_t x_60; lean_object* x_61; uint32_t x_62; uint8_t x_63; -x_60 = l_String_Iterator_curr(x_55); -x_61 = l_String_Iterator_next(x_55); +lean_object* x_60; uint32_t x_61; uint32_t x_62; uint8_t x_63; +lean_inc(x_55); +x_60 = l_String_Iterator_next(x_55); +x_61 = l_String_Iterator_curr(x_55); +lean_dec(x_55); x_62 = 125; -x_63 = x_60 == x_62; +x_63 = x_61 == x_62; if (x_63 == 0) { uint32_t x_64; uint8_t x_65; x_64 = 44; -x_65 = x_60 == x_64; +x_65 = x_61 == x_64; if (x_65 == 0) { lean_object* x_66; lean_object* x_67; @@ -4105,14 +3229,14 @@ lean_dec(x_16); lean_dec(x_1); x_66 = l_Lean_Json_Parser_objectCore___closed__5; x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_61); +lean_ctor_set(x_67, 0, x_60); lean_ctor_set(x_67, 1, x_66); return x_67; } else { lean_object* x_68; lean_object* x_69; -x_68 = l_Lean_Quickparse_skipWs(x_61); +x_68 = l_Lean_Parsec_skipWs(x_60); x_69 = l_Lean_Json_Parser_objectCore(x_1, x_68); if (lean_obj_tag(x_69) == 0) { @@ -4171,7 +3295,7 @@ else { lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_dec(x_1); -x_79 = l_Lean_Quickparse_skipWs(x_61); +x_79 = l_Lean_Parsec_skipWs(x_60); x_80 = l_Std_RBNode_singleton___rarg(x_16, x_56); x_81 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_81, 0, x_79); @@ -4216,14 +3340,14 @@ x_87 = lean_ctor_get(x_13, 1); lean_inc(x_87); lean_inc(x_86); lean_dec(x_13); -x_88 = l_Lean_Quickparse_skipWs(x_86); +x_88 = l_Lean_Parsec_skipWs(x_86); x_89 = l_String_Iterator_hasNext(x_88); if (x_89 == 0) { lean_object* x_90; lean_object* x_91; lean_dec(x_87); lean_dec(x_1); -x_90 = l_Lean_Quickparse_unexpectedEndOfInput; +x_90 = l_Lean_Parsec_unexpectedEndOfInput; x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_88); lean_ctor_set(x_91, 1, x_90); @@ -4250,7 +3374,7 @@ else { lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; x_97 = l_String_Iterator_next(x_88); -x_98 = l_Lean_Quickparse_skipWs(x_97); +x_98 = l_Lean_Parsec_skipWs(x_97); x_99 = lean_box(0); lean_inc(x_1); x_100 = lean_apply_2(x_1, x_99, x_98); @@ -4276,7 +3400,7 @@ lean_object* x_105; lean_object* x_106; lean_dec(x_102); lean_dec(x_87); lean_dec(x_1); -x_105 = l_Lean_Quickparse_unexpectedEndOfInput; +x_105 = l_Lean_Parsec_unexpectedEndOfInput; if (lean_is_scalar(x_103)) { x_106 = lean_alloc_ctor(1, 2, 0); } else { @@ -4289,16 +3413,18 @@ return x_106; } else { -uint32_t x_107; lean_object* x_108; uint32_t x_109; uint8_t x_110; -x_107 = l_String_Iterator_curr(x_101); -x_108 = l_String_Iterator_next(x_101); +lean_object* x_107; uint32_t x_108; uint32_t x_109; uint8_t x_110; +lean_inc(x_101); +x_107 = l_String_Iterator_next(x_101); +x_108 = l_String_Iterator_curr(x_101); +lean_dec(x_101); x_109 = 125; -x_110 = x_107 == x_109; +x_110 = x_108 == x_109; if (x_110 == 0) { uint32_t x_111; uint8_t x_112; x_111 = 44; -x_112 = x_107 == x_111; +x_112 = x_108 == x_111; if (x_112 == 0) { lean_object* x_113; lean_object* x_114; @@ -4312,7 +3438,7 @@ if (lean_is_scalar(x_103)) { x_114 = x_103; lean_ctor_set_tag(x_114, 1); } -lean_ctor_set(x_114, 0, x_108); +lean_ctor_set(x_114, 0, x_107); lean_ctor_set(x_114, 1, x_113); return x_114; } @@ -4320,7 +3446,7 @@ else { lean_object* x_115; lean_object* x_116; lean_dec(x_103); -x_115 = l_Lean_Quickparse_skipWs(x_108); +x_115 = l_Lean_Parsec_skipWs(x_107); x_116 = l_Lean_Json_Parser_objectCore(x_1, x_115); if (lean_obj_tag(x_116) == 0) { @@ -4379,7 +3505,7 @@ else { lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_dec(x_1); -x_126 = l_Lean_Quickparse_skipWs(x_108); +x_126 = l_Lean_Parsec_skipWs(x_107); x_127 = l_Std_RBNode_singleton___rarg(x_87, x_102); if (lean_is_scalar(x_103)) { x_128 = lean_alloc_ctor(0, 2, 0); @@ -4555,7 +3681,7 @@ x_2 = l_String_Iterator_hasNext(x_1); if (x_2 == 0) { lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Quickparse_unexpectedEndOfInput; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; x_4 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_3); @@ -4563,612 +3689,567 @@ return x_4; } else { -uint32_t x_5; uint32_t x_6; uint8_t x_7; +uint32_t x_5; lean_object* x_6; uint32_t x_23; uint8_t x_24; x_5 = l_String_Iterator_curr(x_1); -x_6 = 91; -x_7 = x_5 == x_6; -if (x_7 == 0) +x_23 = 91; +x_24 = x_5 == x_23; +if (x_24 == 0) { -uint32_t x_8; uint8_t x_9; -x_8 = 123; -x_9 = x_5 == x_8; -if (x_9 == 0) +uint32_t x_25; uint8_t x_26; +x_25 = 123; +x_26 = x_5 == x_25; +if (x_26 == 0) { -uint32_t x_10; uint8_t x_11; -x_10 = 34; -x_11 = x_5 == x_10; -if (x_11 == 0) +uint32_t x_27; uint8_t x_28; +x_27 = 34; +x_28 = x_5 == x_27; +if (x_28 == 0) { -uint32_t x_12; uint8_t x_13; -x_12 = 102; -x_13 = x_5 == x_12; -if (x_13 == 0) +uint32_t x_29; uint8_t x_30; +x_29 = 102; +x_30 = x_5 == x_29; +if (x_30 == 0) { -uint32_t x_14; uint8_t x_15; -x_14 = 116; -x_15 = x_5 == x_14; -if (x_15 == 0) +uint32_t x_31; uint8_t x_32; +x_31 = 116; +x_32 = x_5 == x_31; +if (x_32 == 0) { -uint32_t x_16; uint8_t x_17; -x_16 = 110; -x_17 = x_5 == x_16; -if (x_17 == 0) +uint32_t x_33; uint8_t x_34; +x_33 = 110; +x_34 = x_5 == x_33; +if (x_34 == 0) { -uint32_t x_18; uint8_t x_19; -x_18 = 45; -x_19 = x_5 == x_18; -if (x_19 == 0) +uint32_t x_35; uint8_t x_36; +x_35 = 45; +x_36 = x_5 == x_35; +if (x_36 == 0) { -uint32_t x_20; uint8_t x_21; -x_20 = 48; -x_21 = x_20 <= x_5; -if (x_21 == 0) +uint32_t x_37; uint8_t x_38; +x_37 = 48; +x_38 = x_37 <= x_5; +if (x_38 == 0) { -lean_object* x_22; lean_object* x_23; -x_22 = l_Lean_Json_Parser_anyCore___rarg___closed__1; -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_1); -lean_ctor_set(x_23, 1, x_22); -return x_23; +lean_object* x_39; lean_object* x_40; +x_39 = l_Lean_Json_Parser_anyCore___rarg___closed__1; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_1); +lean_ctor_set(x_40, 1, x_39); +return x_40; } else { -uint32_t x_24; uint8_t x_25; -x_24 = 57; -x_25 = x_5 <= x_24; -if (x_25 == 0) +uint32_t x_41; uint8_t x_42; +x_41 = 57; +x_42 = x_5 <= x_41; +if (x_42 == 0) { -lean_object* x_26; lean_object* x_27; -x_26 = l_Lean_Json_Parser_anyCore___rarg___closed__1; -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_1); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_object* x_43; lean_object* x_44; +x_43 = l_Lean_Json_Parser_anyCore___rarg___closed__1; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_1); +lean_ctor_set(x_44, 1, x_43); +return x_44; } else { -lean_object* x_28; -x_28 = l_Lean_Json_Parser_num(x_1); -if (lean_obj_tag(x_28) == 0) -{ -uint8_t x_29; -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_ctor_get(x_28, 1); -x_32 = l_Lean_Quickparse_skipWs(x_30); -x_33 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_28, 1, x_33); -lean_ctor_set(x_28, 0, x_32); -return x_28; -} -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_28, 0); -x_35 = lean_ctor_get(x_28, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_28); -x_36 = l_Lean_Quickparse_skipWs(x_34); -x_37 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_37, 0, x_35); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -else -{ -uint8_t x_39; -x_39 = !lean_is_exclusive(x_28); -if (x_39 == 0) -{ -return x_28; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_28, 0); -x_41 = lean_ctor_get(x_28, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_28); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} +lean_object* x_45; +x_45 = lean_box(0); +x_6 = x_45; +goto block_22; } } } else { -lean_object* x_43; -x_43 = l_Lean_Json_Parser_num(x_1); -if (lean_obj_tag(x_43) == 0) -{ -uint8_t x_44; -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_43, 0); -x_46 = lean_ctor_get(x_43, 1); -x_47 = l_Lean_Quickparse_skipWs(x_45); -x_48 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_43, 1, x_48); -lean_ctor_set(x_43, 0, x_47); -return x_43; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_49 = lean_ctor_get(x_43, 0); -x_50 = lean_ctor_get(x_43, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_43); -x_51 = l_Lean_Quickparse_skipWs(x_49); -x_52 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_52, 0, x_50); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_object* x_46; +x_46 = lean_box(0); +x_6 = x_46; +goto block_22; } } else { -uint8_t x_54; -x_54 = !lean_is_exclusive(x_43); -if (x_54 == 0) +lean_object* x_47; lean_object* x_48; +x_47 = l_Lean_Json_Parser_anyCore___rarg___closed__2; +x_48 = l_Lean_Parsec_pstring(x_47, x_1); +if (lean_obj_tag(x_48) == 0) { -return x_43; +uint8_t x_49; +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; +x_50 = lean_ctor_get(x_48, 0); +x_51 = lean_ctor_get(x_48, 1); +lean_dec(x_51); +x_52 = l_Lean_Parsec_skipWs(x_50); +x_53 = lean_box(0); +lean_ctor_set(x_48, 1, x_53); +lean_ctor_set(x_48, 0, x_52); +return x_48; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_43, 0); -x_56 = lean_ctor_get(x_43, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_43); -x_57 = lean_alloc_ctor(1, 2, 0); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_54 = lean_ctor_get(x_48, 0); +lean_inc(x_54); +lean_dec(x_48); +x_55 = l_Lean_Parsec_skipWs(x_54); +x_56 = lean_box(0); +x_57 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_57, 0, x_55); lean_ctor_set(x_57, 1, x_56); return x_57; } } +else +{ +uint8_t x_58; +x_58 = !lean_is_exclusive(x_48); +if (x_58 == 0) +{ +return x_48; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_48, 0); +x_60 = lean_ctor_get(x_48, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_48); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} } } else { -lean_object* x_58; lean_object* x_59; -x_58 = l_Lean_Json_Parser_anyCore___rarg___closed__2; -x_59 = l_Lean_Quickparse_expect(x_58, x_1); -if (lean_obj_tag(x_59) == 0) +lean_object* x_62; lean_object* x_63; +x_62 = l_Lean_Json_Parser_anyCore___rarg___closed__3; +x_63 = l_Lean_Parsec_pstring(x_62, x_1); +if (lean_obj_tag(x_63) == 0) { -uint8_t x_60; -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_59, 0); -x_62 = lean_ctor_get(x_59, 1); -lean_dec(x_62); -x_63 = l_Lean_Quickparse_skipWs(x_61); -x_64 = lean_box(0); -lean_ctor_set(x_59, 1, x_64); -lean_ctor_set(x_59, 0, x_63); -return x_59; -} -else +uint8_t x_64; +x_64 = !lean_is_exclusive(x_63); +if (x_64 == 0) { lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_65 = lean_ctor_get(x_59, 0); -lean_inc(x_65); -lean_dec(x_59); -x_66 = l_Lean_Quickparse_skipWs(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); -return x_68; -} +x_65 = lean_ctor_get(x_63, 0); +x_66 = lean_ctor_get(x_63, 1); +lean_dec(x_66); +x_67 = l_Lean_Parsec_skipWs(x_65); +x_68 = l_Lean_Json_Parser_anyCore___rarg___closed__4; +lean_ctor_set(x_63, 1, x_68); +lean_ctor_set(x_63, 0, x_67); +return x_63; } else { -uint8_t x_69; -x_69 = !lean_is_exclusive(x_59); -if (x_69 == 0) -{ -return x_59; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_59, 0); -x_71 = lean_ctor_get(x_59, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_59); -x_72 = lean_alloc_ctor(1, 2, 0); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_69 = lean_ctor_get(x_63, 0); +lean_inc(x_69); +lean_dec(x_63); +x_70 = l_Lean_Parsec_skipWs(x_69); +x_71 = l_Lean_Json_Parser_anyCore___rarg___closed__4; +x_72 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_72, 0, x_70); lean_ctor_set(x_72, 1, x_71); return x_72; } } +else +{ +uint8_t x_73; +x_73 = !lean_is_exclusive(x_63); +if (x_73 == 0) +{ +return x_63; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_63, 0); +x_75 = lean_ctor_get(x_63, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_63); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} } } else { -lean_object* x_73; lean_object* x_74; -x_73 = l_Lean_Json_Parser_anyCore___rarg___closed__3; -x_74 = l_Lean_Quickparse_expect(x_73, x_1); -if (lean_obj_tag(x_74) == 0) +lean_object* x_77; lean_object* x_78; +x_77 = l_Lean_Json_Parser_anyCore___rarg___closed__5; +x_78 = l_Lean_Parsec_pstring(x_77, x_1); +if (lean_obj_tag(x_78) == 0) { -uint8_t x_75; -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_76 = lean_ctor_get(x_74, 0); -x_77 = lean_ctor_get(x_74, 1); -lean_dec(x_77); -x_78 = l_Lean_Quickparse_skipWs(x_76); -x_79 = l_Lean_Json_Parser_anyCore___rarg___closed__4; -lean_ctor_set(x_74, 1, x_79); -lean_ctor_set(x_74, 0, x_78); -return x_74; -} -else +uint8_t x_79; +x_79 = !lean_is_exclusive(x_78); +if (x_79 == 0) { lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_80 = lean_ctor_get(x_74, 0); -lean_inc(x_80); -lean_dec(x_74); -x_81 = l_Lean_Quickparse_skipWs(x_80); -x_82 = l_Lean_Json_Parser_anyCore___rarg___closed__4; -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; -} +x_80 = lean_ctor_get(x_78, 0); +x_81 = lean_ctor_get(x_78, 1); +lean_dec(x_81); +x_82 = l_Lean_Parsec_skipWs(x_80); +x_83 = l_Lean_Json_Parser_anyCore___rarg___closed__6; +lean_ctor_set(x_78, 1, x_83); +lean_ctor_set(x_78, 0, x_82); +return x_78; } else { -uint8_t x_84; -x_84 = !lean_is_exclusive(x_74); -if (x_84 == 0) -{ -return x_74; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_74, 0); -x_86 = lean_ctor_get(x_74, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_74); -x_87 = lean_alloc_ctor(1, 2, 0); +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_84 = lean_ctor_get(x_78, 0); +lean_inc(x_84); +lean_dec(x_78); +x_85 = l_Lean_Parsec_skipWs(x_84); +x_86 = l_Lean_Json_Parser_anyCore___rarg___closed__6; +x_87 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_87, 0, x_85); lean_ctor_set(x_87, 1, x_86); return x_87; } } +else +{ +uint8_t x_88; +x_88 = !lean_is_exclusive(x_78); +if (x_88 == 0) +{ +return x_78; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_78, 0); +x_90 = lean_ctor_get(x_78, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_78); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} } } else { -lean_object* x_88; lean_object* x_89; -x_88 = l_Lean_Json_Parser_anyCore___rarg___closed__5; -x_89 = l_Lean_Quickparse_expect(x_88, x_1); -if (lean_obj_tag(x_89) == 0) +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = l_String_Iterator_next(x_1); +x_93 = l_Lean_Json_Parser_str___closed__1; +x_94 = l_Lean_Json_Parser_strCore(x_93, x_92); +if (lean_obj_tag(x_94) == 0) { -uint8_t x_90; -x_90 = !lean_is_exclusive(x_89); -if (x_90 == 0) +uint8_t x_95; +x_95 = !lean_is_exclusive(x_94); +if (x_95 == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_91 = lean_ctor_get(x_89, 0); -x_92 = lean_ctor_get(x_89, 1); -lean_dec(x_92); -x_93 = l_Lean_Quickparse_skipWs(x_91); -x_94 = l_Lean_Json_Parser_anyCore___rarg___closed__6; -lean_ctor_set(x_89, 1, x_94); -lean_ctor_set(x_89, 0, x_93); -return x_89; +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_96 = lean_ctor_get(x_94, 0); +x_97 = lean_ctor_get(x_94, 1); +x_98 = l_Lean_Parsec_skipWs(x_96); +x_99 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_94, 1, x_99); +lean_ctor_set(x_94, 0, x_98); +return x_94; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_95 = lean_ctor_get(x_89, 0); -lean_inc(x_95); -lean_dec(x_89); -x_96 = l_Lean_Quickparse_skipWs(x_95); -x_97 = l_Lean_Json_Parser_anyCore___rarg___closed__6; -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -return x_98; -} -} -else -{ -uint8_t x_99; -x_99 = !lean_is_exclusive(x_89); -if (x_99 == 0) -{ -return x_89; -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_89, 0); -x_101 = lean_ctor_get(x_89, 1); +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_100 = lean_ctor_get(x_94, 0); +x_101 = lean_ctor_get(x_94, 1); lean_inc(x_101); lean_inc(x_100); -lean_dec(x_89); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -return x_102; +lean_dec(x_94); +x_102 = l_Lean_Parsec_skipWs(x_100); +x_103 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_103, 0, x_101); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +else +{ +uint8_t x_105; +x_105 = !lean_is_exclusive(x_94); +if (x_105 == 0) +{ +return x_94; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_94, 0); +x_107 = lean_ctor_get(x_94, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_94); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; } } } } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = l_String_Iterator_next(x_1); -x_104 = l_Lean_instInhabitedQuickparse___rarg___closed__1; -x_105 = l_Lean_Json_Parser_strCore(x_104, x_103); -if (lean_obj_tag(x_105) == 0) +lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_109 = l_String_Iterator_next(x_1); +x_110 = l_Lean_Parsec_skipWs(x_109); +x_111 = l_String_Iterator_hasNext(x_110); +if (x_111 == 0) { -uint8_t x_106; -x_106 = !lean_is_exclusive(x_105); -if (x_106 == 0) -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_105, 0); -x_108 = lean_ctor_get(x_105, 1); -x_109 = l_Lean_Quickparse_skipWs(x_107); -x_110 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_105, 1, x_110); -lean_ctor_set(x_105, 0, x_109); -return x_105; +lean_object* x_112; lean_object* x_113; +x_112 = l_Lean_Parsec_unexpectedEndOfInput; +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_110); +lean_ctor_set(x_113, 1, x_112); +return x_113; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_111 = lean_ctor_get(x_105, 0); -x_112 = lean_ctor_get(x_105, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_105); -x_113 = l_Lean_Quickparse_skipWs(x_111); -x_114 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_114, 0, x_112); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; -} -} -else -{ -uint8_t x_116; -x_116 = !lean_is_exclusive(x_105); +uint32_t x_114; uint32_t x_115; uint8_t x_116; +x_114 = l_String_Iterator_curr(x_110); +x_115 = 125; +x_116 = x_114 == x_115; if (x_116 == 0) { -return x_105; +lean_object* x_117; lean_object* x_118; +x_117 = l_Lean_Json_Parser_anyCore___rarg___closed__7; +x_118 = l_Lean_Json_Parser_objectCore(x_117, x_110); +if (lean_obj_tag(x_118) == 0) +{ +uint8_t x_119; +x_119 = !lean_is_exclusive(x_118); +if (x_119 == 0) +{ +lean_object* x_120; lean_object* x_121; +x_120 = lean_ctor_get(x_118, 1); +x_121 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_118, 1, x_121); +return x_118; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_105, 0); -x_118 = lean_ctor_get(x_105, 1); -lean_inc(x_118); -lean_inc(x_117); -lean_dec(x_105); -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; -} -} +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_122 = lean_ctor_get(x_118, 0); +x_123 = lean_ctor_get(x_118, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_118); +x_124 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_124, 0, x_123); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_122); +lean_ctor_set(x_125, 1, x_124); +return x_125; } } else { -lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_120 = l_String_Iterator_next(x_1); -x_121 = l_Lean_Quickparse_skipWs(x_120); -x_122 = l_String_Iterator_hasNext(x_121); -if (x_122 == 0) +uint8_t x_126; +x_126 = !lean_is_exclusive(x_118); +if (x_126 == 0) { -lean_object* x_123; lean_object* x_124; -x_123 = l_Lean_Quickparse_unexpectedEndOfInput; -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_121); -lean_ctor_set(x_124, 1, x_123); -return x_124; +return x_118; } else { -uint32_t x_125; uint32_t x_126; uint8_t x_127; -x_125 = l_String_Iterator_curr(x_121); -x_126 = 125; -x_127 = x_125 == x_126; -if (x_127 == 0) -{ -lean_object* x_128; lean_object* x_129; -x_128 = l_Lean_Json_Parser_anyCore___rarg___closed__7; -x_129 = l_Lean_Json_Parser_objectCore(x_128, x_121); -if (lean_obj_tag(x_129) == 0) -{ -uint8_t x_130; -x_130 = !lean_is_exclusive(x_129); -if (x_130 == 0) -{ -lean_object* x_131; lean_object* x_132; -x_131 = lean_ctor_get(x_129, 1); -x_132 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_129, 1, x_132); +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_118, 0); +x_128 = lean_ctor_get(x_118, 1); +lean_inc(x_128); +lean_inc(x_127); +lean_dec(x_118); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); return x_129; } -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_133 = lean_ctor_get(x_129, 0); -x_134 = lean_ctor_get(x_129, 1); -lean_inc(x_134); -lean_inc(x_133); -lean_dec(x_129); -x_135 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_135, 0, x_134); -x_136 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_136, 0, x_133); -lean_ctor_set(x_136, 1, x_135); -return x_136; } } else { -uint8_t x_137; -x_137 = !lean_is_exclusive(x_129); -if (x_137 == 0) -{ -return x_129; +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_130 = l_String_Iterator_next(x_110); +x_131 = l_Lean_Parsec_skipWs(x_130); +x_132 = l_Lean_Json_Parser_anyCore___rarg___closed__8; +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); +return x_133; } -else -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_138 = lean_ctor_get(x_129, 0); -x_139 = lean_ctor_get(x_129, 1); -lean_inc(x_139); -lean_inc(x_138); -lean_dec(x_129); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -return x_140; } } } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_141 = l_String_Iterator_next(x_121); -x_142 = l_Lean_Quickparse_skipWs(x_141); -x_143 = l_Lean_Json_Parser_anyCore___rarg___closed__8; -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_142); -lean_ctor_set(x_144, 1, x_143); +lean_object* x_134; lean_object* x_135; uint8_t x_136; +x_134 = l_String_Iterator_next(x_1); +x_135 = l_Lean_Parsec_skipWs(x_134); +x_136 = l_String_Iterator_hasNext(x_135); +if (x_136 == 0) +{ +lean_object* x_137; lean_object* x_138; +x_137 = l_Lean_Parsec_unexpectedEndOfInput; +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_137); +return x_138; +} +else +{ +uint32_t x_139; uint32_t x_140; uint8_t x_141; +x_139 = l_String_Iterator_curr(x_135); +x_140 = 93; +x_141 = x_139 == x_140; +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = l_Lean_Json_Parser_anyCore___rarg___closed__7; +x_143 = l_Lean_Json_Parser_anyCore___rarg___closed__9; +x_144 = l_Lean_Json_Parser_arrayCore(x_142, x_143, x_135); +if (lean_obj_tag(x_144) == 0) +{ +uint8_t x_145; +x_145 = !lean_is_exclusive(x_144); +if (x_145 == 0) +{ +lean_object* x_146; lean_object* x_147; +x_146 = lean_ctor_get(x_144, 1); +x_147 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_144, 1, x_147); return x_144; } -} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_148 = lean_ctor_get(x_144, 0); +x_149 = lean_ctor_get(x_144, 1); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_144); +x_150 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_150, 0, x_149); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_148); +lean_ctor_set(x_151, 1, x_150); +return x_151; } } else { -lean_object* x_145; lean_object* x_146; uint8_t x_147; -x_145 = l_String_Iterator_next(x_1); -x_146 = l_Lean_Quickparse_skipWs(x_145); -x_147 = l_String_Iterator_hasNext(x_146); -if (x_147 == 0) -{ -lean_object* x_148; lean_object* x_149; -x_148 = l_Lean_Quickparse_unexpectedEndOfInput; -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_146); -lean_ctor_set(x_149, 1, x_148); -return x_149; -} -else -{ -uint32_t x_150; uint32_t x_151; uint8_t x_152; -x_150 = l_String_Iterator_curr(x_146); -x_151 = 93; -x_152 = x_150 == x_151; +uint8_t x_152; +x_152 = !lean_is_exclusive(x_144); if (x_152 == 0) { +return x_144; +} +else +{ lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = l_Lean_Json_Parser_anyCore___rarg___closed__7; -x_154 = l_Lean_Json_Parser_anyCore___rarg___closed__9; -x_155 = l_Lean_Json_Parser_arrayCore(x_153, x_154, x_146); -if (lean_obj_tag(x_155) == 0) -{ -uint8_t x_156; -x_156 = !lean_is_exclusive(x_155); -if (x_156 == 0) -{ -lean_object* x_157; lean_object* x_158; -x_157 = lean_ctor_get(x_155, 1); -x_158 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_155, 1, x_158); +x_153 = lean_ctor_get(x_144, 0); +x_154 = lean_ctor_get(x_144, 1); +lean_inc(x_154); +lean_inc(x_153); +lean_dec(x_144); +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_153); +lean_ctor_set(x_155, 1, x_154); return x_155; } -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_159 = lean_ctor_get(x_155, 0); -x_160 = lean_ctor_get(x_155, 1); -lean_inc(x_160); -lean_inc(x_159); -lean_dec(x_155); -x_161 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_161, 0, x_160); -x_162 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_162, 0, x_159); -lean_ctor_set(x_162, 1, x_161); -return x_162; } } else { -uint8_t x_163; -x_163 = !lean_is_exclusive(x_155); -if (x_163 == 0) +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_156 = l_String_Iterator_next(x_135); +x_157 = l_Lean_Parsec_skipWs(x_156); +x_158 = l_Lean_Json_Parser_anyCore___rarg___closed__11; +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +} +block_22: { -return x_155; +lean_object* x_7; +lean_dec(x_6); +x_7 = l_Lean_Json_Parser_num(x_1); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +x_11 = l_Lean_Parsec_skipWs(x_9); +x_12 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_7, 1, x_12); +lean_ctor_set(x_7, 0, x_11); +return x_7; } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_155, 0); -x_165 = lean_ctor_get(x_155, 1); -lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_155); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -return x_166; -} +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_7, 0); +x_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_7); +x_15 = l_Lean_Parsec_skipWs(x_13); +x_16 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_16, 0, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; } } else { -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_167 = l_String_Iterator_next(x_146); -x_168 = l_Lean_Quickparse_skipWs(x_167); -x_169 = l_Lean_Json_Parser_anyCore___rarg___closed__11; -x_170 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_170, 0, x_168); -lean_ctor_set(x_170, 1, x_169); -return x_170; +uint8_t x_18; +x_18 = !lean_is_exclusive(x_7); +if (x_18 == 0) +{ +return x_7; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_7, 0); +x_20 = lean_ctor_get(x_7, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_7); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } @@ -5196,7 +4277,7 @@ lean_object* l_Lean_Json_Parser_any(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Quickparse_skipWs(x_1); +x_2 = l_Lean_Parsec_skipWs(x_1); x_3 = l_Lean_Json_Parser_anyCore___rarg(x_2); if (lean_obj_tag(x_3) == 0) { @@ -5216,7 +4297,7 @@ else { lean_object* x_8; lean_dec(x_6); -x_8 = l_Lean_Quickparse_expectedEndOfInput; +x_8 = l_Lean_Parsec_expectedEndOfInput; lean_ctor_set_tag(x_3, 1); lean_ctor_set(x_3, 1, x_8); return x_3; @@ -5243,7 +4324,7 @@ else { lean_object* x_13; lean_object* x_14; lean_dec(x_10); -x_13 = l_Lean_Quickparse_expectedEndOfInput; +x_13 = l_Lean_Parsec_expectedEndOfInput; x_14 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_14, 0, x_9); lean_ctor_set(x_14, 1, x_13); @@ -5366,7 +4447,7 @@ x_13 = l_Lean_Json_parse___closed__2; x_14 = lean_string_append(x_12, x_13); x_15 = lean_string_append(x_14, x_8); lean_dec(x_8); -x_16 = l_Lean_instInhabitedQuickparse___rarg___closed__1; +x_16 = l_Lean_Json_Parser_str___closed__1; x_17 = lean_string_append(x_15, x_16); x_18 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_18, 0, x_17); @@ -5376,6 +4457,7 @@ return x_18; } lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Data_Json_Basic(lean_object*); +lean_object* initialize_Lean_Data_Parsec(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Data_Json_Parser(lean_object* w) { lean_object * res; @@ -5387,40 +4469,9 @@ lean_dec_ref(res); res = initialize_Lean_Data_Json_Basic(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_instInhabitedQuickparse___rarg___closed__1 = _init_l_Lean_instInhabitedQuickparse___rarg___closed__1(); -lean_mark_persistent(l_Lean_instInhabitedQuickparse___rarg___closed__1); -l_Lean_Quickparse_instMonadQuickparse___closed__1 = _init_l_Lean_Quickparse_instMonadQuickparse___closed__1(); -lean_mark_persistent(l_Lean_Quickparse_instMonadQuickparse___closed__1); -l_Lean_Quickparse_instMonadQuickparse___closed__2 = _init_l_Lean_Quickparse_instMonadQuickparse___closed__2(); -lean_mark_persistent(l_Lean_Quickparse_instMonadQuickparse___closed__2); -l_Lean_Quickparse_instMonadQuickparse___closed__3 = _init_l_Lean_Quickparse_instMonadQuickparse___closed__3(); -lean_mark_persistent(l_Lean_Quickparse_instMonadQuickparse___closed__3); -l_Lean_Quickparse_instMonadQuickparse___closed__4 = _init_l_Lean_Quickparse_instMonadQuickparse___closed__4(); -lean_mark_persistent(l_Lean_Quickparse_instMonadQuickparse___closed__4); -l_Lean_Quickparse_instMonadQuickparse___closed__5 = _init_l_Lean_Quickparse_instMonadQuickparse___closed__5(); -lean_mark_persistent(l_Lean_Quickparse_instMonadQuickparse___closed__5); -l_Lean_Quickparse_instMonadQuickparse___closed__6 = _init_l_Lean_Quickparse_instMonadQuickparse___closed__6(); -lean_mark_persistent(l_Lean_Quickparse_instMonadQuickparse___closed__6); -l_Lean_Quickparse_instMonadQuickparse___closed__7 = _init_l_Lean_Quickparse_instMonadQuickparse___closed__7(); -lean_mark_persistent(l_Lean_Quickparse_instMonadQuickparse___closed__7); -l_Lean_Quickparse_instMonadQuickparse___closed__8 = _init_l_Lean_Quickparse_instMonadQuickparse___closed__8(); -lean_mark_persistent(l_Lean_Quickparse_instMonadQuickparse___closed__8); -l_Lean_Quickparse_instMonadQuickparse___closed__9 = _init_l_Lean_Quickparse_instMonadQuickparse___closed__9(); -lean_mark_persistent(l_Lean_Quickparse_instMonadQuickparse___closed__9); -l_Lean_Quickparse_instMonadQuickparse___closed__10 = _init_l_Lean_Quickparse_instMonadQuickparse___closed__10(); -lean_mark_persistent(l_Lean_Quickparse_instMonadQuickparse___closed__10); -l_Lean_Quickparse_instMonadQuickparse = _init_l_Lean_Quickparse_instMonadQuickparse(); -lean_mark_persistent(l_Lean_Quickparse_instMonadQuickparse); -l_Lean_Quickparse_unexpectedEndOfInput___closed__1 = _init_l_Lean_Quickparse_unexpectedEndOfInput___closed__1(); -lean_mark_persistent(l_Lean_Quickparse_unexpectedEndOfInput___closed__1); -l_Lean_Quickparse_unexpectedEndOfInput = _init_l_Lean_Quickparse_unexpectedEndOfInput(); -lean_mark_persistent(l_Lean_Quickparse_unexpectedEndOfInput); -l_Lean_Quickparse_expect___closed__1 = _init_l_Lean_Quickparse_expect___closed__1(); -lean_mark_persistent(l_Lean_Quickparse_expect___closed__1); -l_Lean_Quickparse_expectedEndOfInput___closed__1 = _init_l_Lean_Quickparse_expectedEndOfInput___closed__1(); -lean_mark_persistent(l_Lean_Quickparse_expectedEndOfInput___closed__1); -l_Lean_Quickparse_expectedEndOfInput = _init_l_Lean_Quickparse_expectedEndOfInput(); -lean_mark_persistent(l_Lean_Quickparse_expectedEndOfInput); +res = initialize_Lean_Data_Parsec(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Json_Parser_hexChar___closed__1 = _init_l_Lean_Json_Parser_hexChar___closed__1(); lean_mark_persistent(l_Lean_Json_Parser_hexChar___closed__1); l_Lean_Json_Parser_escapedChar___closed__1 = _init_l_Lean_Json_Parser_escapedChar___closed__1(); @@ -5443,6 +4494,8 @@ l_Lean_Json_Parser_escapedChar___boxed__const__8 = _init_l_Lean_Json_Parser_esca lean_mark_persistent(l_Lean_Json_Parser_escapedChar___boxed__const__8); l_Lean_Json_Parser_strCore___closed__1 = _init_l_Lean_Json_Parser_strCore___closed__1(); lean_mark_persistent(l_Lean_Json_Parser_strCore___closed__1); +l_Lean_Json_Parser_str___closed__1 = _init_l_Lean_Json_Parser_str___closed__1(); +lean_mark_persistent(l_Lean_Json_Parser_str___closed__1); l_Lean_Json_Parser_lookahead___rarg___closed__1 = _init_l_Lean_Json_Parser_lookahead___rarg___closed__1(); lean_mark_persistent(l_Lean_Json_Parser_lookahead___rarg___closed__1); l_Lean_Json_Parser_natNonZero___closed__1 = _init_l_Lean_Json_Parser_natNonZero___closed__1(); diff --git a/stage0/stdlib/Lean/Data/Lsp/Capabilities.c b/stage0/stdlib/Lean/Data/Lsp/Capabilities.c index 3474a92ce1..75da99f534 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Capabilities.c +++ b/stage0/stdlib/Lean/Data/Lsp/Capabilities.c @@ -39,7 +39,6 @@ lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_L static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_115____closed__6; static lean_object* l_Lean_Lsp_ClientCapabilities_hasToJson___closed__1; lean_object* l_Lean_Lsp_ClientCapabilities_hasToJson___boxed(lean_object*); -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_115____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_197____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonClientCapabilities(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_197____spec__2___boxed(lean_object*, lean_object*); @@ -204,6 +203,8 @@ else { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); x_5 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607_(x_4); x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_1); @@ -352,7 +353,6 @@ x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_115____closed__1; x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_115____spec__1(x_3, x_2); -lean_dec(x_2); x_5 = lean_ctor_get(x_1, 1); lean_inc(x_5); x_6 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_115____closed__2; @@ -455,15 +455,6 @@ x_52 = l_Lean_Json_mkObj(x_51); return x_52; } } -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_115____spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_115____spec__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities___closed__1() { _start: { diff --git a/stage0/stdlib/Lean/Data/Lsp/TextSync.c b/stage0/stdlib/Lean/Data/Lsp/TextSync.c index 59b3bef91f..c432793c32 100644 --- a/stage0/stdlib/Lean/Data/Lsp/TextSync.c +++ b/stage0/stdlib/Lean/Data/Lsp/TextSync.c @@ -74,7 +74,6 @@ lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0 static lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607____closed__10; lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncKind_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTextDocumentChangeRegistrationOptions___closed__1; -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607____spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439____boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439____closed__1; static lean_object* l_Lean_Lsp_instFromJsonDidChangeTextDocumentParams___closed__1; @@ -87,7 +86,7 @@ lean_object* l_Lean_Lsp_instFromJsonDidChangeTextDocumentParams; lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidOpenTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_105____boxed(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonTextDocumentChangeRegistrationOptions____x40_Lean_Data_Lsp_TextSync___hyg_157____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_464____spec__1(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439_(uint8_t); lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTextDocumentSyncKind___closed__1; lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_464____boxed(lean_object*); @@ -141,7 +140,6 @@ lean_object* l_Lean_Lsp_instFromJsonSaveOptions; lean_object* lean_nat_to_int(lean_object*); static lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607____closed__2; static lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607____closed__1; -lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607____boxed(lean_object*); lean_object* l_Lean_Lsp_TextDocumentContentChangeEvent_hasToJson_match__1(lean_object*); lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncOptions; lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__2(lean_object*, lean_object*); @@ -1563,36 +1561,36 @@ x_1 = lean_mk_string("includeText"); return x_1; } } -lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439_(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439_(uint8_t x_1) { _start: { -lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_2 = lean_alloc_ctor(1, 0, 1); -x_3 = lean_unbox(x_1); -lean_ctor_set_uint8(x_2, 0, x_3); -x_4 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439____closed__1; -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_2); -x_6 = lean_box(0); +lean_ctor_set_uint8(x_2, 0, x_1); +x_3 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439____closed__1; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -x_8 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -x_9 = l_List_join___rarg(x_8); -x_10 = l_Lean_Json_mkObj(x_9); -return x_10; +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = l_List_join___rarg(x_7); +x_9 = l_Lean_Json_mkObj(x_8); +return x_9; } } lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439____boxed(lean_object* x_1) { _start: { -lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439_(x_1); +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); lean_dec(x_1); -return x_2; +x_3 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439_(x_2); +return x_3; } } static lean_object* _init_l_Lean_Lsp_instToJsonSaveOptions___closed__1() { @@ -1830,17 +1828,21 @@ return x_3; } else { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_4 = lean_ctor_get(x_2, 0); -x_5 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439_(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_5); -x_7 = lean_box(0); -x_8 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_8, 0, x_6); -lean_ctor_set(x_8, 1, x_7); -return x_8; +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_unbox(x_4); +lean_dec(x_4); +x_6 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_439_(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; } } } @@ -1965,6 +1967,8 @@ x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*1 + 1); x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*1 + 2); x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*1 + 3); x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); x_7 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_7, 0, x_2); x_8 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607____closed__1; @@ -2050,29 +2054,11 @@ return x_39; } } } -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607____spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607____spec__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607____boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607_(x_1); -lean_dec(x_1); -return x_2; -} -} static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentSyncOptions___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_607_), 1, 0); return x_1; } } diff --git a/stage0/stdlib/Lean/Data/Parsec.c b/stage0/stdlib/Lean/Data/Parsec.c new file mode 100644 index 0000000000..d8b43a0e49 --- /dev/null +++ b/stage0/stdlib/Lean/Data/Parsec.c @@ -0,0 +1,3022 @@ +// Lean compiler output +// Module: Lean.Data.Parsec +// Imports: Init +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +static lean_object* l_Lean_Parsec_instMonadParsec___closed__9; +static lean_object* l_Lean_Parsec_unexpectedEndOfInput___closed__1; +lean_object* lean_string_push(lean_object*, uint32_t); +static lean_object* l_Lean_Parsec_instMonadParsec___closed__2; +lean_object* l_Lean_Parsec_instAlternativeParsec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parsec_orElse(lean_object*); +static lean_object* l_Lean_Parsec_instMonadParsec___closed__8; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_Parsec_instInhabitedParsec(lean_object*); +static lean_object* l_Lean_Parsec_instMonadParsec___closed__4; +lean_object* l_Lean_Parsec_expectedEndOfInput; +lean_object* l_Lean_Parsec_peek_x21_match__1(lean_object*); +lean_object* l_Lean_Parsec_many1___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44__match__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__11; +lean_object* l_Lean_Parsec_instAlternativeParsec; +lean_object* l_Lean_Parsec_instMonadParsec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parsec_instAlternativeParsec___closed__1; +lean_object* l_Lean_Parsec_many1Chars(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_manyChars(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_instReprParseResult___rarg(lean_object*); +lean_object* l_Lean_Parsec_instAlternativeParsec___lambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_instMonadParsec___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_pchar(uint32_t, lean_object*); +lean_object* l_Lean_Parsec_satisfy(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_eof(lean_object*); +static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__6; +static lean_object* l_Lean_Parsec_instAlternativeParsec___closed__2; +lean_object* l_Lean_Parsec_digit(lean_object*); +lean_object* l_Lean_Parsec_many(lean_object*); +lean_object* l_Lean_Parsec_pstring___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Parsec_pstring___closed__1; +lean_object* l_Lean_Parsec_instMonadParsec___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parsec_pure___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_attempt(lean_object*); +lean_object* l_Lean_Parsec_skipChar___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_bind(lean_object*, lean_object*); +lean_object* l_String_Iterator_forward(lean_object*, lean_object*); +static lean_object* l_Lean_Parsec_asciiLetter___closed__1; +lean_object* l_Lean_Parsec_peek_x3f(lean_object*); +lean_object* l_String_Iterator_extract(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_anyChar(lean_object*); +lean_object* l_Lean_Parsec_notFollowedBy___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Parsec_many___rarg___closed__1; +lean_object* l_Nat_repr(lean_object*); +static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__10; +static lean_object* l_Lean_Parsec_instMonadParsec___closed__1; +static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__9; +lean_object* l_Lean_Parsec_bind___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parsec_many___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Parsec_instInhabitedParsec___rarg___closed__1; +lean_object* l_Lean_Parsec_attempt___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_instMonadParsec; +lean_object* l_Lean_Parsec_pstring(lean_object*, lean_object*); +static lean_object* l_Lean_Parsec_instMonadParsec___closed__7; +lean_object* l_Lean_Parsec_instInhabitedParsec___rarg(lean_object*); +uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_many1(lean_object*); +lean_object* l_String_Iterator_next(lean_object*); +lean_object* l_Lean_Parsec_peek_x21(lean_object*); +static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__3; +lean_object* l_Lean_Parsec_fail___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Parsec_pchar___closed__2; +static lean_object* l_Lean_Parsec_pchar___closed__1; +static lean_object* l_Lean_Parsec_expectedEndOfInput___closed__1; +uint8_t l_String_Iterator_hasNext(lean_object*); +lean_object* l_Lean_Parsec_pchar___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_manyCore(lean_object*); +static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__5; +lean_object* l_Lean_Parsec_notFollowedBy(lean_object*); +uint8_t l_UInt32_decEq(uint32_t, uint32_t); +static lean_object* l_Lean_Parsec_digit___closed__1; +static lean_object* l_Lean_Parsec_instMonadParsec___closed__5; +static lean_object* l_Lean_Parsec_instMonadParsec___closed__3; +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_String_quote(lean_object*); +uint32_t l_String_Iterator_curr(lean_object*); +static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__12; +static lean_object* l_Lean_Parsec_satisfy___closed__1; +lean_object* l_Lean_Parsec_instMonadParsec___lambda__3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parsec_instReprParseResult(lean_object*); +lean_object* l_Lean_Parsec_instMonadParsec___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parsec_unexpectedEndOfInput; +static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__1; +lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44_(lean_object*); +lean_object* l_Lean_Parsec_manyCharsCore(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parsec_manyCore___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parsec_skipChar(uint32_t, lean_object*); +lean_object* lean_string_length(lean_object*); +lean_object* l_Lean_Parsec_pure(lean_object*); +lean_object* l_Lean_Parsec_asciiLetter(lean_object*); +lean_object* l_Lean_Parsec_skip(lean_object*); +lean_object* l_Lean_Parsec_orElse___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parsec_hexDigit(lean_object*); +static lean_object* l_Lean_Parsec_instMonadParsec___closed__6; +lean_object* l_Lean_Parsec_instMonadParsec___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_UInt32_decLe(uint32_t, uint32_t); +static lean_object* l_Lean_Parsec_many1___rarg___closed__1; +static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__8; +lean_object* l_Lean_Parsec_ws(lean_object*); +static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__4; +static lean_object* l_Lean_Parsec_instAlternativeParsec___closed__3; +lean_object* l_Lean_Parsec_skipString___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg(lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_to_int(lean_object*); +lean_object* l_Lean_Parsec_peek_x21_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parsec_instMonadParsec___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__7; +lean_object* l_Lean_Parsec_skipString(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_skipWs(lean_object*); +static lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__2; +lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44__match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parsec_instMonadParsec___closed__10; +lean_object* l_Lean_Parsec_fail(lean_object*); +static lean_object* l_Lean_Parsec_hexDigit___closed__1; +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_Repr_addAppParen(lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44__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_object* x_6; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_2(x_2, x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_apply_2(x_3, x_7, x_8); +return x_9; +} +} +} +lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44__match__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44__match__1___rarg), 3, 0); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Parsec.ParseResult.success"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__2; +x_2 = lean_box(1); +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("String.Iterator.mk "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__5; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__7; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Parsec.ParseResult.error"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__10; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__11; +x_2 = lean_box(1); +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_unsigned_to_nat(1024u); +x_7 = lean_nat_dec_le(x_6, x_3); +x_8 = lean_apply_2(x_1, x_5, x_6); +if (x_7 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); +lean_dec(x_4); +x_11 = l_String_quote(x_9); +lean_dec(x_9); +x_12 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__6; +x_14 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__8; +x_16 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Nat_repr(x_10); +x_18 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Repr_addAppParen(x_19, x_6); +x_21 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__3; +x_22 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = lean_box(1); +x_24 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_8); +x_26 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__4; +x_27 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +x_28 = 0; +x_29 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set_uint8(x_29, sizeof(void*)*1, x_28); +x_30 = l_Repr_addAppParen(x_29, x_3); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; +x_31 = lean_ctor_get(x_4, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_4, 1); +lean_inc(x_32); +lean_dec(x_4); +x_33 = l_String_quote(x_31); +lean_dec(x_31); +x_34 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__6; +x_36 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__8; +x_38 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Nat_repr(x_32); +x_40 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Repr_addAppParen(x_41, x_6); +x_43 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__3; +x_44 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = lean_box(1); +x_46 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_8); +x_48 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__9; +x_49 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +x_50 = 0; +x_51 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_50); +x_52 = l_Repr_addAppParen(x_51, x_3); +return x_52; +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_1); +x_53 = lean_ctor_get(x_2, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_2, 1); +lean_inc(x_54); +lean_dec(x_2); +x_55 = lean_unsigned_to_nat(1024u); +x_56 = lean_nat_dec_le(x_55, x_3); +x_57 = l_String_quote(x_54); +lean_dec(x_54); +x_58 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_58, 0, x_57); +if (x_56 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_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; uint8_t x_78; lean_object* x_79; lean_object* x_80; +x_59 = lean_ctor_get(x_53, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_53, 1); +lean_inc(x_60); +lean_dec(x_53); +x_61 = l_String_quote(x_59); +lean_dec(x_59); +x_62 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_63 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__6; +x_64 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__8; +x_66 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Nat_repr(x_60); +x_68 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_68, 0, x_67); +x_69 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_69, 0, x_66); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Repr_addAppParen(x_69, x_55); +x_71 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__12; +x_72 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = lean_box(1); +x_74 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_58); +x_76 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__4; +x_77 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = 0; +x_79 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_78); +x_80 = l_Repr_addAppParen(x_79, x_3); +return x_80; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; +x_81 = lean_ctor_get(x_53, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_53, 1); +lean_inc(x_82); +lean_dec(x_53); +x_83 = l_String_quote(x_81); +lean_dec(x_81); +x_84 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_84, 0, x_83); +x_85 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__6; +x_86 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_84); +x_87 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__8; +x_88 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Nat_repr(x_82); +x_90 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_90, 0, x_89); +x_91 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_91, 0, x_88); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Repr_addAppParen(x_91, x_55); +x_93 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__12; +x_94 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = lean_box(1); +x_96 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_58); +x_98 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__9; +x_99 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = 0; +x_101 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set_uint8(x_101, sizeof(void*)*1, x_100); +x_102 = l_Repr_addAppParen(x_101, x_3); +return x_102; +} +} +} +} +lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44_(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___boxed), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +lean_object* l_Lean_Parsec_instReprParseResult___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Parsec_instReprParseResult(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parsec_instReprParseResult___rarg), 1, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Parsec_instInhabitedParsec___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +lean_object* l_Lean_Parsec_instInhabitedParsec___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Parsec_instInhabitedParsec___rarg___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parsec_instInhabitedParsec(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parsec_instInhabitedParsec___rarg), 1, 0); +return x_2; +} +} +lean_object* l_Lean_Parsec_pure___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_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; +} +} +lean_object* l_Lean_Parsec_pure(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parsec_pure___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Parsec_bind___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_apply_1(x_1, x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_dec(x_4); +x_7 = lean_apply_2(x_2, x_6, x_5); +return x_7; +} +else +{ +uint8_t x_8; +lean_dec(x_2); +x_8 = !lean_is_exclusive(x_4); +if (x_8 == 0) +{ +return x_4; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_4, 0); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_4); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +} +} +} +lean_object* l_Lean_Parsec_bind(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Parsec_bind___rarg), 3, 0); +return x_3; +} +} +lean_object* l_Lean_Parsec_instMonadParsec___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_apply_1(x_4, x_5); +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, 1); +x_9 = lean_apply_1(x_3, x_8); +lean_ctor_set(x_6, 1, x_9); +return x_6; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_6); +x_12 = lean_apply_1(x_3, x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_10); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +else +{ +uint8_t x_14; +lean_dec(x_3); +x_14 = !lean_is_exclusive(x_6); +if (x_14 == 0) +{ +return x_6; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_6, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_6); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +lean_object* l_Lean_Parsec_instMonadParsec___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_apply_1(x_4, x_5); +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; +x_8 = lean_ctor_get(x_6, 1); +lean_dec(x_8); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +} +else +{ +uint8_t x_11; +lean_dec(x_3); +x_11 = !lean_is_exclusive(x_6); +if (x_11 == 0) +{ +return x_6; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_6, 0); +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_6); +x_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_Lean_Parsec_instMonadParsec___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +return x_4; +} +} +lean_object* l_Lean_Parsec_instMonadParsec___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_apply_1(x_3, x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_apply_1(x_4, x_7); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 1); +x_12 = lean_apply_1(x_8, x_11); +lean_ctor_set(x_9, 1, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +x_15 = lean_apply_1(x_8, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +lean_dec(x_8); +x_17 = !lean_is_exclusive(x_9); +if (x_17 == 0) +{ +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +else +{ +uint8_t x_21; +lean_dec(x_4); +x_21 = !lean_is_exclusive(x_6); +if (x_21 == 0) +{ +return x_6; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_6, 0); +x_23 = lean_ctor_get(x_6, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_6); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +lean_object* l_Lean_Parsec_instMonadParsec___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_apply_1(x_3, x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_apply_1(x_4, x_7); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_9, 1); +lean_dec(x_11); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_9, 0); +lean_inc(x_12); +lean_dec(x_9); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_8); +return x_13; +} +} +else +{ +uint8_t x_14; +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +else +{ +uint8_t x_18; +lean_dec(x_4); +x_18 = !lean_is_exclusive(x_6); +if (x_18 == 0) +{ +return x_6; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_6, 0); +x_20 = lean_ctor_get(x_6, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_6); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +lean_object* l_Lean_Parsec_instMonadParsec___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_apply_1(x_3, x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_apply_1(x_4, x_7); +return x_8; +} +else +{ +uint8_t x_9; +lean_dec(x_4); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 0) +{ +return x_6; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_6); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +} +lean_object* l_Lean_Parsec_instMonadParsec___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_apply_1(x_3, x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_apply_2(x_4, x_8, x_7); +return x_9; +} +else +{ +uint8_t x_10; +lean_dec(x_4); +x_10 = !lean_is_exclusive(x_6); +if (x_10 == 0) +{ +return x_6; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_6, 0); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_6); +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; +} +} +} +} +static lean_object* _init_l_Lean_Parsec_instMonadParsec___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parsec_instMonadParsec___lambda__1), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_instMonadParsec___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parsec_instMonadParsec___lambda__2), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_instMonadParsec___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parsec_instMonadParsec___closed__1; +x_2 = l_Lean_Parsec_instMonadParsec___closed__2; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parsec_instMonadParsec___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parsec_instMonadParsec___lambda__3), 3, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_instMonadParsec___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parsec_instMonadParsec___lambda__4), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_instMonadParsec___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parsec_instMonadParsec___lambda__5), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_instMonadParsec___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parsec_instMonadParsec___lambda__6), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_instMonadParsec___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parsec_instMonadParsec___closed__3; +x_2 = l_Lean_Parsec_instMonadParsec___closed__4; +x_3 = l_Lean_Parsec_instMonadParsec___closed__5; +x_4 = l_Lean_Parsec_instMonadParsec___closed__6; +x_5 = l_Lean_Parsec_instMonadParsec___closed__7; +x_6 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_6, 0, x_1); +lean_ctor_set(x_6, 1, x_2); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set(x_6, 4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Parsec_instMonadParsec___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parsec_instMonadParsec___lambda__7), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_instMonadParsec___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parsec_instMonadParsec___closed__8; +x_2 = l_Lean_Parsec_instMonadParsec___closed__9; +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_Parsec_instMonadParsec() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parsec_instMonadParsec___closed__10; +return x_1; +} +} +lean_object* l_Lean_Parsec_fail___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +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_Parsec_fail(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parsec_fail___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Parsec_orElse___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +lean_inc(x_3); +x_4 = lean_apply_1(x_1, x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +lean_dec(x_3); +lean_dec(x_2); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +lean_inc(x_6); +lean_dec(x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_4); +if (x_9 == 0) +{ +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_4, 1); +x_12 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_10); +if (x_12 == 0) +{ +lean_dec(x_3); +lean_dec(x_2); +return x_4; +} +else +{ +lean_object* x_13; +lean_free_object(x_4); +lean_dec(x_11); +lean_dec(x_10); +x_13 = lean_apply_1(x_2, x_3); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_4, 0); +x_15 = lean_ctor_get(x_4, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_4); +x_16 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_14); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_3); +lean_dec(x_2); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; +lean_dec(x_15); +lean_dec(x_14); +x_18 = lean_apply_1(x_2, x_3); +return x_18; +} +} +} +} +} +lean_object* l_Lean_Parsec_orElse(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parsec_orElse___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Parsec_attempt___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_inc(x_2); +x_3 = lean_apply_1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +lean_dec(x_2); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +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); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_3); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_3, 0); +lean_dec(x_9); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +lean_dec(x_3); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_2); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +} +} +} +lean_object* l_Lean_Parsec_attempt(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parsec_attempt___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Parsec_instAlternativeParsec___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Parsec_instInhabitedParsec___rarg___closed__1; +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +} +lean_object* l_Lean_Parsec_instAlternativeParsec___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +lean_inc(x_4); +x_5 = lean_apply_1(x_2, x_4); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +lean_dec(x_3); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_inc(x_7); +lean_dec(x_5); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_5); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_5, 0); +x_12 = lean_ctor_get(x_5, 1); +x_13 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_4, x_11); +if (x_13 == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +else +{ +lean_object* x_14; +lean_free_object(x_5); +lean_dec(x_12); +lean_dec(x_11); +x_14 = lean_apply_1(x_3, x_4); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_5, 0); +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_5); +x_17 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_4, x_15); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_4); +lean_dec(x_3); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +else +{ +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_15); +x_19 = lean_apply_1(x_3, x_4); +return x_19; +} +} +} +} +} +static lean_object* _init_l_Lean_Parsec_instAlternativeParsec___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parsec_instAlternativeParsec___lambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_instAlternativeParsec___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parsec_instAlternativeParsec___lambda__2), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_instAlternativeParsec___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parsec_instMonadParsec; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parsec_instAlternativeParsec___closed__1; +x_4 = l_Lean_Parsec_instAlternativeParsec___closed__2; +x_5 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parsec_instAlternativeParsec() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parsec_instAlternativeParsec___closed__3; +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_expectedEndOfInput___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expected end of input"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_expectedEndOfInput() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parsec_expectedEndOfInput___closed__1; +return x_1; +} +} +lean_object* l_Lean_Parsec_eof(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_String_Iterator_hasNext(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_box(0); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = l_Lean_Parsec_expectedEndOfInput; +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_1); +lean_ctor_set(x_6, 1, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Parsec_manyCore___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +lean_inc(x_1); +lean_inc(x_3); +x_4 = lean_apply_1(x_1, x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_dec(x_4); +lean_inc(x_2); +x_7 = lean_array_push(x_2, x_6); +x_8 = l_Lean_Parsec_manyCore(lean_box(0)); +x_9 = lean_apply_3(x_8, x_1, x_7, x_5); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_3); +lean_dec(x_2); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +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); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_9); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +x_17 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_15); +if (x_17 == 0) +{ +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +else +{ +lean_dec(x_16); +lean_dec(x_15); +lean_ctor_set_tag(x_9, 0); +lean_ctor_set(x_9, 1, x_2); +lean_ctor_set(x_9, 0, x_3); +return x_9; +} +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_18); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_3); +lean_dec(x_2); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +else +{ +lean_object* x_22; +lean_dec(x_19); +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_3); +lean_ctor_set(x_22, 1, x_2); +return x_22; +} +} +} +} +else +{ +uint8_t x_23; +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_4); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_4, 0); +x_25 = lean_ctor_get(x_4, 1); +x_26 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_24); +if (x_26 == 0) +{ +lean_dec(x_3); +lean_dec(x_2); +return x_4; +} +else +{ +lean_dec(x_25); +lean_dec(x_24); +lean_ctor_set_tag(x_4, 0); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 0, x_3); +return x_4; +} +} +else +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_4, 0); +x_28 = lean_ctor_get(x_4, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_4); +x_29 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_27); +if (x_29 == 0) +{ +lean_object* x_30; +lean_dec(x_3); +lean_dec(x_2); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_27); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +else +{ +lean_object* x_31; +lean_dec(x_28); +lean_dec(x_27); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_3); +lean_ctor_set(x_31, 1, x_2); +return x_31; +} +} +} +} +} +lean_object* l_Lean_Parsec_manyCore(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parsec_manyCore___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Parsec_many___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Parsec_many___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_Lean_Parsec_many___rarg___closed__1; +x_4 = l_Lean_Parsec_manyCore(lean_box(0)); +x_5 = lean_apply_3(x_4, x_1, x_3, x_2); +return x_5; +} +} +lean_object* l_Lean_Parsec_many(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parsec_many___rarg), 2, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Parsec_many1___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Parsec_many1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_inc(x_1); +x_3 = lean_apply_1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Parsec_many1___rarg___closed__1; +x_7 = lean_array_push(x_6, x_5); +x_8 = l_Lean_Parsec_manyCore(lean_box(0)); +x_9 = lean_apply_3(x_8, x_1, x_7, x_4); +return x_9; +} +else +{ +uint8_t x_10; +lean_dec(x_1); +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +return x_3; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +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; +} +} +} +} +lean_object* l_Lean_Parsec_many1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parsec_many1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Parsec_manyCharsCore(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +lean_inc(x_1); +lean_inc(x_3); +x_4 = lean_apply_1(x_1, x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; uint32_t x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_dec(x_4); +x_7 = lean_unbox_uint32(x_6); +lean_dec(x_6); +lean_inc(x_2); +x_8 = lean_string_push(x_2, x_7); +x_9 = l_Lean_Parsec_manyCharsCore(x_1, x_8, x_5); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_3); +lean_dec(x_2); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +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); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_9); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +x_17 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_15); +if (x_17 == 0) +{ +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +else +{ +lean_dec(x_16); +lean_dec(x_15); +lean_ctor_set_tag(x_9, 0); +lean_ctor_set(x_9, 1, x_2); +lean_ctor_set(x_9, 0, x_3); +return x_9; +} +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_18); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_3); +lean_dec(x_2); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +else +{ +lean_object* x_22; +lean_dec(x_19); +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_3); +lean_ctor_set(x_22, 1, x_2); +return x_22; +} +} +} +} +else +{ +uint8_t x_23; +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_4); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_4, 0); +x_25 = lean_ctor_get(x_4, 1); +x_26 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_24); +if (x_26 == 0) +{ +lean_dec(x_3); +lean_dec(x_2); +return x_4; +} +else +{ +lean_dec(x_25); +lean_dec(x_24); +lean_ctor_set_tag(x_4, 0); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 0, x_3); +return x_4; +} +} +else +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_4, 0); +x_28 = lean_ctor_get(x_4, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_4); +x_29 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_27); +if (x_29 == 0) +{ +lean_object* x_30; +lean_dec(x_3); +lean_dec(x_2); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_27); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +else +{ +lean_object* x_31; +lean_dec(x_28); +lean_dec(x_27); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_3); +lean_ctor_set(x_31, 1, x_2); +return x_31; +} +} +} +} +} +lean_object* l_Lean_Parsec_manyChars(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Parsec_instInhabitedParsec___rarg___closed__1; +x_4 = l_Lean_Parsec_manyCharsCore(x_1, x_3, x_2); +return x_4; +} +} +lean_object* l_Lean_Parsec_many1Chars(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_inc(x_1); +x_3 = lean_apply_1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint32_t x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Parsec_instInhabitedParsec___rarg___closed__1; +x_7 = lean_unbox_uint32(x_5); +lean_dec(x_5); +x_8 = lean_string_push(x_6, x_7); +x_9 = l_Lean_Parsec_manyCharsCore(x_1, x_8, x_4); +return x_9; +} +else +{ +uint8_t x_10; +lean_dec(x_1); +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +return x_3; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +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; +} +} +} +} +static lean_object* _init_l_Lean_Parsec_pstring___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expected: "); +return x_1; +} +} +lean_object* l_Lean_Parsec_pstring(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; +x_3 = lean_string_length(x_1); +lean_inc(x_2); +x_4 = l_String_Iterator_forward(x_2, x_3); +x_5 = l_String_Iterator_extract(x_2, x_4); +x_6 = lean_string_dec_eq(x_5, x_1); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_5); +lean_dec(x_4); +x_7 = l_Lean_Parsec_pstring___closed__1; +x_8 = lean_string_append(x_7, x_1); +x_9 = l_Lean_Parsec_instInhabitedParsec___rarg___closed__1; +x_10 = lean_string_append(x_8, x_9); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_2); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +else +{ +lean_object* x_12; +lean_dec(x_2); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_4); +lean_ctor_set(x_12, 1, x_5); +return x_12; +} +} +} +lean_object* l_Lean_Parsec_pstring___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Parsec_pstring(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_Parsec_skipString(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Parsec_pstring(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 1); +lean_dec(x_5); +x_6 = lean_box(0); +lean_ctor_set(x_3, 1, x_6); +return x_3; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +return x_3; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +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; +} +} +} +} +lean_object* l_Lean_Parsec_skipString___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Parsec_skipString(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parsec_unexpectedEndOfInput___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unexpected end of input"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_unexpectedEndOfInput() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parsec_unexpectedEndOfInput___closed__1; +return x_1; +} +} +lean_object* l_Lean_Parsec_anyChar(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_String_Iterator_hasNext(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +else +{ +lean_object* x_5; uint32_t x_6; lean_object* x_7; lean_object* x_8; +lean_inc(x_1); +x_5 = l_String_Iterator_next(x_1); +x_6 = l_String_Iterator_curr(x_1); +lean_dec(x_1); +x_7 = lean_box_uint32(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_5); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +static lean_object* _init_l_Lean_Parsec_pchar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expected: '"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parsec_pchar___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'"); +return x_1; +} +} +lean_object* l_Lean_Parsec_pchar(uint32_t x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = l_String_Iterator_hasNext(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Lean_Parsec_unexpectedEndOfInput; +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_4); +return x_5; +} +else +{ +lean_object* x_6; uint32_t x_7; uint8_t x_8; +lean_inc(x_2); +x_6 = l_String_Iterator_next(x_2); +x_7 = l_String_Iterator_curr(x_2); +x_8 = x_7 == x_1; +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_6); +x_9 = l_Lean_Parsec_instInhabitedParsec___rarg___closed__1; +x_10 = lean_string_push(x_9, x_1); +x_11 = l_Lean_Parsec_pchar___closed__1; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_Parsec_pchar___closed__2; +x_14 = lean_string_append(x_12, x_13); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_2); +x_16 = lean_box_uint32(x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_6); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +lean_object* l_Lean_Parsec_pchar___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint32_t x_3; lean_object* x_4; +x_3 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_4 = l_Lean_Parsec_pchar(x_3, x_2); +return x_4; +} +} +lean_object* l_Lean_Parsec_skipChar(uint32_t x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = l_String_Iterator_hasNext(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Lean_Parsec_unexpectedEndOfInput; +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_4); +return x_5; +} +else +{ +lean_object* x_6; uint32_t x_7; uint8_t x_8; +lean_inc(x_2); +x_6 = l_String_Iterator_next(x_2); +x_7 = l_String_Iterator_curr(x_2); +x_8 = x_7 == x_1; +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_6); +x_9 = l_Lean_Parsec_instInhabitedParsec___rarg___closed__1; +x_10 = lean_string_push(x_9, x_1); +x_11 = l_Lean_Parsec_pchar___closed__1; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_Parsec_pchar___closed__2; +x_14 = lean_string_append(x_12, x_13); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_2); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_6); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +lean_object* l_Lean_Parsec_skipChar___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint32_t x_3; lean_object* x_4; +x_3 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_4 = l_Lean_Parsec_skipChar(x_3, x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Parsec_digit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("digit expected"); +return x_1; +} +} +lean_object* l_Lean_Parsec_digit(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_String_Iterator_hasNext(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +else +{ +lean_object* x_5; uint32_t x_6; uint32_t x_7; uint8_t x_8; +lean_inc(x_1); +x_5 = l_String_Iterator_next(x_1); +x_6 = l_String_Iterator_curr(x_1); +x_7 = 48; +x_8 = x_7 <= x_6; +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +x_9 = l_Lean_Parsec_digit___closed__1; +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +else +{ +uint32_t x_11; uint8_t x_12; +x_11 = 57; +x_12 = x_6 <= x_11; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_5); +x_13 = l_Lean_Parsec_digit___closed__1; +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_box_uint32(x_6); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +} +} +static lean_object* _init_l_Lean_Parsec_hexDigit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("hex digit expected"); +return x_1; +} +} +lean_object* l_Lean_Parsec_hexDigit(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_String_Iterator_hasNext(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +else +{ +lean_object* x_5; uint32_t x_6; lean_object* x_7; uint32_t x_32; uint8_t x_33; +lean_inc(x_1); +x_5 = l_String_Iterator_next(x_1); +x_6 = l_String_Iterator_curr(x_1); +x_32 = 48; +x_33 = x_32 <= x_6; +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_box(0); +x_7 = x_34; +goto block_31; +} +else +{ +uint32_t x_35; uint8_t x_36; +x_35 = 57; +x_36 = x_6 <= x_35; +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = lean_box(0); +x_7 = x_37; +goto block_31; +} +else +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_1); +x_38 = lean_box_uint32(x_6); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_5); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +block_31: +{ +uint32_t x_8; uint8_t x_9; +lean_dec(x_7); +x_8 = 97; +x_9 = x_8 <= x_6; +if (x_9 == 0) +{ +uint32_t x_10; uint8_t x_11; +x_10 = 65; +x_11 = x_10 <= x_6; +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_5); +x_12 = l_Lean_Parsec_hexDigit___closed__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); +return x_13; +} +else +{ +uint8_t x_14; +x_14 = x_6 <= x_10; +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_5); +x_15 = l_Lean_Parsec_hexDigit___closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_1); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_1); +x_17 = lean_box_uint32(x_6); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_5); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +else +{ +uint8_t x_19; +x_19 = x_6 <= x_8; +if (x_19 == 0) +{ +uint32_t x_20; uint8_t x_21; +x_20 = 65; +x_21 = x_20 <= x_6; +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_5); +x_22 = l_Lean_Parsec_hexDigit___closed__1; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_1); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = x_6 <= x_20; +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_5); +x_25 = l_Lean_Parsec_hexDigit___closed__1; +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_1); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_1); +x_27 = lean_box_uint32(x_6); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_5); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_1); +x_29 = lean_box_uint32(x_6); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_5); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Parsec_asciiLetter___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ASCII letter expected"); +return x_1; +} +} +lean_object* l_Lean_Parsec_asciiLetter(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_String_Iterator_hasNext(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +else +{ +lean_object* x_5; uint32_t x_6; uint32_t x_7; uint8_t x_8; +lean_inc(x_1); +x_5 = l_String_Iterator_next(x_1); +x_6 = l_String_Iterator_curr(x_1); +x_7 = 65; +x_8 = x_7 <= x_6; +if (x_8 == 0) +{ +uint32_t x_9; uint8_t x_10; +x_9 = 97; +x_10 = x_9 <= x_6; +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_5); +x_11 = l_Lean_Parsec_asciiLetter___closed__1; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +else +{ +uint32_t x_13; uint8_t x_14; +x_13 = 122; +x_14 = x_6 <= x_13; +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_5); +x_15 = l_Lean_Parsec_asciiLetter___closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_1); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_1); +x_17 = lean_box_uint32(x_6); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_5); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +else +{ +uint32_t x_19; uint8_t x_20; +x_19 = 90; +x_20 = x_6 <= x_19; +if (x_20 == 0) +{ +uint32_t x_21; uint8_t x_22; +x_21 = 97; +x_22 = x_21 <= x_6; +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_5); +x_23 = l_Lean_Parsec_asciiLetter___closed__1; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +else +{ +uint32_t x_25; uint8_t x_26; +x_25 = 122; +x_26 = x_6 <= x_25; +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_5); +x_27 = l_Lean_Parsec_asciiLetter___closed__1; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_1); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_1); +x_29 = lean_box_uint32(x_6); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_5); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_1); +x_31 = lean_box_uint32(x_6); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_5); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +} +static lean_object* _init_l_Lean_Parsec_satisfy___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("condition not satisfied"); +return x_1; +} +} +lean_object* l_Lean_Parsec_satisfy(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = l_String_Iterator_hasNext(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_1); +x_4 = l_Lean_Parsec_unexpectedEndOfInput; +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_4); +return x_5; +} +else +{ +lean_object* x_6; uint32_t x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_inc(x_2); +x_6 = l_String_Iterator_next(x_2); +x_7 = l_String_Iterator_curr(x_2); +x_8 = lean_box_uint32(x_7); +x_9 = lean_apply_1(x_1, x_8); +x_10 = lean_unbox(x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_6); +x_11 = l_Lean_Parsec_satisfy___closed__1; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_2); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_2); +x_13 = lean_box_uint32(x_7); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_6); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} +lean_object* l_Lean_Parsec_notFollowedBy___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_inc(x_2); +x_3 = lean_apply_1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +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, 1); +lean_dec(x_5); +x_6 = lean_ctor_get(x_3, 0); +lean_dec(x_6); +x_7 = l_Lean_Parsec_instInhabitedParsec___rarg___closed__1; +lean_ctor_set_tag(x_3, 1); +lean_ctor_set(x_3, 1, x_7); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_8 = l_Lean_Parsec_instInhabitedParsec___rarg___closed__1; +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_2); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_3, 1); +lean_dec(x_11); +x_12 = lean_ctor_get(x_3, 0); +lean_dec(x_12); +x_13 = lean_box(0); +lean_ctor_set_tag(x_3, 0); +lean_ctor_set(x_3, 1, x_13); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +else +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +} +} +lean_object* l_Lean_Parsec_notFollowedBy(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parsec_notFollowedBy___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Parsec_skipWs(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_String_Iterator_hasNext(x_1); +if (x_2 == 0) +{ +return x_1; +} +else +{ +uint32_t x_3; uint32_t x_4; uint8_t x_5; +x_3 = l_String_Iterator_curr(x_1); +x_4 = 9; +x_5 = x_3 == x_4; +if (x_5 == 0) +{ +uint32_t x_6; uint8_t x_7; +x_6 = 10; +x_7 = x_3 == x_6; +if (x_7 == 0) +{ +uint32_t x_8; uint8_t x_9; +x_8 = 13; +x_9 = x_3 == x_8; +if (x_9 == 0) +{ +uint32_t x_10; uint8_t x_11; +x_10 = 32; +x_11 = x_3 == x_10; +if (x_11 == 0) +{ +return x_1; +} +else +{ +lean_object* x_12; +x_12 = l_String_Iterator_next(x_1); +x_1 = x_12; +goto _start; +} +} +else +{ +lean_object* x_14; +x_14 = l_String_Iterator_next(x_1); +x_1 = x_14; +goto _start; +} +} +else +{ +lean_object* x_16; +x_16 = l_String_Iterator_next(x_1); +x_1 = x_16; +goto _start; +} +} +else +{ +lean_object* x_18; +x_18 = l_String_Iterator_next(x_1); +x_1 = x_18; +goto _start; +} +} +} +} +lean_object* l_Lean_Parsec_peek_x3f(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_String_Iterator_hasNext(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_box(0); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +else +{ +uint32_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = l_String_Iterator_curr(x_1); +x_6 = lean_box_uint32(x_5); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +lean_object* l_Lean_Parsec_peek_x21_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Parsec_peek_x21_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parsec_peek_x21_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Parsec_peek_x21(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_String_Iterator_hasNext(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +else +{ +uint32_t x_5; lean_object* x_6; lean_object* x_7; +x_5 = l_String_Iterator_curr(x_1); +x_6 = lean_box_uint32(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Parsec_skip(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_String_Iterator_next(x_1); +x_3 = lean_box(0); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +} +lean_object* l_Lean_Parsec_ws(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Parsec_skipWs(x_1); +x_3 = lean_box(0); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +} +lean_object* initialize_Init(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Data_Parsec(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); +l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__1 = _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__1); +l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__2 = _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__2(); +lean_mark_persistent(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__2); +l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__3 = _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__3(); +lean_mark_persistent(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__3); +l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__4 = _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__4(); +lean_mark_persistent(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__4); +l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__5 = _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__5(); +lean_mark_persistent(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__5); +l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__6 = _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__6(); +lean_mark_persistent(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__6); +l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__7 = _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__7(); +lean_mark_persistent(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__7); +l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__8 = _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__8(); +lean_mark_persistent(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__8); +l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__9 = _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__9(); +lean_mark_persistent(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__9); +l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__10 = _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__10(); +lean_mark_persistent(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__10); +l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__11 = _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__11(); +lean_mark_persistent(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__11); +l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__12 = _init_l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__12(); +lean_mark_persistent(l___private_Lean_Data_Parsec_0__Lean_Parsec_reprParseResult____x40_Lean_Data_Parsec___hyg_44____rarg___closed__12); +l_Lean_Parsec_instInhabitedParsec___rarg___closed__1 = _init_l_Lean_Parsec_instInhabitedParsec___rarg___closed__1(); +lean_mark_persistent(l_Lean_Parsec_instInhabitedParsec___rarg___closed__1); +l_Lean_Parsec_instMonadParsec___closed__1 = _init_l_Lean_Parsec_instMonadParsec___closed__1(); +lean_mark_persistent(l_Lean_Parsec_instMonadParsec___closed__1); +l_Lean_Parsec_instMonadParsec___closed__2 = _init_l_Lean_Parsec_instMonadParsec___closed__2(); +lean_mark_persistent(l_Lean_Parsec_instMonadParsec___closed__2); +l_Lean_Parsec_instMonadParsec___closed__3 = _init_l_Lean_Parsec_instMonadParsec___closed__3(); +lean_mark_persistent(l_Lean_Parsec_instMonadParsec___closed__3); +l_Lean_Parsec_instMonadParsec___closed__4 = _init_l_Lean_Parsec_instMonadParsec___closed__4(); +lean_mark_persistent(l_Lean_Parsec_instMonadParsec___closed__4); +l_Lean_Parsec_instMonadParsec___closed__5 = _init_l_Lean_Parsec_instMonadParsec___closed__5(); +lean_mark_persistent(l_Lean_Parsec_instMonadParsec___closed__5); +l_Lean_Parsec_instMonadParsec___closed__6 = _init_l_Lean_Parsec_instMonadParsec___closed__6(); +lean_mark_persistent(l_Lean_Parsec_instMonadParsec___closed__6); +l_Lean_Parsec_instMonadParsec___closed__7 = _init_l_Lean_Parsec_instMonadParsec___closed__7(); +lean_mark_persistent(l_Lean_Parsec_instMonadParsec___closed__7); +l_Lean_Parsec_instMonadParsec___closed__8 = _init_l_Lean_Parsec_instMonadParsec___closed__8(); +lean_mark_persistent(l_Lean_Parsec_instMonadParsec___closed__8); +l_Lean_Parsec_instMonadParsec___closed__9 = _init_l_Lean_Parsec_instMonadParsec___closed__9(); +lean_mark_persistent(l_Lean_Parsec_instMonadParsec___closed__9); +l_Lean_Parsec_instMonadParsec___closed__10 = _init_l_Lean_Parsec_instMonadParsec___closed__10(); +lean_mark_persistent(l_Lean_Parsec_instMonadParsec___closed__10); +l_Lean_Parsec_instMonadParsec = _init_l_Lean_Parsec_instMonadParsec(); +lean_mark_persistent(l_Lean_Parsec_instMonadParsec); +l_Lean_Parsec_instAlternativeParsec___closed__1 = _init_l_Lean_Parsec_instAlternativeParsec___closed__1(); +lean_mark_persistent(l_Lean_Parsec_instAlternativeParsec___closed__1); +l_Lean_Parsec_instAlternativeParsec___closed__2 = _init_l_Lean_Parsec_instAlternativeParsec___closed__2(); +lean_mark_persistent(l_Lean_Parsec_instAlternativeParsec___closed__2); +l_Lean_Parsec_instAlternativeParsec___closed__3 = _init_l_Lean_Parsec_instAlternativeParsec___closed__3(); +lean_mark_persistent(l_Lean_Parsec_instAlternativeParsec___closed__3); +l_Lean_Parsec_instAlternativeParsec = _init_l_Lean_Parsec_instAlternativeParsec(); +lean_mark_persistent(l_Lean_Parsec_instAlternativeParsec); +l_Lean_Parsec_expectedEndOfInput___closed__1 = _init_l_Lean_Parsec_expectedEndOfInput___closed__1(); +lean_mark_persistent(l_Lean_Parsec_expectedEndOfInput___closed__1); +l_Lean_Parsec_expectedEndOfInput = _init_l_Lean_Parsec_expectedEndOfInput(); +lean_mark_persistent(l_Lean_Parsec_expectedEndOfInput); +l_Lean_Parsec_many___rarg___closed__1 = _init_l_Lean_Parsec_many___rarg___closed__1(); +lean_mark_persistent(l_Lean_Parsec_many___rarg___closed__1); +l_Lean_Parsec_many1___rarg___closed__1 = _init_l_Lean_Parsec_many1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Parsec_many1___rarg___closed__1); +l_Lean_Parsec_pstring___closed__1 = _init_l_Lean_Parsec_pstring___closed__1(); +lean_mark_persistent(l_Lean_Parsec_pstring___closed__1); +l_Lean_Parsec_unexpectedEndOfInput___closed__1 = _init_l_Lean_Parsec_unexpectedEndOfInput___closed__1(); +lean_mark_persistent(l_Lean_Parsec_unexpectedEndOfInput___closed__1); +l_Lean_Parsec_unexpectedEndOfInput = _init_l_Lean_Parsec_unexpectedEndOfInput(); +lean_mark_persistent(l_Lean_Parsec_unexpectedEndOfInput); +l_Lean_Parsec_pchar___closed__1 = _init_l_Lean_Parsec_pchar___closed__1(); +lean_mark_persistent(l_Lean_Parsec_pchar___closed__1); +l_Lean_Parsec_pchar___closed__2 = _init_l_Lean_Parsec_pchar___closed__2(); +lean_mark_persistent(l_Lean_Parsec_pchar___closed__2); +l_Lean_Parsec_digit___closed__1 = _init_l_Lean_Parsec_digit___closed__1(); +lean_mark_persistent(l_Lean_Parsec_digit___closed__1); +l_Lean_Parsec_hexDigit___closed__1 = _init_l_Lean_Parsec_hexDigit___closed__1(); +lean_mark_persistent(l_Lean_Parsec_hexDigit___closed__1); +l_Lean_Parsec_asciiLetter___closed__1 = _init_l_Lean_Parsec_asciiLetter___closed__1(); +lean_mark_persistent(l_Lean_Parsec_asciiLetter___closed__1); +l_Lean_Parsec_satisfy___closed__1 = _init_l_Lean_Parsec_satisfy___closed__1(); +lean_mark_persistent(l_Lean_Parsec_satisfy___closed__1); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Data/Xml.c b/stage0/stdlib/Lean/Data/Xml.c new file mode 100644 index 0000000000..09226b006c --- /dev/null +++ b/stage0/stdlib/Lean/Data/Xml.c @@ -0,0 +1,37 @@ +// Lean compiler output +// Module: Lean.Data.Xml +// Imports: Init Lean.Data.Xml.Basic Lean.Data.Xml.Parser +#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* initialize_Init(lean_object*); +lean_object* initialize_Lean_Data_Xml_Basic(lean_object*); +lean_object* initialize_Lean_Data_Xml_Parser(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Data_Xml(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_Xml_Basic(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Xml_Parser(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Data/Xml/Basic.c b/stage0/stdlib/Lean/Data/Xml/Basic.c new file mode 100644 index 0000000000..31f822da17 --- /dev/null +++ b/stage0/stdlib/Lean/Data/Xml/Basic.c @@ -0,0 +1,547 @@ +// Lean compiler output +// Module: Lean.Data.Xml.Basic +// Imports: Init Std.Data.RBMap +#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 +size_t l_USize_add(size_t, size_t); +uint8_t l_USize_decEq(size_t, size_t); +lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Xml_instToStringAttributes(lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__3; +lean_object* l_Lean_Xml_instToStringContent; +lean_object* lean_array_get_size(lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__1; +static lean_object* l_Lean_Xml_instInhabitedContent___closed__1; +uint8_t l_USize_decLt(size_t, size_t); +static lean_object* l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__3; +static lean_object* l_Lean_Xml_instToStringElement___closed__1; +lean_object* l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1(lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString(lean_object*); +lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString_match__1(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__2; +lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString(lean_object*); +static lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__1; +size_t lean_usize_of_nat(lean_object*); +lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString_match__1___rarg(lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Lean_Xml_instInhabitedContent; +static lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString___closed__1; +static lean_object* l_Lean_Xml_instToStringAttributes___closed__1; +lean_object* l_Lean_Xml_instToStringAttributes___boxed(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___spec__2(lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString___closed__2; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___spec__1(size_t, size_t, lean_object*); +static lean_object* l_Lean_Xml_instToStringContent___closed__1; +lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString_match__1(lean_object*); +lean_object* l_Lean_Xml_instToStringElement; +lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__2; +lean_object* l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___boxed(lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* _init_l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" "); +return x_1; +} +} +static lean_object* _init_l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("=\""); +return x_1; +} +} +static lean_object* _init_l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("\""); +return x_1; +} +} +lean_object* l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 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_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_ctor_get(x_2, 3); +x_7 = l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1(x_1, x_3); +x_8 = l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__1; +x_9 = lean_string_append(x_8, x_4); +x_10 = l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__2; +x_11 = lean_string_append(x_9, x_10); +x_12 = lean_string_append(x_11, x_5); +x_13 = l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__3; +x_14 = lean_string_append(x_12, x_13); +x_15 = lean_string_append(x_7, x_14); +lean_dec(x_14); +x_1 = x_15; +x_2 = x_6; +goto _start; +} +} +} +static lean_object* _init_l_Lean_Xml_instToStringAttributes___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +lean_object* l_Lean_Xml_instToStringAttributes(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Xml_instToStringAttributes___closed__1; +x_3 = l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1(x_2, x_1); +return x_3; +} +} +lean_object* l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l_Lean_Xml_instToStringAttributes___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Xml_instToStringAttributes(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Xml_instInhabitedContent___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Xml_instToStringAttributes___closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Xml_instInhabitedContent() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Xml_instInhabitedContent___closed__1; +return x_1; +} +} +lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 2); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_3(x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_4); +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +case 1: +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_apply_1(x_3, x_7); +return x_8; +} +default: +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +lean_dec(x_2); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_apply_1(x_4, x_9); +return x_10; +} +} +} +} +lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = x_2 < x_1; +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = x_3; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = x_6; +x_10 = l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString(x_9); +x_11 = 1; +x_12 = x_2 + x_11; +x_13 = x_10; +x_14 = lean_array_uset(x_8, x_2, x_13); +x_2 = x_12; +x_3 = x_14; +goto _start; +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_2 == x_3; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = lean_string_append(x_4, x_6); +lean_dec(x_6); +x_8 = 1; +x_9 = x_2 + x_8; +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ +return x_4; +} +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("<"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(">"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +lean_object* l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString(x_2); +return x_3; +} +case 1: +{ +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); +lean_inc(x_4); +lean_dec(x_1); +x_5 = l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString___closed__1; +x_6 = lean_string_append(x_5, x_4); +lean_dec(x_4); +x_7 = l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString___closed__2; +x_8 = lean_string_append(x_6, x_7); +return x_8; +} +default: +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +return x_9; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___spec__1(x_4, x_5, x_3); +return x_6; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___spec__2(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +static lean_object* _init_l_Lean_Xml_instToStringElement___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_instToStringElement() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Xml_instToStringElement___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_instToStringContent___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_instToStringContent() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Xml_instToStringContent___closed__1; +return x_1; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Std_Data_RBMap(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Data_Xml_Basic(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_Std_Data_RBMap(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__1 = _init_l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__1(); +lean_mark_persistent(l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__1); +l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__2 = _init_l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__2(); +lean_mark_persistent(l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__2); +l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__3 = _init_l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__3(); +lean_mark_persistent(l_Std_RBNode_fold___at_Lean_Xml_instToStringAttributes___spec__1___closed__3); +l_Lean_Xml_instToStringAttributes___closed__1 = _init_l_Lean_Xml_instToStringAttributes___closed__1(); +lean_mark_persistent(l_Lean_Xml_instToStringAttributes___closed__1); +l_Lean_Xml_instInhabitedContent___closed__1 = _init_l_Lean_Xml_instInhabitedContent___closed__1(); +lean_mark_persistent(l_Lean_Xml_instInhabitedContent___closed__1); +l_Lean_Xml_instInhabitedContent = _init_l_Lean_Xml_instInhabitedContent(); +lean_mark_persistent(l_Lean_Xml_instInhabitedContent); +l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__1 = _init_l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__1(); +lean_mark_persistent(l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__1); +l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__2 = _init_l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__2(); +lean_mark_persistent(l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__2); +l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__3 = _init_l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__3(); +lean_mark_persistent(l___private_Lean_Data_Xml_Basic_0__Lean_Xml_eToString___closed__3); +l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString___closed__1 = _init_l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString___closed__1(); +lean_mark_persistent(l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString___closed__1); +l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString___closed__2 = _init_l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString___closed__2(); +lean_mark_persistent(l___private_Lean_Data_Xml_Basic_0__Lean_Xml_cToString___closed__2); +l_Lean_Xml_instToStringElement___closed__1 = _init_l_Lean_Xml_instToStringElement___closed__1(); +lean_mark_persistent(l_Lean_Xml_instToStringElement___closed__1); +l_Lean_Xml_instToStringElement = _init_l_Lean_Xml_instToStringElement(); +lean_mark_persistent(l_Lean_Xml_instToStringElement); +l_Lean_Xml_instToStringContent___closed__1 = _init_l_Lean_Xml_instToStringContent___closed__1(); +lean_mark_persistent(l_Lean_Xml_instToStringContent___closed__1); +l_Lean_Xml_instToStringContent = _init_l_Lean_Xml_instToStringContent(); +lean_mark_persistent(l_Lean_Xml_instToStringContent); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Data/Xml/Parser.c b/stage0/stdlib/Lean/Data/Xml/Parser.c new file mode 100644 index 0000000000..d6590c2820 --- /dev/null +++ b/stage0/stdlib/Lean/Data/Xml/Parser.c @@ -0,0 +1,30131 @@ +// Lean compiler output +// Module: Lean.Data.Xml.Parser +// Imports: Init Lean.Data.Parsec Lean.Data.Xml.Basic +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_Lean_Xml_Parser_content_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_predefinedEntityToChar___closed__4___boxed__const__1; +static lean_object* l_Lean_Xml_Parser_cp___closed__3; +lean_object* lean_string_push(lean_object*, uint32_t); +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__12; +static lean_object* l_Lean_Xml_Parser_CDStart___closed__1; +lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_choice___closed__1___boxed__const__1; +static lean_object* l_Lean_Xml_Parser_Char___closed__3; +lean_object* l_Lean_Xml_Parser_NameChar___boxed__const__1; +static lean_object* l_Lean_Xml_Parser_NameChar___closed__8; +size_t l_USize_add(size_t, size_t); +lean_object* l_Lean_Xml_Parser_PI___lambda__1(lean_object*); +static lean_object* l_Lean_Xml_Parser_doctypedecl___closed__3; +lean_object* l_Lean_Xml_Parser_AttValue___closed__1___boxed__const__1; +lean_object* l_Lean_Xml_Parser_elementDecl(lean_object*); +static lean_object* l_Lean_Xml_Parser_NameChar___closed__11; +static lean_object* l_Lean_Xml_Parser_AttValue___closed__1; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_Xml_Parser_Comment___closed__1___boxed__const__1; +static lean_object* l_Lean_Xml_Parser_SDDecl___closed__1; +static lean_object* l_Lean_Xml_Parser_NameStartChar___closed__3; +extern lean_object* l_Lean_Parsec_expectedEndOfInput; +lean_object* l_Lean_Xml_Parser_PubidLiteral___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_PubidLiteral___lambda__1___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_digitsToNat___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Xml_Parser_VersionNum___closed__1; +static lean_object* l_Lean_Xml_Parser_DefaultDecl___closed__3; +uint8_t l_USize_decEq(size_t, size_t); +lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Xml_Parser_VersionInfo___closed__1; +static lean_object* l_Lean_Xml_parse___closed__1; +static lean_object* l_Lean_Xml_Parser_contentspec___closed__2; +lean_object* l_Lean_Xml_Parser_CharData___lambda__1___boxed(lean_object*); +lean_object* l_Lean_Xml_Parser_EntityValue___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_PubidLiteral___lambda__1(uint32_t, lean_object*); +static lean_object* l_Lean_Xml_Parser_contentspec___closed__1; +static lean_object* l_Lean_Xml_Parser_predefinedEntityToChar___closed__2; +static lean_object* l_Lean_Xml_Parser_endl___closed__6; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__6; +static lean_object* l_Lean_Xml_Parser_VersionNum___closed__2; +lean_object* l_Lean_Xml_Parser_predefinedEntityToChar(lean_object*); +static lean_object* l_Lean_Xml_parse___closed__2; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__3; +static lean_object* l_Lean_Xml_Parser_Mixed___closed__6; +static lean_object* l_Lean_Xml_Parser_CharRef___closed__3; +lean_object* l_Lean_Xml_parse_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_intSubset___closed__1; +lean_object* l_Lean_Parsec_many1Chars(lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_doctypedecl___closed__4; +lean_object* l_List_foldl___at_Lean_Xml_Parser_elementPrefix___elambda__1___spec__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_elementDecl___closed__1; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__3; +lean_object* l_Lean_Xml_Parser_PEDecl(lean_object*); +lean_object* l_Lean_Parsec_manyChars(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_CharData(lean_object*); +lean_object* l_Lean_Xml_Parser_EncodingDecl(lean_object*); +static lean_object* l_Lean_Xml_Parser_PITarget___closed__5; +static lean_object* l_Lean_Xml_Parser_Mixed___closed__3; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_content___spec__3(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Xml_Parser_content___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__5; +lean_object* l_Lean_Xml_Parser_EncName___closed__1___boxed__const__1; +lean_object* l_Lean_Xml_Parser_digitsToNat(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_document(lean_object*); +static lean_object* l_Lean_Xml_Parser_elementDecl___closed__2; +static lean_object* l_Lean_Xml_Parser_predefinedEntityToChar___closed__3; +lean_object* l_Lean_Xml_Parser_AttValue___closed__2___boxed__const__1; +static lean_object* l_Lean_Xml_Parser_cp___closed__7; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__15; +static lean_object* l_Lean_Xml_Parser_CharData___closed__2; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__18; +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_Xml_Parser_CData(lean_object*); +lean_object* l_Lean_Xml_Parser_predefinedEntityToChar___closed__5___boxed__const__1; +lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_Mixed___closed__5; +lean_object* l_Lean_Xml_Parser_VersionInfo(lean_object*); +lean_object* l_Lean_Xml_Parser_Misc(lean_object*); +static lean_object* l_Lean_Xml_Parser_SDDecl___closed__2; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__4; +lean_object* l_Lean_Parsec_satisfy(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_PubidLiteral___closed__1___boxed__const__1; +lean_object* l_Lean_Xml_Parser_EntityRef(lean_object*); +lean_object* l_Array_back___at_Lean_Xml_Parser_content___spec__1___boxed(lean_object*); +static lean_object* l_Lean_Xml_Parser_AttlistDecl___closed__2; +static lean_object* l_Lean_Xml_Parser_CharData___closed__1; +lean_object* l_Lean_Xml_Parser_elementPrefix___lambda__1(lean_object*); +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__14; +lean_object* l_Lean_Xml_Parser_EntityValue___closed__1___boxed__const__1; +lean_object* l_Std_RBNode_ins___at_Lean_Xml_Parser_elementPrefix___elambda__1___spec__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_AttlistDecl(lean_object*); +static lean_object* l_Lean_Xml_Parser_PITarget___closed__18; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__15; +lean_object* l_Lean_Xml_Parser_CDEnd(lean_object*); +lean_object* l_Lean_Parsec_digit(lean_object*); +lean_object* l_Lean_Xml_Parser_ExternalID(lean_object*); +static lean_object* l_Lean_Xml_Parser_NameChar___closed__9; +static lean_object* l_Lean_Xml_Parser_EncodingDecl___closed__2; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__14; +static lean_object* l_Lean_Xml_Parser_elementPrefix___closed__2; +static lean_object* l_Lean_Xml_Parser_PI___closed__1; +lean_object* l_Lean_Xml_Parser_DeclSep(lean_object*); +lean_object* l_Lean_Parsec_many(lean_object*); +lean_object* l_Lean_Xml_Parser_AttDef(lean_object*); +static lean_object* l_Lean_Xml_Parser_cp___closed__1; +uint8_t l_USize_decLt(size_t, size_t); +static lean_object* l_Lean_Xml_Parser_elementDecl___closed__4; +static lean_object* l_Lean_Xml_Parser_NameChar___closed__4; +static lean_object* l_Lean_Xml_Parser_doctypedecl___closed__5; +lean_object* l_Lean_Xml_Parser_hexDigitToNat(uint32_t); +static lean_object* l_Lean_Xml_Parser_cp___closed__5; +static lean_object* l_Lean_Xml_Parser_elementPrefix___closed__1; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__17; +static lean_object* l_Lean_Xml_Parser_DefaultDecl___closed__2; +lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_EntityDecl(lean_object*); +lean_object* l_Lean_Xml_Parser_Attribute(lean_object*); +static lean_object* l_Lean_Xml_Parser_endl___closed__4; +static lean_object* l_Lean_Xml_Parser_Mixed___closed__1; +lean_object* l_Lean_Xml_parse(lean_object*); +static lean_object* l_Lean_Xml_Parser_CharRef___closed__2; +static lean_object* l_Lean_Xml_Parser_elementDecl___closed__3; +static lean_object* l_Lean_Xml_Parser_EmptyElemTag___closed__1; +static lean_object* l_Lean_Xml_Parser_cp___closed__2; +lean_object* l_Lean_Xml_Parser_Char(lean_object*); +static lean_object* l_Lean_Xml_Parser_DefaultDecl___closed__1; +static lean_object* l_Lean_Xml_Parser_CharRef___closed__1; +static lean_object* l_Lean_Xml_Parser_Eq___closed__3; +lean_object* l_Lean_Xml_Parser_NameStartChar_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_EnumeratedType(lean_object*); +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__9; +lean_object* l_Lean_Xml_Parser_AttValue___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_NameChar___closed__1; +static lean_object* l_Lean_Xml_Parser_Mixed___closed__8; +static lean_object* l_Lean_Xml_Parser_EncName___closed__1; +lean_object* l_Lean_Xml_Parser_intSubset___lambda__1(lean_object*); +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__4; +lean_object* l_Lean_Xml_Parser_predefinedEntityToChar_match__1(lean_object*); +static lean_object* l_Lean_Xml_Parser_EmptyElemTag___closed__2; +lean_object* l_Lean_Xml_Parser_EntityValue___closed__2___boxed__const__1; +lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); +static lean_object* l_Lean_Xml_Parser_Mixed___closed__9; +static lean_object* l_Lean_Xml_Parser_NameChar___closed__2; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__2; +lean_object* l_Lean_Xml_Parser_DefaultDecl(lean_object*); +static lean_object* l_Lean_Xml_Parser_PubidChar___closed__2; +static lean_object* l_Lean_Xml_Parser_content___lambda__1___closed__1; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__17; +static lean_object* l_Lean_Xml_Parser_endl___closed__9; +uint8_t l_instDecidableNot___rarg(uint8_t); +uint8_t l_String_contains(lean_object*, uint32_t); +static lean_object* l_Lean_Xml_Parser_Mixed___closed__4; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__8; +lean_object* l_Lean_Xml_Parser_Name(lean_object*); +lean_object* l_Lean_Xml_Parser_quote___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_NDataDecl___closed__1; +lean_object* l_Lean_Xml_Parser_SDDecl(lean_object*); +lean_object* l_Lean_Xml_Parser_EncName(lean_object*); +static lean_object* l_Lean_Xml_Parser_doctypedecl___closed__7; +static lean_object* l_Lean_Xml_Parser_elementPrefix___closed__4; +lean_object* l_Lean_Xml_Parser_EmptyElemTag(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_NameStartChar(lean_object*); +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__1; +lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_endl___closed__8; +lean_object* l_Lean_Xml_Parser_endl___boxed__const__1; +static lean_object* l_Lean_Xml_Parser_TokenizedType___closed__4; +lean_object* l_Lean_Xml_Parser_SDDecl___lambda__1(lean_object*); +lean_object* l_Lean_Xml_Parser_Comment___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__5; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__9; +lean_object* l_Array_filterMapM___at_Lean_Xml_Parser_content___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_Mixed___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_String_Iterator_extract(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_quote(lean_object*); +static lean_object* l_Lean_Xml_Parser_choice___closed__1; +lean_object* l_Lean_Xml_Parser_S___closed__1___boxed__const__1; +lean_object* l_Lean_Xml_Parser_EncName___lambda__1(uint32_t, uint32_t, uint32_t, lean_object*); +static lean_object* l_Lean_Xml_Parser_ETag___closed__1; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__2; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_digitsToNat___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_markupDecl(lean_object*); +lean_object* l_Lean_Xml_Parser_CharRef___lambda__1(lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_PubidLiteral___closed__1; +static lean_object* l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__3; +static lean_object* l_Lean_Xml_Parser_VersionInfo___closed__2; +lean_object* l_Lean_Xml_Parser_intSubset(lean_object*); +static lean_object* l_Lean_Xml_Parser_cp___closed__6; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_content___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_cp(lean_object*); +lean_object* l_Lean_Xml_Parser_predefinedEntityToChar___boxed(lean_object*); +lean_object* l_Lean_Xml_Parser_EntityValue(lean_object*); +static lean_object* l_Lean_Xml_Parser_PubidLiteral___closed__2; +lean_object* l_Lean_Xml_Parser_CharRef(lean_object*); +static lean_object* l_Lean_Xml_Parser_endl___closed__10; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__1; +lean_object* l_Nat_repr(lean_object*); +static lean_object* l_Lean_Xml_Parser_Comment___closed__2; +static lean_object* l_Lean_Xml_Parser_EntityRef___closed__5; +lean_object* l_Lean_Xml_Parser_SystemLiteral___closed__3___boxed__const__1; +lean_object* l_Lean_Xml_Parser_GEDecl(lean_object*); +lean_object* l_Lean_Xml_Parser_Mixed___lambda__1(uint32_t, lean_object*); +static lean_object* l_Lean_Xml_Parser_PITarget___closed__13; +static lean_object* l_Lean_Xml_Parser_NameChar___closed__6; +static lean_object* l_Lean_Xml_Parser_elementPrefix___closed__3; +static lean_object* l_Lean_Xml_Parser_Eq___closed__2; +static lean_object* l_Lean_Xml_Parser_TokenizedType___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_AttValue___spec__1(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Xml_parse___closed__3; +static lean_object* l_Lean_Xml_Parser_Mixed___closed__2; +lean_object* l_Lean_Xml_Parser_AttValue_match__1(lean_object*); +static lean_object* l_Lean_Xml_Parser_PEReference___closed__1; +lean_object* l_Lean_Xml_Parser_Mixed___closed__8___boxed__const__1; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__8; +static size_t l_Lean_Xml_Parser_NameStartChar___closed__5; +lean_object* l_Lean_Xml_Parser_AttValue(lean_object*); +static lean_object* l_Lean_Xml_Parser_Comment___closed__1; +static lean_object* l_Lean_Xml_Parser_EntityRef___closed__3; +lean_object* l_Lean_Xml_Parser_StringType(lean_object*); +lean_object* lean_array_to_list(lean_object*, lean_object*); +lean_object* l_Lean_Parsec_attempt___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_seq(lean_object*); +static lean_object* l_Lean_Xml_Parser_NotationType___closed__1; +lean_object* l_Lean_Xml_Parser_AttValue_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__25; +static lean_object* l_Lean_Xml_Parser_content___closed__2; +static lean_object* l_Lean_Xml_Parser_XMLdecl___closed__2; +lean_object* l_Lean_Xml_Parser_CDStart(lean_object*); +lean_object* l_Lean_Parsec_pstring(lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_EncName___lambda__1___closed__1; +lean_object* l_String_Iterator_prevn(lean_object*, lean_object*); +uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_quote___rarg___closed__4; +lean_object* l_Lean_Xml_Parser_PEReference(lean_object*); +static lean_object* l_Lean_Xml_Parser_StringType___closed__1; +lean_object* l_Lean_Xml_Parser_EntityValue___lambda__1(lean_object*, uint32_t, lean_object*); +static lean_object* l_Lean_Xml_Parser_PEReference___closed__2; +lean_object* l_Lean_Parsec_many1(lean_object*); +lean_object* l_Lean_Xml_Parser_digitsToNat___boxed(lean_object*, lean_object*); +lean_object* l_String_Iterator_next(lean_object*); +static lean_object* l_Lean_Xml_Parser_XMLdecl___closed__1; +lean_object* l_Lean_Xml_Parser_S___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_S(lean_object*); +lean_object* l_Lean_Xml_Parser_Mixed(lean_object*); +static lean_object* l_Lean_Xml_Parser_Comment___closed__3; +lean_object* l_Lean_Xml_Parser_EncName___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_doctypedecl___closed__1; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__22; +lean_object* l_Array_filterMapM___at_Lean_Xml_Parser_content___spec__2(lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +static lean_object* l_Lean_Xml_Parser_AttValue___closed__2; +lean_object* l_Lean_Xml_Parser_CharRef___lambda__2(lean_object*); +static lean_object* l_Lean_Xml_Parser_GEDecl___closed__1; +static lean_object* l_Lean_Xml_Parser_prolog___closed__1; +static lean_object* l_Lean_Xml_Parser_quote___rarg___closed__2; +uint8_t l_String_Iterator_hasNext(lean_object*); +static lean_object* l_Lean_Xml_Parser_doctypedecl___closed__2; +lean_object* l_Lean_Xml_Parser_PITarget(lean_object*); +lean_object* l_Lean_Xml_Parser_SystemLiteral(lean_object*); +static lean_object* l_Lean_Xml_Parser_EntityRef___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_Comment___spec__1(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Xml_Parser_PEReference___closed__3; +static lean_object* l_Lean_Xml_Parser_quote___rarg___closed__1; +lean_object* l_Lean_Xml_Parser_SystemLiteral___closed__1___boxed__const__1; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__6; +static lean_object* l_Lean_Xml_Parser_ExternalID___closed__1; +static lean_object* l_Lean_Xml_Parser_doctypedecl___closed__6; +static lean_object* l_Lean_Xml_Parser_EntityRef___closed__4; +static lean_object* l_Lean_Xml_Parser_NameChar___closed__5; +lean_object* l_Lean_Xml_Parser_contentspec(lean_object*); +lean_object* l_Lean_Xml_Parser_doctypedecl(lean_object*); +lean_object* l_Lean_Xml_Parser_XMLdecl(lean_object*); +lean_object* l_Lean_Xml_Parser_EncName___closed__1___boxed__const__3; +lean_object* l_Lean_Xml_Parser_prolog(lean_object*); +lean_object* l_Lean_Xml_Parser_NotationType(lean_object*); +lean_object* l_Lean_Xml_Parser_NameStartChar_match__1(lean_object*); +static lean_object* l_Lean_Xml_Parser_PITarget___closed__12; +static lean_object* l_Lean_Xml_Parser_NameChar___closed__3; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__19; +static lean_object* l_Lean_Xml_Parser_CharRef___lambda__2___closed__1; +static lean_object* l_Lean_Xml_Parser_quote___rarg___closed__3; +uint8_t l_UInt32_decEq(uint32_t, uint32_t); +static lean_object* l_Lean_Xml_Parser_cp___closed__4; +static lean_object* l_Lean_Xml_Parser_SystemLiteral___closed__3; +lean_object* l_Lean_Xml_Parser_elementPrefix(lean_object*); +static lean_object* l_Lean_Xml_Parser_cp___closed__8; +lean_object* l_Lean_Xml_parse_match__1(lean_object*); +lean_object* l_Lean_Xml_Parser_EntityDef(lean_object*); +lean_object* l_Lean_Xml_Parser_PublicID(lean_object*); +lean_object* l_Lean_Xml_Parser_elementPrefix___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_Nmtoken(lean_object*); +lean_object* l_Lean_Xml_Parser_content_match__1(lean_object*); +static lean_object* l_Lean_Xml_Parser_CDEnd___closed__1; +static lean_object* l_Lean_Xml_Parser_ExternalID___closed__2; +lean_object* l_Lean_Xml_Parser_seq___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_seq___closed__1; +static lean_object* l_Lean_Xml_Parser_quote___rarg___closed__5; +lean_object* l_List_foldl___at_Lean_Xml_Parser_elementPrefix___elambda__1___spec__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_PubidChar___closed__1; +static lean_object* l_Lean_Xml_Parser_EntityRef___closed__2; +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_NDataDecl(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_Comment___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_Char___closed__2; +uint8_t l_Std_RBNode_isRed___rarg(lean_object*); +static lean_object* l_Lean_Xml_Parser_quote___rarg___closed__6; +lean_object* l_Lean_Xml_Parser_content___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_TokenizedType___closed__2; +static lean_object* l_Lean_Xml_Parser_EntityRef___closed__6; +extern lean_object* l_Lean_Xml_instInhabitedContent; +static lean_object* l_Lean_Xml_Parser_TokenizedType___closed__3; +lean_object* l_Lean_Xml_Parser_ETag(lean_object*); +uint32_t l_String_Iterator_curr(lean_object*); +lean_object* l_Lean_Xml_Parser_EncName___closed__1___boxed__const__2; +lean_object* l_Array_back___at_Lean_Xml_Parser_content___spec__1(lean_object*); +static lean_object* l_Lean_Xml_Parser_TokenizedType___closed__6; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__16; +lean_object* l_Lean_Xml_Parser_AttType(lean_object*); +static lean_object* l_Lean_Xml_Parser_endl___closed__5; +static lean_object* l_Lean_Xml_Parser_NameChar___closed__7; +lean_object* l_Lean_Xml_Parser_PEDef(lean_object*); +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__11; +lean_object* l_Lean_Xml_Parser_NameChar___boxed__const__2; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__11; +static lean_object* l_Lean_Xml_Parser_Eq___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_AttValue___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_Char___closed__1; +lean_object* l_Lean_Xml_Parser_predefinedEntityToChar___closed__2___boxed__const__1; +lean_object* l_Lean_Xml_Parser_content(lean_object*); +static lean_object* l_Lean_Xml_Parser_endl___closed__3; +static lean_object* l_Lean_Xml_Parser_PubidLiteral___closed__3; +lean_object* l_Lean_Xml_Parser_PubidChar(lean_object*); +lean_object* lean_nat_mul(lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_NameChar___closed__10; +extern lean_object* l_Lean_Parsec_unexpectedEndOfInput; +static lean_object* l_Lean_Xml_Parser_SystemLiteral___closed__4; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__10; +lean_object* l_Lean_Xml_Parser_Enumeration___lambda__1(uint32_t, lean_object*); +lean_object* l_Lean_Xml_Parser_predefinedEntityToChar___closed__3___boxed__const__1; +lean_object* l_Lean_Xml_Parser_AttValue___lambda__1(uint32_t, lean_object*); +static lean_object* l_Lean_Xml_Parser_AttlistDecl___closed__1; +lean_object* l_Lean_Xml_Parser_seq___closed__1___boxed__const__1; +lean_object* l_Lean_Parsec_manyCharsCore(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_Reference(lean_object*); +uint8_t l_Array_anyMUnsafe_any___at_Lean_Xml_Parser_NameStartChar___spec__1(lean_object*, lean_object*, size_t, size_t); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_content___spec__5(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Xml_Parser_VersionNum(lean_object*); +lean_object* l_Lean_Xml_Parser_seq___lambda__1(uint32_t, lean_object*); +static lean_object* l_Lean_Xml_Parser_PI___closed__2; +lean_object* l_Lean_Xml_Parser_predefinedEntityToChar___closed__1___boxed__const__1; +static lean_object* l_Lean_Xml_Parser_CData___closed__1; +static lean_object* l_Lean_Xml_Parser_NotationDecl___closed__1; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__16; +lean_object* l_Lean_Xml_Parser_NotationDecl(lean_object*); +lean_object* l_Lean_Xml_Parser_Comment___lambda__1(uint32_t, lean_object*); +lean_object* l_Lean_Xml_Parser_TokenizedType(lean_object*); +lean_object* l_Std_RBNode_insert___at_Lean_Xml_Parser_elementPrefix___elambda__1___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_predefinedEntityToChar___closed__5; +static lean_object* l_Lean_Xml_Parser_Char___closed__4; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__20; +static lean_object* l_Lean_Xml_Parser_EncodingDecl___closed__1; +lean_object* l_Lean_Xml_Parser_Enumeration(lean_object*); +static lean_object* l_Lean_Xml_Parser_SystemLiteral___closed__2; +lean_object* l_Lean_Xml_Parser_Char___boxed__const__1; +static lean_object* l_Lean_Xml_Parser_TokenizedType___closed__5; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Xml_Parser_content___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_content___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_SystemLiteral___closed__1; +static lean_object* l_Lean_Xml_Parser_SDDecl___lambda__1___closed__2; +static lean_object* l_Lean_Xml_Parser_EntityValue___closed__2; +lean_object* l_Lean_Xml_Parser_endl(lean_object*); +static lean_object* l_Lean_Xml_Parser_Enumeration___closed__1; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__24; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__7; +static lean_object* l_Lean_Xml_Parser_endl___closed__7; +static lean_object* l_Lean_Xml_Parser_PITarget___closed__7; +static lean_object* l_Lean_Xml_Parser_EntityValue___closed__1; +lean_object* l_Lean_Xml_Parser_Enumeration___closed__1___boxed__const__1; +static lean_object* l_Lean_Xml_Parser_predefinedEntityToChar___closed__4; +lean_object* l_Lean_Xml_Parser_STag(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_CData___lambda__1(lean_object*); +lean_object* l_Array_anyMUnsafe_any___at_Lean_Xml_Parser_NameStartChar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_SDDecl___lambda__1___closed__1; +lean_object* l_Lean_Xml_Parser_Eq(lean_object*); +static lean_object* l_Lean_Xml_Parser_Mixed___closed__7; +lean_object* l_Lean_Xml_Parser_hexDigitToNat___boxed(lean_object*); +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__10; +static lean_object* l_Lean_Xml_Parser_predefinedEntityToChar___closed__1; +static uint8_t l_Lean_Xml_Parser_NameStartChar___closed__4; +static lean_object* l_Lean_Xml_Parser_cp___closed__9; +static lean_object* l_Lean_Xml_Parser_Name___closed__1; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__23; +lean_object* l_Lean_Xml_Parser_SystemLiteral___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_element(lean_object*); +lean_object* l_Lean_Xml_Parser_choice(lean_object*); +lean_object* l_Lean_Xml_Parser_children(lean_object*); +lean_object* l_List_foldl___at_Lean_Xml_Parser_elementPrefix___elambda__1___spec__3___at_Lean_Xml_Parser_elementPrefix___elambda__1___spec__4(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__13; +lean_object* l_Lean_Xml_Parser_Comment(lean_object*); +static lean_object* l_Lean_Xml_Parser_content___closed__1; +uint8_t l_Lean_Xml_Parser_SystemLiteral___lambda__1(uint32_t, uint32_t); +lean_object* l_Lean_Xml_Parser_PI(lean_object*); +static lean_object* l_Lean_Xml_Parser_endl___closed__1; +uint8_t l_UInt32_decLe(uint32_t, uint32_t); +lean_object* l_Lean_Xml_Parser_S___closed__1___boxed__const__2; +static lean_object* l_Lean_Xml_Parser_NameStartChar___closed__1; +static lean_object* l_Lean_Xml_Parser_endl___closed__2; +static lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__21; +static lean_object* l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__1; +lean_object* lean_uint32_to_nat(uint32_t); +static uint8_t l_Lean_Xml_Parser_NameStartChar___closed__2; +lean_object* l_Lean_Xml_Parser_PubidLiteral(lean_object*); +lean_object* l_Lean_Xml_Parser_NameChar___boxed__const__3; +static lean_object* l_Lean_Xml_Parser_S___closed__1; +static lean_object* l_Lean_Xml_Parser_TokenizedType___closed__7; +lean_object* l_Lean_Xml_Parser_NameChar(lean_object*); +lean_object* l_Lean_Xml_Parser_CDSect(lean_object*); +uint8_t l_Lean_Xml_Parser_CharData___lambda__1(uint32_t); +lean_object* l_Lean_Xml_Parser_S___lambda__1(uint32_t, uint32_t, lean_object*); +lean_object* l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges; +static lean_object* l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__2; +uint8_t lean_string_dec_lt(lean_object*, lean_object*); +lean_object* l_Lean_Xml_Parser_Enumeration___lambda__1___boxed(lean_object*, lean_object*); +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_Char_ofNat(lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__4; +lean_object* l_Lean_Xml_Parser_content___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* _init_l_Lean_Xml_Parser_endl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_endl___closed__2() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 10; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_endl___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expected: '"); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_endl___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_endl___closed__2; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_endl___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'"); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_endl___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__4; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_endl___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("\x0d\n"); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_endl___closed__8() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 13; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_endl___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_endl___closed__8; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_endl___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__9; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_endl___boxed__const__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 10; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +lean_object* l_Lean_Xml_Parser_endl(lean_object* x_1) { +_start: +{ +uint32_t x_2; uint32_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_19; lean_object* x_20; +x_2 = 13; +x_3 = 10; +x_19 = l_Lean_Xml_Parser_endl___closed__7; +lean_inc(x_1); +x_20 = l_Lean_Parsec_pstring(x_19, x_1); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_20, 1); +lean_dec(x_22); +x_23 = l_Lean_Xml_Parser_endl___boxed__const__1; +lean_ctor_set(x_20, 1, x_23); +return x_20; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_20, 0); +lean_inc(x_24); +lean_dec(x_20); +x_25 = l_Lean_Xml_Parser_endl___boxed__const__1; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_ctor_get(x_20, 1); +x_30 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_28); +if (x_30 == 0) +{ +lean_dec(x_1); +return x_20; +} +else +{ +uint8_t x_31; +lean_dec(x_29); +lean_dec(x_28); +x_31 = l_String_Iterator_hasNext(x_1); +if (x_31 == 0) +{ +lean_object* x_32; +lean_free_object(x_20); +x_32 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_1); +x_4 = x_1; +x_5 = x_32; +goto block_18; +} +else +{ +lean_object* x_33; uint32_t x_34; uint8_t x_35; +lean_inc(x_1); +x_33 = l_String_Iterator_next(x_1); +x_34 = l_String_Iterator_curr(x_1); +x_35 = x_34 == x_2; +if (x_35 == 0) +{ +lean_object* x_36; +lean_dec(x_33); +lean_free_object(x_20); +x_36 = l_Lean_Xml_Parser_endl___closed__10; +lean_inc(x_1); +x_4 = x_1; +x_5 = x_36; +goto block_18; +} +else +{ +lean_object* x_37; +lean_dec(x_1); +x_37 = l_Lean_Xml_Parser_endl___boxed__const__1; +lean_ctor_set_tag(x_20, 0); +lean_ctor_set(x_20, 1, x_37); +lean_ctor_set(x_20, 0, x_33); +return x_20; +} +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_20, 0); +x_39 = lean_ctor_get(x_20, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_20); +x_40 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_38); +if (x_40 == 0) +{ +lean_object* x_41; +lean_dec(x_1); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_39); +return x_41; +} +else +{ +uint8_t x_42; +lean_dec(x_39); +lean_dec(x_38); +x_42 = l_String_Iterator_hasNext(x_1); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_1); +x_4 = x_1; +x_5 = x_43; +goto block_18; +} +else +{ +lean_object* x_44; uint32_t x_45; uint8_t x_46; +lean_inc(x_1); +x_44 = l_String_Iterator_next(x_1); +x_45 = l_String_Iterator_curr(x_1); +x_46 = x_45 == x_2; +if (x_46 == 0) +{ +lean_object* x_47; +lean_dec(x_44); +x_47 = l_Lean_Xml_Parser_endl___closed__10; +lean_inc(x_1); +x_4 = x_1; +x_5 = x_47; +goto block_18; +} +else +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_1); +x_48 = l_Lean_Xml_Parser_endl___boxed__const__1; +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_44); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +} +} +block_18: +{ +uint8_t x_6; +x_6 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_4); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_5); +return x_7; +} +else +{ +uint8_t x_8; +lean_dec(x_5); +lean_dec(x_4); +x_8 = l_String_Iterator_hasNext(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_Parsec_unexpectedEndOfInput; +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +else +{ +lean_object* x_11; uint32_t x_12; uint8_t x_13; +lean_inc(x_1); +x_11 = l_String_Iterator_next(x_1); +x_12 = l_String_Iterator_curr(x_1); +x_13 = x_12 == x_3; +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_11); +x_14 = l_Lean_Xml_Parser_endl___closed__6; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_16 = l_Lean_Xml_Parser_endl___boxed__const__1; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_11); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_quote___rarg___closed__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 34; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_quote___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_quote___rarg___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_quote___rarg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_quote___rarg___closed__2; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_quote___rarg___closed__4() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 39; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_quote___rarg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_quote___rarg___closed__4; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_quote___rarg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_quote___rarg___closed__5; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Xml_Parser_quote___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint32_t x_3; uint32_t x_4; lean_object* x_5; lean_object* x_6; uint8_t x_43; +x_3 = 39; +x_4 = 34; +x_43 = l_String_Iterator_hasNext(x_2); +if (x_43 == 0) +{ +lean_object* x_44; +x_44 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_2); +x_5 = x_2; +x_6 = x_44; +goto block_42; +} +else +{ +lean_object* x_45; uint32_t x_46; uint8_t x_47; +lean_inc(x_2); +x_45 = l_String_Iterator_next(x_2); +x_46 = l_String_Iterator_curr(x_2); +x_47 = x_46 == x_3; +if (x_47 == 0) +{ +lean_object* x_48; +lean_dec(x_45); +x_48 = l_Lean_Xml_Parser_quote___rarg___closed__6; +lean_inc(x_2); +x_5 = x_2; +x_6 = x_48; +goto block_42; +} +else +{ +lean_object* x_49; +lean_inc(x_1); +x_49 = lean_apply_1(x_1, x_45); +if (lean_obj_tag(x_49) == 0) +{ +uint8_t x_50; +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_51 = lean_ctor_get(x_49, 0); +x_52 = lean_ctor_get(x_49, 1); +x_53 = l_String_Iterator_hasNext(x_51); +if (x_53 == 0) +{ +lean_object* x_54; +lean_free_object(x_49); +lean_dec(x_52); +x_54 = l_Lean_Parsec_unexpectedEndOfInput; +x_5 = x_51; +x_6 = x_54; +goto block_42; +} +else +{ +lean_object* x_55; uint32_t x_56; uint8_t x_57; +lean_inc(x_51); +x_55 = l_String_Iterator_next(x_51); +x_56 = l_String_Iterator_curr(x_51); +x_57 = x_56 == x_3; +if (x_57 == 0) +{ +lean_object* x_58; +lean_dec(x_55); +lean_free_object(x_49); +lean_dec(x_52); +x_58 = l_Lean_Xml_Parser_quote___rarg___closed__6; +x_5 = x_51; +x_6 = x_58; +goto block_42; +} +else +{ +lean_dec(x_51); +lean_dec(x_2); +lean_dec(x_1); +lean_ctor_set(x_49, 0, x_55); +return x_49; +} +} +} +else +{ +lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_59 = lean_ctor_get(x_49, 0); +x_60 = lean_ctor_get(x_49, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_49); +x_61 = l_String_Iterator_hasNext(x_59); +if (x_61 == 0) +{ +lean_object* x_62; +lean_dec(x_60); +x_62 = l_Lean_Parsec_unexpectedEndOfInput; +x_5 = x_59; +x_6 = x_62; +goto block_42; +} +else +{ +lean_object* x_63; uint32_t x_64; uint8_t x_65; +lean_inc(x_59); +x_63 = l_String_Iterator_next(x_59); +x_64 = l_String_Iterator_curr(x_59); +x_65 = x_64 == x_3; +if (x_65 == 0) +{ +lean_object* x_66; +lean_dec(x_63); +lean_dec(x_60); +x_66 = l_Lean_Xml_Parser_quote___rarg___closed__6; +x_5 = x_59; +x_6 = x_66; +goto block_42; +} +else +{ +lean_object* x_67; +lean_dec(x_59); +lean_dec(x_2); +lean_dec(x_1); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_63); +lean_ctor_set(x_67, 1, x_60); +return x_67; +} +} +} +} +else +{ +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_49, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_49, 1); +lean_inc(x_69); +lean_dec(x_49); +x_5 = x_68; +x_6 = x_69; +goto block_42; +} +} +} +block_42: +{ +uint8_t x_7; +x_7 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_2, x_5); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_5); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +else +{ +uint8_t x_9; +lean_dec(x_6); +lean_dec(x_5); +x_9 = l_String_Iterator_hasNext(x_2); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_1); +x_10 = l_Lean_Parsec_unexpectedEndOfInput; +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_2); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +else +{ +lean_object* x_12; uint32_t x_13; uint8_t x_14; +lean_inc(x_2); +x_12 = l_String_Iterator_next(x_2); +x_13 = l_String_Iterator_curr(x_2); +x_14 = x_13 == x_4; +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_12); +lean_dec(x_1); +x_15 = l_Lean_Xml_Parser_quote___rarg___closed__3; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_2); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +else +{ +lean_object* x_17; +lean_dec(x_2); +x_17 = lean_apply_1(x_1, x_12); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +x_21 = l_String_Iterator_hasNext(x_19); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_20); +x_22 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set_tag(x_17, 1); +lean_ctor_set(x_17, 1, x_22); +return x_17; +} +else +{ +lean_object* x_23; uint32_t x_24; uint8_t x_25; +lean_inc(x_19); +x_23 = l_String_Iterator_next(x_19); +x_24 = l_String_Iterator_curr(x_19); +x_25 = x_24 == x_4; +if (x_25 == 0) +{ +lean_object* x_26; +lean_dec(x_23); +lean_dec(x_20); +x_26 = l_Lean_Xml_Parser_quote___rarg___closed__3; +lean_ctor_set_tag(x_17, 1); +lean_ctor_set(x_17, 1, x_26); +return x_17; +} +else +{ +lean_dec(x_19); +lean_ctor_set(x_17, 0, x_23); +return x_17; +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_17, 0); +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_17); +x_29 = l_String_Iterator_hasNext(x_27); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_28); +x_30 = l_Lean_Parsec_unexpectedEndOfInput; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +else +{ +lean_object* x_32; uint32_t x_33; uint8_t x_34; +lean_inc(x_27); +x_32 = l_String_Iterator_next(x_27); +x_33 = l_String_Iterator_curr(x_27); +x_34 = x_33 == x_4; +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_32); +lean_dec(x_28); +x_35 = l_Lean_Xml_Parser_quote___rarg___closed__3; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_27); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +else +{ +lean_object* x_37; +lean_dec(x_27); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_32); +lean_ctor_set(x_37, 1, x_28); +return x_37; +} +} +} +} +else +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_17); +if (x_38 == 0) +{ +return x_17; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_17, 0); +x_40 = lean_ctor_get(x_17, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_17); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +} +} +} +} +lean_object* l_Lean_Xml_Parser_quote(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Xml_Parser_quote___rarg), 2, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Xml_Parser_Char___closed__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 9; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_Char___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_Char___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_Char___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_Char___closed__2; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_Char___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expected xml char"); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_Char___boxed__const__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 9; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +lean_object* l_Lean_Xml_Parser_Char(lean_object* x_1) { +_start: +{ +uint32_t x_2; lean_object* x_3; lean_object* x_4; uint8_t x_22; +x_2 = 9; +x_22 = l_String_Iterator_hasNext(x_1); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_1); +x_3 = x_1; +x_4 = x_23; +goto block_21; +} +else +{ +lean_object* x_24; uint32_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_51; uint8_t x_52; +lean_inc(x_1); +x_24 = l_String_Iterator_next(x_1); +x_25 = l_String_Iterator_curr(x_1); +x_26 = lean_uint32_to_nat(x_25); +x_51 = lean_unsigned_to_nat(32u); +x_52 = lean_nat_dec_le(x_51, x_26); +if (x_52 == 0) +{ +lean_object* x_53; +x_53 = lean_box(0); +x_27 = x_53; +goto block_50; +} +else +{ +lean_object* x_54; uint8_t x_55; +x_54 = lean_unsigned_to_nat(55295u); +x_55 = lean_nat_dec_le(x_26, x_54); +if (x_55 == 0) +{ +lean_object* x_56; +x_56 = lean_box(0); +x_27 = x_56; +goto block_50; +} +else +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_26); +lean_dec(x_1); +x_57 = lean_box_uint32(x_25); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_24); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +block_50: +{ +lean_object* x_28; uint8_t x_29; +lean_dec(x_27); +x_28 = lean_unsigned_to_nat(57344u); +x_29 = lean_nat_dec_le(x_28, x_26); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = lean_unsigned_to_nat(65536u); +x_31 = lean_nat_dec_le(x_30, x_26); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_26); +lean_dec(x_24); +x_32 = l_Lean_Xml_Parser_Char___closed__4; +lean_inc(x_1); +x_3 = x_1; +x_4 = x_32; +goto block_21; +} +else +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_unsigned_to_nat(1114111u); +x_34 = lean_nat_dec_le(x_26, x_33); +lean_dec(x_26); +if (x_34 == 0) +{ +lean_object* x_35; +lean_dec(x_24); +x_35 = l_Lean_Xml_Parser_Char___closed__4; +lean_inc(x_1); +x_3 = x_1; +x_4 = x_35; +goto block_21; +} +else +{ +lean_object* x_36; lean_object* x_37; +lean_dec(x_1); +x_36 = lean_box_uint32(x_25); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_24); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +lean_object* x_38; uint8_t x_39; +x_38 = lean_unsigned_to_nat(65533u); +x_39 = lean_nat_dec_le(x_26, x_38); +if (x_39 == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_unsigned_to_nat(65536u); +x_41 = lean_nat_dec_le(x_40, x_26); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_26); +lean_dec(x_24); +x_42 = l_Lean_Xml_Parser_Char___closed__4; +lean_inc(x_1); +x_3 = x_1; +x_4 = x_42; +goto block_21; +} +else +{ +lean_object* x_43; uint8_t x_44; +x_43 = lean_unsigned_to_nat(1114111u); +x_44 = lean_nat_dec_le(x_26, x_43); +lean_dec(x_26); +if (x_44 == 0) +{ +lean_object* x_45; +lean_dec(x_24); +x_45 = l_Lean_Xml_Parser_Char___closed__4; +lean_inc(x_1); +x_3 = x_1; +x_4 = x_45; +goto block_21; +} +else +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_1); +x_46 = lean_box_uint32(x_25); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_24); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_26); +lean_dec(x_1); +x_48 = lean_box_uint32(x_25); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_24); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +} +block_21: +{ +uint8_t x_5; +x_5 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_3); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_1); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_3); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +else +{ +uint8_t x_7; +lean_dec(x_4); +lean_dec(x_3); +x_7 = l_String_Iterator_hasNext(x_1); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_Parsec_unexpectedEndOfInput; +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +else +{ +lean_object* x_11; +x_11 = l_Lean_Xml_Parser_endl(x_1); +return x_11; +} +} +else +{ +lean_object* x_12; uint32_t x_13; uint8_t x_14; +lean_inc(x_1); +x_12 = l_String_Iterator_next(x_1); +x_13 = l_String_Iterator_curr(x_1); +x_14 = x_13 == x_2; +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_1); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = l_Lean_Xml_Parser_Char___closed__3; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +else +{ +lean_object* x_18; +x_18 = l_Lean_Xml_Parser_endl(x_1); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_1); +x_19 = l_Lean_Xml_Parser_Char___boxed__const__1; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_12); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +} +} +lean_object* l_Lean_Xml_Parser_S___lambda__1(uint32_t x_1, uint32_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_49; +x_49 = l_String_Iterator_hasNext(x_3); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_3); +x_4 = x_3; +x_5 = x_50; +goto block_48; +} +else +{ +lean_object* x_51; uint32_t x_52; uint8_t x_53; +lean_inc(x_3); +x_51 = l_String_Iterator_next(x_3); +x_52 = l_String_Iterator_curr(x_3); +x_53 = x_52 == x_2; +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_51); +x_54 = l_Lean_Xml_Parser_endl___closed__1; +x_55 = lean_string_push(x_54, x_2); +x_56 = l_Lean_Xml_Parser_endl___closed__3; +x_57 = lean_string_append(x_56, x_55); +lean_dec(x_55); +x_58 = l_Lean_Xml_Parser_endl___closed__5; +x_59 = lean_string_append(x_57, x_58); +lean_inc(x_3); +x_4 = x_3; +x_5 = x_59; +goto block_48; +} +else +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_3); +x_60 = lean_box_uint32(x_2); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_51); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +block_48: +{ +uint8_t x_6; +x_6 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_3); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_5); +return x_7; +} +else +{ +lean_object* x_8; +lean_dec(x_5); +lean_dec(x_4); +lean_inc(x_3); +x_8 = l_Lean_Xml_Parser_endl(x_3); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +lean_dec(x_3); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_8); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_8, 0); +x_15 = lean_ctor_get(x_8, 1); +x_16 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_14); +if (x_16 == 0) +{ +lean_dec(x_3); +return x_8; +} +else +{ +uint8_t x_17; +lean_dec(x_15); +lean_dec(x_14); +x_17 = l_String_Iterator_hasNext(x_3); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set(x_8, 1, x_18); +lean_ctor_set(x_8, 0, x_3); +return x_8; +} +else +{ +lean_object* x_19; uint32_t x_20; uint8_t x_21; +lean_inc(x_3); +x_19 = l_String_Iterator_next(x_3); +x_20 = l_String_Iterator_curr(x_3); +x_21 = x_20 == x_1; +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_19); +x_22 = l_Lean_Xml_Parser_endl___closed__1; +x_23 = lean_string_push(x_22, x_1); +x_24 = l_Lean_Xml_Parser_endl___closed__3; +x_25 = lean_string_append(x_24, x_23); +lean_dec(x_23); +x_26 = l_Lean_Xml_Parser_endl___closed__5; +x_27 = lean_string_append(x_25, x_26); +lean_ctor_set(x_8, 1, x_27); +lean_ctor_set(x_8, 0, x_3); +return x_8; +} +else +{ +lean_object* x_28; +lean_dec(x_3); +x_28 = lean_box_uint32(x_1); +lean_ctor_set_tag(x_8, 0); +lean_ctor_set(x_8, 1, x_28); +lean_ctor_set(x_8, 0, x_19); +return x_8; +} +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_ctor_get(x_8, 0); +x_30 = lean_ctor_get(x_8, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_8); +x_31 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_29); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_3); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_30); +return x_32; +} +else +{ +uint8_t x_33; +lean_dec(x_30); +lean_dec(x_29); +x_33 = l_String_Iterator_hasNext(x_3); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = l_Lean_Parsec_unexpectedEndOfInput; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_3); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +else +{ +lean_object* x_36; uint32_t x_37; uint8_t x_38; +lean_inc(x_3); +x_36 = l_String_Iterator_next(x_3); +x_37 = l_String_Iterator_curr(x_3); +x_38 = x_37 == x_1; +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_dec(x_36); +x_39 = l_Lean_Xml_Parser_endl___closed__1; +x_40 = lean_string_push(x_39, x_1); +x_41 = l_Lean_Xml_Parser_endl___closed__3; +x_42 = lean_string_append(x_41, x_40); +lean_dec(x_40); +x_43 = l_Lean_Xml_Parser_endl___closed__5; +x_44 = lean_string_append(x_42, x_43); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_3); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +else +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_3); +x_46 = lean_box_uint32(x_1); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_36); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +} +} +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_S___closed__1___boxed__const__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 9; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Xml_Parser_S___closed__1___boxed__const__2() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 32; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Xml_Parser_S___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_S___closed__1___boxed__const__1; +x_2 = l_Lean_Xml_Parser_S___closed__1___boxed__const__2; +x_3 = lean_alloc_closure((void*)(l_Lean_Xml_Parser_S___lambda__1___boxed), 3, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Xml_Parser_S(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Xml_Parser_S___closed__1; +x_3 = l_Lean_Parsec_many1Chars(x_2, x_1); +return x_3; +} +} +lean_object* l_Lean_Xml_Parser_S___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint32_t x_4; uint32_t x_5; lean_object* x_6; +x_4 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_5 = lean_unbox_uint32(x_2); +lean_dec(x_2); +x_6 = l_Lean_Xml_Parser_S___lambda__1(x_4, x_5, x_3); +return x_6; +} +} +static lean_object* _init_l_Lean_Xml_Parser_Eq___closed__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 61; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_Eq___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_Eq___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_Eq___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_Eq___closed__2; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Xml_Parser_Eq(lean_object* x_1) { +_start: +{ +uint32_t x_2; lean_object* x_3; lean_object* x_31; +x_2 = 61; +lean_inc(x_1); +x_31 = l_Lean_Xml_Parser_S(x_1); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; +lean_dec(x_1); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +lean_dec(x_31); +x_3 = x_32; +goto block_30; +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_31); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_34 = lean_ctor_get(x_31, 0); +x_35 = lean_ctor_get(x_31, 1); +x_36 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_34); +if (x_36 == 0) +{ +lean_dec(x_1); +return x_31; +} +else +{ +lean_free_object(x_31); +lean_dec(x_35); +lean_dec(x_34); +x_3 = x_1; +goto block_30; +} +} +else +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_37 = lean_ctor_get(x_31, 0); +x_38 = lean_ctor_get(x_31, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_31); +x_39 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_37); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_1); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_38); +return x_40; +} +else +{ +lean_dec(x_38); +lean_dec(x_37); +x_3 = x_1; +goto block_30; +} +} +} +block_30: +{ +uint8_t x_4; +x_4 = l_String_Iterator_hasNext(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = l_Lean_Parsec_unexpectedEndOfInput; +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_3); +lean_ctor_set(x_6, 1, x_5); +return x_6; +} +else +{ +lean_object* x_7; uint32_t x_8; uint8_t x_9; +lean_inc(x_3); +x_7 = l_String_Iterator_next(x_3); +x_8 = l_String_Iterator_curr(x_3); +x_9 = x_8 == x_2; +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_7); +x_10 = l_Lean_Xml_Parser_Eq___closed__3; +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_3); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +else +{ +lean_object* x_12; +lean_dec(x_3); +lean_inc(x_7); +x_12 = l_Lean_Xml_Parser_S(x_7); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +lean_dec(x_7); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 1); +lean_dec(x_14); +x_15 = lean_box(0); +lean_ctor_set(x_12, 1, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +lean_dec(x_12); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_12); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_12, 0); +x_21 = lean_ctor_get(x_12, 1); +x_22 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_7, x_20); +if (x_22 == 0) +{ +lean_dec(x_7); +return x_12; +} +else +{ +lean_object* x_23; +lean_dec(x_21); +lean_dec(x_20); +x_23 = lean_box(0); +lean_ctor_set_tag(x_12, 0); +lean_ctor_set(x_12, 1, x_23); +lean_ctor_set(x_12, 0, x_7); +return x_12; +} +} +else +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_12, 0); +x_25 = lean_ctor_get(x_12, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_12); +x_26 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_7, x_24); +if (x_26 == 0) +{ +lean_object* x_27; +lean_dec(x_7); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_25); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_25); +lean_dec(x_24); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_7); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +} +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(192u); +x_2 = lean_unsigned_to_nat(214u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(216u); +x_2 = lean_unsigned_to_nat(246u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(248u); +x_2 = lean_unsigned_to_nat(767u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(880u); +x_2 = lean_unsigned_to_nat(893u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(895u); +x_2 = lean_unsigned_to_nat(8191u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(8204u); +x_2 = lean_unsigned_to_nat(8205u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(8304u); +x_2 = lean_unsigned_to_nat(8591u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(11264u); +x_2 = lean_unsigned_to_nat(12271u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(12289u); +x_2 = lean_unsigned_to_nat(55295u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(63744u); +x_2 = lean_unsigned_to_nat(64975u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(65008u); +x_2 = lean_unsigned_to_nat(65533u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(65536u); +x_2 = lean_unsigned_to_nat(983039u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(12u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__13; +x_2 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__14; +x_2 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__2; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__15; +x_2 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__16; +x_2 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__4; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__17; +x_2 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__5; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__18; +x_2 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__6; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__19; +x_2 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__7; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__20; +x_2 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__8; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__21; +x_2 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__9; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__22; +x_2 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__10; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__23; +x_2 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__11; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__24; +x_2 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__12; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges() { +_start: +{ +lean_object* x_1; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__25; +return x_1; +} +} +lean_object* l_Lean_Xml_Parser_NameStartChar_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Xml_Parser_NameStartChar_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Xml_Parser_NameStartChar_match__1___rarg), 2, 0); +return x_2; +} +} +uint8_t l_Array_anyMUnsafe_any___at_Lean_Xml_Parser_NameStartChar___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_3 == x_4; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_array_uget(x_2, x_3); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_nat_dec_le(x_7, x_1); +lean_dec(x_7); +if (x_9 == 0) +{ +size_t x_10; size_t x_11; +lean_dec(x_8); +x_10 = 1; +x_11 = x_3 + x_10; +x_3 = x_11; +goto _start; +} +else +{ +uint8_t x_13; +x_13 = lean_nat_dec_le(x_1, x_8); +lean_dec(x_8); +if (x_13 == 0) +{ +size_t x_14; size_t x_15; +x_14 = 1; +x_15 = x_3 + x_14; +x_3 = x_15; +goto _start; +} +else +{ +uint8_t x_17; +x_17 = 1; +return x_17; +} +} +} +else +{ +uint8_t x_18; +x_18 = 0; +return x_18; +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameStartChar___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges; +x_2 = lean_array_get_size(x_1); +return x_2; +} +} +static uint8_t _init_l_Lean_Xml_Parser_NameStartChar___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_Xml_Parser_NameStartChar___closed__1; +x_3 = lean_nat_dec_lt(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameStartChar___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expected a name character"); +return x_1; +} +} +static uint8_t _init_l_Lean_Xml_Parser_NameStartChar___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; +x_1 = l_Lean_Xml_Parser_NameStartChar___closed__1; +x_2 = lean_nat_dec_le(x_1, x_1); +return x_2; +} +} +static size_t _init_l_Lean_Xml_Parser_NameStartChar___closed__5() { +_start: +{ +lean_object* x_1; size_t x_2; +x_1 = l_Lean_Xml_Parser_NameStartChar___closed__1; +x_2 = lean_usize_of_nat(x_1); +return x_2; +} +} +lean_object* l_Lean_Xml_Parser_NameStartChar(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_String_Iterator_hasNext(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +else +{ +lean_object* x_5; uint32_t x_6; lean_object* x_7; uint32_t x_32; uint8_t x_33; +lean_inc(x_1); +x_5 = l_String_Iterator_next(x_1); +x_6 = l_String_Iterator_curr(x_1); +x_32 = 65; +x_33 = x_32 <= x_6; +if (x_33 == 0) +{ +uint32_t x_34; uint8_t x_35; +x_34 = 97; +x_35 = x_34 <= x_6; +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_box(0); +x_7 = x_36; +goto block_31; +} +else +{ +uint32_t x_37; uint8_t x_38; +x_37 = 122; +x_38 = x_6 <= x_37; +if (x_38 == 0) +{ +lean_object* x_39; +x_39 = lean_box(0); +x_7 = x_39; +goto block_31; +} +else +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_1); +x_40 = lean_box_uint32(x_6); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_5); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +uint32_t x_42; uint8_t x_43; +x_42 = 90; +x_43 = x_6 <= x_42; +if (x_43 == 0) +{ +uint32_t x_44; uint8_t x_45; +x_44 = 97; +x_45 = x_44 <= x_6; +if (x_45 == 0) +{ +lean_object* x_46; +x_46 = lean_box(0); +x_7 = x_46; +goto block_31; +} +else +{ +uint32_t x_47; uint8_t x_48; +x_47 = 122; +x_48 = x_6 <= x_47; +if (x_48 == 0) +{ +lean_object* x_49; +x_49 = lean_box(0); +x_7 = x_49; +goto block_31; +} +else +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_1); +x_50 = lean_box_uint32(x_6); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_5); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_1); +x_52 = lean_box_uint32(x_6); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_5); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +block_31: +{ +uint32_t x_8; uint8_t x_9; +lean_dec(x_7); +x_8 = 58; +x_9 = x_6 == x_8; +if (x_9 == 0) +{ +uint32_t x_10; uint8_t x_11; +x_10 = 95; +x_11 = x_6 == x_10; +if (x_11 == 0) +{ +uint8_t x_12; +x_12 = l_Lean_Xml_Parser_NameStartChar___closed__2; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_5); +x_13 = l_Lean_Xml_Parser_NameStartChar___closed__3; +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +else +{ +uint8_t x_15; +x_15 = l_Lean_Xml_Parser_NameStartChar___closed__4; +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_5); +x_16 = l_Lean_Xml_Parser_NameStartChar___closed__3; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +else +{ +lean_object* x_18; size_t x_19; lean_object* x_20; size_t x_21; uint8_t x_22; +x_18 = lean_uint32_to_nat(x_6); +x_19 = 0; +x_20 = l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges; +x_21 = l_Lean_Xml_Parser_NameStartChar___closed__5; +x_22 = l_Array_anyMUnsafe_any___at_Lean_Xml_Parser_NameStartChar___spec__1(x_18, x_20, x_19, x_21); +lean_dec(x_18); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_5); +x_23 = l_Lean_Xml_Parser_NameStartChar___closed__3; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_1); +x_25 = lean_box_uint32(x_6); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_5); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_1); +x_27 = lean_box_uint32(x_6); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_5); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_1); +x_29 = lean_box_uint32(x_6); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_5); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +} +} +lean_object* l_Array_anyMUnsafe_any___at_Lean_Xml_Parser_NameStartChar___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Xml_Parser_NameStartChar___spec__1(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("condition not satisfied"); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___closed__2() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 183; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_NameChar___closed__2; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_NameChar___closed__3; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___closed__5() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 46; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_NameChar___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_NameChar___closed__6; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___closed__8() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 45; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_NameChar___closed__8; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_NameChar___closed__9; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("digit expected"); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___boxed__const__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 183; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___boxed__const__2() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 46; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Xml_Parser_NameChar___boxed__const__3() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 45; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +lean_object* l_Lean_Xml_Parser_NameChar(lean_object* x_1) { +_start: +{ +uint32_t x_2; uint32_t x_3; uint32_t x_4; lean_object* x_5; +x_2 = 45; +x_3 = 46; +x_4 = 183; +lean_inc(x_1); +x_5 = l_Lean_Xml_Parser_NameStartChar(x_1); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_1); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_inc(x_7); +lean_dec(x_5); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_12 = x_5; +} else { + lean_dec_ref(x_5); + x_12 = lean_box(0); +} +x_13 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_10); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_1); +if (lean_is_scalar(x_12)) { + x_14 = lean_alloc_ctor(1, 2, 0); +} else { + x_14 = x_12; +} +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_90; +lean_dec(x_11); +lean_dec(x_10); +x_90 = l_String_Iterator_hasNext(x_1); +if (x_90 == 0) +{ +lean_object* x_91; +x_91 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_1); +x_15 = x_1; +x_16 = x_91; +goto block_89; +} +else +{ +lean_object* x_92; uint32_t x_93; uint32_t x_94; uint8_t x_95; +lean_inc(x_1); +x_92 = l_String_Iterator_next(x_1); +x_93 = l_String_Iterator_curr(x_1); +x_94 = 48; +x_95 = x_94 <= x_93; +if (x_95 == 0) +{ +lean_object* x_96; +lean_dec(x_92); +x_96 = l_Lean_Xml_Parser_NameChar___closed__11; +lean_inc(x_1); +x_15 = x_1; +x_16 = x_96; +goto block_89; +} +else +{ +uint32_t x_97; uint8_t x_98; +x_97 = 57; +x_98 = x_93 <= x_97; +if (x_98 == 0) +{ +lean_object* x_99; +lean_dec(x_92); +x_99 = l_Lean_Xml_Parser_NameChar___closed__11; +lean_inc(x_1); +x_15 = x_1; +x_16 = x_99; +goto block_89; +} +else +{ +lean_object* x_100; lean_object* x_101; +lean_dec(x_12); +lean_dec(x_1); +x_100 = lean_box_uint32(x_93); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_92); +lean_ctor_set(x_101, 1, x_100); +return x_101; +} +} +} +block_89: +{ +uint8_t x_17; +x_17 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_15); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_1); +if (lean_is_scalar(x_12)) { + x_18 = lean_alloc_ctor(1, 2, 0); +} else { + x_18 = x_12; +} +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; uint8_t x_81; +lean_dec(x_16); +lean_dec(x_15); +x_81 = l_String_Iterator_hasNext(x_1); +if (x_81 == 0) +{ +lean_object* x_82; +x_82 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_1); +x_19 = x_1; +x_20 = x_82; +goto block_80; +} +else +{ +lean_object* x_83; uint32_t x_84; uint8_t x_85; +lean_inc(x_1); +x_83 = l_String_Iterator_next(x_1); +x_84 = l_String_Iterator_curr(x_1); +x_85 = x_84 == x_2; +if (x_85 == 0) +{ +lean_object* x_86; +lean_dec(x_83); +x_86 = l_Lean_Xml_Parser_NameChar___closed__10; +lean_inc(x_1); +x_19 = x_1; +x_20 = x_86; +goto block_80; +} +else +{ +lean_object* x_87; lean_object* x_88; +lean_dec(x_12); +lean_dec(x_1); +x_87 = l_Lean_Xml_Parser_NameChar___boxed__const__3; +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_83); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +block_80: +{ +uint8_t x_21; +x_21 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_19); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_1); +if (lean_is_scalar(x_12)) { + x_22 = lean_alloc_ctor(1, 2, 0); +} else { + x_22 = x_12; +} +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; uint8_t x_72; +lean_dec(x_20); +lean_dec(x_19); +x_72 = l_String_Iterator_hasNext(x_1); +if (x_72 == 0) +{ +lean_object* x_73; +x_73 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_1); +x_23 = x_1; +x_24 = x_73; +goto block_71; +} +else +{ +lean_object* x_74; uint32_t x_75; uint8_t x_76; +lean_inc(x_1); +x_74 = l_String_Iterator_next(x_1); +x_75 = l_String_Iterator_curr(x_1); +x_76 = x_75 == x_3; +if (x_76 == 0) +{ +lean_object* x_77; +lean_dec(x_74); +x_77 = l_Lean_Xml_Parser_NameChar___closed__7; +lean_inc(x_1); +x_23 = x_1; +x_24 = x_77; +goto block_71; +} +else +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_12); +lean_dec(x_1); +x_78 = l_Lean_Xml_Parser_NameChar___boxed__const__2; +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_74); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +block_71: +{ +uint8_t x_25; +x_25 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_23); +if (x_25 == 0) +{ +lean_object* x_26; +lean_dec(x_1); +if (lean_is_scalar(x_12)) { + x_26 = lean_alloc_ctor(1, 2, 0); +} else { + x_26 = x_12; +} +lean_ctor_set(x_26, 0, x_23); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; uint8_t x_63; +lean_dec(x_24); +lean_dec(x_23); +x_63 = l_String_Iterator_hasNext(x_1); +if (x_63 == 0) +{ +lean_object* x_64; +x_64 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_1); +x_27 = x_1; +x_28 = x_64; +goto block_62; +} +else +{ +lean_object* x_65; uint32_t x_66; uint8_t x_67; +lean_inc(x_1); +x_65 = l_String_Iterator_next(x_1); +x_66 = l_String_Iterator_curr(x_1); +x_67 = x_66 == x_4; +if (x_67 == 0) +{ +lean_object* x_68; +lean_dec(x_65); +x_68 = l_Lean_Xml_Parser_NameChar___closed__4; +lean_inc(x_1); +x_27 = x_1; +x_28 = x_68; +goto block_62; +} +else +{ +lean_object* x_69; lean_object* x_70; +lean_dec(x_12); +lean_dec(x_1); +x_69 = l_Lean_Xml_Parser_NameChar___boxed__const__1; +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_65); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +block_62: +{ +uint8_t x_29; +x_29 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_27); +if (x_29 == 0) +{ +lean_object* x_30; +lean_dec(x_1); +if (lean_is_scalar(x_12)) { + x_30 = lean_alloc_ctor(1, 2, 0); +} else { + x_30 = x_12; +} +lean_ctor_set(x_30, 0, x_27); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +else +{ +uint8_t x_31; +lean_dec(x_28); +lean_dec(x_27); +x_31 = l_String_Iterator_hasNext(x_1); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = l_Lean_Parsec_unexpectedEndOfInput; +if (lean_is_scalar(x_12)) { + x_33 = lean_alloc_ctor(1, 2, 0); +} else { + x_33 = x_12; +} +lean_ctor_set(x_33, 0, x_1); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +else +{ +lean_object* x_34; uint32_t x_35; uint32_t x_36; uint8_t x_37; +lean_inc(x_1); +x_34 = l_String_Iterator_next(x_1); +x_35 = l_String_Iterator_curr(x_1); +x_36 = 768; +x_37 = x_36 <= x_35; +if (x_37 == 0) +{ +uint32_t x_38; uint8_t x_39; +x_38 = 8255; +x_39 = x_38 <= x_35; +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_34); +x_40 = l_Lean_Xml_Parser_NameChar___closed__1; +if (lean_is_scalar(x_12)) { + x_41 = lean_alloc_ctor(1, 2, 0); +} else { + x_41 = x_12; +} +lean_ctor_set(x_41, 0, x_1); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +else +{ +uint32_t x_42; uint8_t x_43; +x_42 = 8256; +x_43 = x_35 <= x_42; +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_34); +x_44 = l_Lean_Xml_Parser_NameChar___closed__1; +if (lean_is_scalar(x_12)) { + x_45 = lean_alloc_ctor(1, 2, 0); +} else { + x_45 = x_12; +} +lean_ctor_set(x_45, 0, x_1); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +else +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_1); +x_46 = lean_box_uint32(x_35); +if (lean_is_scalar(x_12)) { + x_47 = lean_alloc_ctor(0, 2, 0); +} else { + x_47 = x_12; + lean_ctor_set_tag(x_47, 0); +} +lean_ctor_set(x_47, 0, x_34); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +uint32_t x_48; uint8_t x_49; +x_48 = 879; +x_49 = x_35 <= x_48; +if (x_49 == 0) +{ +uint32_t x_50; uint8_t x_51; +x_50 = 8255; +x_51 = x_50 <= x_35; +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_34); +x_52 = l_Lean_Xml_Parser_NameChar___closed__1; +if (lean_is_scalar(x_12)) { + x_53 = lean_alloc_ctor(1, 2, 0); +} else { + x_53 = x_12; +} +lean_ctor_set(x_53, 0, x_1); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +else +{ +uint32_t x_54; uint8_t x_55; +x_54 = 8256; +x_55 = x_35 <= x_54; +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_34); +x_56 = l_Lean_Xml_Parser_NameChar___closed__1; +if (lean_is_scalar(x_12)) { + x_57 = lean_alloc_ctor(1, 2, 0); +} else { + x_57 = x_12; +} +lean_ctor_set(x_57, 0, x_1); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +else +{ +lean_object* x_58; lean_object* x_59; +lean_dec(x_1); +x_58 = lean_box_uint32(x_35); +if (lean_is_scalar(x_12)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_12; + lean_ctor_set_tag(x_59, 0); +} +lean_ctor_set(x_59, 0, x_34); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_1); +x_60 = lean_box_uint32(x_35); +if (lean_is_scalar(x_12)) { + x_61 = lean_alloc_ctor(0, 2, 0); +} else { + x_61 = x_12; + lean_ctor_set_tag(x_61, 0); +} +lean_ctor_set(x_61, 0, x_34); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_Name___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Xml_Parser_NameChar), 1, 0); +return x_1; +} +} +lean_object* l_Lean_Xml_Parser_Name(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Xml_Parser_NameStartChar(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint32_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l_Lean_Xml_Parser_endl___closed__1; +x_6 = lean_unbox_uint32(x_4); +lean_dec(x_4); +x_7 = lean_string_push(x_5, x_6); +x_8 = l_Lean_Xml_Parser_Name___closed__1; +x_9 = l_Lean_Parsec_manyCharsCore(x_8, x_7, x_3); +return x_9; +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +return x_2; +} +else +{ +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); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_2); +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; +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_VersionNum___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("1."); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_VersionNum___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parsec_digit), 1, 0); +return x_1; +} +} +lean_object* l_Lean_Xml_Parser_VersionNum(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Xml_Parser_VersionNum___closed__1; +x_3 = l_Lean_Parsec_pstring(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = l_Lean_Xml_Parser_VersionNum___closed__2; +x_6 = l_Lean_Parsec_many1(lean_box(0)); +x_7 = lean_apply_2(x_6, x_5, x_4); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 1); +lean_dec(x_9); +x_10 = lean_box(0); +lean_ctor_set(x_7, 1, x_10); +return x_7; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +lean_dec(x_7); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_7); +if (x_14 == 0) +{ +return x_7; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_7, 0); +x_16 = lean_ctor_get(x_7, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_7); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_3); +if (x_18 == 0) +{ +return x_3; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_3, 0); +x_20 = lean_ctor_get(x_3, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_3); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_VersionInfo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("version"); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_VersionInfo___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Xml_Parser_VersionNum), 1, 0); +return x_1; +} +} +lean_object* l_Lean_Xml_Parser_VersionInfo(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Xml_Parser_S(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +lean_dec(x_2); +x_4 = l_Lean_Xml_Parser_VersionInfo___closed__1; +x_5 = l_Lean_Parsec_pstring(x_4, x_3); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_Xml_Parser_Eq(x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = l_Lean_Xml_Parser_VersionInfo___closed__2; +x_10 = l_Lean_Xml_Parser_quote___rarg(x_9, x_8); +return x_10; +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_7); +if (x_11 == 0) +{ +return x_7; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_7, 0); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_7); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_5); +if (x_15 == 0) +{ +return x_5; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_5, 0); +x_17 = lean_ctor_get(x_5, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_5); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_2); +if (x_19 == 0) +{ +return x_2; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_2, 0); +x_21 = lean_ctor_get(x_2, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_2); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_EncName___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ASCII letter expected"); +return x_1; +} +} +lean_object* l_Lean_Xml_Parser_EncName___lambda__1(uint32_t x_1, uint32_t x_2, uint32_t x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_78; +x_78 = l_String_Iterator_hasNext(x_4); +if (x_78 == 0) +{ +lean_object* x_79; +x_79 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_4); +x_5 = x_4; +x_6 = x_79; +goto block_77; +} +else +{ +lean_object* x_80; uint32_t x_81; uint32_t x_82; uint8_t x_83; +lean_inc(x_4); +x_80 = l_String_Iterator_next(x_4); +x_81 = l_String_Iterator_curr(x_4); +x_82 = 65; +x_83 = x_82 <= x_81; +if (x_83 == 0) +{ +uint32_t x_84; uint8_t x_85; +x_84 = 97; +x_85 = x_84 <= x_81; +if (x_85 == 0) +{ +lean_object* x_86; +lean_dec(x_80); +x_86 = l_Lean_Xml_Parser_EncName___lambda__1___closed__1; +lean_inc(x_4); +x_5 = x_4; +x_6 = x_86; +goto block_77; +} +else +{ +uint32_t x_87; uint8_t x_88; +x_87 = 122; +x_88 = x_81 <= x_87; +if (x_88 == 0) +{ +lean_object* x_89; +lean_dec(x_80); +x_89 = l_Lean_Xml_Parser_EncName___lambda__1___closed__1; +lean_inc(x_4); +x_5 = x_4; +x_6 = x_89; +goto block_77; +} +else +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_4); +x_90 = lean_box_uint32(x_81); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_80); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +} +else +{ +uint32_t x_92; uint8_t x_93; +x_92 = 90; +x_93 = x_81 <= x_92; +if (x_93 == 0) +{ +uint32_t x_94; uint8_t x_95; +x_94 = 97; +x_95 = x_94 <= x_81; +if (x_95 == 0) +{ +lean_object* x_96; +lean_dec(x_80); +x_96 = l_Lean_Xml_Parser_EncName___lambda__1___closed__1; +lean_inc(x_4); +x_5 = x_4; +x_6 = x_96; +goto block_77; +} +else +{ +uint32_t x_97; uint8_t x_98; +x_97 = 122; +x_98 = x_81 <= x_97; +if (x_98 == 0) +{ +lean_object* x_99; +lean_dec(x_80); +x_99 = l_Lean_Xml_Parser_EncName___lambda__1___closed__1; +lean_inc(x_4); +x_5 = x_4; +x_6 = x_99; +goto block_77; +} +else +{ +lean_object* x_100; lean_object* x_101; +lean_dec(x_4); +x_100 = lean_box_uint32(x_81); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_80); +lean_ctor_set(x_101, 1, x_100); +return x_101; +} +} +} +else +{ +lean_object* x_102; lean_object* x_103; +lean_dec(x_4); +x_102 = lean_box_uint32(x_81); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_80); +lean_ctor_set(x_103, 1, x_102); +return x_103; +} +} +} +block_77: +{ +uint8_t x_7; +x_7 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_4, x_5); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_4); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_5); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; uint8_t x_65; +lean_dec(x_6); +lean_dec(x_5); +x_65 = l_String_Iterator_hasNext(x_4); +if (x_65 == 0) +{ +lean_object* x_66; +x_66 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_4); +x_9 = x_4; +x_10 = x_66; +goto block_64; +} +else +{ +lean_object* x_67; uint32_t x_68; uint32_t x_69; uint8_t x_70; +lean_inc(x_4); +x_67 = l_String_Iterator_next(x_4); +x_68 = l_String_Iterator_curr(x_4); +x_69 = 48; +x_70 = x_69 <= x_68; +if (x_70 == 0) +{ +lean_object* x_71; +lean_dec(x_67); +x_71 = l_Lean_Xml_Parser_NameChar___closed__11; +lean_inc(x_4); +x_9 = x_4; +x_10 = x_71; +goto block_64; +} +else +{ +uint32_t x_72; uint8_t x_73; +x_72 = 57; +x_73 = x_68 <= x_72; +if (x_73 == 0) +{ +lean_object* x_74; +lean_dec(x_67); +x_74 = l_Lean_Xml_Parser_NameChar___closed__11; +lean_inc(x_4); +x_9 = x_4; +x_10 = x_74; +goto block_64; +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_4); +x_75 = lean_box_uint32(x_68); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_67); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +} +block_64: +{ +uint8_t x_11; +x_11 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_4, x_9); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_4); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_9); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_51; +lean_dec(x_10); +lean_dec(x_9); +x_51 = l_String_Iterator_hasNext(x_4); +if (x_51 == 0) +{ +lean_object* x_52; +x_52 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_4); +x_13 = x_4; +x_14 = x_52; +goto block_50; +} +else +{ +lean_object* x_53; uint32_t x_54; uint8_t x_55; +lean_inc(x_4); +x_53 = l_String_Iterator_next(x_4); +x_54 = l_String_Iterator_curr(x_4); +x_55 = x_54 == x_3; +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_53); +x_56 = l_Lean_Xml_Parser_endl___closed__1; +x_57 = lean_string_push(x_56, x_3); +x_58 = l_Lean_Xml_Parser_endl___closed__3; +x_59 = lean_string_append(x_58, x_57); +lean_dec(x_57); +x_60 = l_Lean_Xml_Parser_endl___closed__5; +x_61 = lean_string_append(x_59, x_60); +lean_inc(x_4); +x_13 = x_4; +x_14 = x_61; +goto block_50; +} +else +{ +lean_object* x_62; lean_object* x_63; +lean_dec(x_4); +x_62 = lean_box_uint32(x_3); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_53); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +block_50: +{ +uint8_t x_15; +x_15 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_4, x_13); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_4); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_37; +lean_dec(x_14); +lean_dec(x_13); +x_37 = l_String_Iterator_hasNext(x_4); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_4); +x_17 = x_4; +x_18 = x_38; +goto block_36; +} +else +{ +lean_object* x_39; uint32_t x_40; uint8_t x_41; +lean_inc(x_4); +x_39 = l_String_Iterator_next(x_4); +x_40 = l_String_Iterator_curr(x_4); +x_41 = x_40 == x_2; +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_39); +x_42 = l_Lean_Xml_Parser_endl___closed__1; +x_43 = lean_string_push(x_42, x_2); +x_44 = l_Lean_Xml_Parser_endl___closed__3; +x_45 = lean_string_append(x_44, x_43); +lean_dec(x_43); +x_46 = l_Lean_Xml_Parser_endl___closed__5; +x_47 = lean_string_append(x_45, x_46); +lean_inc(x_4); +x_17 = x_4; +x_18 = x_47; +goto block_36; +} +else +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_4); +x_48 = lean_box_uint32(x_2); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_39); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +block_36: +{ +uint8_t x_19; +x_19 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_4, x_17); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_4); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_18); +lean_dec(x_17); +x_21 = l_String_Iterator_hasNext(x_4); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = l_Lean_Parsec_unexpectedEndOfInput; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_4); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +else +{ +lean_object* x_24; uint32_t x_25; uint8_t x_26; +lean_inc(x_4); +x_24 = l_String_Iterator_next(x_4); +x_25 = l_String_Iterator_curr(x_4); +x_26 = x_25 == x_1; +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_dec(x_24); +x_27 = l_Lean_Xml_Parser_endl___closed__1; +x_28 = lean_string_push(x_27, x_1); +x_29 = l_Lean_Xml_Parser_endl___closed__3; +x_30 = lean_string_append(x_29, x_28); +lean_dec(x_28); +x_31 = l_Lean_Xml_Parser_endl___closed__5; +x_32 = lean_string_append(x_30, x_31); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_4); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_4); +x_34 = lean_box_uint32(x_1); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_24); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +} +} +} +} +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_EncName___closed__1___boxed__const__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 46; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Xml_Parser_EncName___closed__1___boxed__const__2() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 95; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Xml_Parser_EncName___closed__1___boxed__const__3() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 45; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Xml_Parser_EncName___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Xml_Parser_EncName___closed__1___boxed__const__1; +x_2 = l_Lean_Xml_Parser_EncName___closed__1___boxed__const__2; +x_3 = l_Lean_Xml_Parser_EncName___closed__1___boxed__const__3; +x_4 = lean_alloc_closure((void*)(l_Lean_Xml_Parser_EncName___lambda__1___boxed), 4, 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_Xml_Parser_EncName(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = l_String_Iterator_hasNext(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Parsec_unexpectedEndOfInput; +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +else +{ +lean_object* x_5; uint32_t x_6; uint32_t x_7; uint8_t x_8; +lean_inc(x_1); +x_5 = l_String_Iterator_next(x_1); +x_6 = l_String_Iterator_curr(x_1); +x_7 = 65; +x_8 = x_7 <= x_6; +if (x_8 == 0) +{ +uint32_t x_9; uint8_t x_10; +x_9 = 97; +x_10 = x_9 <= x_6; +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_5); +x_11 = l_Lean_Xml_Parser_EncName___lambda__1___closed__1; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +else +{ +uint32_t x_13; uint8_t x_14; +x_13 = 122; +x_14 = x_6 <= x_13; +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_5); +x_15 = l_Lean_Xml_Parser_EncName___lambda__1___closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_1); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_1); +x_17 = l_Lean_Xml_Parser_endl___closed__1; +x_18 = lean_string_push(x_17, x_6); +x_19 = l_Lean_Xml_Parser_EncName___closed__1; +x_20 = l_Lean_Parsec_manyCharsCore(x_19, x_18, x_5); +return x_20; +} +} +} +else +{ +uint32_t x_21; uint8_t x_22; +x_21 = 90; +x_22 = x_6 <= x_21; +if (x_22 == 0) +{ +uint32_t x_23; uint8_t x_24; +x_23 = 97; +x_24 = x_23 <= x_6; +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_5); +x_25 = l_Lean_Xml_Parser_EncName___lambda__1___closed__1; +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_1); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +else +{ +uint32_t x_27; uint8_t x_28; +x_27 = 122; +x_28 = x_6 <= x_27; +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_5); +x_29 = l_Lean_Xml_Parser_EncName___lambda__1___closed__1; +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_1); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_1); +x_31 = l_Lean_Xml_Parser_endl___closed__1; +x_32 = lean_string_push(x_31, x_6); +x_33 = l_Lean_Xml_Parser_EncName___closed__1; +x_34 = l_Lean_Parsec_manyCharsCore(x_33, x_32, x_5); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_1); +x_35 = l_Lean_Xml_Parser_endl___closed__1; +x_36 = lean_string_push(x_35, x_6); +x_37 = l_Lean_Xml_Parser_EncName___closed__1; +x_38 = l_Lean_Parsec_manyCharsCore(x_37, x_36, x_5); +return x_38; +} +} +} +} +} +lean_object* l_Lean_Xml_Parser_EncName___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint32_t x_5; uint32_t x_6; uint32_t x_7; lean_object* x_8; +x_5 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_6 = lean_unbox_uint32(x_2); +lean_dec(x_2); +x_7 = lean_unbox_uint32(x_3); +lean_dec(x_3); +x_8 = l_Lean_Xml_Parser_EncName___lambda__1(x_5, x_6, x_7, x_4); +return x_8; +} +} +static lean_object* _init_l_Lean_Xml_Parser_EncodingDecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("encoding"); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_EncodingDecl___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Xml_Parser_EncName), 1, 0); +return x_1; +} +} +lean_object* l_Lean_Xml_Parser_EncodingDecl(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Xml_Parser_S(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +lean_dec(x_2); +x_4 = l_Lean_Xml_Parser_EncodingDecl___closed__1; +x_5 = l_Lean_Parsec_pstring(x_4, x_3); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_Xml_Parser_Eq(x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = l_Lean_Xml_Parser_EncodingDecl___closed__2; +x_10 = l_Lean_Xml_Parser_quote___rarg(x_9, x_8); +return x_10; +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_7); +if (x_11 == 0) +{ +return x_7; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_7, 0); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_7); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_5); +if (x_15 == 0) +{ +return x_5; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_5, 0); +x_17 = lean_ctor_get(x_5, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_5); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_2); +if (x_19 == 0) +{ +return x_2; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_2, 0); +x_21 = lean_ctor_get(x_2, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_2); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_SDDecl___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("yes"); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_SDDecl___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("no"); +return x_1; +} +} +lean_object* l_Lean_Xml_Parser_SDDecl___lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Xml_Parser_SDDecl___lambda__1___closed__1; +lean_inc(x_1); +x_3 = l_Lean_Parsec_pstring(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +lean_dec(x_1); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +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); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_3); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_3, 0); +x_10 = lean_ctor_get(x_3, 1); +x_11 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_9); +if (x_11 == 0) +{ +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_free_object(x_3); +lean_dec(x_10); +lean_dec(x_9); +x_12 = l_Lean_Xml_Parser_SDDecl___lambda__1___closed__2; +x_13 = l_Lean_Parsec_pstring(x_12, x_1); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_3, 0); +x_15 = lean_ctor_get(x_3, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_3); +x_16 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_14); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_1); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_15); +lean_dec(x_14); +x_18 = l_Lean_Xml_Parser_SDDecl___lambda__1___closed__2; +x_19 = l_Lean_Parsec_pstring(x_18, x_1); +return x_19; +} +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_SDDecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("standalone"); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_SDDecl___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Xml_Parser_SDDecl___lambda__1), 1, 0); +return x_1; +} +} +lean_object* l_Lean_Xml_Parser_SDDecl(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Xml_Parser_S(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +lean_dec(x_2); +x_4 = l_Lean_Xml_Parser_SDDecl___closed__1; +x_5 = l_Lean_Parsec_pstring(x_4, x_3); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_Xml_Parser_Eq(x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = l_Lean_Xml_Parser_SDDecl___closed__2; +x_10 = l_Lean_Xml_Parser_quote___rarg(x_9, x_8); +return x_10; +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_7); +if (x_11 == 0) +{ +return x_7; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_7, 0); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_7); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_5); +if (x_15 == 0) +{ +return x_5; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_5, 0); +x_17 = lean_ctor_get(x_5, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_5); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_2); +if (x_19 == 0) +{ +return x_2; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_2, 0); +x_21 = lean_ctor_get(x_2, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_2); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_XMLdecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("?>"); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_XMLdecl___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +lean_object* l_Lean_Xml_Parser_Comment(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Xml_Parser_Comment___closed__2; +x_3 = l_Lean_Parsec_pstring(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = l_Lean_Xml_Parser_Comment___closed__1; +x_6 = l_Lean_Parsec_many(lean_box(0)); +x_7 = lean_apply_2(x_6, x_5, x_4); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_array_get_size(x_9); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_lt(x_11, x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +x_13 = l_Lean_Xml_Parser_Comment___closed__3; +x_14 = l_Lean_Parsec_pstring(x_13, x_8); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 1); +lean_dec(x_16); +x_17 = l_Lean_Xml_Parser_endl___closed__1; +lean_ctor_set(x_14, 1, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_19 = l_Lean_Xml_Parser_endl___closed__1; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +else +{ +uint8_t x_25; +x_25 = lean_nat_dec_le(x_10, x_10); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_10); +lean_dec(x_9); +x_26 = l_Lean_Xml_Parser_Comment___closed__3; +x_27 = l_Lean_Parsec_pstring(x_26, x_8); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 1); +lean_dec(x_29); +x_30 = l_Lean_Xml_Parser_endl___closed__1; +lean_ctor_set(x_27, 1, x_30); +return x_27; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_27, 0); +lean_inc(x_31); +lean_dec(x_27); +x_32 = l_Lean_Xml_Parser_endl___closed__1; +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_27); +if (x_34 == 0) +{ +return x_27; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_27, 0); +x_36 = lean_ctor_get(x_27, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_27); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +size_t x_38; size_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_38 = 0; +x_39 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_40 = l_Lean_Xml_Parser_endl___closed__1; +x_41 = l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_Comment___spec__1(x_9, x_38, x_39, x_40); +lean_dec(x_9); +x_42 = l_Lean_Xml_Parser_Comment___closed__3; +x_43 = l_Lean_Parsec_pstring(x_42, x_8); +if (lean_obj_tag(x_43) == 0) +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_43, 1); +lean_dec(x_45); +lean_ctor_set(x_43, 1, x_41); +return x_43; +} +else +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_43, 0); +lean_inc(x_46); +lean_dec(x_43); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_41); +return x_47; +} +} +else +{ +uint8_t x_48; +lean_dec(x_41); +x_48 = !lean_is_exclusive(x_43); +if (x_48 == 0) +{ +return x_43; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_43, 0); +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_43); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +} +} +else +{ +uint8_t x_52; +x_52 = !lean_is_exclusive(x_7); +if (x_52 == 0) +{ +return x_7; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_7, 0); +x_54 = lean_ctor_get(x_7, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_7); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +uint8_t x_56; +x_56 = !lean_is_exclusive(x_3); +if (x_56 == 0) +{ +return x_3; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_3, 0); +x_58 = lean_ctor_get(x_3, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_3); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_Comment___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_Comment___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Xml_Parser_Comment___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint32_t x_3; lean_object* x_4; +x_3 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_4 = l_Lean_Xml_Parser_Comment___lambda__1(x_3, x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 108; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_PITarget___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_PITarget___closed__2; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__4() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 76; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_PITarget___closed__4; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_PITarget___closed__5; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__7() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 109; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_PITarget___closed__7; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_PITarget___closed__8; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__10() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 77; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_PITarget___closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_PITarget___closed__11; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__13() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 120; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_PITarget___closed__13; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_PITarget___closed__14; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__16() { +_start: +{ +uint32_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 88; +x_2 = l_Lean_Xml_Parser_endl___closed__1; +x_3 = lean_string_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_endl___closed__3; +x_2 = l_Lean_Xml_Parser_PITarget___closed__16; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Xml_Parser_PITarget___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Xml_Parser_PITarget___closed__17; +x_2 = l_Lean_Xml_Parser_endl___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Xml_Parser_PITarget(lean_object* x_1) { +_start: +{ +uint32_t x_2; uint32_t x_3; uint32_t x_4; uint32_t x_5; uint32_t x_6; uint32_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_32; lean_object* x_33; lean_object* x_54; +x_2 = 88; +x_3 = 120; +x_4 = 77; +x_5 = 109; +x_6 = 76; +x_7 = 108; +x_54 = l_Lean_Xml_Parser_Name(x_1); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_71; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_57 = x_54; +} else { + lean_dec_ref(x_54); + x_57 = lean_box(0); +} +x_71 = l_String_Iterator_hasNext(x_55); +if (x_71 == 0) +{ +lean_object* x_72; +x_72 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_55); +x_58 = x_55; +x_59 = x_72; +goto block_70; +} +else +{ +lean_object* x_73; uint32_t x_74; uint8_t x_75; +lean_inc(x_55); +x_73 = l_String_Iterator_next(x_55); +x_74 = l_String_Iterator_curr(x_55); +x_75 = x_74 == x_2; +if (x_75 == 0) +{ +lean_object* x_76; +lean_dec(x_73); +x_76 = l_Lean_Xml_Parser_PITarget___closed__18; +lean_inc(x_55); +x_58 = x_55; +x_59 = x_76; +goto block_70; +} +else +{ +lean_dec(x_57); +lean_dec(x_55); +x_32 = x_73; +x_33 = x_56; +goto block_53; +} +} +block_70: +{ +uint8_t x_60; +x_60 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_55, x_58); +if (x_60 == 0) +{ +lean_object* x_61; +lean_dec(x_56); +lean_dec(x_55); +if (lean_is_scalar(x_57)) { + x_61 = lean_alloc_ctor(1, 2, 0); +} else { + x_61 = x_57; + lean_ctor_set_tag(x_61, 1); +} +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_59); +return x_61; +} +else +{ +uint8_t x_62; +lean_dec(x_59); +lean_dec(x_58); +x_62 = l_String_Iterator_hasNext(x_55); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_56); +x_63 = l_Lean_Parsec_unexpectedEndOfInput; +if (lean_is_scalar(x_57)) { + x_64 = lean_alloc_ctor(1, 2, 0); +} else { + x_64 = x_57; + lean_ctor_set_tag(x_64, 1); +} +lean_ctor_set(x_64, 0, x_55); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +else +{ +lean_object* x_65; uint32_t x_66; uint8_t x_67; +lean_inc(x_55); +x_65 = l_String_Iterator_next(x_55); +x_66 = l_String_Iterator_curr(x_55); +x_67 = x_66 == x_3; +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; +lean_dec(x_65); +lean_dec(x_56); +x_68 = l_Lean_Xml_Parser_PITarget___closed__15; +if (lean_is_scalar(x_57)) { + x_69 = lean_alloc_ctor(1, 2, 0); +} else { + x_69 = x_57; + lean_ctor_set_tag(x_69, 1); +} +lean_ctor_set(x_69, 0, x_55); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +else +{ +lean_dec(x_57); +lean_dec(x_55); +x_32 = x_65; +x_33 = x_56; +goto block_53; +} +} +} +} +} +else +{ +uint8_t x_77; +x_77 = !lean_is_exclusive(x_54); +if (x_77 == 0) +{ +return x_54; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_54, 0); +x_79 = lean_ctor_get(x_54, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_54); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +block_31: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_24; +x_24 = l_String_Iterator_hasNext(x_8); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_8); +x_10 = x_8; +x_11 = x_25; +goto block_23; +} +else +{ +lean_object* x_26; uint32_t x_27; uint8_t x_28; +lean_inc(x_8); +x_26 = l_String_Iterator_next(x_8); +x_27 = l_String_Iterator_curr(x_8); +x_28 = x_27 == x_6; +if (x_28 == 0) +{ +lean_object* x_29; +lean_dec(x_26); +x_29 = l_Lean_Xml_Parser_PITarget___closed__6; +lean_inc(x_8); +x_10 = x_8; +x_11 = x_29; +goto block_23; +} +else +{ +lean_object* x_30; +lean_dec(x_8); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_26); +lean_ctor_set(x_30, 1, x_9); +return x_30; +} +} +block_23: +{ +uint8_t x_12; +x_12 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_8, x_10); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_9); +lean_dec(x_8); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_10); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +uint8_t x_14; +lean_dec(x_11); +lean_dec(x_10); +x_14 = l_String_Iterator_hasNext(x_8); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_9); +x_15 = l_Lean_Parsec_unexpectedEndOfInput; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_8); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +else +{ +lean_object* x_17; uint32_t x_18; uint8_t x_19; +lean_inc(x_8); +x_17 = l_String_Iterator_next(x_8); +x_18 = l_String_Iterator_curr(x_8); +x_19 = x_18 == x_7; +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_17); +lean_dec(x_9); +x_20 = l_Lean_Xml_Parser_PITarget___closed__3; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_8); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +else +{ +lean_object* x_22; +lean_dec(x_8); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_9); +return x_22; +} +} +} +} +} +block_53: +{ +lean_object* x_34; lean_object* x_35; uint8_t x_47; +x_47 = l_String_Iterator_hasNext(x_32); +if (x_47 == 0) +{ +lean_object* x_48; +x_48 = l_Lean_Parsec_unexpectedEndOfInput; +lean_inc(x_32); +x_34 = x_32; +x_35 = x_48; +goto block_46; +} +else +{ +lean_object* x_49; uint32_t x_50; uint8_t x_51; +lean_inc(x_32); +x_49 = l_String_Iterator_next(x_32); +x_50 = l_String_Iterator_curr(x_32); +x_51 = x_50 == x_4; +if (x_51 == 0) +{ +lean_object* x_52; +lean_dec(x_49); +x_52 = l_Lean_Xml_Parser_PITarget___closed__12; +lean_inc(x_32); +x_34 = x_32; +x_35 = x_52; +goto block_46; +} +else +{ +lean_dec(x_32); +x_8 = x_49; +x_9 = x_33; +goto block_31; +} +} +block_46: +{ +uint8_t x_36; +x_36 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_32, x_34); +if (x_36 == 0) +{ +lean_object* x_37; +lean_dec(x_33); +lean_dec(x_32); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +else +{ +uint8_t x_38; +lean_dec(x_35); +lean_dec(x_34); +x_38 = l_String_Iterator_hasNext(x_32); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_33); +x_39 = l_Lean_Parsec_unexpectedEndOfInput; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_32); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +else +{ +lean_object* x_41; uint32_t x_42; uint8_t x_43; +lean_inc(x_32); +x_41 = l_String_Iterator_next(x_32); +x_42 = l_String_Iterator_curr(x_32); +x_43 = x_42 == x_5; +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_41); +lean_dec(x_33); +x_44 = l_Lean_Xml_Parser_PITarget___closed__9; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_32); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +else +{ +lean_dec(x_32); +x_8 = x_41; +x_9 = x_33; +goto block_31; +} +} +} +} +} +} +} +lean_object* l_Lean_Xml_Parser_PI___lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Xml_Parser_XMLdecl___closed__1; +lean_inc(x_1); +x_3 = l_Lean_Parsec_pstring(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +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, 1); +lean_dec(x_5); +x_6 = lean_ctor_get(x_3, 0); +lean_dec(x_6); +x_7 = l_Lean_Xml_Parser_endl___closed__1; +lean_ctor_set_tag(x_3, 1); +lean_ctor_set(x_3, 1, x_7); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_8 = l_Lean_Xml_Parser_endl___closed__1; +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +lean_object* x_10; +lean_dec(x_3); +x_10 = l_Lean_Xml_Parser_Char(x_1); +return x_10; +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_PI___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +lean_object* l_Lean_Xml_Parser_EmptyElemTag(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = l_Lean_Xml_Parser_EmptyElemTag___closed__1; +x_4 = lean_apply_1(x_1, x_3); +x_5 = l_Lean_Xml_Parser_EmptyElemTag___closed__2; +x_6 = l_Lean_Parsec_pstring(x_5, x_2); +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; +x_8 = lean_ctor_get(x_6, 1); +lean_dec(x_8); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_4); +return x_10; +} +} +else +{ +uint8_t x_11; +lean_dec(x_4); +x_11 = !lean_is_exclusive(x_6); +if (x_11 == 0) +{ +return x_6; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_6, 0); +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_6); +x_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_Lean_Xml_Parser_STag(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint32_t x_3; uint8_t x_4; +x_3 = 62; +x_4 = l_String_Iterator_hasNext(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_1); +x_5 = l_Lean_Parsec_unexpectedEndOfInput; +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_5); +return x_6; +} +else +{ +lean_object* x_7; uint32_t x_8; uint8_t x_9; +lean_inc(x_2); +x_7 = l_String_Iterator_next(x_2); +x_8 = l_String_Iterator_curr(x_2); +x_9 = x_8 == x_3; +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_7); +lean_dec(x_1); +x_10 = l_Lean_Xml_Parser_elementDecl___closed__4; +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_2); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +else +{ +lean_object* x_12; +lean_dec(x_2); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_7); +lean_ctor_set(x_12, 1, x_1); +return x_12; +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_ETag___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +lean_object* l_Lean_Xml_Parser_CDEnd(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Xml_Parser_CDEnd___closed__1; +x_3 = l_Lean_Parsec_pstring(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 1); +lean_dec(x_5); +x_6 = lean_box(0); +lean_ctor_set(x_3, 1, x_6); +return x_3; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +return x_3; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +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; +} +} +} +} +lean_object* l_Lean_Xml_Parser_CData___lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Xml_Parser_CDEnd___closed__1; +lean_inc(x_1); +x_3 = l_Lean_Parsec_pstring(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +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, 1); +lean_dec(x_5); +x_6 = lean_ctor_get(x_3, 0); +lean_dec(x_6); +x_7 = l_Lean_Xml_Parser_endl___closed__1; +lean_ctor_set_tag(x_3, 1); +lean_ctor_set(x_3, 1, x_7); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_8 = l_Lean_Xml_Parser_endl___closed__1; +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_3, 1); +lean_dec(x_11); +x_12 = lean_ctor_get(x_3, 0); +lean_dec(x_12); +x_13 = l_String_Iterator_hasNext(x_1); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = l_Lean_Parsec_unexpectedEndOfInput; +lean_ctor_set(x_3, 1, x_14); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +else +{ +lean_object* x_15; uint32_t x_16; lean_object* x_17; +lean_inc(x_1); +x_15 = l_String_Iterator_next(x_1); +x_16 = l_String_Iterator_curr(x_1); +lean_dec(x_1); +x_17 = lean_box_uint32(x_16); +lean_ctor_set_tag(x_3, 0); +lean_ctor_set(x_3, 1, x_17); +lean_ctor_set(x_3, 0, x_15); +return x_3; +} +} +else +{ +uint8_t x_18; +lean_dec(x_3); +x_18 = l_String_Iterator_hasNext(x_1); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = l_Lean_Parsec_unexpectedEndOfInput; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_1); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +else +{ +lean_object* x_21; uint32_t x_22; lean_object* x_23; lean_object* x_24; +lean_inc(x_1); +x_21 = l_String_Iterator_next(x_1); +x_22 = l_String_Iterator_curr(x_1); +lean_dec(x_1); +x_23 = lean_box_uint32(x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_21); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_CData___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Xml_Parser_CData___lambda__1), 1, 0); +return x_1; +} +} +lean_object* l_Lean_Xml_Parser_CData(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Xml_Parser_CData___closed__1; +x_3 = l_Lean_Parsec_manyChars(x_2, x_1); +return x_3; +} +} +lean_object* l_Lean_Xml_Parser_CDSect(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Xml_Parser_CDStart(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +lean_dec(x_2); +x_4 = l_Lean_Xml_Parser_CData(x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_dec(x_4); +x_7 = l_Lean_Xml_Parser_CDEnd(x_5); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_7, 1); +lean_dec(x_9); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_7, 0); +lean_inc(x_10); +lean_dec(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_6); +return x_11; +} +} +else +{ +uint8_t x_12; +lean_dec(x_6); +x_12 = !lean_is_exclusive(x_7); +if (x_12 == 0) +{ +return x_7; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_7, 0); +x_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_7); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_4); +if (x_16 == 0) +{ +return x_4; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_4, 0); +x_18 = lean_ctor_get(x_4, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_4); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_2); +if (x_20 == 0) +{ +return x_2; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_2, 0); +x_22 = lean_ctor_get(x_2, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_2); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +uint8_t l_Lean_Xml_Parser_CharData___lambda__1(uint32_t x_1) { +_start: +{ +uint32_t x_2; uint8_t x_3; uint8_t x_4; +x_2 = 60; +x_3 = x_1 == x_2; +x_4 = l_instDecidableNot___rarg(x_3); +if (x_4 == 0) +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +else +{ +uint32_t x_6; uint8_t x_7; uint8_t x_8; +x_6 = 38; +x_7 = x_1 == x_6; +x_8 = l_instDecidableNot___rarg(x_7); +return x_8; +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_CharData___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Xml_Parser_CharData___lambda__1___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_Parser_CharData___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Xml_Parser_CharData___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_Parsec_satisfy), 2, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Xml_Parser_CharData(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Xml_Parser_CDEnd___closed__1; +lean_inc(x_1); +x_3 = l_Lean_Parsec_pstring(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +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, 1); +lean_dec(x_5); +x_6 = lean_ctor_get(x_3, 0); +lean_dec(x_6); +x_7 = l_Lean_Xml_Parser_endl___closed__1; +lean_ctor_set_tag(x_3, 1); +lean_ctor_set(x_3, 1, x_7); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_8 = l_Lean_Xml_Parser_endl___closed__1; +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_3); +x_10 = l_Lean_Xml_Parser_CharData___closed__2; +x_11 = l_Lean_Parsec_manyChars(x_10, x_1); +return x_11; +} +} +} +lean_object* l_Lean_Xml_Parser_CharData___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_Lean_Xml_Parser_CharData___lambda__1(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Lean_Xml_Parser_content_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 2) +{ +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_4); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_apply_2(x_3, x_5, x_6); +return x_7; +} +else +{ +lean_object* x_8; +lean_dec(x_3); +x_8 = lean_apply_2(x_4, x_1, x_2); +return x_8; +} +} +else +{ +lean_object* x_9; +lean_dec(x_3); +x_9 = lean_apply_2(x_4, x_1, x_2); +return x_9; +} +} +} +lean_object* l_Lean_Xml_Parser_content_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Xml_Parser_content_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Array_back___at_Lean_Xml_Parser_content___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(1u); +x_4 = lean_nat_sub(x_2, x_3); +lean_dec(x_2); +x_5 = l_Lean_Xml_instInhabitedContent; +x_6 = lean_array_get(x_5, x_1, x_4); +lean_dec(x_4); +return x_6; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_content___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_2 == x_3; +if (x_5 == 0) +{ +lean_object* x_6; size_t x_7; size_t x_8; +x_6 = lean_array_uget(x_1, x_2); +x_7 = 1; +x_8 = x_2 + x_7; +if (lean_obj_tag(x_6) == 0) +{ +x_2 = x_8; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = lean_array_push(x_4, x_10); +x_2 = x_8; +x_4 = x_11; +goto _start; +} +} +else +{ +return x_4; +} +} +} +lean_object* l_Array_filterMapM___at_Lean_Xml_Parser_content___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_nat_dec_lt(x_2, x_3); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = l_Lean_Xml_Parser_EmptyElemTag___closed__1; +return x_5; +} +else +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_le(x_3, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +x_8 = l_Lean_Xml_Parser_EmptyElemTag___closed__1; +return x_8; +} +else +{ +size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_usize_of_nat(x_2); +x_10 = lean_usize_of_nat(x_3); +x_11 = l_Lean_Xml_Parser_EmptyElemTag___closed__1; +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_content___spec__3(x_1, x_9, x_10, x_11); +return x_12; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Xml_Parser_content___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; uint8_t x_13; +x_13 = x_3 < x_2; +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_5); +lean_ctor_set(x_14, 1, x_4); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_15 = lean_array_uget(x_1, x_3); +x_16 = lean_array_get_size(x_4); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_nat_dec_lt(x_17, x_16); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_16); +x_19 = lean_array_push(x_4, x_15); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_6 = x_5; +x_7 = x_20; +goto block_12; +} +else +{ +lean_object* x_21; +x_21 = l_Array_back___at_Lean_Xml_Parser_content___spec__1(x_4); +if (lean_obj_tag(x_21) == 2) +{ +if (lean_obj_tag(x_15) == 2) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +lean_dec(x_21); +x_23 = !lean_is_exclusive(x_15); +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; +x_24 = lean_ctor_get(x_15, 0); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_sub(x_16, x_25); +lean_dec(x_16); +x_27 = lean_string_append(x_22, x_24); +lean_dec(x_24); +lean_ctor_set(x_15, 0, x_27); +x_28 = lean_array_set(x_4, x_26, x_15); +lean_dec(x_26); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_6 = x_5; +x_7 = x_29; +goto block_12; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_30 = lean_ctor_get(x_15, 0); +lean_inc(x_30); +lean_dec(x_15); +x_31 = lean_unsigned_to_nat(1u); +x_32 = lean_nat_sub(x_16, x_31); +lean_dec(x_16); +x_33 = lean_string_append(x_22, x_30); +lean_dec(x_30); +x_34 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = lean_array_set(x_4, x_32, x_34); +lean_dec(x_32); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_6 = x_5; +x_7 = x_36; +goto block_12; +} +} +else +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_21); +lean_dec(x_16); +x_37 = lean_array_push(x_4, x_15); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_6 = x_5; +x_7 = x_38; +goto block_12; +} +} +else +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_21); +lean_dec(x_16); +x_39 = lean_array_push(x_4, x_15); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_6 = x_5; +x_7 = x_40; +goto block_12; +} +} +} +block_12: +{ +lean_object* x_8; size_t x_9; size_t x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = 1; +x_10 = x_3 + x_9; +x_3 = x_10; +x_4 = x_8; +x_5 = x_6; +goto _start; +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_content___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_2 == x_3; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Array_append___rarg(x_4, x_6); +lean_dec(x_6); +x_8 = 1; +x_9 = x_2 + x_8; +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ +return x_4; +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_content___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Xml_Parser_content___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_38; +lean_inc(x_3); +x_38 = l_Lean_Xml_Parser_element(x_3); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_3); +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_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_40); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_4 = x_39; +x_5 = x_42; +goto block_37; +} +else +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_38); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_38, 1); +x_45 = lean_ctor_get(x_38, 0); +lean_dec(x_45); +x_46 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_3); +if (x_46 == 0) +{ +lean_dec(x_2); +lean_ctor_set(x_38, 0, x_3); +return x_38; +} +else +{ +lean_object* x_47; +lean_free_object(x_38); +lean_dec(x_44); +lean_inc(x_3); +x_47 = l_Lean_Xml_Parser_Reference(x_3); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; +lean_dec(x_3); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; +x_49 = lean_ctor_get(x_47, 0); +lean_inc(x_49); +lean_dec(x_47); +lean_inc(x_2); +x_4 = x_49; +x_5 = x_2; +goto block_37; +} +else +{ +lean_object* x_50; uint8_t x_51; +x_50 = lean_ctor_get(x_47, 0); +lean_inc(x_50); +lean_dec(x_47); +x_51 = !lean_is_exclusive(x_48); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; uint32_t x_54; lean_object* x_55; lean_object* x_56; +x_52 = lean_ctor_get(x_48, 0); +x_53 = l_Lean_Xml_Parser_endl___closed__1; +x_54 = lean_unbox_uint32(x_52); +lean_dec(x_52); +x_55 = lean_string_push(x_53, x_54); +x_56 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_48, 0, x_56); +x_4 = x_50; +x_5 = x_48; +goto block_37; +} +else +{ +lean_object* x_57; lean_object* x_58; uint32_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_57 = lean_ctor_get(x_48, 0); +lean_inc(x_57); +lean_dec(x_48); +x_58 = l_Lean_Xml_Parser_endl___closed__1; +x_59 = lean_unbox_uint32(x_57); +lean_dec(x_57); +x_60 = lean_string_push(x_58, x_59); +x_61 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_62 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_4 = x_50; +x_5 = x_62; +goto block_37; +} +} +} +else +{ +uint8_t x_63; +x_63 = !lean_is_exclusive(x_47); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_64 = lean_ctor_get(x_47, 0); +x_65 = lean_ctor_get(x_47, 1); +x_66 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_64); +if (x_66 == 0) +{ +lean_dec(x_3); +lean_dec(x_2); +return x_47; +} +else +{ +lean_object* x_67; +lean_free_object(x_47); +lean_dec(x_65); +lean_dec(x_64); +lean_inc(x_3); +x_67 = l_Lean_Xml_Parser_CDSect(x_3); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_3); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_4 = x_68; +x_5 = x_71; +goto block_37; +} +else +{ +uint8_t x_72; +x_72 = !lean_is_exclusive(x_67); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_73 = lean_ctor_get(x_67, 0); +x_74 = lean_ctor_get(x_67, 1); +x_75 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_73); +if (x_75 == 0) +{ +lean_dec(x_3); +lean_dec(x_2); +return x_67; +} +else +{ +lean_object* x_76; +lean_free_object(x_67); +lean_dec(x_74); +lean_dec(x_73); +lean_inc(x_3); +x_76 = l_Lean_Xml_Parser_PI(x_3); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; +lean_dec(x_3); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +lean_dec(x_76); +lean_inc(x_2); +x_4 = x_77; +x_5 = x_2; +goto block_37; +} +else +{ +uint8_t x_78; +x_78 = !lean_is_exclusive(x_76); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_79 = lean_ctor_get(x_76, 0); +x_80 = lean_ctor_get(x_76, 1); +x_81 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_79); +if (x_81 == 0) +{ +lean_dec(x_3); +lean_dec(x_2); +return x_76; +} +else +{ +lean_object* x_82; +lean_free_object(x_76); +lean_dec(x_80); +lean_dec(x_79); +x_82 = l_Lean_Xml_Parser_Comment(x_3); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_85, 0, x_84); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_85); +x_4 = x_83; +x_5 = x_86; +goto block_37; +} +else +{ +uint8_t x_87; +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_82); +if (x_87 == 0) +{ +return x_82; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_82, 0); +x_89 = lean_ctor_get(x_82, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_82); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +} +} +else +{ +lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_91 = lean_ctor_get(x_76, 0); +x_92 = lean_ctor_get(x_76, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_76); +x_93 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_91); +if (x_93 == 0) +{ +lean_object* x_94; +lean_dec(x_3); +lean_dec(x_2); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_91); +lean_ctor_set(x_94, 1, x_92); +return x_94; +} +else +{ +lean_object* x_95; +lean_dec(x_92); +lean_dec(x_91); +x_95 = l_Lean_Xml_Parser_Comment(x_3); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_98, 0, x_97); +x_99 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_99, 0, x_98); +x_4 = x_96; +x_5 = x_99; +goto block_37; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_2); +x_100 = lean_ctor_get(x_95, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_95, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_102 = x_95; +} else { + lean_dec_ref(x_95); + x_102 = lean_box(0); +} +if (lean_is_scalar(x_102)) { + x_103 = lean_alloc_ctor(1, 2, 0); +} else { + x_103 = x_102; +} +lean_ctor_set(x_103, 0, x_100); +lean_ctor_set(x_103, 1, x_101); +return x_103; +} +} +} +} +} +} +else +{ +lean_object* x_104; lean_object* x_105; uint8_t x_106; +x_104 = lean_ctor_get(x_67, 0); +x_105 = lean_ctor_get(x_67, 1); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_67); +x_106 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_104); +if (x_106 == 0) +{ +lean_object* x_107; +lean_dec(x_3); +lean_dec(x_2); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_104); +lean_ctor_set(x_107, 1, x_105); +return x_107; +} +else +{ +lean_object* x_108; +lean_dec(x_105); +lean_dec(x_104); +lean_inc(x_3); +x_108 = l_Lean_Xml_Parser_PI(x_3); +if (lean_obj_tag(x_108) == 0) +{ +lean_object* x_109; +lean_dec(x_3); +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +lean_dec(x_108); +lean_inc(x_2); +x_4 = x_109; +x_5 = x_2; +goto block_37; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_108, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + lean_ctor_release(x_108, 1); + x_112 = x_108; +} else { + lean_dec_ref(x_108); + x_112 = lean_box(0); +} +x_113 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_110); +if (x_113 == 0) +{ +lean_object* x_114; +lean_dec(x_3); +lean_dec(x_2); +if (lean_is_scalar(x_112)) { + x_114 = lean_alloc_ctor(1, 2, 0); +} else { + x_114 = x_112; +} +lean_ctor_set(x_114, 0, x_110); +lean_ctor_set(x_114, 1, x_111); +return x_114; +} +else +{ +lean_object* x_115; +lean_dec(x_112); +lean_dec(x_111); +lean_dec(x_110); +x_115 = l_Lean_Xml_Parser_Comment(x_3); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_118, 0, x_117); +x_119 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_119, 0, x_118); +x_4 = x_116; +x_5 = x_119; +goto block_37; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_2); +x_120 = lean_ctor_get(x_115, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_115, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_122 = x_115; +} else { + lean_dec_ref(x_115); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; +} +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_124; lean_object* x_125; uint8_t x_126; +x_124 = lean_ctor_get(x_47, 0); +x_125 = lean_ctor_get(x_47, 1); +lean_inc(x_125); +lean_inc(x_124); +lean_dec(x_47); +x_126 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_124); +if (x_126 == 0) +{ +lean_object* x_127; +lean_dec(x_3); +lean_dec(x_2); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_124); +lean_ctor_set(x_127, 1, x_125); +return x_127; +} +else +{ +lean_object* x_128; +lean_dec(x_125); +lean_dec(x_124); +lean_inc(x_3); +x_128 = l_Lean_Xml_Parser_CDSect(x_3); +if (lean_obj_tag(x_128) == 0) +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_dec(x_3); +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_131, 0, x_130); +x_132 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_132, 0, x_131); +x_4 = x_129; +x_5 = x_132; +goto block_37; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; +x_133 = lean_ctor_get(x_128, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_128, 1); +lean_inc(x_134); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_135 = x_128; +} else { + lean_dec_ref(x_128); + x_135 = lean_box(0); +} +x_136 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_133); +if (x_136 == 0) +{ +lean_object* x_137; +lean_dec(x_3); +lean_dec(x_2); +if (lean_is_scalar(x_135)) { + x_137 = lean_alloc_ctor(1, 2, 0); +} else { + x_137 = x_135; +} +lean_ctor_set(x_137, 0, x_133); +lean_ctor_set(x_137, 1, x_134); +return x_137; +} +else +{ +lean_object* x_138; +lean_dec(x_135); +lean_dec(x_134); +lean_dec(x_133); +lean_inc(x_3); +x_138 = l_Lean_Xml_Parser_PI(x_3); +if (lean_obj_tag(x_138) == 0) +{ +lean_object* x_139; +lean_dec(x_3); +x_139 = lean_ctor_get(x_138, 0); +lean_inc(x_139); +lean_dec(x_138); +lean_inc(x_2); +x_4 = x_139; +x_5 = x_2; +goto block_37; +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_140 = lean_ctor_get(x_138, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_138, 1); +lean_inc(x_141); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_142 = x_138; +} else { + lean_dec_ref(x_138); + x_142 = lean_box(0); +} +x_143 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_140); +if (x_143 == 0) +{ +lean_object* x_144; +lean_dec(x_3); +lean_dec(x_2); +if (lean_is_scalar(x_142)) { + x_144 = lean_alloc_ctor(1, 2, 0); +} else { + x_144 = x_142; +} +lean_ctor_set(x_144, 0, x_140); +lean_ctor_set(x_144, 1, x_141); +return x_144; +} +else +{ +lean_object* x_145; +lean_dec(x_142); +lean_dec(x_141); +lean_dec(x_140); +x_145 = l_Lean_Xml_Parser_Comment(x_3); +if (lean_obj_tag(x_145) == 0) +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_145, 1); +lean_inc(x_147); +lean_dec(x_145); +x_148 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_148, 0, x_147); +x_149 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_149, 0, x_148); +x_4 = x_146; +x_5 = x_149; +goto block_37; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +lean_dec(x_2); +x_150 = lean_ctor_get(x_145, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_145, 1); +lean_inc(x_151); +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_152 = x_145; +} else { + lean_dec_ref(x_145); + x_152 = lean_box(0); +} +if (lean_is_scalar(x_152)) { + x_153 = lean_alloc_ctor(1, 2, 0); +} else { + x_153 = x_152; +} +lean_ctor_set(x_153, 0, x_150); +lean_ctor_set(x_153, 1, x_151); +return x_153; +} +} +} +} +} +} +} +} +} +} +else +{ +lean_object* x_154; uint8_t x_155; +x_154 = lean_ctor_get(x_38, 1); +lean_inc(x_154); +lean_dec(x_38); +x_155 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_3); +if (x_155 == 0) +{ +lean_object* x_156; +lean_dec(x_2); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_3); +lean_ctor_set(x_156, 1, x_154); +return x_156; +} +else +{ +lean_object* x_157; +lean_dec(x_154); +lean_inc(x_3); +x_157 = l_Lean_Xml_Parser_Reference(x_3); +if (lean_obj_tag(x_157) == 0) +{ +lean_object* x_158; +lean_dec(x_3); +x_158 = lean_ctor_get(x_157, 1); +lean_inc(x_158); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; +x_159 = lean_ctor_get(x_157, 0); +lean_inc(x_159); +lean_dec(x_157); +lean_inc(x_2); +x_4 = x_159; +x_5 = x_2; +goto block_37; +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint32_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_160 = lean_ctor_get(x_157, 0); +lean_inc(x_160); +lean_dec(x_157); +x_161 = lean_ctor_get(x_158, 0); +lean_inc(x_161); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + x_162 = x_158; +} else { + lean_dec_ref(x_158); + x_162 = lean_box(0); +} +x_163 = l_Lean_Xml_Parser_endl___closed__1; +x_164 = lean_unbox_uint32(x_161); +lean_dec(x_161); +x_165 = lean_string_push(x_163, x_164); +x_166 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_166, 0, x_165); +if (lean_is_scalar(x_162)) { + x_167 = lean_alloc_ctor(1, 1, 0); +} else { + x_167 = x_162; +} +lean_ctor_set(x_167, 0, x_166); +x_4 = x_160; +x_5 = x_167; +goto block_37; +} +} +else +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_168 = lean_ctor_get(x_157, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_157, 1); +lean_inc(x_169); +if (lean_is_exclusive(x_157)) { + lean_ctor_release(x_157, 0); + lean_ctor_release(x_157, 1); + x_170 = x_157; +} else { + lean_dec_ref(x_157); + x_170 = lean_box(0); +} +x_171 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_168); +if (x_171 == 0) +{ +lean_object* x_172; +lean_dec(x_3); +lean_dec(x_2); +if (lean_is_scalar(x_170)) { + x_172 = lean_alloc_ctor(1, 2, 0); +} else { + x_172 = x_170; +} +lean_ctor_set(x_172, 0, x_168); +lean_ctor_set(x_172, 1, x_169); +return x_172; +} +else +{ +lean_object* x_173; +lean_dec(x_170); +lean_dec(x_169); +lean_dec(x_168); +lean_inc(x_3); +x_173 = l_Lean_Xml_Parser_CDSect(x_3); +if (lean_obj_tag(x_173) == 0) +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_3); +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_173, 1); +lean_inc(x_175); +lean_dec(x_173); +x_176 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_176, 0, x_175); +x_177 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_177, 0, x_176); +x_4 = x_174; +x_5 = x_177; +goto block_37; +} +else +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; +x_178 = lean_ctor_get(x_173, 0); +lean_inc(x_178); +x_179 = lean_ctor_get(x_173, 1); +lean_inc(x_179); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_180 = x_173; +} else { + lean_dec_ref(x_173); + x_180 = lean_box(0); +} +x_181 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_178); +if (x_181 == 0) +{ +lean_object* x_182; +lean_dec(x_3); +lean_dec(x_2); +if (lean_is_scalar(x_180)) { + x_182 = lean_alloc_ctor(1, 2, 0); +} else { + x_182 = x_180; +} +lean_ctor_set(x_182, 0, x_178); +lean_ctor_set(x_182, 1, x_179); +return x_182; +} +else +{ +lean_object* x_183; +lean_dec(x_180); +lean_dec(x_179); +lean_dec(x_178); +lean_inc(x_3); +x_183 = l_Lean_Xml_Parser_PI(x_3); +if (lean_obj_tag(x_183) == 0) +{ +lean_object* x_184; +lean_dec(x_3); +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +lean_dec(x_183); +lean_inc(x_2); +x_4 = x_184; +x_5 = x_2; +goto block_37; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_185 = lean_ctor_get(x_183, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_183, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + x_187 = x_183; +} else { + lean_dec_ref(x_183); + x_187 = lean_box(0); +} +x_188 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_185); +if (x_188 == 0) +{ +lean_object* x_189; +lean_dec(x_3); +lean_dec(x_2); +if (lean_is_scalar(x_187)) { + x_189 = lean_alloc_ctor(1, 2, 0); +} else { + x_189 = x_187; +} +lean_ctor_set(x_189, 0, x_185); +lean_ctor_set(x_189, 1, x_186); +return x_189; +} +else +{ +lean_object* x_190; +lean_dec(x_187); +lean_dec(x_186); +lean_dec(x_185); +x_190 = l_Lean_Xml_Parser_Comment(x_3); +if (lean_obj_tag(x_190) == 0) +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_190, 1); +lean_inc(x_192); +lean_dec(x_190); +x_193 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_193, 0, x_192); +x_194 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_194, 0, x_193); +x_4 = x_191; +x_5 = x_194; +goto block_37; +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +lean_dec(x_2); +x_195 = lean_ctor_get(x_190, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_190, 1); +lean_inc(x_196); +if (lean_is_exclusive(x_190)) { + lean_ctor_release(x_190, 0); + lean_ctor_release(x_190, 1); + x_197 = x_190; +} else { + lean_dec_ref(x_190); + x_197 = lean_box(0); +} +if (lean_is_scalar(x_197)) { + x_198 = lean_alloc_ctor(1, 2, 0); +} else { + x_198 = x_197; +} +lean_ctor_set(x_198, 0, x_195); +lean_ctor_set(x_198, 1, x_196); +return x_198; +} +} +} +} +} +} +} +} +} +} +block_37: +{ +lean_object* x_6; +lean_inc(x_4); +x_6 = l_Lean_Xml_Parser_CharData(x_4); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +lean_dec(x_4); +lean_dec(x_2); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_8 = lean_ctor_get(x_6, 1); +x_9 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_9, 0, x_8); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = l_Lean_Xml_Parser_content___lambda__1___closed__1; +x_12 = lean_array_push(x_11, x_5); +x_13 = lean_array_push(x_12, x_10); +lean_ctor_set(x_6, 1, x_13); +return x_6; +} +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; +x_14 = lean_ctor_get(x_6, 0); +x_15 = lean_ctor_get(x_6, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_6); +x_16 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = l_Lean_Xml_Parser_content___lambda__1___closed__1; +x_19 = lean_array_push(x_18, x_5); +x_20 = lean_array_push(x_19, x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_6); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_6, 0); +x_24 = lean_ctor_get(x_6, 1); +x_25 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_4, x_23); +if (x_25 == 0) +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_6; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_24); +lean_dec(x_23); +x_26 = l_Lean_Xml_Parser_content___lambda__1___closed__1; +x_27 = lean_array_push(x_26, x_5); +x_28 = lean_array_push(x_27, x_2); +lean_ctor_set_tag(x_6, 0); +lean_ctor_set(x_6, 1, x_28); +lean_ctor_set(x_6, 0, x_4); +return x_6; +} +} +else +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_ctor_get(x_6, 0); +x_30 = lean_ctor_get(x_6, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_6); +x_31 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_4, x_29); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_30); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_30); +lean_dec(x_29); +x_33 = l_Lean_Xml_Parser_content___lambda__1___closed__1; +x_34 = lean_array_push(x_33, x_5); +x_35 = lean_array_push(x_34, x_2); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_4); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Xml_Parser_content___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_closure((void*)(l_Lean_Xml_Parser_content___lambda__1___boxed), 3, 2); +lean_closure_set(x_2, 0, x_1); +lean_closure_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Xml_Parser_content___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Xml_Parser_content(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_57; +x_2 = lean_box(0); +lean_inc(x_1); +x_57 = l_Lean_Xml_Parser_CharData(x_1); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_1); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_60, 0, x_59); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_3 = x_58; +x_4 = x_61; +goto block_56; +} +else +{ +uint8_t x_62; +x_62 = !lean_is_exclusive(x_57); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_63 = lean_ctor_get(x_57, 0); +x_64 = lean_ctor_get(x_57, 1); +x_65 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_63); +if (x_65 == 0) +{ +lean_dec(x_1); +return x_57; +} +else +{ +lean_free_object(x_57); +lean_dec(x_64); +lean_dec(x_63); +x_3 = x_1; +x_4 = x_2; +goto block_56; +} +} +else +{ +lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_66 = lean_ctor_get(x_57, 0); +x_67 = lean_ctor_get(x_57, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_57); +x_68 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_1, x_66); +if (x_68 == 0) +{ +lean_object* x_69; +lean_dec(x_1); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_66); +lean_ctor_set(x_69, 1, x_67); +return x_69; +} +else +{ +lean_dec(x_67); +lean_dec(x_66); +x_3 = x_1; +x_4 = x_2; +goto block_56; +} +} +} +block_56: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = l_Lean_Xml_Parser_content___closed__1; +x_6 = l_Lean_Parsec_many(lean_box(0)); +x_7 = lean_apply_2(x_6, x_5, x_3); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; size_t x_15; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_Lean_Xml_Parser_content___closed__2; +x_11 = lean_array_push(x_10, x_4); +x_12 = lean_array_get_size(x_9); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +x_15 = 0; +if (x_14 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; lean_object* x_22; uint8_t x_23; +lean_dec(x_12); +lean_dec(x_9); +x_16 = l_Lean_Xml_Parser_EmptyElemTag___closed__1; +x_17 = l_Array_append___rarg(x_11, x_16); +x_18 = lean_array_get_size(x_17); +x_19 = l_Array_filterMapM___at_Lean_Xml_Parser_content___spec__2(x_17, x_13, x_18); +lean_dec(x_18); +lean_dec(x_17); +x_20 = lean_array_get_size(x_19); +x_21 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_22 = l_Array_forInUnsafe_loop___at_Lean_Xml_Parser_content___spec__4(x_19, x_21, x_15, x_16, x_8); +lean_dec(x_19); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +x_27 = lean_nat_dec_le(x_12, x_12); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; lean_object* x_34; uint8_t x_35; +lean_dec(x_12); +lean_dec(x_9); +x_28 = l_Lean_Xml_Parser_EmptyElemTag___closed__1; +x_29 = l_Array_append___rarg(x_11, x_28); +x_30 = lean_array_get_size(x_29); +x_31 = l_Array_filterMapM___at_Lean_Xml_Parser_content___spec__2(x_29, x_13, x_30); +lean_dec(x_30); +lean_dec(x_29); +x_32 = lean_array_get_size(x_31); +x_33 = lean_usize_of_nat(x_32); +lean_dec(x_32); +x_34 = l_Array_forInUnsafe_loop___at_Lean_Xml_Parser_content___spec__4(x_31, x_33, x_15, x_28, x_8); +lean_dec(x_31); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +return x_34; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_34); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +else +{ +size_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; size_t x_46; lean_object* x_47; uint8_t x_48; +x_39 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_40 = l_Lean_Xml_Parser_EmptyElemTag___closed__1; +x_41 = l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_content___spec__5(x_9, x_15, x_39, x_40); +lean_dec(x_9); +x_42 = l_Array_append___rarg(x_11, x_41); +lean_dec(x_41); +x_43 = lean_array_get_size(x_42); +x_44 = l_Array_filterMapM___at_Lean_Xml_Parser_content___spec__2(x_42, x_13, x_43); +lean_dec(x_43); +lean_dec(x_42); +x_45 = lean_array_get_size(x_44); +x_46 = lean_usize_of_nat(x_45); +lean_dec(x_45); +x_47 = l_Array_forInUnsafe_loop___at_Lean_Xml_Parser_content___spec__4(x_44, x_46, x_15, x_40, x_8); +lean_dec(x_44); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +return x_47; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_47, 0); +x_50 = lean_ctor_get(x_47, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_47); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +} +else +{ +uint8_t x_52; +lean_dec(x_4); +x_52 = !lean_is_exclusive(x_7); +if (x_52 == 0) +{ +return x_7; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_7, 0); +x_54 = lean_ctor_get(x_7, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_7); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +} +} +lean_object* l_Lean_Xml_Parser_element(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Xml_Parser_elementPrefix(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +lean_inc(x_3); +lean_inc(x_4); +x_5 = l_Lean_Xml_Parser_EmptyElemTag(x_4, x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +lean_dec(x_3); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_inc(x_7); +lean_dec(x_5); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_5); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_5, 0); +x_12 = lean_ctor_get(x_5, 1); +x_13 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_11); +if (x_13 == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +else +{ +lean_object* x_14; +lean_free_object(x_5); +lean_dec(x_12); +lean_dec(x_11); +x_14 = l_Lean_Xml_Parser_STag(x_4, x_3); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Xml_Parser_content(x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_apply_1(x_16, x_19); +x_21 = l_Lean_Xml_Parser_ETag(x_18); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 1); +lean_dec(x_23); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 0); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_20); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +return x_21; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +else +{ +uint8_t x_30; +lean_dec(x_16); +x_30 = !lean_is_exclusive(x_17); +if (x_30 == 0) +{ +return x_17; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_17); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_14); +if (x_34 == 0) +{ +return x_14; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_14, 0); +x_36 = lean_ctor_get(x_14, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_14); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_5, 0); +x_39 = lean_ctor_get(x_5, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_5); +x_40 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_1214_(x_3, x_38); +if (x_40 == 0) +{ +lean_object* x_41; +lean_dec(x_4); +lean_dec(x_3); +x_41 = lean_alloc_ctor(1, 2, 0); +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_dec(x_39); +lean_dec(x_38); +x_42 = l_Lean_Xml_Parser_STag(x_4, x_3); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_Xml_Parser_content(x_43); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_apply_1(x_44, x_47); +x_49 = l_Lean_Xml_Parser_ETag(x_46); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + x_51 = x_49; +} else { + lean_dec_ref(x_49); + x_51 = lean_box(0); +} +if (lean_is_scalar(x_51)) { + x_52 = lean_alloc_ctor(0, 2, 0); +} else { + x_52 = x_51; +} +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_48); +return x_52; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_48); +x_53 = lean_ctor_get(x_49, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_49, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + x_55 = x_49; +} else { + lean_dec_ref(x_49); + x_55 = lean_box(0); +} +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(1, 2, 0); +} else { + x_56 = x_55; +} +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +return x_56; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_44); +x_57 = lean_ctor_get(x_45, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_45, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_59 = x_45; +} else { + lean_dec_ref(x_45); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_61 = lean_ctor_get(x_42, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_42, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_63 = x_42; +} else { + lean_dec_ref(x_42); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(1, 2, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_61); +lean_ctor_set(x_64, 1, x_62); +return x_64; +} +} +} +} +} +else +{ +uint8_t x_65; +x_65 = !lean_is_exclusive(x_2); +if (x_65 == 0) +{ +return x_2; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_2, 0); +x_67 = lean_ctor_get(x_2, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_2); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +} +lean_object* l_Array_back___at_Lean_Xml_Parser_content___spec__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Array_back___at_Lean_Xml_Parser_content___spec__1(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_content___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_content___spec__3(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Array_filterMapM___at_Lean_Xml_Parser_content___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Array_filterMapM___at_Lean_Xml_Parser_content___spec__2(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Xml_Parser_content___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = l_Array_forInUnsafe_loop___at_Lean_Xml_Parser_content___spec__4(x_1, x_6, x_7, x_4, x_5); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_content___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Xml_Parser_content___spec__5(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Xml_Parser_content___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Xml_Parser_content___lambda__1(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Xml_Parser_document(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Xml_Parser_prolog(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +lean_dec(x_2); +x_4 = l_Lean_Xml_Parser_element(x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_dec(x_4); +x_7 = l_Lean_Xml_Parser_prolog___closed__1; +x_8 = l_Lean_Parsec_many(lean_box(0)); +x_9 = lean_apply_2(x_8, x_7, x_5); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +lean_dec(x_12); +x_13 = l_String_Iterator_hasNext(x_11); +if (x_13 == 0) +{ +lean_ctor_set(x_9, 1, x_6); +return x_9; +} +else +{ +lean_object* x_14; +lean_dec(x_6); +x_14 = l_Lean_Parsec_expectedEndOfInput; +lean_ctor_set_tag(x_9, 1); +lean_ctor_set(x_9, 1, x_14); +return x_9; +} +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_9, 0); +lean_inc(x_15); +lean_dec(x_9); +x_16 = l_String_Iterator_hasNext(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_6); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_6); +x_18 = l_Lean_Parsec_expectedEndOfInput; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +else +{ +uint8_t x_20; +lean_dec(x_6); +x_20 = !lean_is_exclusive(x_9); +if (x_20 == 0) +{ +return x_9; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_9, 0); +x_22 = lean_ctor_get(x_9, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_9); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_4); +if (x_24 == 0) +{ +return x_4; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_4, 0); +x_26 = lean_ctor_get(x_4, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_4); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_2); +if (x_28 == 0) +{ +return x_2; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_2, 0); +x_30 = lean_ctor_get(x_2, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_2); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Xml_parse_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_object* x_6; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_2(x_2, x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_apply_2(x_3, x_7, x_8); +return x_9; +} +} +} +lean_object* l_Lean_Xml_parse_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Xml_parse_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Xml_parse___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("offset "); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_parse___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(": "); +return x_1; +} +} +static lean_object* _init_l_Lean_Xml_parse___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("\n"); +return x_1; +} +} +lean_object* l_Lean_Xml_parse(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +x_4 = l_Lean_Xml_Parser_document(x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_7 = lean_ctor_get(x_4, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +x_10 = l_Nat_repr(x_9); +x_11 = l_Lean_Xml_parse___closed__1; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_Xml_parse___closed__2; +x_14 = lean_string_append(x_12, x_13); +x_15 = lean_string_append(x_14, x_8); +lean_dec(x_8); +x_16 = l_Lean_Xml_parse___closed__3; +x_17 = lean_string_append(x_15, x_16); +x_18 = lean_unsigned_to_nat(10u); +lean_inc(x_7); +x_19 = l_String_Iterator_prevn(x_7, x_18); +x_20 = l_String_Iterator_extract(x_19, x_7); +lean_dec(x_7); +lean_dec(x_19); +x_21 = lean_string_append(x_17, x_20); +lean_dec(x_20); +x_22 = l_Lean_Xml_Parser_endl___closed__1; +x_23 = lean_string_append(x_21, x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Data_Parsec(lean_object*); +lean_object* initialize_Lean_Data_Xml_Basic(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Data_Xml_Parser(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_Parsec(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Xml_Basic(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Xml_Parser_endl___closed__1 = _init_l_Lean_Xml_Parser_endl___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_endl___closed__1); +l_Lean_Xml_Parser_endl___closed__2 = _init_l_Lean_Xml_Parser_endl___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_endl___closed__2); +l_Lean_Xml_Parser_endl___closed__3 = _init_l_Lean_Xml_Parser_endl___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_endl___closed__3); +l_Lean_Xml_Parser_endl___closed__4 = _init_l_Lean_Xml_Parser_endl___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_endl___closed__4); +l_Lean_Xml_Parser_endl___closed__5 = _init_l_Lean_Xml_Parser_endl___closed__5(); +lean_mark_persistent(l_Lean_Xml_Parser_endl___closed__5); +l_Lean_Xml_Parser_endl___closed__6 = _init_l_Lean_Xml_Parser_endl___closed__6(); +lean_mark_persistent(l_Lean_Xml_Parser_endl___closed__6); +l_Lean_Xml_Parser_endl___closed__7 = _init_l_Lean_Xml_Parser_endl___closed__7(); +lean_mark_persistent(l_Lean_Xml_Parser_endl___closed__7); +l_Lean_Xml_Parser_endl___closed__8 = _init_l_Lean_Xml_Parser_endl___closed__8(); +lean_mark_persistent(l_Lean_Xml_Parser_endl___closed__8); +l_Lean_Xml_Parser_endl___closed__9 = _init_l_Lean_Xml_Parser_endl___closed__9(); +lean_mark_persistent(l_Lean_Xml_Parser_endl___closed__9); +l_Lean_Xml_Parser_endl___closed__10 = _init_l_Lean_Xml_Parser_endl___closed__10(); +lean_mark_persistent(l_Lean_Xml_Parser_endl___closed__10); +l_Lean_Xml_Parser_endl___boxed__const__1 = _init_l_Lean_Xml_Parser_endl___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_endl___boxed__const__1); +l_Lean_Xml_Parser_quote___rarg___closed__1 = _init_l_Lean_Xml_Parser_quote___rarg___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_quote___rarg___closed__1); +l_Lean_Xml_Parser_quote___rarg___closed__2 = _init_l_Lean_Xml_Parser_quote___rarg___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_quote___rarg___closed__2); +l_Lean_Xml_Parser_quote___rarg___closed__3 = _init_l_Lean_Xml_Parser_quote___rarg___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_quote___rarg___closed__3); +l_Lean_Xml_Parser_quote___rarg___closed__4 = _init_l_Lean_Xml_Parser_quote___rarg___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_quote___rarg___closed__4); +l_Lean_Xml_Parser_quote___rarg___closed__5 = _init_l_Lean_Xml_Parser_quote___rarg___closed__5(); +lean_mark_persistent(l_Lean_Xml_Parser_quote___rarg___closed__5); +l_Lean_Xml_Parser_quote___rarg___closed__6 = _init_l_Lean_Xml_Parser_quote___rarg___closed__6(); +lean_mark_persistent(l_Lean_Xml_Parser_quote___rarg___closed__6); +l_Lean_Xml_Parser_Char___closed__1 = _init_l_Lean_Xml_Parser_Char___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_Char___closed__1); +l_Lean_Xml_Parser_Char___closed__2 = _init_l_Lean_Xml_Parser_Char___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_Char___closed__2); +l_Lean_Xml_Parser_Char___closed__3 = _init_l_Lean_Xml_Parser_Char___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_Char___closed__3); +l_Lean_Xml_Parser_Char___closed__4 = _init_l_Lean_Xml_Parser_Char___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_Char___closed__4); +l_Lean_Xml_Parser_Char___boxed__const__1 = _init_l_Lean_Xml_Parser_Char___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_Char___boxed__const__1); +l_Lean_Xml_Parser_S___closed__1___boxed__const__1 = _init_l_Lean_Xml_Parser_S___closed__1___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_S___closed__1___boxed__const__1); +l_Lean_Xml_Parser_S___closed__1___boxed__const__2 = _init_l_Lean_Xml_Parser_S___closed__1___boxed__const__2(); +lean_mark_persistent(l_Lean_Xml_Parser_S___closed__1___boxed__const__2); +l_Lean_Xml_Parser_S___closed__1 = _init_l_Lean_Xml_Parser_S___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_S___closed__1); +l_Lean_Xml_Parser_Eq___closed__1 = _init_l_Lean_Xml_Parser_Eq___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_Eq___closed__1); +l_Lean_Xml_Parser_Eq___closed__2 = _init_l_Lean_Xml_Parser_Eq___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_Eq___closed__2); +l_Lean_Xml_Parser_Eq___closed__3 = _init_l_Lean_Xml_Parser_Eq___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_Eq___closed__3); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__1 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__1(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__1); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__2 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__2(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__2); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__3 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__3(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__3); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__4 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__4(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__4); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__5 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__5(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__5); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__6 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__6(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__6); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__7 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__7(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__7); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__8 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__8(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__8); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__9 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__9(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__9); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__10 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__10(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__10); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__11 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__11(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__11); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__12 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__12(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__12); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__13 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__13(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__13); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__14 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__14(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__14); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__15 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__15(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__15); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__16 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__16(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__16); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__17 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__17(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__17); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__18 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__18(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__18); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__19 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__19(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__19); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__20 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__20(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__20); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__21 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__21(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__21); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__22 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__22(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__22); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__23 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__23(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__23); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__24 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__24(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__24); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__25 = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__25(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges___closed__25); +l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges = _init_l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges(); +lean_mark_persistent(l___private_Lean_Data_Xml_Parser_0__Lean_Xml_Parser_nameStartCharRanges); +l_Lean_Xml_Parser_NameStartChar___closed__1 = _init_l_Lean_Xml_Parser_NameStartChar___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_NameStartChar___closed__1); +l_Lean_Xml_Parser_NameStartChar___closed__2 = _init_l_Lean_Xml_Parser_NameStartChar___closed__2(); +l_Lean_Xml_Parser_NameStartChar___closed__3 = _init_l_Lean_Xml_Parser_NameStartChar___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_NameStartChar___closed__3); +l_Lean_Xml_Parser_NameStartChar___closed__4 = _init_l_Lean_Xml_Parser_NameStartChar___closed__4(); +l_Lean_Xml_Parser_NameStartChar___closed__5 = _init_l_Lean_Xml_Parser_NameStartChar___closed__5(); +l_Lean_Xml_Parser_NameChar___closed__1 = _init_l_Lean_Xml_Parser_NameChar___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___closed__1); +l_Lean_Xml_Parser_NameChar___closed__2 = _init_l_Lean_Xml_Parser_NameChar___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___closed__2); +l_Lean_Xml_Parser_NameChar___closed__3 = _init_l_Lean_Xml_Parser_NameChar___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___closed__3); +l_Lean_Xml_Parser_NameChar___closed__4 = _init_l_Lean_Xml_Parser_NameChar___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___closed__4); +l_Lean_Xml_Parser_NameChar___closed__5 = _init_l_Lean_Xml_Parser_NameChar___closed__5(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___closed__5); +l_Lean_Xml_Parser_NameChar___closed__6 = _init_l_Lean_Xml_Parser_NameChar___closed__6(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___closed__6); +l_Lean_Xml_Parser_NameChar___closed__7 = _init_l_Lean_Xml_Parser_NameChar___closed__7(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___closed__7); +l_Lean_Xml_Parser_NameChar___closed__8 = _init_l_Lean_Xml_Parser_NameChar___closed__8(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___closed__8); +l_Lean_Xml_Parser_NameChar___closed__9 = _init_l_Lean_Xml_Parser_NameChar___closed__9(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___closed__9); +l_Lean_Xml_Parser_NameChar___closed__10 = _init_l_Lean_Xml_Parser_NameChar___closed__10(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___closed__10); +l_Lean_Xml_Parser_NameChar___closed__11 = _init_l_Lean_Xml_Parser_NameChar___closed__11(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___closed__11); +l_Lean_Xml_Parser_NameChar___boxed__const__1 = _init_l_Lean_Xml_Parser_NameChar___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___boxed__const__1); +l_Lean_Xml_Parser_NameChar___boxed__const__2 = _init_l_Lean_Xml_Parser_NameChar___boxed__const__2(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___boxed__const__2); +l_Lean_Xml_Parser_NameChar___boxed__const__3 = _init_l_Lean_Xml_Parser_NameChar___boxed__const__3(); +lean_mark_persistent(l_Lean_Xml_Parser_NameChar___boxed__const__3); +l_Lean_Xml_Parser_Name___closed__1 = _init_l_Lean_Xml_Parser_Name___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_Name___closed__1); +l_Lean_Xml_Parser_VersionNum___closed__1 = _init_l_Lean_Xml_Parser_VersionNum___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_VersionNum___closed__1); +l_Lean_Xml_Parser_VersionNum___closed__2 = _init_l_Lean_Xml_Parser_VersionNum___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_VersionNum___closed__2); +l_Lean_Xml_Parser_VersionInfo___closed__1 = _init_l_Lean_Xml_Parser_VersionInfo___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_VersionInfo___closed__1); +l_Lean_Xml_Parser_VersionInfo___closed__2 = _init_l_Lean_Xml_Parser_VersionInfo___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_VersionInfo___closed__2); +l_Lean_Xml_Parser_EncName___lambda__1___closed__1 = _init_l_Lean_Xml_Parser_EncName___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_EncName___lambda__1___closed__1); +l_Lean_Xml_Parser_EncName___closed__1___boxed__const__1 = _init_l_Lean_Xml_Parser_EncName___closed__1___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_EncName___closed__1___boxed__const__1); +l_Lean_Xml_Parser_EncName___closed__1___boxed__const__2 = _init_l_Lean_Xml_Parser_EncName___closed__1___boxed__const__2(); +lean_mark_persistent(l_Lean_Xml_Parser_EncName___closed__1___boxed__const__2); +l_Lean_Xml_Parser_EncName___closed__1___boxed__const__3 = _init_l_Lean_Xml_Parser_EncName___closed__1___boxed__const__3(); +lean_mark_persistent(l_Lean_Xml_Parser_EncName___closed__1___boxed__const__3); +l_Lean_Xml_Parser_EncName___closed__1 = _init_l_Lean_Xml_Parser_EncName___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_EncName___closed__1); +l_Lean_Xml_Parser_EncodingDecl___closed__1 = _init_l_Lean_Xml_Parser_EncodingDecl___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_EncodingDecl___closed__1); +l_Lean_Xml_Parser_EncodingDecl___closed__2 = _init_l_Lean_Xml_Parser_EncodingDecl___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_EncodingDecl___closed__2); +l_Lean_Xml_Parser_SDDecl___lambda__1___closed__1 = _init_l_Lean_Xml_Parser_SDDecl___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_SDDecl___lambda__1___closed__1); +l_Lean_Xml_Parser_SDDecl___lambda__1___closed__2 = _init_l_Lean_Xml_Parser_SDDecl___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_SDDecl___lambda__1___closed__2); +l_Lean_Xml_Parser_SDDecl___closed__1 = _init_l_Lean_Xml_Parser_SDDecl___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_SDDecl___closed__1); +l_Lean_Xml_Parser_SDDecl___closed__2 = _init_l_Lean_Xml_Parser_SDDecl___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_SDDecl___closed__2); +l_Lean_Xml_Parser_XMLdecl___closed__1 = _init_l_Lean_Xml_Parser_XMLdecl___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_XMLdecl___closed__1); +l_Lean_Xml_Parser_XMLdecl___closed__2 = _init_l_Lean_Xml_Parser_XMLdecl___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_XMLdecl___closed__2); +l_Lean_Xml_Parser_Comment___closed__1___boxed__const__1 = _init_l_Lean_Xml_Parser_Comment___closed__1___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_Comment___closed__1___boxed__const__1); +l_Lean_Xml_Parser_Comment___closed__1 = _init_l_Lean_Xml_Parser_Comment___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_Comment___closed__1); +l_Lean_Xml_Parser_Comment___closed__2 = _init_l_Lean_Xml_Parser_Comment___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_Comment___closed__2); +l_Lean_Xml_Parser_Comment___closed__3 = _init_l_Lean_Xml_Parser_Comment___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_Comment___closed__3); +l_Lean_Xml_Parser_PITarget___closed__1 = _init_l_Lean_Xml_Parser_PITarget___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__1); +l_Lean_Xml_Parser_PITarget___closed__2 = _init_l_Lean_Xml_Parser_PITarget___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__2); +l_Lean_Xml_Parser_PITarget___closed__3 = _init_l_Lean_Xml_Parser_PITarget___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__3); +l_Lean_Xml_Parser_PITarget___closed__4 = _init_l_Lean_Xml_Parser_PITarget___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__4); +l_Lean_Xml_Parser_PITarget___closed__5 = _init_l_Lean_Xml_Parser_PITarget___closed__5(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__5); +l_Lean_Xml_Parser_PITarget___closed__6 = _init_l_Lean_Xml_Parser_PITarget___closed__6(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__6); +l_Lean_Xml_Parser_PITarget___closed__7 = _init_l_Lean_Xml_Parser_PITarget___closed__7(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__7); +l_Lean_Xml_Parser_PITarget___closed__8 = _init_l_Lean_Xml_Parser_PITarget___closed__8(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__8); +l_Lean_Xml_Parser_PITarget___closed__9 = _init_l_Lean_Xml_Parser_PITarget___closed__9(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__9); +l_Lean_Xml_Parser_PITarget___closed__10 = _init_l_Lean_Xml_Parser_PITarget___closed__10(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__10); +l_Lean_Xml_Parser_PITarget___closed__11 = _init_l_Lean_Xml_Parser_PITarget___closed__11(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__11); +l_Lean_Xml_Parser_PITarget___closed__12 = _init_l_Lean_Xml_Parser_PITarget___closed__12(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__12); +l_Lean_Xml_Parser_PITarget___closed__13 = _init_l_Lean_Xml_Parser_PITarget___closed__13(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__13); +l_Lean_Xml_Parser_PITarget___closed__14 = _init_l_Lean_Xml_Parser_PITarget___closed__14(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__14); +l_Lean_Xml_Parser_PITarget___closed__15 = _init_l_Lean_Xml_Parser_PITarget___closed__15(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__15); +l_Lean_Xml_Parser_PITarget___closed__16 = _init_l_Lean_Xml_Parser_PITarget___closed__16(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__16); +l_Lean_Xml_Parser_PITarget___closed__17 = _init_l_Lean_Xml_Parser_PITarget___closed__17(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__17); +l_Lean_Xml_Parser_PITarget___closed__18 = _init_l_Lean_Xml_Parser_PITarget___closed__18(); +lean_mark_persistent(l_Lean_Xml_Parser_PITarget___closed__18); +l_Lean_Xml_Parser_PI___closed__1 = _init_l_Lean_Xml_Parser_PI___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_PI___closed__1); +l_Lean_Xml_Parser_PI___closed__2 = _init_l_Lean_Xml_Parser_PI___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_PI___closed__2); +l_Lean_Xml_Parser_SystemLiteral___closed__1___boxed__const__1 = _init_l_Lean_Xml_Parser_SystemLiteral___closed__1___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_SystemLiteral___closed__1___boxed__const__1); +l_Lean_Xml_Parser_SystemLiteral___closed__1 = _init_l_Lean_Xml_Parser_SystemLiteral___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_SystemLiteral___closed__1); +l_Lean_Xml_Parser_SystemLiteral___closed__2 = _init_l_Lean_Xml_Parser_SystemLiteral___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_SystemLiteral___closed__2); +l_Lean_Xml_Parser_SystemLiteral___closed__3___boxed__const__1 = _init_l_Lean_Xml_Parser_SystemLiteral___closed__3___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_SystemLiteral___closed__3___boxed__const__1); +l_Lean_Xml_Parser_SystemLiteral___closed__3 = _init_l_Lean_Xml_Parser_SystemLiteral___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_SystemLiteral___closed__3); +l_Lean_Xml_Parser_SystemLiteral___closed__4 = _init_l_Lean_Xml_Parser_SystemLiteral___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_SystemLiteral___closed__4); +l_Lean_Xml_Parser_PubidChar___closed__1 = _init_l_Lean_Xml_Parser_PubidChar___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_PubidChar___closed__1); +l_Lean_Xml_Parser_PubidChar___closed__2 = _init_l_Lean_Xml_Parser_PubidChar___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_PubidChar___closed__2); +l_Lean_Xml_Parser_PubidLiteral___lambda__1___closed__1 = _init_l_Lean_Xml_Parser_PubidLiteral___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_PubidLiteral___lambda__1___closed__1); +l_Lean_Xml_Parser_PubidLiteral___closed__1___boxed__const__1 = _init_l_Lean_Xml_Parser_PubidLiteral___closed__1___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_PubidLiteral___closed__1___boxed__const__1); +l_Lean_Xml_Parser_PubidLiteral___closed__1 = _init_l_Lean_Xml_Parser_PubidLiteral___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_PubidLiteral___closed__1); +l_Lean_Xml_Parser_PubidLiteral___closed__2 = _init_l_Lean_Xml_Parser_PubidLiteral___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_PubidLiteral___closed__2); +l_Lean_Xml_Parser_PubidLiteral___closed__3 = _init_l_Lean_Xml_Parser_PubidLiteral___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_PubidLiteral___closed__3); +l_Lean_Xml_Parser_ExternalID___closed__1 = _init_l_Lean_Xml_Parser_ExternalID___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_ExternalID___closed__1); +l_Lean_Xml_Parser_ExternalID___closed__2 = _init_l_Lean_Xml_Parser_ExternalID___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_ExternalID___closed__2); +l_Lean_Xml_Parser_Mixed___closed__1 = _init_l_Lean_Xml_Parser_Mixed___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_Mixed___closed__1); +l_Lean_Xml_Parser_Mixed___closed__2 = _init_l_Lean_Xml_Parser_Mixed___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_Mixed___closed__2); +l_Lean_Xml_Parser_Mixed___closed__3 = _init_l_Lean_Xml_Parser_Mixed___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_Mixed___closed__3); +l_Lean_Xml_Parser_Mixed___closed__4 = _init_l_Lean_Xml_Parser_Mixed___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_Mixed___closed__4); +l_Lean_Xml_Parser_Mixed___closed__5 = _init_l_Lean_Xml_Parser_Mixed___closed__5(); +lean_mark_persistent(l_Lean_Xml_Parser_Mixed___closed__5); +l_Lean_Xml_Parser_Mixed___closed__6 = _init_l_Lean_Xml_Parser_Mixed___closed__6(); +lean_mark_persistent(l_Lean_Xml_Parser_Mixed___closed__6); +l_Lean_Xml_Parser_Mixed___closed__7 = _init_l_Lean_Xml_Parser_Mixed___closed__7(); +lean_mark_persistent(l_Lean_Xml_Parser_Mixed___closed__7); +l_Lean_Xml_Parser_Mixed___closed__8___boxed__const__1 = _init_l_Lean_Xml_Parser_Mixed___closed__8___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_Mixed___closed__8___boxed__const__1); +l_Lean_Xml_Parser_Mixed___closed__8 = _init_l_Lean_Xml_Parser_Mixed___closed__8(); +lean_mark_persistent(l_Lean_Xml_Parser_Mixed___closed__8); +l_Lean_Xml_Parser_Mixed___closed__9 = _init_l_Lean_Xml_Parser_Mixed___closed__9(); +lean_mark_persistent(l_Lean_Xml_Parser_Mixed___closed__9); +l_Lean_Xml_Parser_cp___closed__1 = _init_l_Lean_Xml_Parser_cp___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_cp___closed__1); +l_Lean_Xml_Parser_cp___closed__2 = _init_l_Lean_Xml_Parser_cp___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_cp___closed__2); +l_Lean_Xml_Parser_cp___closed__3 = _init_l_Lean_Xml_Parser_cp___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_cp___closed__3); +l_Lean_Xml_Parser_cp___closed__4 = _init_l_Lean_Xml_Parser_cp___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_cp___closed__4); +l_Lean_Xml_Parser_cp___closed__5 = _init_l_Lean_Xml_Parser_cp___closed__5(); +lean_mark_persistent(l_Lean_Xml_Parser_cp___closed__5); +l_Lean_Xml_Parser_cp___closed__6 = _init_l_Lean_Xml_Parser_cp___closed__6(); +lean_mark_persistent(l_Lean_Xml_Parser_cp___closed__6); +l_Lean_Xml_Parser_cp___closed__7 = _init_l_Lean_Xml_Parser_cp___closed__7(); +lean_mark_persistent(l_Lean_Xml_Parser_cp___closed__7); +l_Lean_Xml_Parser_cp___closed__8 = _init_l_Lean_Xml_Parser_cp___closed__8(); +lean_mark_persistent(l_Lean_Xml_Parser_cp___closed__8); +l_Lean_Xml_Parser_cp___closed__9 = _init_l_Lean_Xml_Parser_cp___closed__9(); +lean_mark_persistent(l_Lean_Xml_Parser_cp___closed__9); +l_Lean_Xml_Parser_seq___closed__1___boxed__const__1 = _init_l_Lean_Xml_Parser_seq___closed__1___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_seq___closed__1___boxed__const__1); +l_Lean_Xml_Parser_seq___closed__1 = _init_l_Lean_Xml_Parser_seq___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_seq___closed__1); +l_Lean_Xml_Parser_choice___closed__1___boxed__const__1 = _init_l_Lean_Xml_Parser_choice___closed__1___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_choice___closed__1___boxed__const__1); +l_Lean_Xml_Parser_choice___closed__1 = _init_l_Lean_Xml_Parser_choice___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_choice___closed__1); +l_Lean_Xml_Parser_contentspec___closed__1 = _init_l_Lean_Xml_Parser_contentspec___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_contentspec___closed__1); +l_Lean_Xml_Parser_contentspec___closed__2 = _init_l_Lean_Xml_Parser_contentspec___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_contentspec___closed__2); +l_Lean_Xml_Parser_elementDecl___closed__1 = _init_l_Lean_Xml_Parser_elementDecl___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_elementDecl___closed__1); +l_Lean_Xml_Parser_elementDecl___closed__2 = _init_l_Lean_Xml_Parser_elementDecl___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_elementDecl___closed__2); +l_Lean_Xml_Parser_elementDecl___closed__3 = _init_l_Lean_Xml_Parser_elementDecl___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_elementDecl___closed__3); +l_Lean_Xml_Parser_elementDecl___closed__4 = _init_l_Lean_Xml_Parser_elementDecl___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_elementDecl___closed__4); +l_Lean_Xml_Parser_StringType___closed__1 = _init_l_Lean_Xml_Parser_StringType___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_StringType___closed__1); +l_Lean_Xml_Parser_TokenizedType___closed__1 = _init_l_Lean_Xml_Parser_TokenizedType___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_TokenizedType___closed__1); +l_Lean_Xml_Parser_TokenizedType___closed__2 = _init_l_Lean_Xml_Parser_TokenizedType___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_TokenizedType___closed__2); +l_Lean_Xml_Parser_TokenizedType___closed__3 = _init_l_Lean_Xml_Parser_TokenizedType___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_TokenizedType___closed__3); +l_Lean_Xml_Parser_TokenizedType___closed__4 = _init_l_Lean_Xml_Parser_TokenizedType___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_TokenizedType___closed__4); +l_Lean_Xml_Parser_TokenizedType___closed__5 = _init_l_Lean_Xml_Parser_TokenizedType___closed__5(); +lean_mark_persistent(l_Lean_Xml_Parser_TokenizedType___closed__5); +l_Lean_Xml_Parser_TokenizedType___closed__6 = _init_l_Lean_Xml_Parser_TokenizedType___closed__6(); +lean_mark_persistent(l_Lean_Xml_Parser_TokenizedType___closed__6); +l_Lean_Xml_Parser_TokenizedType___closed__7 = _init_l_Lean_Xml_Parser_TokenizedType___closed__7(); +lean_mark_persistent(l_Lean_Xml_Parser_TokenizedType___closed__7); +l_Lean_Xml_Parser_NotationType___closed__1 = _init_l_Lean_Xml_Parser_NotationType___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_NotationType___closed__1); +l_Lean_Xml_Parser_Enumeration___closed__1___boxed__const__1 = _init_l_Lean_Xml_Parser_Enumeration___closed__1___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_Enumeration___closed__1___boxed__const__1); +l_Lean_Xml_Parser_Enumeration___closed__1 = _init_l_Lean_Xml_Parser_Enumeration___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_Enumeration___closed__1); +l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__1 = _init_l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__1); +l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__2 = _init_l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__2); +l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__3 = _init_l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__3); +l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__4 = _init_l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__4); +l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__5 = _init_l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__5(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar_match__1___rarg___closed__5); +l_Lean_Xml_Parser_predefinedEntityToChar___closed__1___boxed__const__1 = _init_l_Lean_Xml_Parser_predefinedEntityToChar___closed__1___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar___closed__1___boxed__const__1); +l_Lean_Xml_Parser_predefinedEntityToChar___closed__1 = _init_l_Lean_Xml_Parser_predefinedEntityToChar___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar___closed__1); +l_Lean_Xml_Parser_predefinedEntityToChar___closed__2___boxed__const__1 = _init_l_Lean_Xml_Parser_predefinedEntityToChar___closed__2___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar___closed__2___boxed__const__1); +l_Lean_Xml_Parser_predefinedEntityToChar___closed__2 = _init_l_Lean_Xml_Parser_predefinedEntityToChar___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar___closed__2); +l_Lean_Xml_Parser_predefinedEntityToChar___closed__3___boxed__const__1 = _init_l_Lean_Xml_Parser_predefinedEntityToChar___closed__3___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar___closed__3___boxed__const__1); +l_Lean_Xml_Parser_predefinedEntityToChar___closed__3 = _init_l_Lean_Xml_Parser_predefinedEntityToChar___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar___closed__3); +l_Lean_Xml_Parser_predefinedEntityToChar___closed__4___boxed__const__1 = _init_l_Lean_Xml_Parser_predefinedEntityToChar___closed__4___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar___closed__4___boxed__const__1); +l_Lean_Xml_Parser_predefinedEntityToChar___closed__4 = _init_l_Lean_Xml_Parser_predefinedEntityToChar___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar___closed__4); +l_Lean_Xml_Parser_predefinedEntityToChar___closed__5___boxed__const__1 = _init_l_Lean_Xml_Parser_predefinedEntityToChar___closed__5___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar___closed__5___boxed__const__1); +l_Lean_Xml_Parser_predefinedEntityToChar___closed__5 = _init_l_Lean_Xml_Parser_predefinedEntityToChar___closed__5(); +lean_mark_persistent(l_Lean_Xml_Parser_predefinedEntityToChar___closed__5); +l_Lean_Xml_Parser_EntityRef___closed__1 = _init_l_Lean_Xml_Parser_EntityRef___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_EntityRef___closed__1); +l_Lean_Xml_Parser_EntityRef___closed__2 = _init_l_Lean_Xml_Parser_EntityRef___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_EntityRef___closed__2); +l_Lean_Xml_Parser_EntityRef___closed__3 = _init_l_Lean_Xml_Parser_EntityRef___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_EntityRef___closed__3); +l_Lean_Xml_Parser_EntityRef___closed__4 = _init_l_Lean_Xml_Parser_EntityRef___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_EntityRef___closed__4); +l_Lean_Xml_Parser_EntityRef___closed__5 = _init_l_Lean_Xml_Parser_EntityRef___closed__5(); +lean_mark_persistent(l_Lean_Xml_Parser_EntityRef___closed__5); +l_Lean_Xml_Parser_EntityRef___closed__6 = _init_l_Lean_Xml_Parser_EntityRef___closed__6(); +lean_mark_persistent(l_Lean_Xml_Parser_EntityRef___closed__6); +l_Lean_Xml_Parser_CharRef___lambda__2___closed__1 = _init_l_Lean_Xml_Parser_CharRef___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_CharRef___lambda__2___closed__1); +l_Lean_Xml_Parser_CharRef___closed__1 = _init_l_Lean_Xml_Parser_CharRef___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_CharRef___closed__1); +l_Lean_Xml_Parser_CharRef___closed__2 = _init_l_Lean_Xml_Parser_CharRef___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_CharRef___closed__2); +l_Lean_Xml_Parser_CharRef___closed__3 = _init_l_Lean_Xml_Parser_CharRef___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_CharRef___closed__3); +l_Lean_Xml_Parser_AttValue___closed__1___boxed__const__1 = _init_l_Lean_Xml_Parser_AttValue___closed__1___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_AttValue___closed__1___boxed__const__1); +l_Lean_Xml_Parser_AttValue___closed__1 = _init_l_Lean_Xml_Parser_AttValue___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_AttValue___closed__1); +l_Lean_Xml_Parser_AttValue___closed__2___boxed__const__1 = _init_l_Lean_Xml_Parser_AttValue___closed__2___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_AttValue___closed__2___boxed__const__1); +l_Lean_Xml_Parser_AttValue___closed__2 = _init_l_Lean_Xml_Parser_AttValue___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_AttValue___closed__2); +l_Lean_Xml_Parser_DefaultDecl___closed__1 = _init_l_Lean_Xml_Parser_DefaultDecl___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_DefaultDecl___closed__1); +l_Lean_Xml_Parser_DefaultDecl___closed__2 = _init_l_Lean_Xml_Parser_DefaultDecl___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_DefaultDecl___closed__2); +l_Lean_Xml_Parser_DefaultDecl___closed__3 = _init_l_Lean_Xml_Parser_DefaultDecl___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_DefaultDecl___closed__3); +l_Lean_Xml_Parser_AttlistDecl___closed__1 = _init_l_Lean_Xml_Parser_AttlistDecl___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_AttlistDecl___closed__1); +l_Lean_Xml_Parser_AttlistDecl___closed__2 = _init_l_Lean_Xml_Parser_AttlistDecl___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_AttlistDecl___closed__2); +l_Lean_Xml_Parser_PEReference___closed__1 = _init_l_Lean_Xml_Parser_PEReference___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_PEReference___closed__1); +l_Lean_Xml_Parser_PEReference___closed__2 = _init_l_Lean_Xml_Parser_PEReference___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_PEReference___closed__2); +l_Lean_Xml_Parser_PEReference___closed__3 = _init_l_Lean_Xml_Parser_PEReference___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_PEReference___closed__3); +l_Lean_Xml_Parser_EntityValue___closed__1___boxed__const__1 = _init_l_Lean_Xml_Parser_EntityValue___closed__1___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_EntityValue___closed__1___boxed__const__1); +l_Lean_Xml_Parser_EntityValue___closed__1 = _init_l_Lean_Xml_Parser_EntityValue___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_EntityValue___closed__1); +l_Lean_Xml_Parser_EntityValue___closed__2___boxed__const__1 = _init_l_Lean_Xml_Parser_EntityValue___closed__2___boxed__const__1(); +lean_mark_persistent(l_Lean_Xml_Parser_EntityValue___closed__2___boxed__const__1); +l_Lean_Xml_Parser_EntityValue___closed__2 = _init_l_Lean_Xml_Parser_EntityValue___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_EntityValue___closed__2); +l_Lean_Xml_Parser_NDataDecl___closed__1 = _init_l_Lean_Xml_Parser_NDataDecl___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_NDataDecl___closed__1); +l_Lean_Xml_Parser_GEDecl___closed__1 = _init_l_Lean_Xml_Parser_GEDecl___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_GEDecl___closed__1); +l_Lean_Xml_Parser_NotationDecl___closed__1 = _init_l_Lean_Xml_Parser_NotationDecl___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_NotationDecl___closed__1); +l_Lean_Xml_Parser_intSubset___closed__1 = _init_l_Lean_Xml_Parser_intSubset___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_intSubset___closed__1); +l_Lean_Xml_Parser_doctypedecl___closed__1 = _init_l_Lean_Xml_Parser_doctypedecl___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_doctypedecl___closed__1); +l_Lean_Xml_Parser_doctypedecl___closed__2 = _init_l_Lean_Xml_Parser_doctypedecl___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_doctypedecl___closed__2); +l_Lean_Xml_Parser_doctypedecl___closed__3 = _init_l_Lean_Xml_Parser_doctypedecl___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_doctypedecl___closed__3); +l_Lean_Xml_Parser_doctypedecl___closed__4 = _init_l_Lean_Xml_Parser_doctypedecl___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_doctypedecl___closed__4); +l_Lean_Xml_Parser_doctypedecl___closed__5 = _init_l_Lean_Xml_Parser_doctypedecl___closed__5(); +lean_mark_persistent(l_Lean_Xml_Parser_doctypedecl___closed__5); +l_Lean_Xml_Parser_doctypedecl___closed__6 = _init_l_Lean_Xml_Parser_doctypedecl___closed__6(); +lean_mark_persistent(l_Lean_Xml_Parser_doctypedecl___closed__6); +l_Lean_Xml_Parser_doctypedecl___closed__7 = _init_l_Lean_Xml_Parser_doctypedecl___closed__7(); +lean_mark_persistent(l_Lean_Xml_Parser_doctypedecl___closed__7); +l_Lean_Xml_Parser_prolog___closed__1 = _init_l_Lean_Xml_Parser_prolog___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_prolog___closed__1); +l_Lean_Xml_Parser_elementPrefix___closed__1 = _init_l_Lean_Xml_Parser_elementPrefix___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_elementPrefix___closed__1); +l_Lean_Xml_Parser_elementPrefix___closed__2 = _init_l_Lean_Xml_Parser_elementPrefix___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_elementPrefix___closed__2); +l_Lean_Xml_Parser_elementPrefix___closed__3 = _init_l_Lean_Xml_Parser_elementPrefix___closed__3(); +lean_mark_persistent(l_Lean_Xml_Parser_elementPrefix___closed__3); +l_Lean_Xml_Parser_elementPrefix___closed__4 = _init_l_Lean_Xml_Parser_elementPrefix___closed__4(); +lean_mark_persistent(l_Lean_Xml_Parser_elementPrefix___closed__4); +l_Lean_Xml_Parser_EmptyElemTag___closed__1 = _init_l_Lean_Xml_Parser_EmptyElemTag___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_EmptyElemTag___closed__1); +l_Lean_Xml_Parser_EmptyElemTag___closed__2 = _init_l_Lean_Xml_Parser_EmptyElemTag___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_EmptyElemTag___closed__2); +l_Lean_Xml_Parser_ETag___closed__1 = _init_l_Lean_Xml_Parser_ETag___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_ETag___closed__1); +l_Lean_Xml_Parser_CDStart___closed__1 = _init_l_Lean_Xml_Parser_CDStart___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_CDStart___closed__1); +l_Lean_Xml_Parser_CDEnd___closed__1 = _init_l_Lean_Xml_Parser_CDEnd___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_CDEnd___closed__1); +l_Lean_Xml_Parser_CData___closed__1 = _init_l_Lean_Xml_Parser_CData___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_CData___closed__1); +l_Lean_Xml_Parser_CharData___closed__1 = _init_l_Lean_Xml_Parser_CharData___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_CharData___closed__1); +l_Lean_Xml_Parser_CharData___closed__2 = _init_l_Lean_Xml_Parser_CharData___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_CharData___closed__2); +l_Lean_Xml_Parser_content___lambda__1___closed__1 = _init_l_Lean_Xml_Parser_content___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_content___lambda__1___closed__1); +l_Lean_Xml_Parser_content___closed__1 = _init_l_Lean_Xml_Parser_content___closed__1(); +lean_mark_persistent(l_Lean_Xml_Parser_content___closed__1); +l_Lean_Xml_Parser_content___closed__2 = _init_l_Lean_Xml_Parser_content___closed__2(); +lean_mark_persistent(l_Lean_Xml_Parser_content___closed__2); +l_Lean_Xml_parse___closed__1 = _init_l_Lean_Xml_parse___closed__1(); +lean_mark_persistent(l_Lean_Xml_parse___closed__1); +l_Lean_Xml_parse___closed__2 = _init_l_Lean_Xml_parse___closed__2(); +lean_mark_persistent(l_Lean_Xml_parse___closed__2); +l_Lean_Xml_parse___closed__3 = _init_l_Lean_Xml_parse___closed__3(); +lean_mark_persistent(l_Lean_Xml_parse___closed__3); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 9bd9ae550b..7dfa5dfe32 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -38,7 +38,6 @@ static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__1; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_List_tail_x21___rarg(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -lean_object* lean_erase_macro_scopes(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__5; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__4; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -260,7 +259,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___boxed(l static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice___closed__5; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwInvalidNamedArg___spec__2(lean_object*); -lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(lean_object*, lean_object*, lean_object*); +lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkProj(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_elabExplicitUnivs___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*); @@ -345,6 +344,7 @@ lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__2(lean_objec static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp___closed__3; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__20; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__11; +lean_object* l_Lean_Syntax_identComponents(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__3; static lean_object* l_Lean_Elab_Term_instToStringNamedArg___closed__1; @@ -557,7 +557,7 @@ static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_App_0__ lean_object* l_List_foldr___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__5; -lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toName_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -764,10 +764,9 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___clo static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__4; static lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___closed__4; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__11; -lean_object* l_Lean_Name_components(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent___closed__2; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___lambda__3___boxed(lean_object**); -lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(lean_object*, lean_object*, lean_object*); +lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1___boxed(lean_object**); @@ -19005,7 +19004,7 @@ lean_inc(x_1); x_19 = l_Lean_Elab_Term_mkConst(x_1, x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_19) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -19014,6 +19013,7 @@ lean_dec(x_19); x_22 = l_Lean_Elab_Term_LVal_getRef(x_2); x_23 = lean_box(0); x_24 = lean_box(0); +x_25 = 0; lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); @@ -19021,32 +19021,31 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_20); -x_25 = l_Lean_Elab_Term_addTermInfo(x_22, x_20, x_23, x_23, x_24, x_11, x_12, x_13, x_14, x_15, x_16, x_21); -if (lean_obj_tag(x_25) == 0) +x_26 = l_Lean_Elab_Term_addTermInfo(x_22, x_20, x_23, x_23, x_24, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_21); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_26; uint8_t x_27; -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = l_List_isEmpty___rarg(x_3); -if (x_27 == 0) +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = l_List_isEmpty___rarg(x_3); +if (x_28 == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_dec(x_9); lean_dec(x_1); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_10); -x_29 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; -x_30 = lean_array_push(x_29, x_28); -x_31 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_32 = 0; +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_10); +x_30 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; +x_31 = lean_array_push(x_30, x_29); +x_32 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_33 = l_Lean_Elab_Term_elabAppArgs(x_20, x_31, x_30, x_23, x_32, x_32, x_11, x_12, x_13, x_14, x_15, x_16, x_26); +x_33 = l_Lean_Elab_Term_elabAppArgs(x_20, x_32, x_31, x_23, x_25, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_27); if (lean_obj_tag(x_33) == 0) { lean_object* x_34; lean_object* x_35; lean_object* x_36; @@ -19100,7 +19099,7 @@ lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_20); -x_41 = l_Lean_Meta_inferType(x_20, x_13, x_14, x_15, x_16, x_26); +x_41 = l_Lean_Meta_inferType(x_20, x_13, x_14, x_15, x_16, x_27); if (lean_obj_tag(x_41) == 0) { lean_object* x_42; lean_object* x_43; lean_object* x_44; @@ -19217,19 +19216,19 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_58 = !lean_is_exclusive(x_25); +x_58 = !lean_is_exclusive(x_26); if (x_58 == 0) { -return x_25; +return x_26; } else { lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_25, 0); -x_60 = lean_ctor_get(x_25, 1); +x_59 = lean_ctor_get(x_26, 0); +x_60 = lean_ctor_get(x_26, 1); lean_inc(x_60); lean_inc(x_59); -lean_dec(x_25); +lean_dec(x_26); x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_59); lean_ctor_set(x_61, 1, x_60); @@ -19349,7 +19348,7 @@ lean_inc(x_10); x_30 = l_Lean_Elab_Term_mkConst(x_28, x_29, x_10, x_11, x_12, x_13, x_14, x_15, x_27); if (lean_obj_tag(x_30) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); @@ -19359,6 +19358,7 @@ x_33 = l_Lean_Elab_Term_LVal_getRef(x_2); lean_dec(x_2); x_34 = lean_box(0); x_35 = lean_box(0); +x_36 = 0; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -19366,36 +19366,35 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_31); -x_36 = l_Lean_Elab_Term_addTermInfo(x_33, x_31, x_34, x_34, x_35, x_10, x_11, x_12, x_13, x_14, x_15, x_32); -if (lean_obj_tag(x_36) == 0) +x_37 = l_Lean_Elab_Term_addTermInfo(x_33, x_31, x_34, x_34, x_35, x_36, x_10, x_11, x_12, x_13, x_14, x_15, x_32); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_37; uint8_t x_38; -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = l_List_isEmpty___rarg(x_3); -if (x_38 == 0) +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = l_List_isEmpty___rarg(x_3); +if (x_39 == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_26); -x_40 = lean_box(0); -x_41 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_42 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_42, 2, x_39); -x_43 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; -x_44 = lean_array_push(x_43, x_42); -x_45 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_46 = 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; +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_26); +x_41 = lean_box(0); +x_42 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_43 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_40); +x_44 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; +x_45 = lean_array_push(x_44, x_43); +x_46 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_47 = l_Lean_Elab_Term_elabAppArgs(x_31, x_44, x_45, x_34, x_46, x_46, x_10, x_11, x_12, x_13, x_14, x_15, x_37); +x_47 = l_Lean_Elab_Term_elabAppArgs(x_31, x_45, x_46, x_34, x_36, x_36, x_10, x_11, x_12, x_13, x_14, x_15, x_38); if (lean_obj_tag(x_47) == 0) { lean_object* x_48; lean_object* x_49; lean_object* x_50; @@ -19453,7 +19452,7 @@ lean_ctor_set(x_58, 0, x_56); lean_ctor_set(x_58, 1, x_57); lean_ctor_set(x_58, 2, x_55); lean_inc(x_10); -x_59 = l_Lean_Elab_Term_addNamedArg(x_4, x_58, x_10, x_11, x_12, x_13, x_14, x_15, x_37); +x_59 = l_Lean_Elab_Term_addNamedArg(x_4, x_58, x_10, x_11, x_12, x_13, x_14, x_15, x_38); if (lean_obj_tag(x_59) == 0) { lean_object* x_60; lean_object* x_61; lean_object* x_62; @@ -19513,19 +19512,19 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_67 = !lean_is_exclusive(x_36); +x_67 = !lean_is_exclusive(x_37); if (x_67 == 0) { -return x_36; +return x_37; } else { lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_36, 0); -x_69 = lean_ctor_get(x_36, 1); +x_68 = lean_ctor_get(x_37, 0); +x_69 = lean_ctor_get(x_37, 1); lean_inc(x_69); lean_inc(x_68); -lean_dec(x_36); +lean_dec(x_37); x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_68); lean_ctor_set(x_70, 1, x_69); @@ -19606,7 +19605,7 @@ return x_78; } case 1: { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; x_79 = lean_ctor_get(x_17, 1); lean_inc(x_79); lean_dec(x_17); @@ -19623,6 +19622,7 @@ x_84 = l_Lean_Elab_Term_LVal_getRef(x_2); lean_dec(x_2); x_85 = lean_box(0); x_86 = lean_box(0); +x_87 = 0; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -19630,19 +19630,19 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_83); -x_87 = l_Lean_Elab_Term_addTermInfo(x_84, x_83, x_85, x_85, x_86, x_10, x_11, x_12, x_13, x_14, x_15, x_79); -if (lean_obj_tag(x_87) == 0) +x_88 = l_Lean_Elab_Term_addTermInfo(x_84, x_83, x_85, x_85, x_86, x_87, x_10, x_11, x_12, x_13, x_14, x_15, x_79); +if (lean_obj_tag(x_88) == 0) { -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_89 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_83, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_88); -return x_89; +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +lean_dec(x_88); +x_90 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_83, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_89); +return x_90; } else { -uint8_t x_90; +uint8_t x_91; lean_dec(x_83); lean_dec(x_15); lean_dec(x_14); @@ -19654,70 +19654,70 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_90 = !lean_is_exclusive(x_87); -if (x_90 == 0) +x_91 = !lean_is_exclusive(x_88); +if (x_91 == 0) { -return x_87; +return x_88; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_87, 0); -x_92 = lean_ctor_get(x_87, 1); +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_88, 0); +x_93 = lean_ctor_get(x_88, 1); +lean_inc(x_93); lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_87); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -return x_93; +lean_dec(x_88); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } } case 2: { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; -x_94 = lean_ctor_get(x_17, 1); -lean_inc(x_94); -lean_dec(x_17); -x_95 = lean_ctor_get(x_18, 0); +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_95 = lean_ctor_get(x_17, 1); lean_inc(x_95); -lean_dec(x_18); -x_96 = lean_ctor_get(x_19, 0); +lean_dec(x_17); +x_96 = lean_ctor_get(x_18, 0); lean_inc(x_96); -x_97 = lean_ctor_get(x_19, 1); +lean_dec(x_18); +x_97 = lean_ctor_get(x_19, 0); lean_inc(x_97); -x_98 = lean_ctor_get(x_19, 2); +x_98 = lean_ctor_get(x_19, 1); lean_inc(x_98); +x_99 = lean_ctor_get(x_19, 2); +lean_inc(x_99); lean_dec(x_19); -x_99 = lean_name_eq(x_96, x_97); -if (x_99 == 0) +x_100 = lean_name_eq(x_97, x_98); +if (x_100 == 0) { -lean_object* x_100; +lean_object* x_101; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_100 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections(x_96, x_97, x_95, x_10, x_11, x_12, x_13, x_14, x_15, x_94); -if (lean_obj_tag(x_100) == 0) +x_101 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections(x_97, x_98, x_96, x_10, x_11, x_12, x_13, x_14, x_15, x_95); +if (lean_obj_tag(x_101) == 0) { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_101, 0); lean_inc(x_102); -lean_dec(x_100); -x_103 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_98, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_96, x_101, x_10, x_11, x_12, x_13, x_14, x_15, x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +x_104 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_99, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_97, x_102, x_10, x_11, x_12, x_13, x_14, x_15, x_103); lean_dec(x_2); -return x_103; +return x_104; } else { -uint8_t x_104; -lean_dec(x_98); -lean_dec(x_96); +uint8_t x_105; +lean_dec(x_99); +lean_dec(x_97); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19729,102 +19729,102 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_104 = !lean_is_exclusive(x_100); -if (x_104 == 0) +x_105 = !lean_is_exclusive(x_101); +if (x_105 == 0) { -return x_100; +return x_101; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_100, 0); -x_106 = lean_ctor_get(x_100, 1); +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_101, 0); +x_107 = lean_ctor_get(x_101, 1); +lean_inc(x_107); lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_100); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -return x_107; +lean_dec(x_101); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; } } } else { -lean_object* x_108; -lean_dec(x_97); -x_108 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_98, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_96, x_95, x_10, x_11, x_12, x_13, x_14, x_15, x_94); +lean_object* x_109; +lean_dec(x_98); +x_109 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_99, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_97, x_96, x_10, x_11, x_12, x_13, x_14, x_15, x_95); lean_dec(x_2); -return x_108; +return x_109; } } case 3: { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_109 = lean_ctor_get(x_17, 1); -lean_inc(x_109); -lean_dec(x_17); -x_110 = lean_ctor_get(x_18, 0); +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; +x_110 = lean_ctor_get(x_17, 1); lean_inc(x_110); -lean_dec(x_18); -x_111 = lean_ctor_get(x_19, 0); +lean_dec(x_17); +x_111 = lean_ctor_get(x_18, 0); lean_inc(x_111); -x_112 = lean_ctor_get(x_19, 1); +lean_dec(x_18); +x_112 = lean_ctor_get(x_19, 0); lean_inc(x_112); -x_113 = lean_ctor_get(x_19, 2); +x_113 = lean_ctor_get(x_19, 1); lean_inc(x_113); +x_114 = lean_ctor_get(x_19, 2); +lean_inc(x_114); lean_dec(x_19); -x_114 = l_Lean_Elab_Term_LVal_getRef(x_2); +x_115 = l_Lean_Elab_Term_LVal_getRef(x_2); lean_dec(x_2); -x_115 = lean_box(0); x_116 = lean_box(0); +x_117 = lean_box(0); +x_118 = 0; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_113); -x_117 = l_Lean_Elab_Term_addTermInfo(x_114, x_113, x_115, x_115, x_116, x_10, x_11, x_12, x_13, x_14, x_15, x_109); -if (lean_obj_tag(x_117) == 0) +lean_inc(x_114); +x_119 = l_Lean_Elab_Term_addTermInfo(x_115, x_114, x_116, x_116, x_117, x_118, x_10, x_11, x_12, x_13, x_14, x_15, x_110); +if (lean_obj_tag(x_119) == 0) { -lean_object* x_118; uint8_t x_119; -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); -x_119 = l_List_isEmpty___rarg(x_3); -if (x_119 == 0) +lean_object* x_120; uint8_t x_121; +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +lean_dec(x_119); +x_121 = l_List_isEmpty___rarg(x_3); +if (x_121 == 0) { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_113); lean_dec(x_112); -lean_dec(x_111); -x_120 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_120, 0, x_110); -x_121 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; -x_122 = lean_array_push(x_121, x_120); -x_123 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_124 = 0; +x_122 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_122, 0, x_111); +x_123 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; +x_124 = lean_array_push(x_123, x_122); +x_125 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_125 = l_Lean_Elab_Term_elabAppArgs(x_113, x_123, x_122, x_115, x_124, x_124, x_10, x_11, x_12, x_13, x_14, x_15, x_118); -if (lean_obj_tag(x_125) == 0) +x_126 = l_Lean_Elab_Term_elabAppArgs(x_114, x_125, x_124, x_116, x_118, x_118, x_10, x_11, x_12, x_13, x_14, x_15, x_120); +if (lean_obj_tag(x_126) == 0) { -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_126, 0); lean_inc(x_127); -lean_dec(x_125); -x_128 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_126, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_127); -return x_128; +x_128 = lean_ctor_get(x_126, 1); +lean_inc(x_128); +lean_dec(x_126); +x_129 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_127, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_128); +return x_129; } else { -uint8_t x_129; +uint8_t x_130; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19835,142 +19835,142 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_129 = !lean_is_exclusive(x_125); -if (x_129 == 0) +x_130 = !lean_is_exclusive(x_126); +if (x_130 == 0) { -return x_125; +return x_126; } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_125, 0); -x_131 = lean_ctor_get(x_125, 1); +lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_126, 0); +x_132 = lean_ctor_get(x_126, 1); +lean_inc(x_132); lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_125); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -return x_132; -} -} -} -else -{ -lean_object* x_133; -lean_dec(x_3); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_113); -x_133 = l_Lean_Meta_inferType(x_113, x_12, x_13, x_14, x_15, x_118); -if (lean_obj_tag(x_133) == 0) -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_136 = l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(x_111, x_112, x_110, x_5, x_4, x_134, x_10, x_11, x_12, x_13, x_14, x_15, x_135); -if (lean_obj_tag(x_136) == 0) -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); -lean_inc(x_138); -lean_dec(x_136); -x_139 = lean_ctor_get(x_137, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_137, 1); -lean_inc(x_140); -lean_dec(x_137); -x_141 = l_Lean_Elab_Term_elabAppArgs(x_113, x_140, x_139, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_138); -return x_141; -} -else -{ -uint8_t x_142; -lean_dec(x_113); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -x_142 = !lean_is_exclusive(x_136); -if (x_142 == 0) -{ -return x_136; -} -else -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_143 = lean_ctor_get(x_136, 0); -x_144 = lean_ctor_get(x_136, 1); -lean_inc(x_144); -lean_inc(x_143); -lean_dec(x_136); -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_143); -lean_ctor_set(x_145, 1, x_144); -return x_145; -} -} -} -else -{ -uint8_t x_146; -lean_dec(x_113); -lean_dec(x_112); -lean_dec(x_111); -lean_dec(x_110); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_146 = !lean_is_exclusive(x_133); -if (x_146 == 0) -{ +lean_dec(x_126); +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); return x_133; } +} +} else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_147 = lean_ctor_get(x_133, 0); -x_148 = lean_ctor_get(x_133, 1); -lean_inc(x_148); -lean_inc(x_147); -lean_dec(x_133); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_147); -lean_ctor_set(x_149, 1, x_148); -return x_149; +lean_object* x_134; +lean_dec(x_3); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_114); +x_134 = l_Lean_Meta_inferType(x_114, x_12, x_13, x_14, x_15, x_120); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; +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); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_137 = l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(x_112, x_113, x_111, x_5, x_4, x_135, x_10, x_11, x_12, x_13, x_14, x_15, 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; lean_object* x_142; +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_ctor_get(x_138, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_138, 1); +lean_inc(x_141); +lean_dec(x_138); +x_142 = l_Lean_Elab_Term_elabAppArgs(x_114, x_141, x_140, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_139); +return x_142; } +else +{ +uint8_t x_143; +lean_dec(x_114); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +x_143 = !lean_is_exclusive(x_137); +if (x_143 == 0) +{ +return x_137; +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_144 = lean_ctor_get(x_137, 0); +x_145 = lean_ctor_get(x_137, 1); +lean_inc(x_145); +lean_inc(x_144); +lean_dec(x_137); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +return x_146; } } } else { -uint8_t x_150; +uint8_t x_147; +lean_dec(x_114); +lean_dec(x_113); +lean_dec(x_112); +lean_dec(x_111); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_147 = !lean_is_exclusive(x_134); +if (x_147 == 0) +{ +return x_134; +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_148 = lean_ctor_get(x_134, 0); +x_149 = lean_ctor_get(x_134, 1); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_134); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_149); +return x_150; +} +} +} +} +else +{ +uint8_t x_151; +lean_dec(x_114); lean_dec(x_113); lean_dec(x_112); lean_dec(x_111); -lean_dec(x_110); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19981,114 +19981,114 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_150 = !lean_is_exclusive(x_117); -if (x_150 == 0) +x_151 = !lean_is_exclusive(x_119); +if (x_151 == 0) { -return x_117; +return x_119; } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_151 = lean_ctor_get(x_117, 0); -x_152 = lean_ctor_get(x_117, 1); +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_119, 0); +x_153 = lean_ctor_get(x_119, 1); +lean_inc(x_153); lean_inc(x_152); -lean_inc(x_151); -lean_dec(x_117); -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_151); -lean_ctor_set(x_153, 1, x_152); -return x_153; +lean_dec(x_119); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +return x_154; } } } default: { -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_154 = lean_ctor_get(x_17, 1); -lean_inc(x_154); -lean_dec(x_17); -x_155 = lean_ctor_get(x_18, 0); +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_155 = lean_ctor_get(x_17, 1); lean_inc(x_155); -lean_dec(x_18); -x_156 = lean_ctor_get(x_19, 0); +lean_dec(x_17); +x_156 = lean_ctor_get(x_18, 0); lean_inc(x_156); -x_157 = lean_ctor_get(x_19, 1); +lean_dec(x_18); +x_157 = lean_ctor_get(x_19, 0); lean_inc(x_157); +x_158 = lean_ctor_get(x_19, 1); +lean_inc(x_158); lean_dec(x_19); -x_158 = lean_box(0); +x_159 = lean_box(0); lean_inc(x_10); -x_159 = l_Lean_Elab_Term_mkConst(x_156, x_158, x_10, x_11, x_12, x_13, x_14, x_15, x_154); -if (lean_obj_tag(x_159) == 0) +x_160 = l_Lean_Elab_Term_mkConst(x_157, x_159, x_10, x_11, x_12, x_13, x_14, x_15, x_155); +if (lean_obj_tag(x_160) == 0) { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -x_161 = lean_ctor_get(x_159, 1); +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; +x_161 = lean_ctor_get(x_160, 0); lean_inc(x_161); -lean_dec(x_159); -x_162 = l_Lean_Elab_Term_LVal_getRef(x_2); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_163 = l_Lean_Elab_Term_LVal_getRef(x_2); lean_dec(x_2); -x_163 = lean_box(0); x_164 = lean_box(0); +x_165 = lean_box(0); +x_166 = 0; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_160); -x_165 = l_Lean_Elab_Term_addTermInfo(x_162, x_160, x_163, x_163, x_164, x_10, x_11, x_12, x_13, x_14, x_15, x_161); -if (lean_obj_tag(x_165) == 0) +lean_inc(x_161); +x_167 = l_Lean_Elab_Term_addTermInfo(x_163, x_161, x_164, x_164, x_165, x_166, x_10, x_11, x_12, x_13, x_14, x_15, x_162); +if (lean_obj_tag(x_167) == 0) { -lean_object* x_166; uint8_t x_167; -x_166 = lean_ctor_get(x_165, 1); -lean_inc(x_166); -lean_dec(x_165); -x_167 = l_List_isEmpty___rarg(x_3); -if (x_167 == 0) +lean_object* x_168; uint8_t x_169; +x_168 = lean_ctor_get(x_167, 1); +lean_inc(x_168); +lean_dec(x_167); +x_169 = l_List_isEmpty___rarg(x_3); +if (x_169 == 0) { -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; lean_object* x_180; -x_168 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_168, 0, x_155); -x_169 = lean_box(0); -x_170 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_171 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -lean_ctor_set(x_171, 2, x_168); -x_172 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_172, 0, x_157); -x_173 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; -x_174 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_174, 0, x_169); -lean_ctor_set(x_174, 1, x_173); -lean_ctor_set(x_174, 2, x_172); -x_175 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__3; -x_176 = lean_array_push(x_175, x_171); -x_177 = lean_array_push(x_176, x_174); -x_178 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_179 = 0; +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; +x_170 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_170, 0, x_156); +x_171 = lean_box(0); +x_172 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_173 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_173, 0, x_171); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set(x_173, 2, x_170); +x_174 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_174, 0, x_158); +x_175 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; +x_176 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_176, 0, x_171); +lean_ctor_set(x_176, 1, x_175); +lean_ctor_set(x_176, 2, x_174); +x_177 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__3; +x_178 = lean_array_push(x_177, x_173); +x_179 = lean_array_push(x_178, x_176); +x_180 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_180 = l_Lean_Elab_Term_elabAppArgs(x_160, x_177, x_178, x_163, x_179, x_179, x_10, x_11, x_12, x_13, x_14, x_15, x_166); -if (lean_obj_tag(x_180) == 0) +x_181 = l_Lean_Elab_Term_elabAppArgs(x_161, x_179, x_180, x_164, x_166, x_166, x_10, x_11, x_12, x_13, x_14, x_15, x_168); +if (lean_obj_tag(x_181) == 0) { -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); +lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_182 = lean_ctor_get(x_181, 0); lean_inc(x_182); -lean_dec(x_180); -x_183 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_181, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_182); -return x_183; +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_182, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_183); +return x_184; } else { -uint8_t x_184; +uint8_t x_185; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -20099,72 +20099,72 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_184 = !lean_is_exclusive(x_180); -if (x_184 == 0) +x_185 = !lean_is_exclusive(x_181); +if (x_185 == 0) { -return x_180; +return x_181; } else { -lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_185 = lean_ctor_get(x_180, 0); -x_186 = lean_ctor_get(x_180, 1); +lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_186 = lean_ctor_get(x_181, 0); +x_187 = lean_ctor_get(x_181, 1); +lean_inc(x_187); lean_inc(x_186); -lean_inc(x_185); -lean_dec(x_180); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -return x_187; +lean_dec(x_181); +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_187); +return x_188; } } } else { -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_dec(x_3); -x_188 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_188, 0, x_155); -x_189 = lean_box(0); -x_190 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_191 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_191, 0, x_189); -lean_ctor_set(x_191, 1, x_190); -lean_ctor_set(x_191, 2, x_188); +x_189 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_189, 0, x_156); +x_190 = lean_box(0); +x_191 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_192 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_192, 0, x_190); +lean_ctor_set(x_192, 1, x_191); +lean_ctor_set(x_192, 2, x_189); lean_inc(x_10); -x_192 = l_Lean_Elab_Term_addNamedArg(x_4, x_191, x_10, x_11, x_12, x_13, x_14, x_15, x_166); -if (lean_obj_tag(x_192) == 0) +x_193 = l_Lean_Elab_Term_addNamedArg(x_4, x_192, x_10, x_11, x_12, x_13, x_14, x_15, x_168); +if (lean_obj_tag(x_193) == 0) { -lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_193 = lean_ctor_get(x_192, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_192, 1); +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_194 = lean_ctor_get(x_193, 0); lean_inc(x_194); -lean_dec(x_192); -x_195 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_195, 0, x_157); -x_196 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; -x_197 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_197, 0, x_189); -lean_ctor_set(x_197, 1, x_196); -lean_ctor_set(x_197, 2, x_195); +x_195 = lean_ctor_get(x_193, 1); +lean_inc(x_195); +lean_dec(x_193); +x_196 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_196, 0, x_158); +x_197 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; +x_198 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_198, 0, x_190); +lean_ctor_set(x_198, 1, x_197); +lean_ctor_set(x_198, 2, x_196); lean_inc(x_10); -x_198 = l_Lean_Elab_Term_addNamedArg(x_193, x_197, x_10, x_11, x_12, x_13, x_14, x_15, x_194); -if (lean_obj_tag(x_198) == 0) +x_199 = l_Lean_Elab_Term_addNamedArg(x_194, x_198, x_10, x_11, x_12, x_13, x_14, x_15, x_195); +if (lean_obj_tag(x_199) == 0) { -lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = lean_ctor_get(x_198, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_198, 1); +lean_object* x_200; lean_object* x_201; lean_object* x_202; +x_200 = lean_ctor_get(x_199, 0); lean_inc(x_200); -lean_dec(x_198); -x_201 = l_Lean_Elab_Term_elabAppArgs(x_160, x_199, x_5, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_200); -return x_201; +x_201 = lean_ctor_get(x_199, 1); +lean_inc(x_201); +lean_dec(x_199); +x_202 = l_Lean_Elab_Term_elabAppArgs(x_161, x_200, x_5, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_201); +return x_202; } else { -uint8_t x_202; -lean_dec(x_160); +uint8_t x_203; +lean_dec(x_161); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -20173,31 +20173,31 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); -x_202 = !lean_is_exclusive(x_198); -if (x_202 == 0) +x_203 = !lean_is_exclusive(x_199); +if (x_203 == 0) { -return x_198; +return x_199; } else { -lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_203 = lean_ctor_get(x_198, 0); -x_204 = lean_ctor_get(x_198, 1); +lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_204 = lean_ctor_get(x_199, 0); +x_205 = lean_ctor_get(x_199, 1); +lean_inc(x_205); lean_inc(x_204); -lean_inc(x_203); -lean_dec(x_198); -x_205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_205, 0, x_203); -lean_ctor_set(x_205, 1, x_204); -return x_205; +lean_dec(x_199); +x_206 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_206, 0, x_204); +lean_ctor_set(x_206, 1, x_205); +return x_206; } } } else { -uint8_t x_206; -lean_dec(x_160); -lean_dec(x_157); +uint8_t x_207; +lean_dec(x_161); +lean_dec(x_158); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -20206,33 +20206,33 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); -x_206 = !lean_is_exclusive(x_192); -if (x_206 == 0) +x_207 = !lean_is_exclusive(x_193); +if (x_207 == 0) { -return x_192; +return x_193; } else { -lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_207 = lean_ctor_get(x_192, 0); -x_208 = lean_ctor_get(x_192, 1); +lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_208 = lean_ctor_get(x_193, 0); +x_209 = lean_ctor_get(x_193, 1); +lean_inc(x_209); lean_inc(x_208); -lean_inc(x_207); -lean_dec(x_192); -x_209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_209, 0, x_207); -lean_ctor_set(x_209, 1, x_208); -return x_209; +lean_dec(x_193); +x_210 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_210, 0, x_208); +lean_ctor_set(x_210, 1, x_209); +return x_210; } } } } else { -uint8_t x_210; -lean_dec(x_160); -lean_dec(x_157); -lean_dec(x_155); +uint8_t x_211; +lean_dec(x_161); +lean_dec(x_158); +lean_dec(x_156); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -20243,31 +20243,31 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_210 = !lean_is_exclusive(x_165); -if (x_210 == 0) +x_211 = !lean_is_exclusive(x_167); +if (x_211 == 0) { -return x_165; +return x_167; } else { -lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_211 = lean_ctor_get(x_165, 0); -x_212 = lean_ctor_get(x_165, 1); +lean_object* x_212; lean_object* x_213; lean_object* x_214; +x_212 = lean_ctor_get(x_167, 0); +x_213 = lean_ctor_get(x_167, 1); +lean_inc(x_213); lean_inc(x_212); -lean_inc(x_211); -lean_dec(x_165); -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_211); -lean_ctor_set(x_213, 1, x_212); -return x_213; +lean_dec(x_167); +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_212); +lean_ctor_set(x_214, 1, x_213); +return x_214; } } } else { -uint8_t x_214; -lean_dec(x_157); -lean_dec(x_155); +uint8_t x_215; +lean_dec(x_158); +lean_dec(x_156); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -20279,23 +20279,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_214 = !lean_is_exclusive(x_159); -if (x_214 == 0) +x_215 = !lean_is_exclusive(x_160); +if (x_215 == 0) { -return x_159; +return x_160; } else { -lean_object* x_215; lean_object* x_216; lean_object* x_217; -x_215 = lean_ctor_get(x_159, 0); -x_216 = lean_ctor_get(x_159, 1); +lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_216 = lean_ctor_get(x_160, 0); +x_217 = lean_ctor_get(x_160, 1); +lean_inc(x_217); lean_inc(x_216); -lean_inc(x_215); -lean_dec(x_159); -x_217 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_217, 0, x_215); -lean_ctor_set(x_217, 1, x_216); -return x_217; +lean_dec(x_160); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_216); +lean_ctor_set(x_218, 1, x_217); +return x_218; } } } @@ -20303,7 +20303,7 @@ return x_217; } else { -uint8_t x_218; +uint8_t x_219; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -20315,23 +20315,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_218 = !lean_is_exclusive(x_17); -if (x_218 == 0) +x_219 = !lean_is_exclusive(x_17); +if (x_219 == 0) { return x_17; } else { -lean_object* x_219; lean_object* x_220; lean_object* x_221; -x_219 = lean_ctor_get(x_17, 0); -x_220 = lean_ctor_get(x_17, 1); +lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_220 = lean_ctor_get(x_17, 0); +x_221 = lean_ctor_get(x_17, 1); +lean_inc(x_221); lean_inc(x_220); -lean_inc(x_219); lean_dec(x_17); -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_219); -lean_ctor_set(x_221, 1, x_220); -return x_221; +x_222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_222, 0, x_220); +lean_ctor_set(x_222, 1, x_221); +return x_222; } } } @@ -20987,8 +20987,9 @@ return x_5; lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, uint8_t x_10, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -lean_object* x_19; lean_object* x_20; +lean_object* x_19; uint8_t x_20; lean_object* x_21; x_19 = lean_box(0); +x_20 = 0; lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); @@ -20998,14 +20999,14 @@ lean_inc(x_12); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_20 = l_Lean_Elab_Term_addTermInfo(x_1, x_2, x_3, x_4, x_19, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_20) == 0) +x_21 = l_Lean_Elab_Term_addTermInfo(x_1, x_2, x_3, x_4, x_19, x_20, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = l_List_append___rarg(x_5, x_6); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = l_List_append___rarg(x_5, x_6); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); @@ -21013,12 +21014,12 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_3); -x_23 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_2, x_22, x_7, x_8, x_3, x_9, x_10, x_12, x_13, x_14, x_15, x_16, x_17, x_21); -if (lean_obj_tag(x_23) == 0) +x_24 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_2, x_23, x_7, x_8, x_3, x_9, x_10, x_12, x_13, x_14, x_15, x_16, x_17, x_22); +if (lean_obj_tag(x_24) == 0) { if (x_11 == 0) { -uint8_t x_24; +uint8_t x_25; lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); @@ -21027,40 +21028,40 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_4); lean_dec(x_3); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) { -return x_23; +return x_24; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_23, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_23); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_dec(x_24); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_23, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_23, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_24, 0); lean_inc(x_29); -lean_dec(x_23); -x_30 = l_Lean_Elab_Term_ensureHasType(x_3, x_28, x_4, x_12, x_13, x_14, x_15, x_16, x_17, x_29); -return x_30; +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_dec(x_24); +x_31 = l_Lean_Elab_Term_ensureHasType(x_3, x_29, x_4, x_12, x_13, x_14, x_15, x_16, x_17, x_30); +return x_31; } } else { -uint8_t x_31; +uint8_t x_32; lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); @@ -21069,29 +21070,29 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_4); lean_dec(x_3); -x_31 = !lean_is_exclusive(x_23); -if (x_31 == 0) +x_32 = !lean_is_exclusive(x_24); +if (x_32 == 0) { -return x_23; +return x_24; } 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_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_24, 0); +x_34 = lean_ctor_get(x_24, 1); +lean_inc(x_34); 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; +lean_dec(x_24); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } else { -uint8_t x_35; +uint8_t x_36; lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); @@ -21105,23 +21106,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_35 = !lean_is_exclusive(x_20); -if (x_35 == 0) +x_36 = !lean_is_exclusive(x_21); +if (x_36 == 0) { -return x_20; +return x_21; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_20, 0); -x_37 = lean_ctor_get(x_20, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_21, 0); +x_38 = lean_ctor_get(x_21, 1); +lean_inc(x_38); lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_20); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_dec(x_21); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } @@ -21795,126 +21796,124 @@ x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___priva return x_7; } } -lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(lean_object* x_1, lean_object* x_2) { _start: { -if (lean_obj_tag(x_3) == 0) +if (lean_obj_tag(x_2) == 0) { -lean_object* x_4; -lean_dec(x_2); +lean_object* x_3; lean_dec(x_1); -x_4 = lean_box(0); -return x_4; -} -else -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_3); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_6 = lean_ctor_get(x_3, 0); -x_7 = lean_ctor_get(x_3, 1); -x_8 = 1; -x_9 = l_Lean_Name_toString(x_6, x_8); -x_10 = lean_box(0); -lean_inc(x_1); -lean_inc(x_2); -x_11 = lean_alloc_ctor(1, 4, 0); -lean_ctor_set(x_11, 0, x_2); -lean_ctor_set(x_11, 1, x_9); -lean_ctor_set(x_11, 2, x_10); -lean_ctor_set(x_11, 3, x_1); -x_12 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_1, x_2, x_7); -lean_ctor_set(x_3, 1, x_12); -lean_ctor_set(x_3, 0, x_11); +x_3 = lean_box(0); return x_3; } else { -lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_13 = lean_ctor_get(x_3, 0); -x_14 = lean_ctor_get(x_3, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_3); -x_15 = 1; -x_16 = l_Lean_Name_toString(x_13, x_15); -x_17 = lean_box(0); -lean_inc(x_1); -lean_inc(x_2); -x_18 = lean_alloc_ctor(1, 4, 0); -lean_ctor_set(x_18, 0, x_2); -lean_ctor_set(x_18, 1, x_16); -lean_ctor_set(x_18, 2, x_17); -lean_ctor_set(x_18, 3, x_1); -x_19 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_1, x_2, x_14); -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_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) { -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(0); -return x_4; -} -else -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_3); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_6 = lean_ctor_get(x_3, 0); -x_7 = lean_ctor_get(x_3, 1); +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +x_7 = l_Lean_Syntax_getId(x_5); x_8 = 1; -x_9 = l_Lean_Name_toString(x_6, x_8); +x_9 = l_Lean_Name_toString(x_7, x_8); x_10 = lean_box(0); lean_inc(x_1); -lean_inc(x_2); x_11 = lean_alloc_ctor(1, 4, 0); -lean_ctor_set(x_11, 0, x_2); +lean_ctor_set(x_11, 0, x_5); lean_ctor_set(x_11, 1, x_9); lean_ctor_set(x_11, 2, x_10); lean_ctor_set(x_11, 3, x_1); -x_12 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(x_1, x_2, x_7); -lean_ctor_set(x_3, 1, x_12); -lean_ctor_set(x_3, 0, x_11); +x_12 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_1, x_6); +lean_ctor_set(x_2, 1, x_12); +lean_ctor_set(x_2, 0, x_11); +return x_2; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_2, 0); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_2); +x_15 = l_Lean_Syntax_getId(x_13); +x_16 = 1; +x_17 = l_Lean_Name_toString(x_15, x_16); +x_18 = lean_box(0); +lean_inc(x_1); +x_19 = lean_alloc_ctor(1, 4, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_19, 2, x_18); +lean_ctor_set(x_19, 3, x_1); +x_20 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_1, x_14); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); return x_3; } else { -lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_13 = lean_ctor_get(x_3, 0); -x_14 = lean_ctor_get(x_3, 1); +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +x_7 = l_Lean_Syntax_getId(x_5); +x_8 = 1; +x_9 = l_Lean_Name_toString(x_7, x_8); +x_10 = lean_box(0); +lean_inc(x_1); +x_11 = lean_alloc_ctor(1, 4, 0); +lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 1, x_9); +lean_ctor_set(x_11, 2, x_10); +lean_ctor_set(x_11, 3, x_1); +x_12 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(x_1, x_6); +lean_ctor_set(x_2, 1, x_12); +lean_ctor_set(x_2, 0, x_11); +return x_2; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_2, 0); +x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_inc(x_13); -lean_dec(x_3); -x_15 = 1; -x_16 = l_Lean_Name_toString(x_13, x_15); -x_17 = lean_box(0); +lean_dec(x_2); +x_15 = l_Lean_Syntax_getId(x_13); +x_16 = 1; +x_17 = l_Lean_Name_toString(x_15, x_16); +x_18 = lean_box(0); lean_inc(x_1); -lean_inc(x_2); -x_18 = lean_alloc_ctor(1, 4, 0); -lean_ctor_set(x_18, 0, x_2); -lean_ctor_set(x_18, 1, x_16); -lean_ctor_set(x_18, 2, x_17); -lean_ctor_set(x_18, 3, x_1); -x_19 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(x_1, x_2, x_14); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; +x_19 = lean_alloc_ctor(1, 4, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_19, 2, x_18); +lean_ctor_set(x_19, 3, x_1); +x_20 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(x_1, x_14); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } @@ -24596,267 +24595,266 @@ return x_522; } else { -lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; +lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_dec(x_1); -x_526 = l_Lean_Syntax_getId(x_345); -x_527 = lean_erase_macro_scopes(x_526); -x_528 = l_Lean_Name_components(x_527); +x_526 = lean_box(0); +x_527 = l_Lean_Syntax_identComponents(x_345, x_526); lean_inc(x_343); -x_529 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_343, x_345, x_528); -x_530 = l_List_append___rarg(x_529, x_2); +x_528 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_343, x_527); +x_529 = l_List_append___rarg(x_528, x_2); x_1 = x_343; -x_2 = x_530; +x_2 = x_529; goto _start; } } } else { -lean_object* x_532; lean_object* x_533; lean_object* x_534; uint8_t x_535; -x_532 = lean_unsigned_to_nat(3u); -x_533 = l_Lean_Syntax_getArg(x_1, x_532); -x_534 = l_Lean_nullKind; -x_535 = l_Lean_Syntax_isNodeOf(x_533, x_534, x_342); -if (x_535 == 0) +lean_object* x_531; lean_object* x_532; lean_object* x_533; uint8_t x_534; +x_531 = lean_unsigned_to_nat(3u); +x_532 = l_Lean_Syntax_getArg(x_1, x_531); +x_533 = l_Lean_nullKind; +x_534 = l_Lean_Syntax_isNodeOf(x_532, x_533, x_342); +if (x_534 == 0) { -uint8_t x_536; uint8_t x_537; +uint8_t x_535; uint8_t x_536; lean_dec(x_345); lean_dec(x_343); -x_536 = l_List_isEmpty___rarg(x_2); +x_535 = l_List_isEmpty___rarg(x_2); if (x_8 == 0) { +uint8_t x_619; +x_619 = 1; +x_536 = x_619; +goto block_618; +} +else +{ uint8_t x_620; -x_620 = 1; -x_537 = x_620; -goto block_619; +x_620 = 0; +x_536 = x_620; +goto block_618; +} +block_618: +{ +if (x_535 == 0) +{ +lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; +x_537 = lean_box(0); +x_538 = lean_box(x_536); +x_539 = lean_box(x_6); +x_540 = lean_box(x_7); +x_541 = lean_box(x_8); +x_542 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_542, 0, x_1); +lean_closure_set(x_542, 1, x_537); +lean_closure_set(x_542, 2, x_538); +lean_closure_set(x_542, 3, x_2); +lean_closure_set(x_542, 4, x_3); +lean_closure_set(x_542, 5, x_4); +lean_closure_set(x_542, 6, x_5); +lean_closure_set(x_542, 7, x_539); +lean_closure_set(x_542, 8, x_540); +lean_closure_set(x_542, 9, x_541); +x_543 = l_Lean_Elab_Term_observing___rarg(x_542, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_543) == 0) +{ +uint8_t x_544; +x_544 = !lean_is_exclusive(x_543); +if (x_544 == 0) +{ +lean_object* x_545; lean_object* x_546; +x_545 = lean_ctor_get(x_543, 0); +x_546 = lean_array_push(x_9, x_545); +lean_ctor_set(x_543, 0, x_546); +return x_543; } else { -uint8_t x_621; -x_621 = 0; -x_537 = x_621; -goto block_619; -} -block_619: -{ -if (x_536 == 0) -{ -lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; -x_538 = lean_box(0); -x_539 = lean_box(x_537); -x_540 = lean_box(x_6); -x_541 = lean_box(x_7); -x_542 = lean_box(x_8); -x_543 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_543, 0, x_1); -lean_closure_set(x_543, 1, x_538); -lean_closure_set(x_543, 2, x_539); -lean_closure_set(x_543, 3, x_2); -lean_closure_set(x_543, 4, x_3); -lean_closure_set(x_543, 5, x_4); -lean_closure_set(x_543, 6, x_5); -lean_closure_set(x_543, 7, x_540); -lean_closure_set(x_543, 8, x_541); -lean_closure_set(x_543, 9, x_542); -x_544 = l_Lean_Elab_Term_observing___rarg(x_543, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_544) == 0) -{ -uint8_t x_545; -x_545 = !lean_is_exclusive(x_544); -if (x_545 == 0) -{ -lean_object* x_546; lean_object* x_547; -x_546 = lean_ctor_get(x_544, 0); -x_547 = lean_array_push(x_9, x_546); -lean_ctor_set(x_544, 0, x_547); -return x_544; -} -else -{ -lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; -x_548 = lean_ctor_get(x_544, 0); -x_549 = lean_ctor_get(x_544, 1); -lean_inc(x_549); +lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; +x_547 = lean_ctor_get(x_543, 0); +x_548 = lean_ctor_get(x_543, 1); lean_inc(x_548); -lean_dec(x_544); -x_550 = lean_array_push(x_9, x_548); -x_551 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_551, 0, x_550); -lean_ctor_set(x_551, 1, x_549); -return x_551; +lean_inc(x_547); +lean_dec(x_543); +x_549 = lean_array_push(x_9, x_547); +x_550 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_550, 0, x_549); +lean_ctor_set(x_550, 1, x_548); +return x_550; } } else { -uint8_t x_552; +uint8_t x_551; lean_dec(x_9); -x_552 = !lean_is_exclusive(x_544); -if (x_552 == 0) +x_551 = !lean_is_exclusive(x_543); +if (x_551 == 0) { -return x_544; +return x_543; } else { -lean_object* x_553; lean_object* x_554; lean_object* x_555; -x_553 = lean_ctor_get(x_544, 0); -x_554 = lean_ctor_get(x_544, 1); -lean_inc(x_554); +lean_object* x_552; lean_object* x_553; lean_object* x_554; +x_552 = lean_ctor_get(x_543, 0); +x_553 = lean_ctor_get(x_543, 1); lean_inc(x_553); -lean_dec(x_544); -x_555 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_555, 0, x_553); -lean_ctor_set(x_555, 1, x_554); -return x_555; +lean_inc(x_552); +lean_dec(x_543); +x_554 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_554, 0, x_552); +lean_ctor_set(x_554, 1, x_553); +return x_554; } } } else { -uint8_t x_556; -x_556 = l_Array_isEmpty___rarg(x_3); -if (x_556 == 0) +uint8_t x_555; +x_555 = l_Array_isEmpty___rarg(x_3); +if (x_555 == 0) { -lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; -x_557 = lean_box(0); -x_558 = lean_box(x_537); -x_559 = lean_box(x_6); -x_560 = lean_box(x_7); -x_561 = lean_box(x_8); -x_562 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_562, 0, x_1); -lean_closure_set(x_562, 1, x_557); -lean_closure_set(x_562, 2, x_558); -lean_closure_set(x_562, 3, x_2); -lean_closure_set(x_562, 4, x_3); -lean_closure_set(x_562, 5, x_4); -lean_closure_set(x_562, 6, x_5); -lean_closure_set(x_562, 7, x_559); -lean_closure_set(x_562, 8, x_560); -lean_closure_set(x_562, 9, x_561); -x_563 = l_Lean_Elab_Term_observing___rarg(x_562, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_563) == 0) +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; +x_556 = lean_box(0); +x_557 = lean_box(x_536); +x_558 = lean_box(x_6); +x_559 = lean_box(x_7); +x_560 = lean_box(x_8); +x_561 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_561, 0, x_1); +lean_closure_set(x_561, 1, x_556); +lean_closure_set(x_561, 2, x_557); +lean_closure_set(x_561, 3, x_2); +lean_closure_set(x_561, 4, x_3); +lean_closure_set(x_561, 5, x_4); +lean_closure_set(x_561, 6, x_5); +lean_closure_set(x_561, 7, x_558); +lean_closure_set(x_561, 8, x_559); +lean_closure_set(x_561, 9, x_560); +x_562 = l_Lean_Elab_Term_observing___rarg(x_561, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_562) == 0) { -uint8_t x_564; -x_564 = !lean_is_exclusive(x_563); -if (x_564 == 0) +uint8_t x_563; +x_563 = !lean_is_exclusive(x_562); +if (x_563 == 0) { -lean_object* x_565; lean_object* x_566; -x_565 = lean_ctor_get(x_563, 0); -x_566 = lean_array_push(x_9, x_565); -lean_ctor_set(x_563, 0, x_566); -return x_563; +lean_object* x_564; lean_object* x_565; +x_564 = lean_ctor_get(x_562, 0); +x_565 = lean_array_push(x_9, x_564); +lean_ctor_set(x_562, 0, x_565); +return x_562; } else { -lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; -x_567 = lean_ctor_get(x_563, 0); -x_568 = lean_ctor_get(x_563, 1); -lean_inc(x_568); +lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; +x_566 = lean_ctor_get(x_562, 0); +x_567 = lean_ctor_get(x_562, 1); lean_inc(x_567); -lean_dec(x_563); -x_569 = lean_array_push(x_9, x_567); -x_570 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_570, 0, x_569); -lean_ctor_set(x_570, 1, x_568); -return x_570; +lean_inc(x_566); +lean_dec(x_562); +x_568 = lean_array_push(x_9, x_566); +x_569 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_569, 0, x_568); +lean_ctor_set(x_569, 1, x_567); +return x_569; } } else { -uint8_t x_571; +uint8_t x_570; lean_dec(x_9); -x_571 = !lean_is_exclusive(x_563); -if (x_571 == 0) +x_570 = !lean_is_exclusive(x_562); +if (x_570 == 0) { -return x_563; +return x_562; } else { -lean_object* x_572; lean_object* x_573; lean_object* x_574; -x_572 = lean_ctor_get(x_563, 0); -x_573 = lean_ctor_get(x_563, 1); -lean_inc(x_573); +lean_object* x_571; lean_object* x_572; lean_object* x_573; +x_571 = lean_ctor_get(x_562, 0); +x_572 = lean_ctor_get(x_562, 1); lean_inc(x_572); -lean_dec(x_563); -x_574 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_574, 0, x_572); -lean_ctor_set(x_574, 1, x_573); -return x_574; +lean_inc(x_571); +lean_dec(x_562); +x_573 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_573, 0, x_571); +lean_ctor_set(x_573, 1, x_572); +return x_573; } } } else { -uint8_t x_575; -x_575 = l_Array_isEmpty___rarg(x_4); -if (x_575 == 0) +uint8_t x_574; +x_574 = l_Array_isEmpty___rarg(x_4); +if (x_574 == 0) { -lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; -x_576 = lean_box(0); -x_577 = lean_box(x_537); -x_578 = lean_box(x_6); -x_579 = lean_box(x_7); -x_580 = lean_box(x_8); -x_581 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_581, 0, x_1); -lean_closure_set(x_581, 1, x_576); -lean_closure_set(x_581, 2, x_577); -lean_closure_set(x_581, 3, x_2); -lean_closure_set(x_581, 4, x_3); -lean_closure_set(x_581, 5, x_4); -lean_closure_set(x_581, 6, x_5); -lean_closure_set(x_581, 7, x_578); -lean_closure_set(x_581, 8, x_579); -lean_closure_set(x_581, 9, x_580); -x_582 = l_Lean_Elab_Term_observing___rarg(x_581, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_582) == 0) +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; +x_575 = lean_box(0); +x_576 = lean_box(x_536); +x_577 = lean_box(x_6); +x_578 = lean_box(x_7); +x_579 = lean_box(x_8); +x_580 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_580, 0, x_1); +lean_closure_set(x_580, 1, x_575); +lean_closure_set(x_580, 2, x_576); +lean_closure_set(x_580, 3, x_2); +lean_closure_set(x_580, 4, x_3); +lean_closure_set(x_580, 5, x_4); +lean_closure_set(x_580, 6, x_5); +lean_closure_set(x_580, 7, x_577); +lean_closure_set(x_580, 8, x_578); +lean_closure_set(x_580, 9, x_579); +x_581 = l_Lean_Elab_Term_observing___rarg(x_580, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_581) == 0) { -uint8_t x_583; -x_583 = !lean_is_exclusive(x_582); -if (x_583 == 0) +uint8_t x_582; +x_582 = !lean_is_exclusive(x_581); +if (x_582 == 0) { -lean_object* x_584; lean_object* x_585; -x_584 = lean_ctor_get(x_582, 0); -x_585 = lean_array_push(x_9, x_584); -lean_ctor_set(x_582, 0, x_585); -return x_582; +lean_object* x_583; lean_object* x_584; +x_583 = lean_ctor_get(x_581, 0); +x_584 = lean_array_push(x_9, x_583); +lean_ctor_set(x_581, 0, x_584); +return x_581; } else { -lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; -x_586 = lean_ctor_get(x_582, 0); -x_587 = lean_ctor_get(x_582, 1); -lean_inc(x_587); +lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; +x_585 = lean_ctor_get(x_581, 0); +x_586 = lean_ctor_get(x_581, 1); lean_inc(x_586); -lean_dec(x_582); -x_588 = lean_array_push(x_9, x_586); -x_589 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_589, 0, x_588); -lean_ctor_set(x_589, 1, x_587); -return x_589; +lean_inc(x_585); +lean_dec(x_581); +x_587 = lean_array_push(x_9, x_585); +x_588 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_588, 0, x_587); +lean_ctor_set(x_588, 1, x_586); +return x_588; } } else { -uint8_t x_590; +uint8_t x_589; lean_dec(x_9); -x_590 = !lean_is_exclusive(x_582); -if (x_590 == 0) +x_589 = !lean_is_exclusive(x_581); +if (x_589 == 0) { -return x_582; +return x_581; } else { -lean_object* x_591; lean_object* x_592; lean_object* x_593; -x_591 = lean_ctor_get(x_582, 0); -x_592 = lean_ctor_get(x_582, 1); -lean_inc(x_592); +lean_object* x_590; lean_object* x_591; lean_object* x_592; +x_590 = lean_ctor_get(x_581, 0); +x_591 = lean_ctor_get(x_581, 1); lean_inc(x_591); -lean_dec(x_582); -x_593 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_593, 0, x_591); -lean_ctor_set(x_593, 1, x_592); -return x_593; +lean_inc(x_590); +lean_dec(x_581); +x_592 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_592, 0, x_590); +lean_ctor_set(x_592, 1, x_591); +return x_592; } } } @@ -24867,42 +24865,42 @@ lean_dec(x_3); lean_dec(x_2); if (x_8 == 0) { -uint8_t x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; -x_594 = 1; -x_595 = lean_box(x_594); -x_596 = lean_box(x_594); -x_597 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); -lean_closure_set(x_597, 0, x_1); -lean_closure_set(x_597, 1, x_5); -lean_closure_set(x_597, 2, x_595); -lean_closure_set(x_597, 3, x_596); +uint8_t x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; +x_593 = 1; +x_594 = lean_box(x_593); +x_595 = lean_box(x_593); +x_596 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_596, 0, x_1); +lean_closure_set(x_596, 1, x_5); +lean_closure_set(x_596, 2, x_594); +lean_closure_set(x_596, 3, x_595); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_598 = l_Lean_Elab_Term_observing___rarg(x_597, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_598) == 0) +x_597 = l_Lean_Elab_Term_observing___rarg(x_596, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_597) == 0) { -lean_object* x_599; lean_object* x_600; lean_object* x_601; -x_599 = lean_ctor_get(x_598, 0); +lean_object* x_598; lean_object* x_599; lean_object* x_600; +x_598 = lean_ctor_get(x_597, 0); +lean_inc(x_598); +x_599 = lean_ctor_get(x_597, 1); lean_inc(x_599); -x_600 = lean_ctor_get(x_598, 1); -lean_inc(x_600); -lean_dec(x_598); -x_601 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_599, x_10, x_11, x_12, x_13, x_14, x_15, x_600); +lean_dec(x_597); +x_600 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_598, x_10, x_11, x_12, x_13, x_14, x_15, x_599); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_601; +return x_600; } else { -uint8_t x_602; +uint8_t x_601; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -24910,66 +24908,66 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_602 = !lean_is_exclusive(x_598); -if (x_602 == 0) +x_601 = !lean_is_exclusive(x_597); +if (x_601 == 0) { -return x_598; +return x_597; } else { -lean_object* x_603; lean_object* x_604; lean_object* x_605; -x_603 = lean_ctor_get(x_598, 0); -x_604 = lean_ctor_get(x_598, 1); -lean_inc(x_604); +lean_object* x_602; lean_object* x_603; lean_object* x_604; +x_602 = lean_ctor_get(x_597, 0); +x_603 = lean_ctor_get(x_597, 1); lean_inc(x_603); -lean_dec(x_598); -x_605 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_605, 0, x_603); -lean_ctor_set(x_605, 1, x_604); -return x_605; +lean_inc(x_602); +lean_dec(x_597); +x_604 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_604, 0, x_602); +lean_ctor_set(x_604, 1, x_603); +return x_604; } } } else { -lean_object* x_606; uint8_t x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; -x_606 = lean_box(0); -x_607 = 1; -x_608 = lean_box(x_537); -x_609 = lean_box(x_607); -x_610 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_610, 0, x_1); -lean_closure_set(x_610, 1, x_5); -lean_closure_set(x_610, 2, x_608); -lean_closure_set(x_610, 3, x_609); -lean_closure_set(x_610, 4, x_606); +lean_object* x_605; uint8_t x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; +x_605 = lean_box(0); +x_606 = 1; +x_607 = lean_box(x_536); +x_608 = lean_box(x_606); +x_609 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_609, 0, x_1); +lean_closure_set(x_609, 1, x_5); +lean_closure_set(x_609, 2, x_607); +lean_closure_set(x_609, 3, x_608); +lean_closure_set(x_609, 4, x_605); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_611 = l_Lean_Elab_Term_observing___rarg(x_610, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_611) == 0) +x_610 = l_Lean_Elab_Term_observing___rarg(x_609, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_610) == 0) { -lean_object* x_612; lean_object* x_613; lean_object* x_614; -x_612 = lean_ctor_get(x_611, 0); +lean_object* x_611; lean_object* x_612; lean_object* x_613; +x_611 = lean_ctor_get(x_610, 0); +lean_inc(x_611); +x_612 = lean_ctor_get(x_610, 1); lean_inc(x_612); -x_613 = lean_ctor_get(x_611, 1); -lean_inc(x_613); -lean_dec(x_611); -x_614 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_612, x_10, x_11, x_12, x_13, x_14, x_15, x_613); +lean_dec(x_610); +x_613 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_611, x_10, x_11, x_12, x_13, x_14, x_15, x_612); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_614; +return x_613; } else { -uint8_t x_615; +uint8_t x_614; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -24977,23 +24975,23 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_615 = !lean_is_exclusive(x_611); -if (x_615 == 0) +x_614 = !lean_is_exclusive(x_610); +if (x_614 == 0) { -return x_611; +return x_610; } else { -lean_object* x_616; lean_object* x_617; lean_object* x_618; -x_616 = lean_ctor_get(x_611, 0); -x_617 = lean_ctor_get(x_611, 1); -lean_inc(x_617); +lean_object* x_615; lean_object* x_616; lean_object* x_617; +x_615 = lean_ctor_get(x_610, 0); +x_616 = lean_ctor_get(x_610, 1); lean_inc(x_616); -lean_dec(x_611); -x_618 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_618, 0, x_616); -lean_ctor_set(x_618, 1, x_617); -return x_618; +lean_inc(x_615); +lean_dec(x_610); +x_617 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_617, 0, x_615); +lean_ctor_set(x_617, 1, x_616); +return x_617; } } } @@ -25004,40 +25002,40 @@ return x_618; } else { -lean_object* x_622; lean_object* x_623; +lean_object* x_621; lean_object* x_622; lean_dec(x_1); -x_622 = l_Lean_fieldIdxKind; -x_623 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_622, x_345); -if (lean_obj_tag(x_623) == 0) +x_621 = l_Lean_fieldIdxKind; +x_622 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_621, x_345); +if (lean_obj_tag(x_622) == 0) { -lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; -x_624 = l_instInhabitedNat; -x_625 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24; -x_626 = lean_panic_fn(x_624, x_625); -x_627 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_627, 0, x_345); -lean_ctor_set(x_627, 1, x_626); -x_628 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_628, 0, x_627); -lean_ctor_set(x_628, 1, x_2); +lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; +x_623 = l_instInhabitedNat; +x_624 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24; +x_625 = lean_panic_fn(x_623, x_624); +x_626 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_626, 0, x_345); +lean_ctor_set(x_626, 1, x_625); +x_627 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_627, 0, x_626); +lean_ctor_set(x_627, 1, x_2); x_1 = x_343; -x_2 = x_628; +x_2 = x_627; goto _start; } else { -lean_object* x_630; lean_object* x_631; lean_object* x_632; -x_630 = lean_ctor_get(x_623, 0); -lean_inc(x_630); -lean_dec(x_623); -x_631 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_631, 0, x_345); -lean_ctor_set(x_631, 1, x_630); -x_632 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_632, 0, x_631); -lean_ctor_set(x_632, 1, x_2); +lean_object* x_629; lean_object* x_630; lean_object* x_631; +x_629 = lean_ctor_get(x_622, 0); +lean_inc(x_629); +lean_dec(x_622); +x_630 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_630, 0, x_345); +lean_ctor_set(x_630, 1, x_629); +x_631 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_631, 0, x_630); +lean_ctor_set(x_631, 1, x_2); x_1 = x_343; -x_2 = x_632; +x_2 = x_631; goto _start; } } @@ -25046,260 +25044,260 @@ goto _start; } else { -lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; uint8_t x_639; -x_634 = lean_unsigned_to_nat(0u); -x_635 = l_Lean_Syntax_getArg(x_1, x_634); -x_636 = lean_unsigned_to_nat(2u); -x_637 = l_Lean_Syntax_getArg(x_1, x_636); -x_638 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__20; -lean_inc(x_637); -x_639 = l_Lean_Syntax_isOfKind(x_637, x_638); -if (x_639 == 0) +lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; uint8_t x_638; +x_633 = lean_unsigned_to_nat(0u); +x_634 = l_Lean_Syntax_getArg(x_1, x_633); +x_635 = lean_unsigned_to_nat(2u); +x_636 = l_Lean_Syntax_getArg(x_1, x_635); +x_637 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__20; +lean_inc(x_636); +x_638 = l_Lean_Syntax_isOfKind(x_636, x_637); +if (x_638 == 0) { -lean_object* x_640; uint8_t x_641; -x_640 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; -lean_inc(x_637); -x_641 = l_Lean_Syntax_isOfKind(x_637, x_640); -if (x_641 == 0) +lean_object* x_639; uint8_t x_640; +x_639 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; +lean_inc(x_636); +x_640 = l_Lean_Syntax_isOfKind(x_636, x_639); +if (x_640 == 0) { -uint8_t x_642; uint8_t x_643; -lean_dec(x_637); -lean_dec(x_635); -x_642 = l_List_isEmpty___rarg(x_2); +uint8_t x_641; uint8_t x_642; +lean_dec(x_636); +lean_dec(x_634); +x_641 = l_List_isEmpty___rarg(x_2); if (x_8 == 0) { +uint8_t x_725; +x_725 = 1; +x_642 = x_725; +goto block_724; +} +else +{ uint8_t x_726; -x_726 = 1; -x_643 = x_726; -goto block_725; +x_726 = 0; +x_642 = x_726; +goto block_724; +} +block_724: +{ +if (x_641 == 0) +{ +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; +x_643 = lean_box(0); +x_644 = lean_box(x_642); +x_645 = lean_box(x_6); +x_646 = lean_box(x_7); +x_647 = lean_box(x_8); +x_648 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_648, 0, x_1); +lean_closure_set(x_648, 1, x_643); +lean_closure_set(x_648, 2, x_644); +lean_closure_set(x_648, 3, x_2); +lean_closure_set(x_648, 4, x_3); +lean_closure_set(x_648, 5, x_4); +lean_closure_set(x_648, 6, x_5); +lean_closure_set(x_648, 7, x_645); +lean_closure_set(x_648, 8, x_646); +lean_closure_set(x_648, 9, x_647); +x_649 = l_Lean_Elab_Term_observing___rarg(x_648, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_649) == 0) +{ +uint8_t x_650; +x_650 = !lean_is_exclusive(x_649); +if (x_650 == 0) +{ +lean_object* x_651; lean_object* x_652; +x_651 = lean_ctor_get(x_649, 0); +x_652 = lean_array_push(x_9, x_651); +lean_ctor_set(x_649, 0, x_652); +return x_649; } else { -uint8_t x_727; -x_727 = 0; -x_643 = x_727; -goto block_725; -} -block_725: -{ -if (x_642 == 0) -{ -lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; -x_644 = lean_box(0); -x_645 = lean_box(x_643); -x_646 = lean_box(x_6); -x_647 = lean_box(x_7); -x_648 = lean_box(x_8); -x_649 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_649, 0, x_1); -lean_closure_set(x_649, 1, x_644); -lean_closure_set(x_649, 2, x_645); -lean_closure_set(x_649, 3, x_2); -lean_closure_set(x_649, 4, x_3); -lean_closure_set(x_649, 5, x_4); -lean_closure_set(x_649, 6, x_5); -lean_closure_set(x_649, 7, x_646); -lean_closure_set(x_649, 8, x_647); -lean_closure_set(x_649, 9, x_648); -x_650 = l_Lean_Elab_Term_observing___rarg(x_649, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_650) == 0) -{ -uint8_t x_651; -x_651 = !lean_is_exclusive(x_650); -if (x_651 == 0) -{ -lean_object* x_652; lean_object* x_653; -x_652 = lean_ctor_get(x_650, 0); -x_653 = lean_array_push(x_9, x_652); -lean_ctor_set(x_650, 0, x_653); -return x_650; -} -else -{ -lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; -x_654 = lean_ctor_get(x_650, 0); -x_655 = lean_ctor_get(x_650, 1); -lean_inc(x_655); +lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; +x_653 = lean_ctor_get(x_649, 0); +x_654 = lean_ctor_get(x_649, 1); lean_inc(x_654); -lean_dec(x_650); -x_656 = lean_array_push(x_9, x_654); -x_657 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_657, 0, x_656); -lean_ctor_set(x_657, 1, x_655); -return x_657; +lean_inc(x_653); +lean_dec(x_649); +x_655 = lean_array_push(x_9, x_653); +x_656 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_656, 0, x_655); +lean_ctor_set(x_656, 1, x_654); +return x_656; } } else { -uint8_t x_658; +uint8_t x_657; lean_dec(x_9); -x_658 = !lean_is_exclusive(x_650); -if (x_658 == 0) +x_657 = !lean_is_exclusive(x_649); +if (x_657 == 0) { -return x_650; +return x_649; } else { -lean_object* x_659; lean_object* x_660; lean_object* x_661; -x_659 = lean_ctor_get(x_650, 0); -x_660 = lean_ctor_get(x_650, 1); -lean_inc(x_660); +lean_object* x_658; lean_object* x_659; lean_object* x_660; +x_658 = lean_ctor_get(x_649, 0); +x_659 = lean_ctor_get(x_649, 1); lean_inc(x_659); -lean_dec(x_650); -x_661 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_661, 0, x_659); -lean_ctor_set(x_661, 1, x_660); -return x_661; +lean_inc(x_658); +lean_dec(x_649); +x_660 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_660, 0, x_658); +lean_ctor_set(x_660, 1, x_659); +return x_660; } } } else { -uint8_t x_662; -x_662 = l_Array_isEmpty___rarg(x_3); -if (x_662 == 0) +uint8_t x_661; +x_661 = l_Array_isEmpty___rarg(x_3); +if (x_661 == 0) { -lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; -x_663 = lean_box(0); -x_664 = lean_box(x_643); -x_665 = lean_box(x_6); -x_666 = lean_box(x_7); -x_667 = lean_box(x_8); -x_668 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_668, 0, x_1); -lean_closure_set(x_668, 1, x_663); -lean_closure_set(x_668, 2, x_664); -lean_closure_set(x_668, 3, x_2); -lean_closure_set(x_668, 4, x_3); -lean_closure_set(x_668, 5, x_4); -lean_closure_set(x_668, 6, x_5); -lean_closure_set(x_668, 7, x_665); -lean_closure_set(x_668, 8, x_666); -lean_closure_set(x_668, 9, x_667); -x_669 = l_Lean_Elab_Term_observing___rarg(x_668, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_669) == 0) +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; +x_662 = lean_box(0); +x_663 = lean_box(x_642); +x_664 = lean_box(x_6); +x_665 = lean_box(x_7); +x_666 = lean_box(x_8); +x_667 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_667, 0, x_1); +lean_closure_set(x_667, 1, x_662); +lean_closure_set(x_667, 2, x_663); +lean_closure_set(x_667, 3, x_2); +lean_closure_set(x_667, 4, x_3); +lean_closure_set(x_667, 5, x_4); +lean_closure_set(x_667, 6, x_5); +lean_closure_set(x_667, 7, x_664); +lean_closure_set(x_667, 8, x_665); +lean_closure_set(x_667, 9, x_666); +x_668 = l_Lean_Elab_Term_observing___rarg(x_667, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_668) == 0) { -uint8_t x_670; -x_670 = !lean_is_exclusive(x_669); -if (x_670 == 0) +uint8_t x_669; +x_669 = !lean_is_exclusive(x_668); +if (x_669 == 0) { -lean_object* x_671; lean_object* x_672; -x_671 = lean_ctor_get(x_669, 0); -x_672 = lean_array_push(x_9, x_671); -lean_ctor_set(x_669, 0, x_672); -return x_669; +lean_object* x_670; lean_object* x_671; +x_670 = lean_ctor_get(x_668, 0); +x_671 = lean_array_push(x_9, x_670); +lean_ctor_set(x_668, 0, x_671); +return x_668; } else { -lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; -x_673 = lean_ctor_get(x_669, 0); -x_674 = lean_ctor_get(x_669, 1); -lean_inc(x_674); +lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; +x_672 = lean_ctor_get(x_668, 0); +x_673 = lean_ctor_get(x_668, 1); lean_inc(x_673); -lean_dec(x_669); -x_675 = lean_array_push(x_9, x_673); -x_676 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_676, 0, x_675); -lean_ctor_set(x_676, 1, x_674); -return x_676; +lean_inc(x_672); +lean_dec(x_668); +x_674 = lean_array_push(x_9, x_672); +x_675 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_675, 0, x_674); +lean_ctor_set(x_675, 1, x_673); +return x_675; } } else { -uint8_t x_677; +uint8_t x_676; lean_dec(x_9); -x_677 = !lean_is_exclusive(x_669); -if (x_677 == 0) +x_676 = !lean_is_exclusive(x_668); +if (x_676 == 0) { -return x_669; +return x_668; } else { -lean_object* x_678; lean_object* x_679; lean_object* x_680; -x_678 = lean_ctor_get(x_669, 0); -x_679 = lean_ctor_get(x_669, 1); -lean_inc(x_679); +lean_object* x_677; lean_object* x_678; lean_object* x_679; +x_677 = lean_ctor_get(x_668, 0); +x_678 = lean_ctor_get(x_668, 1); lean_inc(x_678); -lean_dec(x_669); -x_680 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_680, 0, x_678); -lean_ctor_set(x_680, 1, x_679); -return x_680; +lean_inc(x_677); +lean_dec(x_668); +x_679 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_679, 0, x_677); +lean_ctor_set(x_679, 1, x_678); +return x_679; } } } else { -uint8_t x_681; -x_681 = l_Array_isEmpty___rarg(x_4); -if (x_681 == 0) +uint8_t x_680; +x_680 = l_Array_isEmpty___rarg(x_4); +if (x_680 == 0) { -lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; -x_682 = lean_box(0); -x_683 = lean_box(x_643); -x_684 = lean_box(x_6); -x_685 = lean_box(x_7); -x_686 = lean_box(x_8); -x_687 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); -lean_closure_set(x_687, 0, x_1); -lean_closure_set(x_687, 1, x_682); -lean_closure_set(x_687, 2, x_683); -lean_closure_set(x_687, 3, x_2); -lean_closure_set(x_687, 4, x_3); -lean_closure_set(x_687, 5, x_4); -lean_closure_set(x_687, 6, x_5); -lean_closure_set(x_687, 7, x_684); -lean_closure_set(x_687, 8, x_685); -lean_closure_set(x_687, 9, x_686); -x_688 = l_Lean_Elab_Term_observing___rarg(x_687, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_688) == 0) +lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; +x_681 = lean_box(0); +x_682 = lean_box(x_642); +x_683 = lean_box(x_6); +x_684 = lean_box(x_7); +x_685 = lean_box(x_8); +x_686 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed), 17, 10); +lean_closure_set(x_686, 0, x_1); +lean_closure_set(x_686, 1, x_681); +lean_closure_set(x_686, 2, x_682); +lean_closure_set(x_686, 3, x_2); +lean_closure_set(x_686, 4, x_3); +lean_closure_set(x_686, 5, x_4); +lean_closure_set(x_686, 6, x_5); +lean_closure_set(x_686, 7, x_683); +lean_closure_set(x_686, 8, x_684); +lean_closure_set(x_686, 9, x_685); +x_687 = l_Lean_Elab_Term_observing___rarg(x_686, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_687) == 0) { -uint8_t x_689; -x_689 = !lean_is_exclusive(x_688); -if (x_689 == 0) +uint8_t x_688; +x_688 = !lean_is_exclusive(x_687); +if (x_688 == 0) { -lean_object* x_690; lean_object* x_691; -x_690 = lean_ctor_get(x_688, 0); -x_691 = lean_array_push(x_9, x_690); -lean_ctor_set(x_688, 0, x_691); -return x_688; +lean_object* x_689; lean_object* x_690; +x_689 = lean_ctor_get(x_687, 0); +x_690 = lean_array_push(x_9, x_689); +lean_ctor_set(x_687, 0, x_690); +return x_687; } else { -lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; -x_692 = lean_ctor_get(x_688, 0); -x_693 = lean_ctor_get(x_688, 1); -lean_inc(x_693); +lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; +x_691 = lean_ctor_get(x_687, 0); +x_692 = lean_ctor_get(x_687, 1); lean_inc(x_692); -lean_dec(x_688); -x_694 = lean_array_push(x_9, x_692); -x_695 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_695, 0, x_694); -lean_ctor_set(x_695, 1, x_693); -return x_695; +lean_inc(x_691); +lean_dec(x_687); +x_693 = lean_array_push(x_9, x_691); +x_694 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_694, 0, x_693); +lean_ctor_set(x_694, 1, x_692); +return x_694; } } else { -uint8_t x_696; +uint8_t x_695; lean_dec(x_9); -x_696 = !lean_is_exclusive(x_688); -if (x_696 == 0) +x_695 = !lean_is_exclusive(x_687); +if (x_695 == 0) { -return x_688; +return x_687; } else { -lean_object* x_697; lean_object* x_698; lean_object* x_699; -x_697 = lean_ctor_get(x_688, 0); -x_698 = lean_ctor_get(x_688, 1); -lean_inc(x_698); +lean_object* x_696; lean_object* x_697; lean_object* x_698; +x_696 = lean_ctor_get(x_687, 0); +x_697 = lean_ctor_get(x_687, 1); lean_inc(x_697); -lean_dec(x_688); -x_699 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_699, 0, x_697); -lean_ctor_set(x_699, 1, x_698); -return x_699; +lean_inc(x_696); +lean_dec(x_687); +x_698 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_698, 0, x_696); +lean_ctor_set(x_698, 1, x_697); +return x_698; } } } @@ -25310,42 +25308,42 @@ lean_dec(x_3); lean_dec(x_2); if (x_8 == 0) { -uint8_t x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; -x_700 = 1; -x_701 = lean_box(x_700); -x_702 = lean_box(x_700); -x_703 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); -lean_closure_set(x_703, 0, x_1); -lean_closure_set(x_703, 1, x_5); -lean_closure_set(x_703, 2, x_701); -lean_closure_set(x_703, 3, x_702); +uint8_t x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; +x_699 = 1; +x_700 = lean_box(x_699); +x_701 = lean_box(x_699); +x_702 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_702, 0, x_1); +lean_closure_set(x_702, 1, x_5); +lean_closure_set(x_702, 2, x_700); +lean_closure_set(x_702, 3, x_701); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_704 = l_Lean_Elab_Term_observing___rarg(x_703, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_704) == 0) +x_703 = l_Lean_Elab_Term_observing___rarg(x_702, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_703) == 0) { -lean_object* x_705; lean_object* x_706; lean_object* x_707; -x_705 = lean_ctor_get(x_704, 0); +lean_object* x_704; lean_object* x_705; lean_object* x_706; +x_704 = lean_ctor_get(x_703, 0); +lean_inc(x_704); +x_705 = lean_ctor_get(x_703, 1); lean_inc(x_705); -x_706 = lean_ctor_get(x_704, 1); -lean_inc(x_706); -lean_dec(x_704); -x_707 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_705, x_10, x_11, x_12, x_13, x_14, x_15, x_706); +lean_dec(x_703); +x_706 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_704, x_10, x_11, x_12, x_13, x_14, x_15, x_705); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_707; +return x_706; } else { -uint8_t x_708; +uint8_t x_707; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -25353,66 +25351,66 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_708 = !lean_is_exclusive(x_704); -if (x_708 == 0) +x_707 = !lean_is_exclusive(x_703); +if (x_707 == 0) { -return x_704; +return x_703; } else { -lean_object* x_709; lean_object* x_710; lean_object* x_711; -x_709 = lean_ctor_get(x_704, 0); -x_710 = lean_ctor_get(x_704, 1); -lean_inc(x_710); +lean_object* x_708; lean_object* x_709; lean_object* x_710; +x_708 = lean_ctor_get(x_703, 0); +x_709 = lean_ctor_get(x_703, 1); lean_inc(x_709); -lean_dec(x_704); -x_711 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_711, 0, x_709); -lean_ctor_set(x_711, 1, x_710); -return x_711; +lean_inc(x_708); +lean_dec(x_703); +x_710 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_710, 0, x_708); +lean_ctor_set(x_710, 1, x_709); +return x_710; } } } else { -lean_object* x_712; uint8_t x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; -x_712 = lean_box(0); -x_713 = 1; -x_714 = lean_box(x_643); -x_715 = lean_box(x_713); -x_716 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_716, 0, x_1); -lean_closure_set(x_716, 1, x_5); -lean_closure_set(x_716, 2, x_714); -lean_closure_set(x_716, 3, x_715); -lean_closure_set(x_716, 4, x_712); +lean_object* x_711; uint8_t x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; +x_711 = lean_box(0); +x_712 = 1; +x_713 = lean_box(x_642); +x_714 = lean_box(x_712); +x_715 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_715, 0, x_1); +lean_closure_set(x_715, 1, x_5); +lean_closure_set(x_715, 2, x_713); +lean_closure_set(x_715, 3, x_714); +lean_closure_set(x_715, 4, x_711); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_717 = l_Lean_Elab_Term_observing___rarg(x_716, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_717) == 0) +x_716 = l_Lean_Elab_Term_observing___rarg(x_715, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_716) == 0) { -lean_object* x_718; lean_object* x_719; lean_object* x_720; -x_718 = lean_ctor_get(x_717, 0); +lean_object* x_717; lean_object* x_718; lean_object* x_719; +x_717 = lean_ctor_get(x_716, 0); +lean_inc(x_717); +x_718 = lean_ctor_get(x_716, 1); lean_inc(x_718); -x_719 = lean_ctor_get(x_717, 1); -lean_inc(x_719); -lean_dec(x_717); -x_720 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_718, x_10, x_11, x_12, x_13, x_14, x_15, x_719); +lean_dec(x_716); +x_719 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2(x_9, x_717, x_10, x_11, x_12, x_13, x_14, x_15, x_718); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_720; +return x_719; } else { -uint8_t x_721; +uint8_t x_720; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -25420,23 +25418,23 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_721 = !lean_is_exclusive(x_717); -if (x_721 == 0) +x_720 = !lean_is_exclusive(x_716); +if (x_720 == 0) { -return x_717; +return x_716; } else { -lean_object* x_722; lean_object* x_723; lean_object* x_724; -x_722 = lean_ctor_get(x_717, 0); -x_723 = lean_ctor_get(x_717, 1); -lean_inc(x_723); +lean_object* x_721; lean_object* x_722; lean_object* x_723; +x_721 = lean_ctor_get(x_716, 0); +x_722 = lean_ctor_get(x_716, 1); lean_inc(x_722); -lean_dec(x_717); -x_724 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_724, 0, x_722); -lean_ctor_set(x_724, 1, x_723); -return x_724; +lean_inc(x_721); +lean_dec(x_716); +x_723 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_723, 0, x_721); +lean_ctor_set(x_723, 1, x_722); +return x_723; } } } @@ -25447,55 +25445,54 @@ return x_724; } else { -lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; +lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_dec(x_1); -x_728 = l_Lean_Syntax_getId(x_637); -x_729 = lean_erase_macro_scopes(x_728); -x_730 = l_Lean_Name_components(x_729); -lean_inc(x_635); -x_731 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(x_635, x_637, x_730); -x_732 = l_List_append___rarg(x_731, x_2); -x_1 = x_635; -x_2 = x_732; +x_727 = lean_box(0); +x_728 = l_Lean_Syntax_identComponents(x_636, x_727); +lean_inc(x_634); +x_729 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__4(x_634, x_728); +x_730 = l_List_append___rarg(x_729, x_2); +x_1 = x_634; +x_2 = x_730; goto _start; } } else { -lean_object* x_734; lean_object* x_735; +lean_object* x_732; lean_object* x_733; lean_dec(x_1); -x_734 = l_Lean_fieldIdxKind; -x_735 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_734, x_637); -if (lean_obj_tag(x_735) == 0) +x_732 = l_Lean_fieldIdxKind; +x_733 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_732, x_636); +if (lean_obj_tag(x_733) == 0) { -lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; -x_736 = l_instInhabitedNat; -x_737 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24; -x_738 = lean_panic_fn(x_736, x_737); -x_739 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_739, 0, x_637); -lean_ctor_set(x_739, 1, x_738); -x_740 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_740, 0, x_739); -lean_ctor_set(x_740, 1, x_2); -x_1 = x_635; -x_2 = x_740; +lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; +x_734 = l_instInhabitedNat; +x_735 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__24; +x_736 = lean_panic_fn(x_734, x_735); +x_737 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_737, 0, x_636); +lean_ctor_set(x_737, 1, x_736); +x_738 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_738, 0, x_737); +lean_ctor_set(x_738, 1, x_2); +x_1 = x_634; +x_2 = x_738; goto _start; } else { -lean_object* x_742; lean_object* x_743; lean_object* x_744; -x_742 = lean_ctor_get(x_735, 0); -lean_inc(x_742); -lean_dec(x_735); -x_743 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_743, 0, x_637); -lean_ctor_set(x_743, 1, x_742); -x_744 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_744, 0, x_743); -lean_ctor_set(x_744, 1, x_2); -x_1 = x_635; -x_2 = x_744; +lean_object* x_740; lean_object* x_741; lean_object* x_742; +x_740 = lean_ctor_get(x_733, 0); +lean_inc(x_740); +lean_dec(x_733); +x_741 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_741, 0, x_636); +lean_ctor_set(x_741, 1, x_740); +x_742 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_742, 0, x_741); +lean_ctor_set(x_742, 1, x_2); +x_1 = x_634; +x_2 = x_742; goto _start; } } @@ -25503,48 +25500,48 @@ goto _start; } else { -lean_object* x_746; lean_object* x_747; lean_object* x_748; uint8_t x_749; -x_746 = l_Lean_Syntax_getArgs(x_1); +lean_object* x_744; lean_object* x_745; lean_object* x_746; uint8_t x_747; +x_744 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_747 = lean_array_get_size(x_746); -x_748 = lean_unsigned_to_nat(0u); -x_749 = lean_nat_dec_lt(x_748, x_747); +x_745 = lean_array_get_size(x_744); +x_746 = lean_unsigned_to_nat(0u); +x_747 = lean_nat_dec_lt(x_746, x_745); +if (x_747 == 0) +{ +lean_object* x_748; +lean_dec(x_745); +lean_dec(x_744); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_748 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_748, 0, x_9); +lean_ctor_set(x_748, 1, x_16); +return x_748; +} +else +{ +uint8_t x_749; +x_749 = !lean_is_exclusive(x_10); if (x_749 == 0) { -lean_object* x_750; -lean_dec(x_747); -lean_dec(x_746); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_750 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_750, 0, x_9); -lean_ctor_set(x_750, 1, x_16); -return x_750; -} -else -{ -uint8_t x_751; -x_751 = !lean_is_exclusive(x_10); +uint8_t x_750; uint8_t x_751; +x_750 = 0; +lean_ctor_set_uint8(x_10, sizeof(void*)*8 + 1, x_750); +x_751 = lean_nat_dec_le(x_745, x_745); if (x_751 == 0) { -uint8_t x_752; uint8_t x_753; -x_752 = 0; -lean_ctor_set_uint8(x_10, sizeof(void*)*8 + 1, x_752); -x_753 = lean_nat_dec_le(x_747, x_747); -if (x_753 == 0) -{ -lean_object* x_754; +lean_object* x_752; lean_dec(x_10); -lean_dec(x_747); -lean_dec(x_746); +lean_dec(x_745); +lean_dec(x_744); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -25554,66 +25551,66 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_754 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_754, 0, x_9); -lean_ctor_set(x_754, 1, x_16); -return x_754; +x_752 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_752, 0, x_9); +lean_ctor_set(x_752, 1, x_16); +return x_752; } else { -size_t x_755; size_t x_756; lean_object* x_757; -x_755 = 0; -x_756 = lean_usize_of_nat(x_747); -lean_dec(x_747); -x_757 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_746, x_755, x_756, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_746); -return x_757; +size_t x_753; size_t x_754; lean_object* x_755; +x_753 = 0; +x_754 = lean_usize_of_nat(x_745); +lean_dec(x_745); +x_755 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_744, x_753, x_754, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_744); +return x_755; } } else { -lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; uint8_t x_763; uint8_t x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; uint8_t x_768; uint8_t x_769; lean_object* x_770; uint8_t x_771; -x_758 = lean_ctor_get(x_10, 0); -x_759 = lean_ctor_get(x_10, 1); -x_760 = lean_ctor_get(x_10, 2); -x_761 = lean_ctor_get(x_10, 3); -x_762 = lean_ctor_get(x_10, 4); -x_763 = lean_ctor_get_uint8(x_10, sizeof(void*)*8); -x_764 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 2); -x_765 = lean_ctor_get(x_10, 5); -x_766 = lean_ctor_get(x_10, 6); -x_767 = lean_ctor_get(x_10, 7); -x_768 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 3); -lean_inc(x_767); -lean_inc(x_766); +lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; uint8_t x_761; uint8_t x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; uint8_t x_766; uint8_t x_767; lean_object* x_768; uint8_t x_769; +x_756 = lean_ctor_get(x_10, 0); +x_757 = lean_ctor_get(x_10, 1); +x_758 = lean_ctor_get(x_10, 2); +x_759 = lean_ctor_get(x_10, 3); +x_760 = lean_ctor_get(x_10, 4); +x_761 = lean_ctor_get_uint8(x_10, sizeof(void*)*8); +x_762 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 2); +x_763 = lean_ctor_get(x_10, 5); +x_764 = lean_ctor_get(x_10, 6); +x_765 = lean_ctor_get(x_10, 7); +x_766 = lean_ctor_get_uint8(x_10, sizeof(void*)*8 + 3); lean_inc(x_765); -lean_inc(x_762); -lean_inc(x_761); +lean_inc(x_764); +lean_inc(x_763); lean_inc(x_760); lean_inc(x_759); lean_inc(x_758); +lean_inc(x_757); +lean_inc(x_756); lean_dec(x_10); -x_769 = 0; -x_770 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_770, 0, x_758); -lean_ctor_set(x_770, 1, x_759); -lean_ctor_set(x_770, 2, x_760); -lean_ctor_set(x_770, 3, x_761); -lean_ctor_set(x_770, 4, x_762); -lean_ctor_set(x_770, 5, x_765); -lean_ctor_set(x_770, 6, x_766); -lean_ctor_set(x_770, 7, x_767); -lean_ctor_set_uint8(x_770, sizeof(void*)*8, x_763); -lean_ctor_set_uint8(x_770, sizeof(void*)*8 + 1, x_769); -lean_ctor_set_uint8(x_770, sizeof(void*)*8 + 2, x_764); -lean_ctor_set_uint8(x_770, sizeof(void*)*8 + 3, x_768); -x_771 = lean_nat_dec_le(x_747, x_747); -if (x_771 == 0) +x_767 = 0; +x_768 = lean_alloc_ctor(0, 8, 4); +lean_ctor_set(x_768, 0, x_756); +lean_ctor_set(x_768, 1, x_757); +lean_ctor_set(x_768, 2, x_758); +lean_ctor_set(x_768, 3, x_759); +lean_ctor_set(x_768, 4, x_760); +lean_ctor_set(x_768, 5, x_763); +lean_ctor_set(x_768, 6, x_764); +lean_ctor_set(x_768, 7, x_765); +lean_ctor_set_uint8(x_768, sizeof(void*)*8, x_761); +lean_ctor_set_uint8(x_768, sizeof(void*)*8 + 1, x_767); +lean_ctor_set_uint8(x_768, sizeof(void*)*8 + 2, x_762); +lean_ctor_set_uint8(x_768, sizeof(void*)*8 + 3, x_766); +x_769 = lean_nat_dec_le(x_745, x_745); +if (x_769 == 0) { -lean_object* x_772; -lean_dec(x_770); -lean_dec(x_747); -lean_dec(x_746); +lean_object* x_770; +lean_dec(x_768); +lean_dec(x_745); +lean_dec(x_744); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -25623,20 +25620,20 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_772 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_772, 0, x_9); -lean_ctor_set(x_772, 1, x_16); -return x_772; +x_770 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_770, 0, x_9); +lean_ctor_set(x_770, 1, x_16); +return x_770; } else { -size_t x_773; size_t x_774; lean_object* x_775; -x_773 = 0; -x_774 = lean_usize_of_nat(x_747); -lean_dec(x_747); -x_775 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_746, x_773, x_774, x_9, x_770, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_746); -return x_775; +size_t x_771; size_t x_772; lean_object* x_773; +x_771 = 0; +x_772 = lean_usize_of_nat(x_745); +lean_dec(x_745); +x_773 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_744, x_771, x_772, x_9, x_768, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_744); +return x_773; } } } diff --git a/stage0/stdlib/Lean/Elab/AutoBound.c b/stage0/stdlib/Lean/Elab/AutoBound.c index 9fbba50556..e2479f5b7e 100644 --- a/stage0/stdlib/Lean/Elab/AutoBound.c +++ b/stage0/stdlib/Lean/Elab/AutoBound.c @@ -22,7 +22,6 @@ lean_object* l_Lean_Elab_autoBoundImplicitLocal; uint8_t l_Char_isDigit(uint32_t); 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___private_Init_Data_String_Basic_0__Substring_nextn(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____closed__3; lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -32,6 +31,7 @@ static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____clo static lean_object* l_Lean_Elab_autoBoundImplicitLocal___closed__1; uint32_t lean_string_utf8_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____closed__2; +lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_AutoBound_0__Lean_Elab_isValidAutoBoundSuffix___lambda__1___boxed(lean_object*); lean_object* l_Lean_Elab_isValidAutoBoundImplicitName_match__1(lean_object*); static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____closed__4; @@ -279,7 +279,7 @@ lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_3); lean_ctor_set(x_4, 2, x_2); x_5 = lean_unsigned_to_nat(1u); -x_6 = l___private_Init_Data_String_Basic_0__Substring_nextn(x_4, x_5, x_3); +x_6 = l_Substring_nextn(x_4, x_5, x_3); lean_dec(x_4); x_7 = lean_nat_add(x_3, x_6); lean_dec(x_6); diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 7d08a2af92..81cd319e20 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -79,7 +79,7 @@ static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__4; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__29; lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f___spec__2(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__5; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__5; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*); static lean_object* l_Lean_Elab_Term_elabArrow___closed__2; @@ -272,8 +272,8 @@ lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5605_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5599_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086_(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__4; lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__20; @@ -355,14 +355,13 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecl uint8_t l_Array_isEmpty___rarg(lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__2; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType_match__2(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__1; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__7; uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__1; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__14; @@ -400,6 +399,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__3(lean_object lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__3; extern lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl___closed__2; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_identKind; @@ -455,7 +455,7 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagat lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls_loop_match__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; -lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl___closed__1; lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__31; @@ -529,6 +529,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4___b lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews___rarg(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_precheckFun(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__3; lean_object* l_Lean_Elab_Term_mkLetIdDeclView(lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__16; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; @@ -543,7 +544,6 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Binders_0_ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__3___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__3; static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__8; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__11; lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl(lean_object*); @@ -592,7 +592,6 @@ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__34; lean_object* l_Lean_Elab_Term_expandWhereDeclsOpt(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1___rarg___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getMatchAltsNumPatterns___boxed(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__4; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__1; @@ -603,6 +602,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Ela static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__13; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__3___rarg___closed__1; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__27; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__4; static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__10; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__9; @@ -4265,35 +4265,41 @@ x_45 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(x_44, x_2, x lean_dec(x_44); if (lean_obj_tag(x_45) == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; size_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_object* x_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; size_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); lean_dec(x_45); -x_48 = lean_unsigned_to_nat(2u); -x_49 = l_Lean_Syntax_getArg(x_1, x_48); -x_50 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(x_1, x_49); -lean_dec(x_49); +x_48 = l_Lean_nullKind; +lean_inc(x_46); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_46); +x_50 = lean_unsigned_to_nat(2u); +x_51 = l_Lean_Syntax_getArg(x_1, x_50); lean_dec(x_1); -x_51 = lean_array_get_size(x_46); -x_52 = lean_usize_of_nat(x_51); +x_52 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(x_49, x_51); lean_dec(x_51); -x_53 = x_46; -x_54 = lean_box_usize(x_52); -x_55 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; -x_56 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__2___boxed), 11, 4); -lean_closure_set(x_56, 0, x_50); -lean_closure_set(x_56, 1, x_54); -lean_closure_set(x_56, 2, x_55); -lean_closure_set(x_56, 3, x_53); -x_57 = x_56; -x_58 = lean_apply_7(x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_47); -return x_58; +lean_dec(x_49); +x_53 = lean_array_get_size(x_46); +x_54 = lean_usize_of_nat(x_53); +lean_dec(x_53); +x_55 = x_46; +x_56 = lean_box_usize(x_54); +x_57 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; +x_58 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__2___boxed), 11, 4); +lean_closure_set(x_58, 0, x_52); +lean_closure_set(x_58, 1, x_56); +lean_closure_set(x_58, 2, x_57); +lean_closure_set(x_58, 3, x_55); +x_59 = x_58; +x_60 = lean_apply_7(x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_47); +return x_60; } else { -uint8_t x_59; +uint8_t x_61; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4301,55 +4307,61 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_59 = !lean_is_exclusive(x_45); -if (x_59 == 0) +x_61 = !lean_is_exclusive(x_45); +if (x_61 == 0) { return x_45; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_45, 0); -x_61 = lean_ctor_get(x_45, 1); -lean_inc(x_61); -lean_inc(x_60); +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_45, 0); +x_63 = lean_ctor_get(x_45, 1); +lean_inc(x_63); +lean_inc(x_62); lean_dec(x_45); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; } } } } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_dec(x_9); -x_63 = lean_unsigned_to_nat(1u); -x_64 = l_Lean_Syntax_getArg(x_1, x_63); +x_65 = lean_unsigned_to_nat(1u); +x_66 = l_Lean_Syntax_getArg(x_1, x_65); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_65 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(x_64, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_64); -if (lean_obj_tag(x_65) == 0) +x_67 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_66); +if (lean_obj_tag(x_67) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -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_unsigned_to_nat(2u); -x_69 = l_Lean_Syntax_getArg(x_1, x_68); -x_70 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(x_1, x_69); -lean_dec(x_69); -x_71 = lean_unsigned_to_nat(3u); -x_72 = l_Lean_Syntax_getArg(x_1, x_71); +lean_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_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = l_Lean_nullKind; +lean_inc(x_68); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_68); +x_72 = lean_unsigned_to_nat(2u); +x_73 = l_Lean_Syntax_getArg(x_1, x_72); +x_74 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(x_71, x_73); +lean_dec(x_73); +lean_dec(x_71); +x_75 = lean_unsigned_to_nat(3u); +x_76 = l_Lean_Syntax_getArg(x_1, x_75); lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); @@ -4357,84 +4369,54 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_73 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier(x_70, x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_67); -lean_dec(x_72); -if (lean_obj_tag(x_73) == 0) -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; size_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_76 = lean_array_get_size(x_66); -x_77 = lean_usize_of_nat(x_76); +x_77 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier(x_74, x_76, x_2, x_3, x_4, x_5, x_6, x_7, x_69); lean_dec(x_76); -x_78 = x_66; -x_79 = lean_box_usize(x_77); -x_80 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; -x_81 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__3___boxed), 11, 4); -lean_closure_set(x_81, 0, x_74); -lean_closure_set(x_81, 1, x_79); -lean_closure_set(x_81, 2, x_80); -lean_closure_set(x_81, 3, x_78); -x_82 = x_81; -x_83 = lean_apply_7(x_82, x_2, x_3, x_4, x_5, x_6, x_7, x_75); -return x_83; -} -else +if (lean_obj_tag(x_77) == 0) { -uint8_t x_84; -lean_dec(x_66); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_84 = !lean_is_exclusive(x_73); -if (x_84 == 0) -{ -return x_73; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_73, 0); -x_86 = lean_ctor_get(x_73, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_73); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); +lean_object* x_78; lean_object* x_79; lean_object* 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; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = lean_array_get_size(x_68); +x_81 = lean_usize_of_nat(x_80); +lean_dec(x_80); +x_82 = x_68; +x_83 = lean_box_usize(x_81); +x_84 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; +x_85 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__3___boxed), 11, 4); +lean_closure_set(x_85, 0, x_78); +lean_closure_set(x_85, 1, x_83); +lean_closure_set(x_85, 2, x_84); +lean_closure_set(x_85, 3, x_82); +x_86 = x_85; +x_87 = lean_apply_7(x_86, x_2, x_3, x_4, x_5, x_6, x_7, x_79); return x_87; } -} -} else { uint8_t x_88; +lean_dec(x_68); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_88 = !lean_is_exclusive(x_65); +x_88 = !lean_is_exclusive(x_77); if (x_88 == 0) { -return x_65; +return x_77; } else { lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_65, 0); -x_90 = lean_ctor_get(x_65, 1); +x_89 = lean_ctor_get(x_77, 0); +x_90 = lean_ctor_get(x_77, 1); lean_inc(x_90); lean_inc(x_89); -lean_dec(x_65); +lean_dec(x_77); x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_89); lean_ctor_set(x_91, 1, x_90); @@ -4442,52 +4424,9 @@ return x_91; } } } -} else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -lean_dec(x_9); -x_92 = lean_unsigned_to_nat(0u); -x_93 = l_Lean_Syntax_getArg(x_1, x_92); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_94 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(x_93, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_93); -if (lean_obj_tag(x_94) == 0) -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; size_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_unsigned_to_nat(1u); -x_98 = l_Lean_Syntax_getArg(x_1, x_97); -x_99 = l_Lean_Elab_Term_expandOptType(x_1, x_98); -lean_dec(x_98); -lean_dec(x_1); -x_100 = lean_array_get_size(x_95); -x_101 = lean_usize_of_nat(x_100); -lean_dec(x_100); -x_102 = x_95; -x_103 = lean_box_usize(x_101); -x_104 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; -x_105 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__4___boxed), 11, 4); -lean_closure_set(x_105, 0, x_99); -lean_closure_set(x_105, 1, x_103); -lean_closure_set(x_105, 2, x_104); -lean_closure_set(x_105, 3, x_102); -x_106 = x_105; -x_107 = lean_apply_7(x_106, x_2, x_3, x_4, x_5, x_6, x_7, x_96); -return x_107; -} -else -{ -uint8_t x_108; +uint8_t x_92; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4495,23 +4434,102 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_108 = !lean_is_exclusive(x_94); -if (x_108 == 0) +x_92 = !lean_is_exclusive(x_67); +if (x_92 == 0) { -return x_94; +return x_67; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_94, 0); -x_110 = lean_ctor_get(x_94, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_94); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -return x_111; +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_67, 0); +x_94 = lean_ctor_get(x_67, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_67); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +return x_95; +} +} +} +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +lean_dec(x_9); +x_96 = lean_unsigned_to_nat(0u); +x_97 = l_Lean_Syntax_getArg(x_1, x_96); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_98 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(x_97, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_97); +if (lean_obj_tag(x_98) == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; size_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = l_Lean_nullKind; +lean_inc(x_99); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_99); +x_103 = lean_unsigned_to_nat(1u); +x_104 = l_Lean_Syntax_getArg(x_1, x_103); +lean_dec(x_1); +x_105 = l_Lean_Elab_Term_expandOptType(x_102, x_104); +lean_dec(x_104); +lean_dec(x_102); +x_106 = lean_array_get_size(x_99); +x_107 = lean_usize_of_nat(x_106); +lean_dec(x_106); +x_108 = x_99; +x_109 = lean_box_usize(x_107); +x_110 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; +x_111 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__4___boxed), 11, 4); +lean_closure_set(x_111, 0, x_105); +lean_closure_set(x_111, 1, x_109); +lean_closure_set(x_111, 2, x_110); +lean_closure_set(x_111, 3, x_108); +x_112 = x_111; +x_113 = lean_apply_7(x_112, x_2, x_3, x_4, x_5, x_6, x_7, x_100); +return x_113; +} +else +{ +uint8_t x_114; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_114 = !lean_is_exclusive(x_98); +if (x_114 == 0) +{ +return x_98; +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_98, 0); +x_116 = lean_ctor_get(x_98, 1); +lean_inc(x_116); +lean_inc(x_115); +lean_dec(x_98); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_115); +lean_ctor_set(x_117, 1, x_116); +return x_117; } } } @@ -4622,15 +4640,12 @@ return x_10; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_5, 1); -lean_inc(x_10); +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_10 = lean_box(0); x_11 = lean_box(0); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_10); -x_13 = lean_box(0); -x_14 = l_Lean_Elab_Term_addTermInfo(x_1, x_2, x_11, x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_14; +x_12 = 1; +x_13 = l_Lean_Elab_Term_addTermInfo(x_1, x_2, x_10, x_10, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_13; } } static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__1() { @@ -4718,7 +4733,7 @@ lean_dec(x_1); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__1() { _start: { lean_object* x_1; @@ -4726,17 +4741,17 @@ x_1 = lean_mk_string("checkBinderAnnotations"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__3() { _start: { lean_object* x_1; @@ -4744,7 +4759,7 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__4() { _start: { lean_object* x_1; @@ -4752,13 +4767,13 @@ x_1 = lean_mk_string("check whether type is a class instance whenever the binder return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__5() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__3; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__4; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -4767,12 +4782,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__5; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -17651,7 +17666,7 @@ lean_inc(x_1); x_15 = l_Lean_Elab_Term_elabType(x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_15) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -17694,6 +17709,7 @@ lean_inc(x_31); x_33 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_33, 0, x_31); x_34 = lean_box(0); +x_35 = 1; lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); @@ -17702,204 +17718,204 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_23); lean_inc(x_28); -x_35 = l_Lean_Elab_Term_addTermInfo(x_28, x_23, x_32, x_33, x_34, x_8, x_9, x_10, x_11, x_12, x_13, x_22); -if (lean_obj_tag(x_35) == 0) +x_36 = l_Lean_Elab_Term_addTermInfo(x_28, x_23, x_32, x_33, x_34, x_35, x_8, x_9, x_10, x_11, x_12, x_13, x_22); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = lean_ctor_get(x_12, 0); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_37 = lean_ctor_get(x_36, 1); lean_inc(x_37); -x_38 = lean_ctor_get(x_12, 1); +lean_dec(x_36); +x_38 = lean_ctor_get(x_12, 0); lean_inc(x_38); -x_39 = lean_ctor_get(x_12, 2); +x_39 = lean_ctor_get(x_12, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_12, 3); +x_40 = lean_ctor_get(x_12, 2); lean_inc(x_40); -x_41 = lean_ctor_get(x_12, 4); +x_41 = lean_ctor_get(x_12, 3); lean_inc(x_41); -x_42 = lean_ctor_get(x_12, 5); +x_42 = lean_ctor_get(x_12, 4); lean_inc(x_42); -x_43 = lean_ctor_get(x_12, 6); +x_43 = lean_ctor_get(x_12, 5); lean_inc(x_43); -x_44 = lean_ctor_get(x_12, 7); +x_44 = lean_ctor_get(x_12, 6); lean_inc(x_44); -x_45 = l_Lean_replaceRef(x_28, x_40); -lean_dec(x_40); +x_45 = lean_ctor_get(x_12, 7); +lean_inc(x_45); +x_46 = l_Lean_replaceRef(x_28, x_41); +lean_dec(x_41); lean_dec(x_28); -x_46 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_46, 0, x_37); -lean_ctor_set(x_46, 1, x_38); -lean_ctor_set(x_46, 2, x_39); -lean_ctor_set(x_46, 3, x_45); -lean_ctor_set(x_46, 4, x_41); -lean_ctor_set(x_46, 5, x_42); -lean_ctor_set(x_46, 6, x_43); -lean_ctor_set(x_46, 7, x_44); +x_47 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_47, 0, x_38); +lean_ctor_set(x_47, 1, x_39); +lean_ctor_set(x_47, 2, x_40); +lean_ctor_set(x_47, 3, x_46); +lean_ctor_set(x_47, 4, x_42); +lean_ctor_set(x_47, 5, x_43); +lean_ctor_set(x_47, 6, x_44); +lean_ctor_set(x_47, 7, x_45); lean_inc(x_13); lean_inc(x_11); lean_inc(x_10); lean_inc(x_16); -x_47 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType(x_23, x_16, x_27, x_8, x_9, x_10, x_11, x_46, x_13, x_36); -if (lean_obj_tag(x_47) == 0) +x_48 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType(x_23, x_16, x_27, x_8, x_9, x_10, x_11, x_47, x_13, x_37); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); +lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_49 = lean_ctor_get(x_48, 0); lean_inc(x_49); -lean_dec(x_47); -x_50 = !lean_is_exclusive(x_48); -if (x_50 == 0) +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = !lean_is_exclusive(x_49); +if (x_51 == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_51 = lean_ctor_get(x_48, 0); -x_52 = lean_ctor_get(x_48, 2); -x_53 = lean_ctor_get(x_48, 3); -x_54 = lean_ctor_get(x_48, 1); -lean_dec(x_54); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_52 = lean_ctor_get(x_49, 0); +x_53 = lean_ctor_get(x_49, 2); +x_54 = lean_ctor_get(x_49, 3); +x_55 = lean_ctor_get(x_49, 1); +lean_dec(x_55); +lean_inc(x_54); lean_inc(x_53); -lean_inc(x_52); lean_inc(x_31); -lean_inc(x_51); -lean_ctor_set(x_48, 1, x_31); +lean_inc(x_52); +lean_ctor_set(x_49, 1, x_31); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_55 = l_Lean_Meta_isClass_x3f(x_16, x_10, x_11, x_12, x_13, x_49); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); +x_56 = l_Lean_Meta_isClass_x3f(x_16, x_10, x_11, x_12, x_13, x_50); if (lean_obj_tag(x_56) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_object* x_57; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_54); lean_dec(x_53); lean_dec(x_52); -lean_dec(x_51); lean_dec(x_31); lean_dec(x_23); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = lean_unsigned_to_nat(1u); -x_59 = lean_nat_add(x_6, x_58); -x_60 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_59, x_48, x_8, x_9, x_10, x_11, x_12, x_13, x_57); -return x_60; +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = lean_unsigned_to_nat(1u); +x_60 = lean_nat_add(x_6, x_59); +x_61 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_60, x_49, x_8, x_9, x_10, x_11, x_12, x_13, x_58); +return x_61; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -lean_dec(x_48); -x_61 = lean_ctor_get(x_55, 1); -lean_inc(x_61); -lean_dec(x_55); -x_62 = lean_ctor_get(x_56, 0); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_49); +x_62 = lean_ctor_get(x_56, 1); lean_inc(x_62); lean_dec(x_56); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_23); -x_64 = lean_array_push(x_52, x_63); -x_65 = lean_unsigned_to_nat(1u); -x_66 = lean_nat_add(x_6, x_65); -x_67 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_67, 0, x_51); -lean_ctor_set(x_67, 1, x_31); -lean_ctor_set(x_67, 2, x_64); -lean_ctor_set(x_67, 3, x_53); -x_68 = l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(x_11, x_12, x_13, x_61); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); +x_63 = lean_ctor_get(x_57, 0); +lean_inc(x_63); +lean_dec(x_57); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_23); +x_65 = lean_array_push(x_53, x_64); +x_66 = lean_unsigned_to_nat(1u); +x_67 = lean_nat_add(x_6, x_66); +x_68 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_68, 0, x_52); +lean_ctor_set(x_68, 1, x_31); +lean_ctor_set(x_68, 2, x_65); +lean_ctor_set(x_68, 3, x_54); +x_69 = l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(x_11, x_12, x_13, x_62); +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -lean_dec(x_68); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_71 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_66, x_67, x_8, x_9, x_10, x_11, x_12, x_13, x_70); -if (lean_obj_tag(x_71) == 0) +x_72 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_67, x_68, x_8, x_9, x_10, x_11, x_12, x_13, x_71); +if (lean_obj_tag(x_72) == 0) { -lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); +lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); -lean_dec(x_71); -x_74 = l_Lean_Meta_restoreSynthInstanceCache(x_69, x_10, x_11, x_12, x_13, x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = l_Lean_Meta_restoreSynthInstanceCache(x_70, x_10, x_11, x_12, x_13, x_74); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) +x_76 = !lean_is_exclusive(x_75); +if (x_76 == 0) { -lean_object* x_76; -x_76 = lean_ctor_get(x_74, 0); -lean_dec(x_76); -lean_ctor_set(x_74, 0, x_72); -return x_74; +lean_object* x_77; +x_77 = lean_ctor_get(x_75, 0); +lean_dec(x_77); +lean_ctor_set(x_75, 0, x_73); +return x_75; } else { -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_74, 1); -lean_inc(x_77); -lean_dec(x_74); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_72); -lean_ctor_set(x_78, 1, x_77); -return x_78; +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_75, 1); +lean_inc(x_78); +lean_dec(x_75); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_73); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_79 = lean_ctor_get(x_71, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_71, 1); +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_80 = lean_ctor_get(x_72, 0); lean_inc(x_80); -lean_dec(x_71); -x_81 = l_Lean_Meta_restoreSynthInstanceCache(x_69, x_10, x_11, x_12, x_13, x_80); +x_81 = lean_ctor_get(x_72, 1); +lean_inc(x_81); +lean_dec(x_72); +x_82 = l_Lean_Meta_restoreSynthInstanceCache(x_70, x_10, x_11, x_12, x_13, x_81); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_82 = !lean_is_exclusive(x_81); -if (x_82 == 0) +x_83 = !lean_is_exclusive(x_82); +if (x_83 == 0) { -lean_object* x_83; -x_83 = lean_ctor_get(x_81, 0); -lean_dec(x_83); -lean_ctor_set_tag(x_81, 1); -lean_ctor_set(x_81, 0, x_79); -return x_81; +lean_object* x_84; +x_84 = lean_ctor_get(x_82, 0); +lean_dec(x_84); +lean_ctor_set_tag(x_82, 1); +lean_ctor_set(x_82, 0, x_80); +return x_82; } else { -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_81, 1); -lean_inc(x_84); -lean_dec(x_81); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_79); -lean_ctor_set(x_85, 1, x_84); -return x_85; +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +lean_dec(x_82); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_80); +lean_ctor_set(x_86, 1, x_85); +return x_86; } } } } else { -uint8_t x_86; -lean_dec(x_48); +uint8_t x_87; +lean_dec(x_49); +lean_dec(x_54); lean_dec(x_53); lean_dec(x_52); -lean_dec(x_51); lean_dec(x_31); lean_dec(x_23); lean_dec(x_13); @@ -17909,177 +17925,177 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_86 = !lean_is_exclusive(x_55); -if (x_86 == 0) +x_87 = !lean_is_exclusive(x_56); +if (x_87 == 0) { -return x_55; +return x_56; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_55, 0); -x_88 = lean_ctor_get(x_55, 1); +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_56, 0); +x_89 = lean_ctor_get(x_56, 1); +lean_inc(x_89); lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_55); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; +lean_dec(x_56); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; } } } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_90 = lean_ctor_get(x_48, 0); -x_91 = lean_ctor_get(x_48, 2); -x_92 = lean_ctor_get(x_48, 3); +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_91 = lean_ctor_get(x_49, 0); +x_92 = lean_ctor_get(x_49, 2); +x_93 = lean_ctor_get(x_49, 3); +lean_inc(x_93); lean_inc(x_92); lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_48); +lean_dec(x_49); +lean_inc(x_93); lean_inc(x_92); -lean_inc(x_91); lean_inc(x_31); -lean_inc(x_90); -x_93 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_31); -lean_ctor_set(x_93, 2, x_91); -lean_ctor_set(x_93, 3, x_92); +lean_inc(x_91); +x_94 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_94, 0, x_91); +lean_ctor_set(x_94, 1, x_31); +lean_ctor_set(x_94, 2, x_92); +lean_ctor_set(x_94, 3, x_93); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_94 = l_Lean_Meta_isClass_x3f(x_16, x_10, x_11, x_12, x_13, x_49); -if (lean_obj_tag(x_94) == 0) -{ -lean_object* x_95; -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); +x_95 = l_Lean_Meta_isClass_x3f(x_16, x_10, x_11, x_12, x_13, x_50); if (lean_obj_tag(x_95) == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_object* x_96; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_93); lean_dec(x_92); lean_dec(x_91); -lean_dec(x_90); lean_dec(x_31); lean_dec(x_23); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_unsigned_to_nat(1u); -x_98 = lean_nat_add(x_6, x_97); -x_99 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_98, x_93, x_8, x_9, x_10, x_11, x_12, x_13, x_96); -return x_99; +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = lean_unsigned_to_nat(1u); +x_99 = lean_nat_add(x_6, x_98); +x_100 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_99, x_94, x_8, x_9, x_10, x_11, x_12, x_13, x_97); +return x_100; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -lean_dec(x_93); -x_100 = lean_ctor_get(x_94, 1); -lean_inc(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_dec(x_94); -x_101 = lean_ctor_get(x_95, 0); +x_101 = lean_ctor_get(x_95, 1); lean_inc(x_101); lean_dec(x_95); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_23); -x_103 = lean_array_push(x_91, x_102); -x_104 = lean_unsigned_to_nat(1u); -x_105 = lean_nat_add(x_6, x_104); -x_106 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_106, 0, x_90); -lean_ctor_set(x_106, 1, x_31); -lean_ctor_set(x_106, 2, x_103); -lean_ctor_set(x_106, 3, x_92); -x_107 = l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(x_11, x_12, x_13, x_100); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); +x_102 = lean_ctor_get(x_96, 0); +lean_inc(x_102); +lean_dec(x_96); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_23); +x_104 = lean_array_push(x_92, x_103); +x_105 = lean_unsigned_to_nat(1u); +x_106 = lean_nat_add(x_6, x_105); +x_107 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_107, 0, x_91); +lean_ctor_set(x_107, 1, x_31); +lean_ctor_set(x_107, 2, x_104); +lean_ctor_set(x_107, 3, x_93); +x_108 = l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(x_11, x_12, x_13, x_101); +x_109 = lean_ctor_get(x_108, 0); lean_inc(x_109); -lean_dec(x_107); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec(x_108); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_110 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_105, x_106, x_8, x_9, x_10, x_11, x_12, x_13, x_109); -if (lean_obj_tag(x_110) == 0) +x_111 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_106, x_107, x_8, x_9, x_10, x_11, x_12, x_13, x_110); +if (lean_obj_tag(x_111) == 0) { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_112 = lean_ctor_get(x_111, 0); lean_inc(x_112); -lean_dec(x_110); -x_113 = l_Lean_Meta_restoreSynthInstanceCache(x_108, x_10, x_11, x_12, x_13, x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = l_Lean_Meta_restoreSynthInstanceCache(x_109, x_10, x_11, x_12, x_13, x_113); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_115 = x_113; +x_115 = lean_ctor_get(x_114, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_116 = x_114; } else { - lean_dec_ref(x_113); - x_115 = lean_box(0); + lean_dec_ref(x_114); + x_116 = lean_box(0); } -if (lean_is_scalar(x_115)) { - x_116 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_116)) { + x_117 = lean_alloc_ctor(0, 2, 0); } else { - x_116 = x_115; + x_117 = x_116; } -lean_ctor_set(x_116, 0, x_111); -lean_ctor_set(x_116, 1, x_114); -return x_116; +lean_ctor_set(x_117, 0, x_112); +lean_ctor_set(x_117, 1, x_115); +return x_117; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_117 = lean_ctor_get(x_110, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_110, 1); +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_118 = lean_ctor_get(x_111, 0); lean_inc(x_118); -lean_dec(x_110); -x_119 = l_Lean_Meta_restoreSynthInstanceCache(x_108, x_10, x_11, x_12, x_13, x_118); +x_119 = lean_ctor_get(x_111, 1); +lean_inc(x_119); +lean_dec(x_111); +x_120 = l_Lean_Meta_restoreSynthInstanceCache(x_109, x_10, x_11, x_12, x_13, x_119); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_120 = lean_ctor_get(x_119, 1); -lean_inc(x_120); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_121 = x_119; +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_122 = x_120; } else { - lean_dec_ref(x_119); - x_121 = lean_box(0); + lean_dec_ref(x_120); + x_122 = lean_box(0); } -if (lean_is_scalar(x_121)) { - x_122 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); } else { - x_122 = x_121; - lean_ctor_set_tag(x_122, 1); + x_123 = x_122; + lean_ctor_set_tag(x_123, 1); } -lean_ctor_set(x_122, 0, x_117); -lean_ctor_set(x_122, 1, x_120); -return x_122; +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_121); +return x_123; } } } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_dec(x_94); lean_dec(x_93); lean_dec(x_92); lean_dec(x_91); -lean_dec(x_90); lean_dec(x_31); lean_dec(x_23); lean_dec(x_13); @@ -18089,32 +18105,32 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_123 = lean_ctor_get(x_94, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_94, 1); +x_124 = lean_ctor_get(x_95, 0); lean_inc(x_124); -if (lean_is_exclusive(x_94)) { - lean_ctor_release(x_94, 0); - lean_ctor_release(x_94, 1); - x_125 = x_94; +x_125 = lean_ctor_get(x_95, 1); +lean_inc(x_125); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_126 = x_95; } else { - lean_dec_ref(x_94); - x_125 = lean_box(0); + lean_dec_ref(x_95); + x_126 = lean_box(0); } -if (lean_is_scalar(x_125)) { - x_126 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_126)) { + x_127 = lean_alloc_ctor(1, 2, 0); } else { - x_126 = x_125; + x_127 = x_126; } -lean_ctor_set(x_126, 0, x_123); -lean_ctor_set(x_126, 1, x_124); -return x_126; +lean_ctor_set(x_127, 0, x_124); +lean_ctor_set(x_127, 1, x_125); +return x_127; } } } else { -uint8_t x_127; +uint8_t x_128; lean_dec(x_31); lean_dec(x_23); lean_dec(x_16); @@ -18125,29 +18141,29 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_127 = !lean_is_exclusive(x_47); -if (x_127 == 0) +x_128 = !lean_is_exclusive(x_48); +if (x_128 == 0) { -return x_47; +return x_48; } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_128 = lean_ctor_get(x_47, 0); -x_129 = lean_ctor_get(x_47, 1); +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_ctor_get(x_48, 0); +x_130 = lean_ctor_get(x_48, 1); +lean_inc(x_130); lean_inc(x_129); -lean_inc(x_128); -lean_dec(x_47); -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_128); -lean_ctor_set(x_130, 1, x_129); -return x_130; +lean_dec(x_48); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +return x_131; } } } else { -uint8_t x_131; +uint8_t x_132; lean_dec(x_31); lean_dec(x_28); lean_dec(x_27); @@ -18160,29 +18176,29 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_131 = !lean_is_exclusive(x_35); -if (x_131 == 0) +x_132 = !lean_is_exclusive(x_36); +if (x_132 == 0) { -return x_35; +return x_36; } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_35, 0); -x_133 = lean_ctor_get(x_35, 1); +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_36, 0); +x_134 = lean_ctor_get(x_36, 1); +lean_inc(x_134); lean_inc(x_133); -lean_inc(x_132); -lean_dec(x_35); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -return x_134; +lean_dec(x_36); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +return x_135; } } } else { -uint8_t x_135; +uint8_t x_136; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -18195,23 +18211,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_135 = !lean_is_exclusive(x_15); -if (x_135 == 0) +x_136 = !lean_is_exclusive(x_15); +if (x_136 == 0) { return x_15; } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_15, 0); -x_137 = lean_ctor_get(x_15, 1); +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_15, 0); +x_138 = lean_ctor_get(x_15, 1); +lean_inc(x_138); lean_inc(x_137); -lean_inc(x_136); lean_dec(x_15); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +return x_139; } } } @@ -24311,7 +24327,7 @@ static lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__3; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -24600,7 +24616,7 @@ x_6 = l_Lean_Syntax_getArgs(x_5); lean_dec(x_5); x_7 = lean_unsigned_to_nat(2u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = l_Lean_Elab_Term_expandOptType(x_1, x_8); +x_9 = l_Lean_Elab_Term_expandOptType(x_3, x_8); lean_dec(x_8); x_10 = lean_unsigned_to_nat(4u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); @@ -25298,7 +25314,7 @@ lean_dec(x_13); x_41 = l_Lean_Syntax_getArg(x_15, x_14); x_42 = lean_unsigned_to_nat(2u); x_43 = l_Lean_Syntax_getArg(x_15, x_42); -x_44 = l_Lean_Elab_Term_expandOptType(x_1, x_43); +x_44 = l_Lean_Elab_Term_expandOptType(x_41, x_43); lean_dec(x_43); x_45 = lean_unsigned_to_nat(4u); x_46 = l_Lean_Syntax_getArg(x_15, x_45); @@ -25718,7 +25734,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5605_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5599_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -25966,19 +25982,19 @@ l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed_ lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__3); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4(); lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093____closed__5); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086____closed__5); l_Lean_Elab_Term_checkBinderAnnotations___closed__1 = _init_l_Lean_Elab_Term_checkBinderAnnotations___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_checkBinderAnnotations___closed__1); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1093_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1086_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_checkBinderAnnotations = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_checkBinderAnnotations); @@ -26268,7 +26284,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl___closed__ res = l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5605_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5599_(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/BuiltinTerm.c b/stage0/stdlib/Lean/Elab/BuiltinTerm.c index fccbf35bdd..eeb8714963 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinTerm.c +++ b/stage0/stdlib/Lean/Elab/BuiltinTerm.c @@ -4935,7 +4935,7 @@ lean_inc(x_12); x_25 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_24); if (lean_obj_tag(x_25) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); @@ -4946,90 +4946,92 @@ x_29 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_1); x_30 = l_Lean_LocalContext_empty; -x_31 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set(x_31, 2, x_3); -lean_ctor_set(x_31, 3, x_26); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +x_31 = 0; +x_32 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_3); +lean_ctor_set(x_32, 3, x_26); +lean_ctor_set_uint8(x_32, sizeof(void*)*4, x_31); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_33, x_4, x_5, x_6, x_7, x_8, x_9, x_27); lean_dec(x_8); lean_dec(x_4); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) { -lean_object* x_35; -x_35 = lean_ctor_get(x_33, 0); -lean_dec(x_35); -lean_ctor_set(x_33, 0, x_12); -return x_33; +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_dec(x_36); +lean_ctor_set(x_34, 0, x_12); +return x_34; } else { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_12); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_dec(x_34); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_12); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } else { -uint8_t x_38; +uint8_t x_39; lean_dec(x_12); lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_25); -if (x_38 == 0) +x_39 = !lean_is_exclusive(x_25); +if (x_39 == 0) { return x_25; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_25, 0); -x_40 = lean_ctor_get(x_25, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_25, 0); +x_41 = lean_ctor_get(x_25, 1); +lean_inc(x_41); lean_inc(x_40); -lean_inc(x_39); lean_dec(x_25); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } } else { -uint8_t x_42; +uint8_t x_43; lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_11); -if (x_42 == 0) +x_43 = !lean_is_exclusive(x_11); +if (x_43 == 0) { return x_11; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_11, 0); -x_44 = lean_ctor_get(x_11, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_11, 0); +x_45 = lean_ctor_get(x_11, 1); +lean_inc(x_45); lean_inc(x_44); -lean_inc(x_43); lean_dec(x_11); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index 8c346e644e..3339dec68e 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -7847,7 +7847,7 @@ lean_inc(x_12); x_25 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_Command_elabAttr___spec__6(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_24); if (lean_obj_tag(x_25) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); @@ -7858,90 +7858,92 @@ x_29 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_1); x_30 = l_Lean_LocalContext_empty; -x_31 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set(x_31, 2, x_3); -lean_ctor_set(x_31, 3, x_26); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +x_31 = 0; +x_32 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_3); +lean_ctor_set(x_32, 3, x_26); +lean_ctor_set_uint8(x_32, sizeof(void*)*4, x_31); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_33, x_4, x_5, x_6, x_7, x_8, x_9, x_27); lean_dec(x_8); lean_dec(x_4); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) { -lean_object* x_35; -x_35 = lean_ctor_get(x_33, 0); -lean_dec(x_35); -lean_ctor_set(x_33, 0, x_12); -return x_33; +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_dec(x_36); +lean_ctor_set(x_34, 0, x_12); +return x_34; } else { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_12); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_dec(x_34); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_12); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } else { -uint8_t x_38; +uint8_t x_39; lean_dec(x_12); lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_25); -if (x_38 == 0) +x_39 = !lean_is_exclusive(x_25); +if (x_39 == 0) { return x_25; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_25, 0); -x_40 = lean_ctor_get(x_25, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_25, 0); +x_41 = lean_ctor_get(x_25, 1); +lean_inc(x_41); lean_inc(x_40); -lean_inc(x_39); lean_dec(x_25); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } } else { -uint8_t x_42; +uint8_t x_43; lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_11); -if (x_42 == 0) +x_43 = !lean_is_exclusive(x_11); +if (x_43 == 0) { return x_11; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_11, 0); -x_44 = lean_ctor_get(x_11, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_11, 0); +x_45 = lean_ctor_get(x_11, 1); +lean_inc(x_45); lean_inc(x_44); -lean_inc(x_43); lean_dec(x_11); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } diff --git a/stage0/stdlib/Lean/Elab/Deriving/Basic.c b/stage0/stdlib/Lean/Elab/Deriving/Basic.c index 3f3a64df00..17faf6a9c3 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Basic.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Basic.c @@ -1749,7 +1749,7 @@ lean_inc(x_8); x_19 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_elabDeriving___spec__8(x_8, x_4, x_5, 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; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -1760,87 +1760,89 @@ x_23 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_1); x_24 = l_Lean_LocalContext_empty; -x_25 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -lean_ctor_set(x_25, 2, x_3); -lean_ctor_set(x_25, 3, x_20); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_elabDeriving___spec__11(x_26, x_4, x_5, x_21); +x_25 = 0; +x_26 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_26, 0, x_23); +lean_ctor_set(x_26, 1, x_24); +lean_ctor_set(x_26, 2, x_3); +lean_ctor_set(x_26, 3, x_20); +lean_ctor_set_uint8(x_26, sizeof(void*)*4, x_25); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_elabDeriving___spec__11(x_27, x_4, x_5, x_21); lean_dec(x_4); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) { -lean_object* x_29; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -lean_ctor_set(x_27, 0, x_8); -return x_27; +lean_object* x_30; +x_30 = lean_ctor_get(x_28, 0); +lean_dec(x_30); +lean_ctor_set(x_28, 0, x_8); +return x_28; } else { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_27, 1); -lean_inc(x_30); -lean_dec(x_27); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_8); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_8); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } else { -uint8_t x_32; +uint8_t x_33; lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_32 = !lean_is_exclusive(x_19); -if (x_32 == 0) +x_33 = !lean_is_exclusive(x_19); +if (x_33 == 0) { return x_19; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_19, 0); -x_34 = lean_ctor_get(x_19, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_19, 0); +x_35 = lean_ctor_get(x_19, 1); +lean_inc(x_35); lean_inc(x_34); -lean_inc(x_33); lean_dec(x_19); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } } else { -uint8_t x_36; +uint8_t x_37; lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_36 = !lean_is_exclusive(x_7); -if (x_36 == 0) +x_37 = !lean_is_exclusive(x_7); +if (x_37 == 0) { return x_7; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_7, 0); -x_38 = lean_ctor_get(x_7, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_7, 0); +x_39 = lean_ctor_get(x_7, 1); +lean_inc(x_39); lean_inc(x_38); -lean_inc(x_37); lean_dec(x_7); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } diff --git a/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c b/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c index d5dd329d02..17d77d3d21 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c +++ b/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c @@ -45,7 +45,7 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__10; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__13; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__23; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__9; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2___closed__3; @@ -147,7 +147,6 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; -static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153____closed__2; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__2; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; @@ -163,7 +162,6 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___ lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2___closed__23; lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); -static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153____closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__8; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__1; @@ -206,7 +204,7 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__17; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__4; -lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153_(lean_object*); +lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142_(lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__8; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__7; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -237,6 +235,7 @@ uint8_t l_Lean_Elab_Deriving_FromToJson_mkJsonField___lambda__1(uint32_t); extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___lambda__1___closed__2; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__31; +static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142____closed__2; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__31; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2___closed__9; @@ -255,6 +254,7 @@ lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts_matc lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_mkHeader___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__1___closed__1; +static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142____closed__1; lean_object* l_Lean_Elab_Deriving_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__2___closed__2; uint8_t l_Array_qsort_sort___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___lambda__1(lean_object*, lean_object*); @@ -269,6 +269,7 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mk static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__2___closed__6; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__18; +static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___closed__1; static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__1___closed__2; lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__6; @@ -278,7 +279,7 @@ static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_FromToJson_m static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__9; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__24; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__7; -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2___closed__19; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2___closed__13; lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___boxed__const__1; @@ -340,7 +341,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJso static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__1; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__21; lean_object* l_Lean_Elab_registerBuiltinDerivingHandler(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2___closed__12; @@ -6988,86 +6988,56 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInsta return x_2; } } -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_12; -lean_inc(x_10); -lean_inc(x_9); -x_12 = l_Lean_Meta_inferType(x_1, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___lambda__1___closed__2; -x_15 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_14, x_9, x_10, x_13); -lean_dec(x_10); -lean_dec(x_9); -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; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_mk_syntax_ident(x_17); -x_19 = lean_array_push(x_3, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_2); -lean_ctor_set(x_20, 1, x_19); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_15, 0, x_21); -return x_15; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_22 = lean_ctor_get(x_15, 0); -x_23 = lean_ctor_get(x_15, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_15); -x_24 = lean_mk_syntax_ident(x_22); -x_25 = lean_array_push(x_3, x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_2); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_23); -return x_28; -} -} -else -{ -uint8_t x_29; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_3); -lean_dec(x_2); -x_29 = !lean_is_exclusive(x_12); -if (x_29 == 0) +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___lambda__1___closed__2; +x_12 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_11, x_8, x_9, x_10); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) { +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_mk_syntax_ident(x_14); +x_16 = lean_array_push(x_2, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_12, 0, x_18); return x_12; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_12, 0); -x_31 = lean_ctor_get(x_12, 1); -lean_inc(x_31); -lean_inc(x_30); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); lean_dec(x_12); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +x_21 = lean_mk_syntax_ident(x_19); +x_22 = lean_array_push(x_2, x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_1); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); +return x_25; } } } +static lean_object* _init_l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1___boxed), 10, 0); +return x_1; +} } lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: @@ -7097,222 +7067,235 @@ x_24 = l_Lean_instInhabitedExpr; x_25 = lean_array_get(x_24, x_2, x_23); lean_dec(x_23); x_26 = l_Lean_Expr_fvarId_x21(x_25); +lean_dec(x_25); lean_inc(x_9); x_27 = l_Lean_Meta_getLocalDecl(x_26, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_27) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = l_Lean_LocalDecl_userName(x_28); +x_30 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___closed__1; +x_31 = l_Lean_LocalDecl_userName(x_28); lean_dec(x_28); -x_31 = l_Lean_Name_hasMacroScopes(x_30); -if (x_31 == 0) +x_32 = l_Lean_Name_hasMacroScopes(x_31); +if (x_32 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_array_push(x_20, x_30); -x_33 = lean_box(0); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_array_push(x_20, x_31); +x_34 = lean_box(0); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_34 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1(x_25, x_32, x_21, x_33, x_7, x_8, x_9, x_10, x_11, x_12, x_29); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); +lean_inc(x_8); +lean_inc(x_7); +x_35 = lean_apply_10(x_30, x_33, x_21, x_34, x_7, x_8, x_9, x_10, x_11, x_12, x_29); if (lean_obj_tag(x_35) == 0) { -uint8_t x_36; +lean_object* x_36; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +if (lean_obj_tag(x_36) == 0) +{ +uint8_t x_37; lean_dec(x_19); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_5); -x_36 = !lean_is_exclusive(x_34); -if (x_36 == 0) +x_37 = !lean_is_exclusive(x_35); +if (x_37 == 0) { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_34, 0); -lean_dec(x_37); +lean_object* x_38; lean_object* x_39; x_38 = lean_ctor_get(x_35, 0); -lean_inc(x_38); -lean_dec(x_35); -lean_ctor_set(x_34, 0, x_38); -return x_34; +lean_dec(x_38); +x_39 = lean_ctor_get(x_36, 0); +lean_inc(x_39); +lean_dec(x_36); +lean_ctor_set(x_35, 0, x_39); +return x_35; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_34, 1); -lean_inc(x_39); -lean_dec(x_34); -x_40 = lean_ctor_get(x_35, 0); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_35, 1); lean_inc(x_40); lean_dec(x_35); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -return x_41; +x_41 = lean_ctor_get(x_36, 0); +lean_inc(x_41); +lean_dec(x_36); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +return x_42; } } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_42 = lean_ctor_get(x_34, 1); -lean_inc(x_42); -lean_dec(x_34); -x_43 = lean_ctor_get(x_35, 0); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_35, 1); lean_inc(x_43); lean_dec(x_35); -x_44 = lean_ctor_get(x_3, 2); -x_45 = lean_nat_add(x_5, x_44); +x_44 = lean_ctor_get(x_36, 0); +lean_inc(x_44); +lean_dec(x_36); +x_45 = lean_ctor_get(x_3, 2); +x_46 = lean_nat_add(x_5, x_45); lean_dec(x_5); x_4 = x_19; -x_5 = x_45; -x_6 = x_43; -x_13 = x_42; +x_5 = x_46; +x_6 = x_44; +x_13 = x_43; goto _start; } } else { -uint8_t x_47; +uint8_t x_48; lean_dec(x_19); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_5); -x_47 = !lean_is_exclusive(x_34); -if (x_47 == 0) +x_48 = !lean_is_exclusive(x_35); +if (x_48 == 0) { -return x_34; +return x_35; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_34, 0); -x_49 = lean_ctor_get(x_34, 1); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_35, 0); +x_50 = lean_ctor_get(x_35, 1); +lean_inc(x_50); lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_34); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +lean_dec(x_35); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } else { -lean_object* x_51; lean_object* x_52; -lean_dec(x_30); -x_51 = lean_box(0); +lean_object* x_52; lean_object* x_53; +lean_dec(x_31); +x_52 = lean_box(0); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_52 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1(x_25, x_20, x_21, x_51, x_7, x_8, x_9, x_10, x_11, x_12, x_29); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); +lean_inc(x_8); +lean_inc(x_7); +x_53 = lean_apply_10(x_30, x_20, x_21, x_52, x_7, x_8, x_9, x_10, x_11, x_12, x_29); if (lean_obj_tag(x_53) == 0) { -uint8_t x_54; +lean_object* x_54; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +if (lean_obj_tag(x_54) == 0) +{ +uint8_t x_55; lean_dec(x_19); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_5); -x_54 = !lean_is_exclusive(x_52); -if (x_54 == 0) +x_55 = !lean_is_exclusive(x_53); +if (x_55 == 0) { -lean_object* x_55; lean_object* x_56; -x_55 = lean_ctor_get(x_52, 0); -lean_dec(x_55); +lean_object* x_56; lean_object* x_57; x_56 = lean_ctor_get(x_53, 0); -lean_inc(x_56); -lean_dec(x_53); -lean_ctor_set(x_52, 0, x_56); -return x_52; +lean_dec(x_56); +x_57 = lean_ctor_get(x_54, 0); +lean_inc(x_57); +lean_dec(x_54); +lean_ctor_set(x_53, 0, x_57); +return x_53; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_52, 1); -lean_inc(x_57); -lean_dec(x_52); -x_58 = lean_ctor_get(x_53, 0); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_53, 1); lean_inc(x_58); lean_dec(x_53); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -return x_59; +x_59 = lean_ctor_get(x_54, 0); +lean_inc(x_59); +lean_dec(x_54); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +return x_60; } } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_52, 1); -lean_inc(x_60); -lean_dec(x_52); -x_61 = lean_ctor_get(x_53, 0); +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_61 = lean_ctor_get(x_53, 1); lean_inc(x_61); lean_dec(x_53); -x_62 = lean_ctor_get(x_3, 2); -x_63 = lean_nat_add(x_5, x_62); +x_62 = lean_ctor_get(x_54, 0); +lean_inc(x_62); +lean_dec(x_54); +x_63 = lean_ctor_get(x_3, 2); +x_64 = lean_nat_add(x_5, x_63); lean_dec(x_5); x_4 = x_19; -x_5 = x_63; -x_6 = x_61; -x_13 = x_60; +x_5 = x_64; +x_6 = x_62; +x_13 = x_61; goto _start; } } else { -uint8_t x_65; +uint8_t x_66; lean_dec(x_19); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_5); -x_65 = !lean_is_exclusive(x_52); -if (x_65 == 0) +x_66 = !lean_is_exclusive(x_53); +if (x_66 == 0) { -return x_52; +return x_53; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_52, 0); -x_67 = lean_ctor_get(x_52, 1); +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_53, 0); +x_68 = lean_ctor_get(x_53, 1); +lean_inc(x_68); lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_52); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +lean_dec(x_53); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; } } } } else { -uint8_t x_69; -lean_dec(x_25); +uint8_t x_70; lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); @@ -7320,42 +7303,29 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_5); -x_69 = !lean_is_exclusive(x_27); -if (x_69 == 0) +x_70 = !lean_is_exclusive(x_27); +if (x_70 == 0) { return x_27; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_27, 0); -x_71 = lean_ctor_get(x_27, 1); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_27, 0); +x_72 = lean_ctor_get(x_27, 1); +lean_inc(x_72); lean_inc(x_71); -lean_inc(x_70); lean_dec(x_27); -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_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_4); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_6); -lean_ctor_set(x_73, 1, x_13); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); return x_73; } } +} else { lean_object* x_74; @@ -7363,6 +7333,8 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); x_74 = lean_alloc_ctor(0, 2, 0); @@ -7371,6 +7343,23 @@ lean_ctor_set(x_74, 1, x_13); return x_74; } } +else +{ +lean_object* x_75; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_6); +lean_ctor_set(x_75, 1, x_13); +return x_75; +} +} } static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__2___closed__1() { _start: @@ -8990,6 +8979,8 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_13); x_18 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1(x_2, x_4, x_16, x_13, x_14, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_16); @@ -9056,6 +9047,8 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_26); lean_dec(x_22); return x_45; @@ -9149,6 +9142,8 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_26); lean_dec(x_22); return x_96; @@ -9162,6 +9157,8 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_3); x_97 = !lean_is_exclusive(x_18); if (x_97 == 0) @@ -9703,15 +9700,19 @@ return x_50; } } } -lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_12; -x_12 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_11; +x_11 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_12; +lean_dec(x_3); +return x_11; } } lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -9719,8 +9720,6 @@ _start: { lean_object* x_14; x_14 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_8); -lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -9805,8 +9804,6 @@ _start: { lean_object* x_13; x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -12530,7 +12527,7 @@ lean_dec(x_2); return x_10; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153____closed__1() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142____closed__1() { _start: { lean_object* x_1; @@ -12538,7 +12535,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanc return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153____closed__2() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142____closed__2() { _start: { lean_object* x_1; @@ -12546,12 +12543,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInsta return x_1; } } -lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153_(lean_object* x_1) { +lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2___closed__2; -x_3 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153____closed__1; +x_3 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142____closed__1; x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -12560,7 +12557,7 @@ x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); x_6 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2; -x_7 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153____closed__2; +x_7 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142____closed__2; x_8 = l_Lean_Elab_registerBuiltinDerivingHandler(x_6, x_7, x_5); return x_8; } @@ -12833,6 +12830,8 @@ l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__16 lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__16); l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___boxed__const__1 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___boxed__const__1); +l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___closed__1 = _init_l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___closed__1); l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__2___closed__1 = _init_l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__2___closed__1(); lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__2___closed__1); l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__2___closed__2 = _init_l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__2___closed__2(); @@ -13103,11 +13102,11 @@ l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__ lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__13); l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__14 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__14(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__14); -l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153____closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153____closed__1(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153____closed__1); -l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153____closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153____closed__2(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153____closed__2); -res = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4153_(lean_io_mk_world()); +l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142____closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142____closed__1(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142____closed__1); +l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142____closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142____closed__2(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142____closed__2); +res = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_4142_(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/Do.c b/stage0/stdlib/Lean/Elab/Do.c index d2ada93e90..1e61db5fcd 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -23200,7 +23200,7 @@ lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean x_43 = lean_unsigned_to_nat(0u); x_44 = l_Lean_Syntax_getArg(x_37, x_43); x_45 = l_Lean_Syntax_getArg(x_37, x_17); -x_46 = l_Lean_Elab_Term_expandOptType(x_37, x_45); +x_46 = l_Lean_Elab_Term_expandOptType(x_44, x_45); lean_dec(x_45); x_47 = lean_unsigned_to_nat(3u); x_48 = l_Lean_Syntax_getArg(x_37, x_47); diff --git a/stage0/stdlib/Lean/Elab/InfoTree.c b/stage0/stdlib/Lean/Elab/InfoTree.c index 1e665edf5f..2cffbb1cde 100644 --- a/stage0/stdlib/Lean/Elab/InfoTree.c +++ b/stage0/stdlib/Lean/Elab/InfoTree.c @@ -64,6 +64,7 @@ lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos(l size_t l_USize_sub(size_t, size_t); lean_object* l_Lean_Elab_InfoTree_format_match__1(lean_object*); lean_object* l_Lean_Elab_instInhabitedElabInfo; +uint8_t l_Lean_Elab_TermInfo_isBinder___default; lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_findInfo_x3f_match__1(lean_object*); @@ -685,6 +686,14 @@ x_1 = l_Lean_Elab_instInhabitedElabInfo___closed__1; return x_1; } } +static uint8_t _init_l_Lean_Elab_TermInfo_isBinder___default() { +_start: +{ +uint8_t x_1; +x_1 = 0; +return x_1; +} +} static lean_object* _init_l_Lean_Elab_instInhabitedTermInfo___closed__1() { _start: { @@ -757,17 +766,19 @@ return x_3; static lean_object* _init_l_Lean_Elab_instInhabitedTermInfo___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; x_1 = lean_box(0); x_2 = l_Lean_Elab_instInhabitedElabInfo___closed__1; x_3 = l_Lean_Elab_instInhabitedTermInfo___closed__4; x_4 = l_Lean_Elab_instInhabitedTermInfo___closed__6; -x_5 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_5, 0, x_2); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_1); -lean_ctor_set(x_5, 3, x_4); -return x_5; +x_5 = 0; +x_6 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set(x_6, 2, x_1); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); +return x_6; } } static lean_object* _init_l_Lean_Elab_instInhabitedTermInfo() { @@ -1473,14 +1484,16 @@ x_5 = lean_ctor_get(x_2, 0); lean_inc(x_5); x_6 = lean_ctor_get(x_2, 1); lean_inc(x_6); +lean_dec(x_2); lean_inc(x_1); +lean_inc(x_5); x_7 = lean_apply_1(x_1, x_5); x_8 = lean_unbox(x_7); lean_dec(x_7); if (x_8 == 0) { lean_object* x_9; -lean_dec(x_2); +lean_dec(x_5); x_9 = l_Std_PersistentArray_findSomeM_x3f___at_Lean_Elab_InfoTree_findInfo_x3f___spec__1(x_1, x_6); lean_dec(x_6); return x_9; @@ -1491,7 +1504,7 @@ lean_object* x_10; lean_dec(x_6); lean_dec(x_1); x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 0, x_5); return x_10; } } @@ -6453,22 +6466,24 @@ return x_2; lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_8 = lean_box(0); x_9 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_9, 0, x_8); lean_ctor_set(x_9, 1, x_1); x_10 = l_Lean_LocalContext_empty; -x_11 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_11, 0, x_9); -lean_ctor_set(x_11, 1, x_10); -lean_ctor_set(x_11, 2, x_2); -lean_ctor_set(x_11, 3, x_7); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -x_13 = l_Lean_Elab_pushInfoLeaf___rarg(x_3, x_4, x_12); -x_14 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_13, x_5); -return x_14; +x_11 = 0; +x_12 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_12, 0, x_9); +lean_ctor_set(x_12, 1, x_10); +lean_ctor_set(x_12, 2, x_2); +lean_ctor_set(x_12, 3, x_7); +lean_ctor_set_uint8(x_12, sizeof(void*)*4, x_11); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = l_Lean_Elab_pushInfoLeaf___rarg(x_3, x_4, x_13); +x_15 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_14, x_5); +return x_15; } } lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -6607,25 +6622,27 @@ return x_6; lean_object* l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_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; x_7 = lean_box(0); x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_7); lean_ctor_set(x_8, 1, x_1); x_9 = l_Lean_LocalContext_empty; -x_10 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_10, 0, x_8); -lean_ctor_set(x_10, 1, x_9); -lean_ctor_set(x_10, 2, x_2); -lean_ctor_set(x_10, 3, x_6); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); +x_10 = 0; +x_11 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_11, 0, x_8); +lean_ctor_set(x_11, 1, x_9); +lean_ctor_set(x_11, 2, x_2); +lean_ctor_set(x_11, 3, x_6); +lean_ctor_set_uint8(x_11, sizeof(void*)*4, x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); lean_inc(x_3); -x_12 = l_Lean_Elab_pushInfoLeaf___rarg(x_3, x_4, x_11); -x_13 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___boxed), 2, 1); -lean_closure_set(x_13, 0, x_3); -x_14 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_12, x_13); -return x_14; +x_13 = l_Lean_Elab_pushInfoLeaf___rarg(x_3, x_4, x_12); +x_14 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_14, 0, x_3); +x_15 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_13, x_14); +return x_15; } } lean_object* l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -9027,7 +9044,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__4; x_2 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__5; -x_3 = lean_unsigned_to_nat(339u); +x_3 = lean_unsigned_to_nat(340u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9693,6 +9710,7 @@ l_Lean_Elab_instInhabitedElabInfo___closed__1 = _init_l_Lean_Elab_instInhabitedE lean_mark_persistent(l_Lean_Elab_instInhabitedElabInfo___closed__1); l_Lean_Elab_instInhabitedElabInfo = _init_l_Lean_Elab_instInhabitedElabInfo(); lean_mark_persistent(l_Lean_Elab_instInhabitedElabInfo); +l_Lean_Elab_TermInfo_isBinder___default = _init_l_Lean_Elab_TermInfo_isBinder___default(); l_Lean_Elab_instInhabitedTermInfo___closed__1 = _init_l_Lean_Elab_instInhabitedTermInfo___closed__1(); lean_mark_persistent(l_Lean_Elab_instInhabitedTermInfo___closed__1); l_Lean_Elab_instInhabitedTermInfo___closed__2 = _init_l_Lean_Elab_instInhabitedTermInfo___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/LetRec.c b/stage0/stdlib/Lean/Elab/LetRec.c index bab6784d7b..acfb45d87d 100644 --- a/stage0/stdlib/Lean/Elab/LetRec.c +++ b/stage0/stdlib/Lean/Elab/LetRec.c @@ -15,6 +15,7 @@ extern "C" { #endif lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__2___closed__2; lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -26,6 +27,7 @@ lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabLetRec___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); @@ -56,8 +58,10 @@ static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__1; static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2___closed__2; +lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_Elab_Term_elabLetRec_match__1(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__8; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_match__1___rarg(lean_object*, lean_object*); @@ -71,6 +75,7 @@ lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_ static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__17___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_elabLetRec___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -99,7 +104,6 @@ lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, u lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__1___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___closed__4; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -190,6 +194,7 @@ static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__7; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -223,13 +228,13 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_El extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__2(size_t, size_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__3; lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -241,6 +246,7 @@ lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_T lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___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_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabLetRec_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__2___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2700,7 +2706,6 @@ lean_inc(x_33); lean_dec(x_32); lean_inc(x_26); x_34 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__7(x_26, x_14, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_33); -lean_dec(x_20); x_35 = lean_ctor_get(x_34, 1); lean_inc(x_35); lean_dec(x_34); @@ -2709,8 +2714,9 @@ x_37 = l_Lean_Syntax_getArg(x_14, x_36); x_38 = l_Lean_Syntax_getArgs(x_37); lean_dec(x_37); x_39 = l_Lean_Syntax_getArg(x_14, x_11); -x_40 = l_Lean_Elab_Term_expandOptType(x_14, x_39); +x_40 = l_Lean_Elab_Term_expandOptType(x_20, x_39); lean_dec(x_39); +lean_dec(x_20); x_41 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1), 9, 1); lean_closure_set(x_41, 0, x_40); lean_inc(x_9); @@ -4454,7 +4460,244 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Term_elabLetRec_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_Lean_Elab_Term_elabLetRec_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetRec_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabLetRec___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = x_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_array_uget(x_1, x_3); +x_15 = lean_ctor_get(x_4, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_4, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_4, 2); +lean_inc(x_17); +x_18 = lean_nat_dec_lt(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +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); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_4); +lean_ctor_set(x_19, 1, x_11); +return x_19; +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_4); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_21 = lean_ctor_get(x_4, 2); +lean_dec(x_21); +x_22 = lean_ctor_get(x_4, 1); +lean_dec(x_22); +x_23 = lean_ctor_get(x_4, 0); +lean_dec(x_23); +x_24 = lean_array_fget(x_15, x_16); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_16, x_25); +lean_dec(x_16); +lean_ctor_set(x_4, 1, x_26); +x_27 = lean_ctor_get(x_14, 0); +lean_inc(x_27); +lean_dec(x_14); +x_28 = lean_unsigned_to_nat(0u); +x_29 = l_Lean_Syntax_getArg(x_27, x_28); +lean_dec(x_27); +x_30 = lean_box(0); +x_31 = lean_box(0); +x_32 = 1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_33 = l_Lean_Elab_Term_addTermInfo(x_29, x_24, x_30, x_30, x_31, x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; size_t x_35; size_t x_36; +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = 1; +x_36 = x_3 + x_35; +x_3 = x_36; +x_11 = x_34; +goto _start; +} +else +{ +uint8_t x_38; +lean_dec(x_4); +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_38 = !lean_is_exclusive(x_33); +if (x_38 == 0) +{ +return x_33; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_33, 0); +x_40 = lean_ctor_get(x_33, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_33); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; +lean_dec(x_4); +x_42 = lean_array_fget(x_15, x_16); +x_43 = lean_unsigned_to_nat(1u); +x_44 = lean_nat_add(x_16, x_43); +lean_dec(x_16); +x_45 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_45, 0, x_15); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_17); +x_46 = lean_ctor_get(x_14, 0); +lean_inc(x_46); +lean_dec(x_14); +x_47 = lean_unsigned_to_nat(0u); +x_48 = l_Lean_Syntax_getArg(x_46, x_47); +lean_dec(x_46); +x_49 = lean_box(0); +x_50 = lean_box(0); +x_51 = 1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_52 = l_Lean_Elab_Term_addTermInfo(x_48, x_42, x_49, x_49, x_50, x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; size_t x_54; size_t x_55; +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = 1; +x_55 = x_3 + x_54; +x_3 = x_55; +x_4 = x_45; +x_11 = x_53; +goto _start; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_45); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_57 = lean_ctor_get(x_52, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_52, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_59 = x_52; +} else { + lean_dec_ref(x_52); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__2(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -4488,153 +4731,173 @@ goto _start; lean_object* l_Lean_Elab_Term_elabLetRec___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_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_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_12 = lean_array_get_size(x_4); +x_13 = lean_unsigned_to_nat(0u); +lean_inc(x_4); +x_14 = l_Array_toSubarray___rarg(x_4, x_13, x_12); +x_15 = lean_array_get_size(x_1); +x_16 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_17 = 0; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_1); -x_12 = l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_1, 1); -lean_inc(x_15); -lean_dec(x_1); -x_16 = lean_box(0); -x_17 = 1; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_18 = l_Lean_Elab_Term_elabTermEnsuringType(x_15, x_2, x_17, x_17, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabLetRec___spec__1(x_1, x_16, x_17, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_18, 0); +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); lean_dec(x_18); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +x_20 = l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_2, 1); +lean_inc(x_23); +lean_dec(x_2); +x_24 = lean_box(0); +x_25 = 1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_26 = l_Lean_Elab_Term_elabTermEnsuringType(x_23, x_3, x_25, x_25, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); lean_inc(x_9); lean_inc(x_7); -x_21 = l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift(x_3, x_4, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +x_29 = l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift(x_1, x_4, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_28); lean_dec(x_6); -lean_dec(x_13); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); lean_dec(x_21); -x_23 = lean_array_get_size(x_3); -x_24 = lean_usize_of_nat(x_23); -lean_dec(x_23); -x_25 = 0; -x_26 = x_3; -x_27 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__1(x_24, x_25, x_26); -x_28 = x_27; -x_29 = 0; -x_30 = l_Lean_Meta_mkLambdaFVars(x_4, x_19, x_29, x_17, x_7, x_8, x_9, x_10, x_22); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; size_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = lean_array_get_size(x_1); +x_32 = lean_usize_of_nat(x_31); +lean_dec(x_31); +x_33 = x_1; +x_34 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__2(x_32, x_17, x_33); +x_35 = x_34; +x_36 = 0; +x_37 = l_Lean_Meta_mkLambdaFVars(x_4, x_27, x_36, x_25, x_7, x_8, x_9, x_10, x_30); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -if (lean_obj_tag(x_30) == 0) -{ -uint8_t x_31; -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_30, 0); -x_33 = l_Lean_mkAppN(x_32, x_28); -lean_dec(x_28); -lean_ctor_set(x_30, 0, x_33); -return x_30; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_30, 0); -x_35 = lean_ctor_get(x_30, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_30); -x_36 = l_Lean_mkAppN(x_34, x_28); -lean_dec(x_28); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -else +if (lean_obj_tag(x_37) == 0) { uint8_t x_38; -lean_dec(x_28); -x_38 = !lean_is_exclusive(x_30); +x_38 = !lean_is_exclusive(x_37); if (x_38 == 0) { -return x_30; +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 0); +x_40 = l_Lean_mkAppN(x_39, x_35); +lean_dec(x_35); +lean_ctor_set(x_37, 0, x_40); +return x_37; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_30, 0); -x_40 = lean_ctor_get(x_30, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_30); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_37, 0); +x_42 = lean_ctor_get(x_37, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_37); +x_43 = l_Lean_mkAppN(x_41, x_35); +lean_dec(x_35); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +return x_44; +} +} +else +{ +uint8_t x_45; +lean_dec(x_35); +x_45 = !lean_is_exclusive(x_37); +if (x_45 == 0) +{ +return x_37; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_37, 0); +x_47 = lean_ctor_get(x_37, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_37); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -uint8_t x_42; -lean_dec(x_19); +uint8_t x_49; +lean_dec(x_27); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); -lean_dec(x_3); -x_42 = !lean_is_exclusive(x_21); -if (x_42 == 0) +lean_dec(x_1); +x_49 = !lean_is_exclusive(x_29); +if (x_49 == 0) { -return x_21; +return x_29; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_21, 0); -x_44 = lean_ctor_get(x_21, 1); -lean_inc(x_44); -lean_inc(x_43); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_29, 0); +x_51 = lean_ctor_get(x_29, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_29); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +else +{ +uint8_t x_53; lean_dec(x_21); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -} -else -{ -uint8_t x_46; -lean_dec(x_13); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4642,30 +4905,30 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_46 = !lean_is_exclusive(x_18); -if (x_46 == 0) +lean_dec(x_1); +x_53 = !lean_is_exclusive(x_26); +if (x_53 == 0) { -return x_18; +return x_26; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_18, 0); -x_48 = lean_ctor_get(x_18, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_18); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_26, 0); +x_55 = lean_ctor_get(x_26, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_26); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } else { -uint8_t x_50; +uint8_t x_57; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4676,23 +4939,56 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_50 = !lean_is_exclusive(x_12); -if (x_50 == 0) +x_57 = !lean_is_exclusive(x_20); +if (x_57 == 0) { -return x_12; +return x_20; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_12, 0); -x_52 = lean_ctor_get(x_12, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_12); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_20, 0); +x_59 = lean_ctor_get(x_20, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_20); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_61 = !lean_is_exclusive(x_18); +if (x_61 == 0) +{ +return x_18; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_18, 0); +x_63 = lean_ctor_get(x_18, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_18); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; } } } @@ -4720,9 +5016,9 @@ x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); lean_inc(x_13); x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetRec___lambda__1), 11, 3); -lean_closure_set(x_14, 0, x_11); -lean_closure_set(x_14, 1, x_2); -lean_closure_set(x_14, 2, x_13); +lean_closure_set(x_14, 0, x_13); +lean_closure_set(x_14, 1, x_11); +lean_closure_set(x_14, 2, x_2); x_15 = l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls___rarg(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_12); return x_15; } @@ -4757,7 +5053,20 @@ return x_19; } } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabLetRec___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabLetRec___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__2___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; @@ -4765,7 +5074,7 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__1(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__2(x_4, x_5, x_3); return x_6; } } diff --git a/stage0/stdlib/Lean/Elab/Mixfix.c b/stage0/stdlib/Lean/Elab/Mixfix.c index 3f35c36e6d..f73934c0c2 100644 --- a/stage0/stdlib/Lean/Elab/Mixfix.c +++ b/stage0/stdlib/Lean/Elab/Mixfix.c @@ -17,124 +17,115 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation_ lean_object* l_Lean_Elab_Command_expandMixfix_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6; extern lean_object* l_Lean_nullKind; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___closed__6; lean_object* lean_name_mk_string(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__20; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__25; lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___closed__3; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___closed__1; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__7; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__19; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__20; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__19; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___closed__9; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___closed__1; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__5; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__21; extern lean_object* l_Lean_numLitKind; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___closed__2; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___closed__5; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__24; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__16; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; lean_object* l_Nat_repr(lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__11; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__17; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1; -lean_object* l_Lean_evalOptPrec(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__23; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__13; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__6; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__14; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__21; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5; lean_object* l_Lean_Elab_Command_expandMixfix_withAttrKindGlobal(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix_match__1(lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__18; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__15; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3; +lean_object* l_Lean_evalPrec(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8; extern lean_object* l_Lean_Elab_macroAttribute; lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix(lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__12; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__2; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__15; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__3; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__18; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__5; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___closed__7; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__4; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__22; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; extern lean_object* l_Lean_Elab_mkAttrKindGlobal; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__17; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__16; -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__8; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__22; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__9; +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__4; -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -299,69 +290,77 @@ static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed_ _start: { lean_object* x_1; -x_1 = lean_mk_string("identPrec"); +x_1 = lean_mk_string(":"); return x_1; } } static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("arg"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(2u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("identPrec"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("arg"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string("=>"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16() { _start: { lean_object* x_1; @@ -369,7 +368,7 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -378,7 +377,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -387,19 +386,19 @@ x_2 = l_Array_append___rarg(x_1, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20() { _start: { lean_object* x_1; @@ -407,7 +406,7 @@ x_1 = lean_mk_string("namedPrio"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21() { _start: { lean_object* x_1; @@ -415,7 +414,7 @@ x_1 = lean_mk_string("("); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22() { _start: { lean_object* x_1; @@ -423,7 +422,7 @@ x_1 = lean_mk_string("priority"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23() { _start: { lean_object* x_1; @@ -431,7 +430,7 @@ x_1 = lean_mk_string(":="); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24() { _start: { lean_object* x_1; @@ -439,7 +438,7 @@ x_1 = lean_mk_string(")"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25() { _start: { lean_object* x_1; lean_object* x_2; @@ -448,7 +447,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26() { _start: { lean_object* x_1; @@ -456,7 +455,7 @@ x_1 = lean_mk_string("namedName"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27() { _start: { lean_object* x_1; @@ -464,26 +463,10 @@ x_1 = lean_mk_string("name"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("precedence"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(":"); -return x_1; -} -} lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; x_12 = lean_unsigned_to_nat(5u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); x_14 = lean_unsigned_to_nat(7u); @@ -518,228 +501,205 @@ x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_17); lean_ctor_set(x_26, 1, x_22); x_27 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_inc(x_17); +x_28 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_28, 0, x_17); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_30 = lean_array_push(x_29, x_28); +x_31 = lean_array_push(x_30, x_4); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_5); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_34 = lean_array_push(x_33, x_32); +x_35 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; lean_inc(x_2); -x_28 = lean_name_mk_string(x_2, x_27); -x_29 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; -x_30 = l_Lean_addMacroScope(x_21, x_29, x_20); -x_31 = lean_box(0); -x_32 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_38 = lean_name_mk_string(x_2, x_37); +x_39 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; +x_40 = l_Lean_addMacroScope(x_21, x_39, x_20); +x_41 = lean_box(0); +x_42 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; lean_inc(x_17); -x_33 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_33, 0, x_17); -lean_ctor_set(x_33, 1, x_32); -lean_ctor_set(x_33, 2, x_30); -lean_ctor_set(x_33, 3, x_31); -x_34 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; -lean_inc(x_33); -x_35 = lean_array_push(x_34, x_33); -x_36 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; -lean_inc(x_17); -x_37 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_37, 0, x_17); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; -x_39 = lean_name_mk_string(x_4, x_38); -x_40 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; -x_41 = lean_array_push(x_40, x_33); -x_42 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -x_44 = lean_array_push(x_34, x_15); -x_45 = lean_array_push(x_44, x_43); +x_43 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_43, 0, x_17); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_40); +lean_ctor_set(x_43, 3, x_41); +lean_inc(x_43); +x_44 = lean_array_push(x_29, x_43); +lean_inc(x_36); +x_45 = lean_array_push(x_44, x_36); x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_39); +lean_ctor_set(x_46, 0, x_38); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; -x_48 = lean_array_push(x_47, x_25); -x_49 = lean_array_push(x_48, x_26); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_119; -lean_dec(x_7); -x_119 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_50 = x_119; -goto block_118; -} -else -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_120 = lean_ctor_get(x_6, 0); -lean_inc(x_120); -lean_dec(x_6); -x_121 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; -x_122 = lean_name_mk_string(x_7, x_121); -x_123 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; +x_47 = lean_array_push(x_29, x_46); +x_48 = lean_array_push(x_47, x_13); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_35); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; lean_inc(x_17); -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_17); -lean_ctor_set(x_124, 1, x_123); -x_125 = lean_array_push(x_34, x_124); -x_126 = lean_array_push(x_125, x_120); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_122); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_40, x_127); -x_50 = x_128; -goto block_118; -} -block_118: -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_51 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_52 = l_Array_append___rarg(x_51, x_50); -lean_dec(x_50); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_42); -lean_ctor_set(x_53, 1, x_52); -lean_inc(x_53); -x_54 = lean_array_push(x_35, x_53); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_17); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_53 = lean_name_mk_string(x_6, x_52); +x_54 = lean_array_push(x_33, x_43); x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_28); +lean_ctor_set(x_55, 0, x_35); lean_ctor_set(x_55, 1, x_54); -x_56 = lean_array_push(x_34, x_55); -x_57 = lean_array_push(x_56, x_13); +x_56 = lean_array_push(x_29, x_15); +x_57 = lean_array_push(x_56, x_55); x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_42); +lean_ctor_set(x_58, 0, x_53); lean_ctor_set(x_58, 1, x_57); -x_59 = lean_array_push(x_49, x_53); -if (lean_obj_tag(x_5) == 0) +x_59 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +x_60 = lean_array_push(x_59, x_25); +x_61 = lean_array_push(x_60, x_26); +x_62 = lean_array_push(x_61, x_36); +if (lean_obj_tag(x_7) == 0) { -x_60 = x_51; -goto block_98; +lean_object* x_103; +x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_63 = x_103; +goto block_102; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_99 = lean_ctor_get(x_5, 0); -lean_inc(x_99); -lean_dec(x_5); -x_100 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_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; +x_104 = lean_ctor_get(x_7, 0); +lean_inc(x_104); +lean_dec(x_7); +x_105 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; lean_inc(x_2); -x_101 = lean_name_mk_string(x_2, x_100); -x_102 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_106 = lean_name_mk_string(x_2, x_105); +x_107 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; lean_inc(x_17); -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_17); -lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_17); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; lean_inc(x_17); -x_105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_105, 0, x_17); -lean_ctor_set(x_105, 1, x_104); -x_106 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +x_110 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_110, 0, x_17); +lean_ctor_set(x_110, 1, x_109); +x_111 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; lean_inc(x_17); -x_107 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_107, 0, x_17); -lean_ctor_set(x_107, 1, x_106); -x_108 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +x_112 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_112, 0, x_17); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; lean_inc(x_17); -x_109 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_109, 0, x_17); -lean_ctor_set(x_109, 1, x_108); -x_110 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; -x_111 = lean_array_push(x_110, x_103); -x_112 = lean_array_push(x_111, x_105); -x_113 = lean_array_push(x_112, x_107); -x_114 = lean_array_push(x_113, x_99); -x_115 = lean_array_push(x_114, x_109); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_101); -lean_ctor_set(x_116, 1, x_115); -x_117 = lean_array_push(x_40, x_116); -x_60 = x_117; -goto block_98; +x_114 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_114, 0, x_17); +lean_ctor_set(x_114, 1, x_113); +x_115 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +x_116 = lean_array_push(x_115, x_108); +x_117 = lean_array_push(x_116, x_110); +x_118 = lean_array_push(x_117, x_112); +x_119 = lean_array_push(x_118, x_104); +x_120 = lean_array_push(x_119, x_114); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_106); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_array_push(x_33, x_121); +x_63 = x_122; +goto block_102; } -block_98: +block_102: { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = l_Array_append___rarg(x_51, x_60); -lean_dec(x_60); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_42); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_array_push(x_59, x_62); +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_64 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_65 = l_Array_append___rarg(x_64, x_63); +lean_dec(x_63); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_35); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_array_push(x_62, x_66); if (lean_obj_tag(x_9) == 0) { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_dec(x_17); lean_dec(x_2); -x_64 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; -x_65 = lean_array_push(x_63, x_64); -x_66 = lean_array_push(x_65, x_58); -x_67 = lean_array_push(x_66, x_37); -x_68 = lean_array_push(x_67, x_46); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_23); -lean_ctor_set(x_69, 1, x_68); +x_68 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_69 = lean_array_push(x_67, x_68); +x_70 = lean_array_push(x_69, x_49); +x_71 = lean_array_push(x_70, x_51); +x_72 = lean_array_push(x_71, x_58); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_23); +lean_ctor_set(x_73, 1, x_72); if (lean_is_scalar(x_19)) { - x_70 = lean_alloc_ctor(0, 2, 0); + x_74 = lean_alloc_ctor(0, 2, 0); } else { - x_70 = x_19; + x_74 = x_19; } -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_18); -return x_70; +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_18); +return x_74; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_71 = lean_ctor_get(x_9, 0); -lean_inc(x_71); +lean_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_75 = lean_ctor_get(x_9, 0); +lean_inc(x_75); lean_dec(x_9); -x_72 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; -x_73 = lean_name_mk_string(x_2, x_72); -x_74 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; -lean_inc(x_17); -x_75 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_75, 0, x_17); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; -lean_inc(x_17); -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_17); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_77 = lean_name_mk_string(x_2, x_76); +x_78 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; lean_inc(x_17); x_79 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_79, 0, x_17); lean_ctor_set(x_79, 1, x_78); -x_80 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +x_80 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_17); x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_17); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; -x_83 = lean_array_push(x_82, x_75); -x_84 = lean_array_push(x_83, x_77); -x_85 = lean_array_push(x_84, x_79); -x_86 = lean_array_push(x_85, x_71); -x_87 = lean_array_push(x_86, x_81); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_73); -lean_ctor_set(x_88, 1, x_87); -x_89 = lean_array_push(x_40, x_88); -x_90 = l_Array_append___rarg(x_51, x_89); -lean_dec(x_89); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_42); -lean_ctor_set(x_91, 1, x_90); -x_92 = lean_array_push(x_63, x_91); -x_93 = lean_array_push(x_92, x_58); -x_94 = lean_array_push(x_93, x_37); -x_95 = lean_array_push(x_94, x_46); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_23); -lean_ctor_set(x_96, 1, x_95); +x_82 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +lean_inc(x_17); +x_83 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_83, 0, x_17); +lean_ctor_set(x_83, 1, x_82); +x_84 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_17); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +x_87 = lean_array_push(x_86, x_79); +x_88 = lean_array_push(x_87, x_81); +x_89 = lean_array_push(x_88, x_83); +x_90 = lean_array_push(x_89, x_75); +x_91 = lean_array_push(x_90, x_85); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_77); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_array_push(x_33, x_92); +x_94 = l_Array_append___rarg(x_64, x_93); +lean_dec(x_93); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_35); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_array_push(x_67, x_95); +x_97 = lean_array_push(x_96, x_49); +x_98 = lean_array_push(x_97, x_51); +x_99 = lean_array_push(x_98, x_58); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_23); +lean_ctor_set(x_100, 1, x_99); if (lean_is_scalar(x_19)) { - x_97 = lean_alloc_ctor(0, 2, 0); + x_101 = lean_alloc_ctor(0, 2, 0); } else { - x_97 = x_19; -} -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_18); -return x_97; + x_101 = x_19; } +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_18); +return x_101; } } } @@ -781,7 +741,7 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint x_19 = lean_unsigned_to_nat(0u); x_20 = l_Lean_Syntax_getArg(x_12, x_19); lean_dec(x_12); -x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; lean_inc(x_2); x_22 = lean_name_mk_string(x_2, x_21); lean_inc(x_20); @@ -813,7 +773,7 @@ lean_dec(x_20); x_28 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_28, 0, x_27); x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_expandMixfix___lambda__1(x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_29, x_28, x_9, x_10); +x_30 = l_Lean_Elab_Command_expandMixfix___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_29, x_28, x_9, x_10); return x_30; } } @@ -824,97 +784,15 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_dec(x_12); x_31 = lean_box(0); x_32 = lean_box(0); -x_33 = l_Lean_Elab_Command_expandMixfix___lambda__1(x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_32, x_31, x_9, x_10); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_32, x_31, x_9, x_10); return x_33; } } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNone(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_nullKind; -x_14 = lean_unsigned_to_nat(1u); -lean_inc(x_11); -x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_box(1); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_11, x_18); -lean_dec(x_11); -x_20 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; -lean_inc(x_2); -x_21 = lean_name_mk_string(x_2, x_20); -lean_inc(x_19); -x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = lean_box(1); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_9); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = l_Lean_Syntax_getArg(x_19, x_10); -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Command_expandMixfix___lambda__2(x_1, x_2, x_3, x_4, x_7, x_5, x_27, x_26, x_8, x_9); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_11); -x_29 = lean_box(0); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__2(x_1, x_2, x_3, x_4, x_7, x_5, x_30, x_29, x_8, x_9); -return x_31; -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; x_12 = lean_unsigned_to_nat(5u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); x_14 = lean_unsigned_to_nat(7u); @@ -949,233 +827,210 @@ x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_17); lean_ctor_set(x_26, 1, x_22); x_27 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_inc(x_17); +x_28 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_28, 0, x_17); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_30 = lean_array_push(x_29, x_28); +x_31 = lean_array_push(x_30, x_4); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_5); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_34 = lean_array_push(x_33, x_32); +x_35 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; lean_inc(x_2); -x_28 = lean_name_mk_string(x_2, x_27); -x_29 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; -x_30 = l_Lean_addMacroScope(x_21, x_29, x_20); -x_31 = lean_box(0); -x_32 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_38 = lean_name_mk_string(x_2, x_37); +x_39 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; +x_40 = l_Lean_addMacroScope(x_21, x_39, x_20); +x_41 = lean_box(0); +x_42 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; lean_inc(x_17); -x_33 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_33, 0, x_17); -lean_ctor_set(x_33, 1, x_32); -lean_ctor_set(x_33, 2, x_30); -lean_ctor_set(x_33, 3, x_31); -x_34 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; -lean_inc(x_33); -x_35 = lean_array_push(x_34, x_33); -x_36 = lean_array_push(x_34, x_13); -x_37 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; +x_43 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_43, 0, x_17); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_40); +lean_ctor_set(x_43, 3, x_41); +lean_inc(x_43); +x_44 = lean_array_push(x_29, x_43); +lean_inc(x_36); +x_45 = lean_array_push(x_44, x_36); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_38); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_array_push(x_29, x_13); +x_48 = lean_array_push(x_47, x_46); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_35); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; lean_inc(x_17); -x_38 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_38, 0, x_17); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; -x_40 = lean_name_mk_string(x_4, x_39); -x_41 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; -x_42 = lean_array_push(x_41, x_33); -x_43 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -x_45 = lean_array_push(x_34, x_15); -x_46 = lean_array_push(x_45, x_44); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_40); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; -x_49 = lean_array_push(x_48, x_25); -x_50 = lean_array_push(x_49, x_26); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_119; -lean_dec(x_7); -x_119 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_51 = x_119; -goto block_118; -} -else -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_120 = lean_ctor_get(x_6, 0); -lean_inc(x_120); -lean_dec(x_6); -x_121 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; -x_122 = lean_name_mk_string(x_7, x_121); -x_123 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; -lean_inc(x_17); -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_17); -lean_ctor_set(x_124, 1, x_123); -x_125 = lean_array_push(x_34, x_124); -x_126 = lean_array_push(x_125, x_120); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_122); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_41, x_127); -x_51 = x_128; -goto block_118; -} -block_118: -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_52 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_53 = l_Array_append___rarg(x_52, x_51); -lean_dec(x_51); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_43); -lean_ctor_set(x_54, 1, x_53); -lean_inc(x_54); -x_55 = lean_array_push(x_35, x_54); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_28); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_array_push(x_36, x_56); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_17); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_53 = lean_name_mk_string(x_6, x_52); +x_54 = lean_array_push(x_33, x_43); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_35); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_array_push(x_29, x_15); +x_57 = lean_array_push(x_56, x_55); x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_43); +lean_ctor_set(x_58, 0, x_53); lean_ctor_set(x_58, 1, x_57); -x_59 = lean_array_push(x_50, x_54); -if (lean_obj_tag(x_5) == 0) +x_59 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +x_60 = lean_array_push(x_59, x_25); +x_61 = lean_array_push(x_60, x_26); +x_62 = lean_array_push(x_61, x_36); +if (lean_obj_tag(x_7) == 0) { -x_60 = x_52; -goto block_98; +lean_object* x_103; +x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_63 = x_103; +goto block_102; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_99 = lean_ctor_get(x_5, 0); -lean_inc(x_99); -lean_dec(x_5); -x_100 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +lean_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; +x_104 = lean_ctor_get(x_7, 0); +lean_inc(x_104); +lean_dec(x_7); +x_105 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; lean_inc(x_2); -x_101 = lean_name_mk_string(x_2, x_100); -x_102 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_106 = lean_name_mk_string(x_2, x_105); +x_107 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; lean_inc(x_17); -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_17); -lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_17); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; lean_inc(x_17); -x_105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_105, 0, x_17); -lean_ctor_set(x_105, 1, x_104); -x_106 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +x_110 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_110, 0, x_17); +lean_ctor_set(x_110, 1, x_109); +x_111 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; lean_inc(x_17); -x_107 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_107, 0, x_17); -lean_ctor_set(x_107, 1, x_106); -x_108 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +x_112 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_112, 0, x_17); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; lean_inc(x_17); -x_109 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_109, 0, x_17); -lean_ctor_set(x_109, 1, x_108); -x_110 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; -x_111 = lean_array_push(x_110, x_103); -x_112 = lean_array_push(x_111, x_105); -x_113 = lean_array_push(x_112, x_107); -x_114 = lean_array_push(x_113, x_99); -x_115 = lean_array_push(x_114, x_109); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_101); -lean_ctor_set(x_116, 1, x_115); -x_117 = lean_array_push(x_41, x_116); -x_60 = x_117; -goto block_98; +x_114 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_114, 0, x_17); +lean_ctor_set(x_114, 1, x_113); +x_115 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +x_116 = lean_array_push(x_115, x_108); +x_117 = lean_array_push(x_116, x_110); +x_118 = lean_array_push(x_117, x_112); +x_119 = lean_array_push(x_118, x_104); +x_120 = lean_array_push(x_119, x_114); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_106); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_array_push(x_33, x_121); +x_63 = x_122; +goto block_102; } -block_98: +block_102: { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = l_Array_append___rarg(x_52, x_60); -lean_dec(x_60); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_43); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_array_push(x_59, x_62); +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_64 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_65 = l_Array_append___rarg(x_64, x_63); +lean_dec(x_63); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_35); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_array_push(x_62, x_66); if (lean_obj_tag(x_9) == 0) { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_dec(x_17); lean_dec(x_2); -x_64 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; -x_65 = lean_array_push(x_63, x_64); -x_66 = lean_array_push(x_65, x_58); -x_67 = lean_array_push(x_66, x_38); -x_68 = lean_array_push(x_67, x_47); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_23); -lean_ctor_set(x_69, 1, x_68); +x_68 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_69 = lean_array_push(x_67, x_68); +x_70 = lean_array_push(x_69, x_49); +x_71 = lean_array_push(x_70, x_51); +x_72 = lean_array_push(x_71, x_58); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_23); +lean_ctor_set(x_73, 1, x_72); if (lean_is_scalar(x_19)) { - x_70 = lean_alloc_ctor(0, 2, 0); + x_74 = lean_alloc_ctor(0, 2, 0); } else { - x_70 = x_19; + x_74 = x_19; } -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_18); -return x_70; +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_18); +return x_74; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_71 = lean_ctor_get(x_9, 0); -lean_inc(x_71); +lean_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_75 = lean_ctor_get(x_9, 0); +lean_inc(x_75); lean_dec(x_9); -x_72 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; -x_73 = lean_name_mk_string(x_2, x_72); -x_74 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; -lean_inc(x_17); -x_75 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_75, 0, x_17); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; -lean_inc(x_17); -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_17); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_77 = lean_name_mk_string(x_2, x_76); +x_78 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; lean_inc(x_17); x_79 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_79, 0, x_17); lean_ctor_set(x_79, 1, x_78); -x_80 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +x_80 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_17); x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_17); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; -x_83 = lean_array_push(x_82, x_75); -x_84 = lean_array_push(x_83, x_77); -x_85 = lean_array_push(x_84, x_79); -x_86 = lean_array_push(x_85, x_71); -x_87 = lean_array_push(x_86, x_81); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_73); -lean_ctor_set(x_88, 1, x_87); -x_89 = lean_array_push(x_41, x_88); -x_90 = l_Array_append___rarg(x_52, x_89); -lean_dec(x_89); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_43); -lean_ctor_set(x_91, 1, x_90); -x_92 = lean_array_push(x_63, x_91); -x_93 = lean_array_push(x_92, x_58); -x_94 = lean_array_push(x_93, x_38); -x_95 = lean_array_push(x_94, x_47); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_23); -lean_ctor_set(x_96, 1, x_95); +x_82 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +lean_inc(x_17); +x_83 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_83, 0, x_17); +lean_ctor_set(x_83, 1, x_82); +x_84 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_17); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +x_87 = lean_array_push(x_86, x_79); +x_88 = lean_array_push(x_87, x_81); +x_89 = lean_array_push(x_88, x_83); +x_90 = lean_array_push(x_89, x_75); +x_91 = lean_array_push(x_90, x_85); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_77); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_array_push(x_33, x_92); +x_94 = l_Array_append___rarg(x_64, x_93); +lean_dec(x_93); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_35); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_array_push(x_67, x_95); +x_97 = lean_array_push(x_96, x_49); +x_98 = lean_array_push(x_97, x_51); +x_99 = lean_array_push(x_98, x_58); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_23); +lean_ctor_set(x_100, 1, x_99); if (lean_is_scalar(x_19)) { - x_97 = lean_alloc_ctor(0, 2, 0); + x_101 = lean_alloc_ctor(0, 2, 0); } else { - x_97 = x_19; + x_101 = x_19; } -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_18); -return x_97; +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_18); +return x_101; } } } } -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -1212,7 +1067,7 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint x_19 = lean_unsigned_to_nat(0u); x_20 = l_Lean_Syntax_getArg(x_12, x_19); lean_dec(x_12); -x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; lean_inc(x_2); x_22 = lean_name_mk_string(x_2, x_21); lean_inc(x_20); @@ -1244,7 +1099,7 @@ lean_dec(x_20); x_28 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_28, 0, x_27); x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_expandMixfix___lambda__4(x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_29, x_28, x_9, x_10); +x_30 = l_Lean_Elab_Command_expandMixfix___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_29, x_28, x_9, x_10); return x_30; } } @@ -1255,94 +1110,12 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_dec(x_12); x_31 = lean_box(0); x_32 = lean_box(0); -x_33 = l_Lean_Elab_Command_expandMixfix___lambda__4(x_1, x_2, x_3, x_4, x_8, x_5, x_6, x_32, x_31, x_9, x_10); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_32, x_31, x_9, x_10); return x_33; } } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNone(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_nullKind; -x_14 = lean_unsigned_to_nat(1u); -lean_inc(x_11); -x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_box(1); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_11, x_18); -lean_dec(x_11); -x_20 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; -lean_inc(x_2); -x_21 = lean_name_mk_string(x_2, x_20); -lean_inc(x_19); -x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = lean_box(1); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_9); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = l_Lean_Syntax_getArg(x_19, x_10); -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Command_expandMixfix___lambda__5(x_1, x_2, x_3, x_4, x_7, x_5, x_27, x_26, x_8, x_9); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_11); -x_29 = lean_box(0); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__5(x_1, x_2, x_3, x_4, x_7, x_5, x_30, x_29, x_8, x_9); -return x_31; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -1350,22 +1123,22 @@ x_1 = lean_mk_string("lhs"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2; +x_3 = l_Lean_Elab_Command_expandMixfix___lambda__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); @@ -1373,17 +1146,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__5() { _start: { lean_object* x_1; @@ -1391,22 +1164,22 @@ x_1 = lean_mk_string("rhs"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__5; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__5; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6; +x_3 = l_Lean_Elab_Command_expandMixfix___lambda__5___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); @@ -1414,17 +1187,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -1433,7 +1206,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, 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; @@ -1443,10 +1216,10 @@ x_14 = lean_unsigned_to_nat(7u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_inc(x_10); lean_inc(x_2); -x_16 = l_Lean_evalOptPrec(x_2, x_10, x_11); +x_16 = l_Lean_evalPrec(x_2, x_10, x_11); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); @@ -1489,127 +1262,103 @@ x_35 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_35, 0, x_26); lean_ctor_set(x_35, 1, x_31); x_36 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_inc(x_26); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_26); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_39 = lean_array_push(x_38, x_37); +lean_inc(x_39); +x_40 = lean_array_push(x_39, x_2); +lean_inc(x_5); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_5); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_43 = lean_array_push(x_42, x_41); +x_44 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; lean_inc(x_3); -x_37 = lean_name_mk_string(x_3, x_36); -x_38 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; +x_47 = lean_name_mk_string(x_3, x_46); +x_48 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__4; lean_inc(x_29); lean_inc(x_30); -x_39 = l_Lean_addMacroScope(x_30, x_38, x_29); -x_40 = lean_box(0); -x_41 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; +x_49 = l_Lean_addMacroScope(x_30, x_48, x_29); +x_50 = lean_box(0); +x_51 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__3; lean_inc(x_26); -x_42 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_42, 0, x_26); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_42, 2, x_39); -lean_ctor_set(x_42, 3, x_40); -x_43 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; -x_44 = lean_name_mk_string(x_5, x_43); -x_45 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; -lean_inc(x_26); -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_26); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; -x_48 = lean_array_push(x_47, x_46); -lean_inc(x_48); -x_49 = lean_array_push(x_48, x_24); -lean_inc(x_44); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_44); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; -x_52 = lean_array_push(x_51, x_50); -x_53 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +x_52 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_52, 0, x_26); +lean_ctor_set(x_52, 1, x_51); +lean_ctor_set(x_52, 2, x_49); +lean_ctor_set(x_52, 3, x_50); +x_53 = lean_array_push(x_39, x_24); x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_array_push(x_47, x_42); -lean_inc(x_55); -x_56 = lean_array_push(x_55, x_54); -lean_inc(x_37); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_37); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; -x_59 = l_Lean_addMacroScope(x_30, x_58, x_29); -x_60 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; +lean_ctor_set(x_54, 0, x_5); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_array_push(x_42, x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_44); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_array_push(x_38, x_52); +lean_inc(x_57); +x_58 = lean_array_push(x_57, x_56); +lean_inc(x_47); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_47); +lean_ctor_set(x_59, 1, x_58); +x_60 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__8; +x_61 = l_Lean_addMacroScope(x_30, x_60, x_29); +x_62 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__7; lean_inc(x_26); -x_61 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_61, 0, x_26); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_61, 2, x_59); -lean_ctor_set(x_61, 3, x_40); -lean_inc(x_61); -x_62 = lean_array_push(x_47, x_61); -x_63 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9; -x_64 = lean_array_push(x_63, x_57); -x_65 = lean_array_push(x_64, x_13); -x_66 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; -lean_inc(x_26); -x_67 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_67, 0, x_26); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; -x_69 = lean_name_mk_string(x_6, x_68); -x_70 = lean_array_push(x_55, x_61); +x_63 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_63, 0, x_26); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_63, 2, x_61); +lean_ctor_set(x_63, 3, x_50); +lean_inc(x_63); +x_64 = lean_array_push(x_38, x_63); +lean_inc(x_45); +x_65 = lean_array_push(x_64, x_45); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_47); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__9; +x_68 = lean_array_push(x_67, x_59); +x_69 = lean_array_push(x_68, x_13); +x_70 = lean_array_push(x_69, x_66); x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_53); +lean_ctor_set(x_71, 0, x_44); lean_ctor_set(x_71, 1, x_70); -x_72 = lean_array_push(x_47, x_15); -x_73 = lean_array_push(x_72, x_71); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_69); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; -x_76 = lean_array_push(x_75, x_34); -x_77 = lean_array_push(x_76, x_35); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_146; -lean_dec(x_48); -lean_dec(x_44); -x_146 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_78 = x_146; -goto block_145; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_147 = lean_ctor_get(x_2, 0); -lean_inc(x_147); -lean_dec(x_2); -x_148 = lean_array_push(x_48, x_147); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_44); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_array_push(x_51, x_149); -x_78 = x_150; -goto block_145; -} -block_145: -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_79 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_80 = l_Array_append___rarg(x_79, x_78); -lean_dec(x_78); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_53); -lean_ctor_set(x_81, 1, x_80); -lean_inc(x_81); -x_82 = lean_array_push(x_62, x_81); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_37); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_array_push(x_65, x_83); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_53); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_77, x_81); +x_72 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; +lean_inc(x_26); +x_73 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_73, 0, x_26); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_75 = lean_name_mk_string(x_6, x_74); +x_76 = lean_array_push(x_57, x_63); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_44); +lean_ctor_set(x_77, 1, x_76); +x_78 = lean_array_push(x_38, x_15); +x_79 = lean_array_push(x_78, x_77); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_75); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +x_82 = lean_array_push(x_81, x_34); +x_83 = lean_array_push(x_82, x_35); +x_84 = lean_array_push(x_83, x_45); if (lean_obj_tag(x_7) == 0) { -x_87 = x_79; -goto block_125; +lean_object* x_125; +x_125 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_85 = x_125; +goto block_124; } else { @@ -1617,30 +1366,30 @@ lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; x_126 = lean_ctor_get(x_7, 0); lean_inc(x_126); lean_dec(x_7); -x_127 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +x_127 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; lean_inc(x_3); x_128 = lean_name_mk_string(x_3, x_127); -x_129 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_129 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; lean_inc(x_26); x_130 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_130, 0, x_26); lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; lean_inc(x_26); x_132 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_132, 0, x_26); lean_ctor_set(x_132, 1, x_131); -x_133 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +x_133 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; lean_inc(x_26); x_134 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_134, 0, x_26); lean_ctor_set(x_134, 1, x_133); -x_135 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +x_135 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; lean_inc(x_26); x_136 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_136, 0, x_26); lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; x_138 = lean_array_push(x_137, x_130); x_139 = lean_array_push(x_138, x_132); x_140 = lean_array_push(x_139, x_134); @@ -1649,105 +1398,105 @@ x_142 = lean_array_push(x_141, x_136); x_143 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_143, 0, x_128); lean_ctor_set(x_143, 1, x_142); -x_144 = lean_array_push(x_51, x_143); -x_87 = x_144; -goto block_125; +x_144 = lean_array_push(x_42, x_143); +x_85 = x_144; +goto block_124; } -block_125: +block_124: { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = l_Array_append___rarg(x_79, x_87); -lean_dec(x_87); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_53); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_push(x_86, x_89); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_86 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_87 = l_Array_append___rarg(x_86, x_85); +lean_dec(x_85); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_44); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_array_push(x_84, x_88); if (lean_obj_tag(x_9) == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_dec(x_26); lean_dec(x_3); -x_91 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; -x_92 = lean_array_push(x_90, x_91); -x_93 = lean_array_push(x_92, x_85); -x_94 = lean_array_push(x_93, x_67); -x_95 = lean_array_push(x_94, x_74); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_32); -lean_ctor_set(x_96, 1, x_95); +x_90 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_91 = lean_array_push(x_89, x_90); +x_92 = lean_array_push(x_91, x_71); +x_93 = lean_array_push(x_92, x_73); +x_94 = lean_array_push(x_93, x_80); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_32); +lean_ctor_set(x_95, 1, x_94); if (lean_is_scalar(x_28)) { - x_97 = lean_alloc_ctor(0, 2, 0); + x_96 = lean_alloc_ctor(0, 2, 0); } else { - x_97 = x_28; + x_96 = x_28; } -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_27); -return x_97; +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_27); +return x_96; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_98 = lean_ctor_get(x_9, 0); -lean_inc(x_98); +lean_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; +x_97 = lean_ctor_get(x_9, 0); +lean_inc(x_97); lean_dec(x_9); -x_99 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; -x_100 = lean_name_mk_string(x_3, x_99); -x_101 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_98 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_99 = lean_name_mk_string(x_3, x_98); +x_100 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; lean_inc(x_26); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_26); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +x_101 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_101, 0, x_26); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; lean_inc(x_26); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_26); -lean_ctor_set(x_104, 1, x_103); -x_105 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_26); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; lean_inc(x_26); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_26); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_26); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; -x_110 = lean_array_push(x_109, x_102); -x_111 = lean_array_push(x_110, x_104); -x_112 = lean_array_push(x_111, x_106); -x_113 = lean_array_push(x_112, x_98); -x_114 = lean_array_push(x_113, x_108); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_100); -lean_ctor_set(x_115, 1, x_114); -x_116 = lean_array_push(x_51, x_115); -x_117 = l_Array_append___rarg(x_79, x_116); -lean_dec(x_116); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_53); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_array_push(x_90, x_118); -x_120 = lean_array_push(x_119, x_85); -x_121 = lean_array_push(x_120, x_67); -x_122 = lean_array_push(x_121, x_74); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_32); -lean_ctor_set(x_123, 1, x_122); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_26); +lean_ctor_set(x_105, 1, x_104); +x_106 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_107 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_107, 0, x_26); +lean_ctor_set(x_107, 1, x_106); +x_108 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +x_109 = lean_array_push(x_108, x_101); +x_110 = lean_array_push(x_109, x_103); +x_111 = lean_array_push(x_110, x_105); +x_112 = lean_array_push(x_111, x_97); +x_113 = lean_array_push(x_112, x_107); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_99); +lean_ctor_set(x_114, 1, x_113); +x_115 = lean_array_push(x_42, x_114); +x_116 = l_Array_append___rarg(x_86, x_115); +lean_dec(x_115); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_44); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_array_push(x_89, x_117); +x_119 = lean_array_push(x_118, x_71); +x_120 = lean_array_push(x_119, x_73); +x_121 = lean_array_push(x_120, x_80); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_32); +lean_ctor_set(x_122, 1, x_121); if (lean_is_scalar(x_28)) { - x_124 = lean_alloc_ctor(0, 2, 0); + x_123 = lean_alloc_ctor(0, 2, 0); } else { - x_124 = x_28; -} -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_27); -return x_124; + x_123 = x_28; } +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_27); +return x_123; } } } else { -uint8_t x_151; +uint8_t x_145; lean_dec(x_15); lean_dec(x_13); lean_dec(x_10); @@ -1758,23 +1507,430 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_151 = !lean_is_exclusive(x_16); -if (x_151 == 0) +x_145 = !lean_is_exclusive(x_16); +if (x_145 == 0) { return x_16; } else { -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_16, 0); -x_153 = lean_ctor_get(x_16, 1); -lean_inc(x_153); -lean_inc(x_152); +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_16, 0); +x_147 = lean_ctor_get(x_16, 1); +lean_inc(x_147); +lean_inc(x_146); lean_dec(x_16); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); -return x_154; +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_147); +return x_148; +} +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_unsigned_to_nat(4u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_isNone(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_nullKind; +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_12); +x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = lean_box(1); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_10); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Lean_Syntax_getArg(x_12, x_19); +lean_dec(x_12); +x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +lean_inc(x_3); +x_22 = lean_name_mk_string(x_3, x_21); +lean_inc(x_20); +x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_20); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_box(1); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_10); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_unsigned_to_nat(3u); +x_27 = l_Lean_Syntax_getArg(x_20, x_26); +lean_dec(x_20); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_expandMixfix___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_29, x_28, x_9, x_10); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_12); +x_31 = lean_box(0); +x_32 = lean_box(0); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_32, x_31, x_9, x_10); +return x_33; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_unsigned_to_nat(5u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = lean_unsigned_to_nat(7u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_inc(x_10); +lean_inc(x_2); +x_16 = l_Lean_evalPrec(x_2, x_10, x_11); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_17, x_19); +lean_dec(x_17); +x_21 = l_Nat_repr(x_20); +x_22 = l_Lean_numLitKind; +x_23 = lean_box(2); +x_24 = l_Lean_Syntax_mkLit(x_22, x_21, x_23); +x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_10, x_18); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_ctor_get(x_10, 2); +lean_inc(x_29); +x_30 = lean_ctor_get(x_10, 1); +lean_inc(x_30); +lean_dec(x_10); +x_31 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; +lean_inc(x_3); +x_32 = lean_name_mk_string(x_3, x_31); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_4); +lean_ctor_set(x_34, 1, x_33); +lean_inc(x_26); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_31); +x_36 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_inc(x_26); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_26); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_39 = lean_array_push(x_38, x_37); +lean_inc(x_39); +x_40 = lean_array_push(x_39, x_2); +lean_inc(x_5); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_5); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_43 = lean_array_push(x_42, x_41); +x_44 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; +lean_inc(x_3); +x_47 = lean_name_mk_string(x_3, x_46); +x_48 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__4; +lean_inc(x_29); +lean_inc(x_30); +x_49 = l_Lean_addMacroScope(x_30, x_48, x_29); +x_50 = lean_box(0); +x_51 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__3; +lean_inc(x_26); +x_52 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_52, 0, x_26); +lean_ctor_set(x_52, 1, x_51); +lean_ctor_set(x_52, 2, x_49); +lean_ctor_set(x_52, 3, x_50); +x_53 = lean_array_push(x_39, x_24); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_5); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_array_push(x_42, x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_44); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_array_push(x_38, x_52); +lean_inc(x_56); +lean_inc(x_57); +x_58 = lean_array_push(x_57, x_56); +lean_inc(x_47); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_47); +lean_ctor_set(x_59, 1, x_58); +x_60 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__8; +x_61 = l_Lean_addMacroScope(x_30, x_60, x_29); +x_62 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__7; +lean_inc(x_26); +x_63 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_63, 0, x_26); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_63, 2, x_61); +lean_ctor_set(x_63, 3, x_50); +lean_inc(x_63); +x_64 = lean_array_push(x_38, x_63); +x_65 = lean_array_push(x_64, x_56); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_47); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__9; +x_68 = lean_array_push(x_67, x_59); +x_69 = lean_array_push(x_68, x_13); +x_70 = lean_array_push(x_69, x_66); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_44); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; +lean_inc(x_26); +x_73 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_73, 0, x_26); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_75 = lean_name_mk_string(x_6, x_74); +x_76 = lean_array_push(x_57, x_63); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_44); +lean_ctor_set(x_77, 1, x_76); +x_78 = lean_array_push(x_38, x_15); +x_79 = lean_array_push(x_78, x_77); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_75); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +x_82 = lean_array_push(x_81, x_34); +x_83 = lean_array_push(x_82, x_35); +x_84 = lean_array_push(x_83, x_45); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_125; +x_125 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_85 = x_125; +goto block_124; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_126 = lean_ctor_get(x_7, 0); +lean_inc(x_126); +lean_dec(x_7); +x_127 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +lean_inc(x_3); +x_128 = lean_name_mk_string(x_3, x_127); +x_129 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +lean_inc(x_26); +x_130 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_130, 0, x_26); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; +lean_inc(x_26); +x_132 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_132, 0, x_26); +lean_ctor_set(x_132, 1, x_131); +x_133 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +lean_inc(x_26); +x_134 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_134, 0, x_26); +lean_ctor_set(x_134, 1, x_133); +x_135 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +lean_inc(x_26); +x_136 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_136, 0, x_26); +lean_ctor_set(x_136, 1, x_135); +x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +x_138 = lean_array_push(x_137, x_130); +x_139 = lean_array_push(x_138, x_132); +x_140 = lean_array_push(x_139, x_134); +x_141 = lean_array_push(x_140, x_126); +x_142 = lean_array_push(x_141, x_136); +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_128); +lean_ctor_set(x_143, 1, x_142); +x_144 = lean_array_push(x_42, x_143); +x_85 = x_144; +goto block_124; +} +block_124: +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_86 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_87 = l_Array_append___rarg(x_86, x_85); +lean_dec(x_85); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_44); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_array_push(x_84, x_88); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_dec(x_26); +lean_dec(x_3); +x_90 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_91 = lean_array_push(x_89, x_90); +x_92 = lean_array_push(x_91, x_71); +x_93 = lean_array_push(x_92, x_73); +x_94 = lean_array_push(x_93, x_80); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_32); +lean_ctor_set(x_95, 1, x_94); +if (lean_is_scalar(x_28)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_28; +} +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_27); +return x_96; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_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; +x_97 = lean_ctor_get(x_9, 0); +lean_inc(x_97); +lean_dec(x_9); +x_98 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_99 = lean_name_mk_string(x_3, x_98); +x_100 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +lean_inc(x_26); +x_101 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_101, 0, x_26); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +lean_inc(x_26); +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_26); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +lean_inc(x_26); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_26); +lean_ctor_set(x_105, 1, x_104); +x_106 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_107 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_107, 0, x_26); +lean_ctor_set(x_107, 1, x_106); +x_108 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +x_109 = lean_array_push(x_108, x_101); +x_110 = lean_array_push(x_109, x_103); +x_111 = lean_array_push(x_110, x_105); +x_112 = lean_array_push(x_111, x_97); +x_113 = lean_array_push(x_112, x_107); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_99); +lean_ctor_set(x_114, 1, x_113); +x_115 = lean_array_push(x_42, x_114); +x_116 = l_Array_append___rarg(x_86, x_115); +lean_dec(x_115); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_44); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_array_push(x_89, x_117); +x_119 = lean_array_push(x_118, x_71); +x_120 = lean_array_push(x_119, x_73); +x_121 = lean_array_push(x_120, x_80); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_32); +lean_ctor_set(x_122, 1, x_121); +if (lean_is_scalar(x_28)) { + x_123 = lean_alloc_ctor(0, 2, 0); +} else { + x_123 = x_28; +} +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_27); +return x_123; +} +} +} +else +{ +uint8_t x_145; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_145 = !lean_is_exclusive(x_16); +if (x_145 == 0) +{ +return x_16; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_16, 0); +x_147 = lean_ctor_get(x_16, 1); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_16); +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_147); +return x_148; } } } @@ -1816,7 +1972,7 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint x_19 = lean_unsigned_to_nat(0u); x_20 = l_Lean_Syntax_getArg(x_12, x_19); lean_dec(x_12); -x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; lean_inc(x_3); x_22 = lean_name_mk_string(x_3, x_21); lean_inc(x_20); @@ -1864,89 +2020,7 @@ return x_33; } } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNone(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_nullKind; -x_14 = lean_unsigned_to_nat(1u); -lean_inc(x_11); -x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_box(1); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_11, x_18); -lean_dec(x_11); -x_20 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; -lean_inc(x_2); -x_21 = lean_name_mk_string(x_2, x_20); -lean_inc(x_19); -x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = lean_box(1); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_9); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = l_Lean_Syntax_getArg(x_19, x_10); -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Command_expandMixfix___lambda__8(x_1, x_7, x_2, x_3, x_4, x_5, x_27, x_26, x_8, x_9); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_11); -x_29 = lean_box(0); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__8(x_1, x_7, x_2, x_3, x_4, x_5, x_30, x_29, x_8, x_9); -return x_31; -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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; @@ -1956,10 +2030,10 @@ x_14 = lean_unsigned_to_nat(7u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_inc(x_10); lean_inc(x_2); -x_16 = l_Lean_evalOptPrec(x_2, x_10, x_11); +x_16 = l_Lean_evalPrec(x_2, x_10, x_11); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); @@ -2002,640 +2076,103 @@ x_35 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_35, 0, x_26); lean_ctor_set(x_35, 1, x_31); x_36 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_inc(x_26); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_26); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_39 = lean_array_push(x_38, x_37); +lean_inc(x_39); +x_40 = lean_array_push(x_39, x_2); +lean_inc(x_5); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_5); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_43 = lean_array_push(x_42, x_41); +x_44 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; lean_inc(x_3); -x_37 = lean_name_mk_string(x_3, x_36); -x_38 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; +x_47 = lean_name_mk_string(x_3, x_46); +x_48 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__4; lean_inc(x_29); lean_inc(x_30); -x_39 = l_Lean_addMacroScope(x_30, x_38, x_29); -x_40 = lean_box(0); -x_41 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; +x_49 = l_Lean_addMacroScope(x_30, x_48, x_29); +x_50 = lean_box(0); +x_51 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__3; lean_inc(x_26); -x_42 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_42, 0, x_26); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_42, 2, x_39); -lean_ctor_set(x_42, 3, x_40); -x_43 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; -x_44 = lean_name_mk_string(x_5, x_43); -x_45 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; -lean_inc(x_26); -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_26); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; -x_48 = lean_array_push(x_47, x_46); -lean_inc(x_48); -x_49 = lean_array_push(x_48, x_24); -lean_inc(x_44); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_44); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; -x_52 = lean_array_push(x_51, x_50); -x_53 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_array_push(x_47, x_42); -lean_inc(x_54); -lean_inc(x_55); -x_56 = lean_array_push(x_55, x_54); -lean_inc(x_37); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_37); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; -x_59 = l_Lean_addMacroScope(x_30, x_58, x_29); -x_60 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; -lean_inc(x_26); -x_61 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_61, 0, x_26); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_61, 2, x_59); -lean_ctor_set(x_61, 3, x_40); -lean_inc(x_61); -x_62 = lean_array_push(x_47, x_61); -x_63 = lean_array_push(x_62, x_54); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_37); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9; -x_66 = lean_array_push(x_65, x_57); -x_67 = lean_array_push(x_66, x_13); -x_68 = lean_array_push(x_67, x_64); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_53); -lean_ctor_set(x_69, 1, x_68); -x_70 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; -lean_inc(x_26); -x_71 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_71, 0, x_26); -lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; -x_73 = lean_name_mk_string(x_6, x_72); -x_74 = lean_array_push(x_55, x_61); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_53); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_array_push(x_47, x_15); -x_77 = lean_array_push(x_76, x_75); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_73); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; -x_80 = lean_array_push(x_79, x_34); -x_81 = lean_array_push(x_80, x_35); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_146; -lean_dec(x_48); -lean_dec(x_44); -x_146 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_82 = x_146; -goto block_145; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_147 = lean_ctor_get(x_2, 0); -lean_inc(x_147); -lean_dec(x_2); -x_148 = lean_array_push(x_48, x_147); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_44); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_array_push(x_51, x_149); -x_82 = x_150; -goto block_145; -} -block_145: -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_83 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_84 = l_Array_append___rarg(x_83, x_82); -lean_dec(x_82); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_53); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_81, x_85); -if (lean_obj_tag(x_7) == 0) -{ -x_87 = x_83; -goto block_125; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_126 = lean_ctor_get(x_7, 0); -lean_inc(x_126); -lean_dec(x_7); -x_127 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; -lean_inc(x_3); -x_128 = lean_name_mk_string(x_3, x_127); -x_129 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; -lean_inc(x_26); -x_130 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_130, 0, x_26); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; -lean_inc(x_26); -x_132 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_132, 0, x_26); -lean_ctor_set(x_132, 1, x_131); -x_133 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; -lean_inc(x_26); -x_134 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_134, 0, x_26); -lean_ctor_set(x_134, 1, x_133); -x_135 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; -lean_inc(x_26); -x_136 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_136, 0, x_26); -lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; -x_138 = lean_array_push(x_137, x_130); -x_139 = lean_array_push(x_138, x_132); -x_140 = lean_array_push(x_139, x_134); -x_141 = lean_array_push(x_140, x_126); -x_142 = lean_array_push(x_141, x_136); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_128); -lean_ctor_set(x_143, 1, x_142); -x_144 = lean_array_push(x_51, x_143); -x_87 = x_144; -goto block_125; -} -block_125: -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = l_Array_append___rarg(x_83, x_87); -lean_dec(x_87); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_53); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_push(x_86, x_89); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -lean_dec(x_26); -lean_dec(x_3); -x_91 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; -x_92 = lean_array_push(x_90, x_91); -x_93 = lean_array_push(x_92, x_69); -x_94 = lean_array_push(x_93, x_71); -x_95 = lean_array_push(x_94, x_78); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_32); -lean_ctor_set(x_96, 1, x_95); -if (lean_is_scalar(x_28)) { - x_97 = lean_alloc_ctor(0, 2, 0); -} else { - x_97 = x_28; -} -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_27); -return x_97; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_98 = lean_ctor_get(x_9, 0); -lean_inc(x_98); -lean_dec(x_9); -x_99 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; -x_100 = lean_name_mk_string(x_3, x_99); -x_101 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; -lean_inc(x_26); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_26); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; -lean_inc(x_26); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_26); -lean_ctor_set(x_104, 1, x_103); -x_105 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; -lean_inc(x_26); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_26); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_26); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; -x_110 = lean_array_push(x_109, x_102); -x_111 = lean_array_push(x_110, x_104); -x_112 = lean_array_push(x_111, x_106); -x_113 = lean_array_push(x_112, x_98); -x_114 = lean_array_push(x_113, x_108); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_100); -lean_ctor_set(x_115, 1, x_114); -x_116 = lean_array_push(x_51, x_115); -x_117 = l_Array_append___rarg(x_83, x_116); -lean_dec(x_116); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_53); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_array_push(x_90, x_118); -x_120 = lean_array_push(x_119, x_69); -x_121 = lean_array_push(x_120, x_71); -x_122 = lean_array_push(x_121, x_78); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_32); -lean_ctor_set(x_123, 1, x_122); -if (lean_is_scalar(x_28)) { - x_124 = lean_alloc_ctor(0, 2, 0); -} else { - x_124 = x_28; -} -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_27); -return x_124; -} -} -} -} -else -{ -uint8_t x_151; -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_151 = !lean_is_exclusive(x_16); -if (x_151 == 0) -{ -return x_16; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_16, 0); -x_153 = lean_ctor_get(x_16, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_16); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); -return x_154; -} -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_unsigned_to_nat(4u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_isNone(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_nullKind; -x_15 = lean_unsigned_to_nat(1u); -lean_inc(x_12); -x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_17 = lean_box(1); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_10); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_Lean_Syntax_getArg(x_12, x_19); -lean_dec(x_12); -x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; -lean_inc(x_3); -x_22 = lean_name_mk_string(x_3, x_21); -lean_inc(x_20); -x_23 = l_Lean_Syntax_isOfKind(x_20, x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -lean_dec(x_20); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_24 = lean_box(1); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_10); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_unsigned_to_nat(3u); -x_27 = l_Lean_Syntax_getArg(x_20, x_26); -lean_dec(x_20); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_expandMixfix___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_29, x_28, x_9, x_10); -return x_30; -} -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_12); -x_31 = lean_box(0); -x_32 = lean_box(0); -x_33 = l_Lean_Elab_Command_expandMixfix___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_32, x_31, x_9, x_10); -return x_33; -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNone(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_nullKind; -x_14 = lean_unsigned_to_nat(1u); -lean_inc(x_11); -x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_box(1); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_11, x_18); -lean_dec(x_11); -x_20 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; -lean_inc(x_2); -x_21 = lean_name_mk_string(x_2, x_20); -lean_inc(x_19); -x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = lean_box(1); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_9); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = l_Lean_Syntax_getArg(x_19, x_10); -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Command_expandMixfix___lambda__11(x_1, x_7, x_2, x_3, x_4, x_5, x_27, x_26, x_8, x_9); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_11); -x_29 = lean_box(0); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__11(x_1, x_7, x_2, x_3, x_4, x_5, x_30, x_29, x_8, x_9); -return x_31; -} -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_unsigned_to_nat(5u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = lean_unsigned_to_nat(7u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -lean_inc(x_10); -lean_inc(x_2); -x_16 = l_Lean_evalOptPrec(x_2, x_10, x_11); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_17, x_19); -lean_dec(x_17); -x_21 = l_Nat_repr(x_20); -x_22 = l_Lean_numLitKind; -x_23 = lean_box(2); -x_24 = l_Lean_Syntax_mkLit(x_22, x_21, x_23); -x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_10, x_18); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_28 = x_25; -} else { - lean_dec_ref(x_25); - x_28 = lean_box(0); -} -x_29 = lean_ctor_get(x_10, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_10, 1); -lean_inc(x_30); -lean_dec(x_10); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; -lean_inc(x_3); -x_32 = lean_name_mk_string(x_3, x_31); -x_33 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_4); -lean_ctor_set(x_34, 1, x_33); -lean_inc(x_26); -x_35 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_35, 0, x_26); -lean_ctor_set(x_35, 1, x_31); -x_36 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -lean_inc(x_3); -x_37 = lean_name_mk_string(x_3, x_36); -x_38 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; -lean_inc(x_29); -lean_inc(x_30); -x_39 = l_Lean_addMacroScope(x_30, x_38, x_29); -x_40 = lean_box(0); -x_41 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; -lean_inc(x_26); -x_42 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_42, 0, x_26); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_42, 2, x_39); -lean_ctor_set(x_42, 3, x_40); -x_43 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; -x_44 = lean_array_push(x_43, x_42); -x_45 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; -x_46 = l_Lean_addMacroScope(x_30, x_45, x_29); -x_47 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; -lean_inc(x_26); -x_48 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_48, 0, x_26); -lean_ctor_set(x_48, 1, x_47); -lean_ctor_set(x_48, 2, x_46); -lean_ctor_set(x_48, 3, x_40); -x_49 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; -x_50 = lean_name_mk_string(x_5, x_49); -x_51 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; -lean_inc(x_26); -x_52 = lean_alloc_ctor(2, 2, 0); +x_52 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_52, 0, x_26); lean_ctor_set(x_52, 1, x_51); -x_53 = lean_array_push(x_43, x_52); +lean_ctor_set(x_52, 2, x_49); +lean_ctor_set(x_52, 3, x_50); +x_53 = lean_array_push(x_38, x_52); +lean_inc(x_45); lean_inc(x_53); -x_54 = lean_array_push(x_53, x_24); -lean_inc(x_50); +x_54 = lean_array_push(x_53, x_45); +lean_inc(x_47); x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_50); +lean_ctor_set(x_55, 0, x_47); lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; -x_57 = lean_array_push(x_56, x_55); -x_58 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -lean_inc(x_48); -x_60 = lean_array_push(x_43, x_48); -x_61 = lean_array_push(x_60, x_59); -lean_inc(x_37); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_37); -lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; +x_56 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__8; +x_57 = l_Lean_addMacroScope(x_30, x_56, x_29); +x_58 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__7; lean_inc(x_26); -x_64 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_64, 0, x_26); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; -x_66 = lean_name_mk_string(x_6, x_65); -lean_inc(x_44); -x_67 = lean_array_push(x_44, x_48); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_58); -lean_ctor_set(x_68, 1, x_67); -x_69 = lean_array_push(x_43, x_15); -x_70 = lean_array_push(x_69, x_68); +x_59 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_59, 0, x_26); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_57); +lean_ctor_set(x_59, 3, x_50); +x_60 = lean_array_push(x_39, x_24); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_5); +lean_ctor_set(x_61, 1, x_60); +x_62 = lean_array_push(x_42, x_61); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_44); +lean_ctor_set(x_63, 1, x_62); +lean_inc(x_59); +x_64 = lean_array_push(x_38, x_59); +x_65 = lean_array_push(x_64, x_63); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_47); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_Elab_Command_expandMixfix___lambda__5___closed__9; +x_68 = lean_array_push(x_67, x_55); +x_69 = lean_array_push(x_68, x_13); +x_70 = lean_array_push(x_69, x_66); x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_66); +lean_ctor_set(x_71, 0, x_44); lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; -x_73 = lean_array_push(x_72, x_34); -x_74 = lean_array_push(x_73, x_35); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_146; -lean_dec(x_53); -lean_dec(x_50); -x_146 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_75 = x_146; -goto block_145; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_147 = lean_ctor_get(x_2, 0); -lean_inc(x_147); -lean_dec(x_2); -x_148 = lean_array_push(x_53, x_147); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_50); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_array_push(x_56, x_149); -x_75 = x_150; -goto block_145; -} -block_145: -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_77 = l_Array_append___rarg(x_76, x_75); -lean_dec(x_75); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_58); -lean_ctor_set(x_78, 1, x_77); -lean_inc(x_78); -x_79 = lean_array_push(x_44, x_78); +x_72 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; +lean_inc(x_26); +x_73 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_73, 0, x_26); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_75 = lean_name_mk_string(x_6, x_74); +x_76 = lean_array_push(x_53, x_59); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_44); +lean_ctor_set(x_77, 1, x_76); +x_78 = lean_array_push(x_38, x_15); +x_79 = lean_array_push(x_78, x_77); x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_37); +lean_ctor_set(x_80, 0, x_75); lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9; -x_82 = lean_array_push(x_81, x_80); -x_83 = lean_array_push(x_82, x_13); -x_84 = lean_array_push(x_83, x_62); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_58); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_74, x_78); +x_81 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +x_82 = lean_array_push(x_81, x_34); +x_83 = lean_array_push(x_82, x_35); +x_84 = lean_array_push(x_83, x_45); if (lean_obj_tag(x_7) == 0) { -x_87 = x_76; -goto block_125; +lean_object* x_125; +x_125 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_85 = x_125; +goto block_124; } else { @@ -2643,30 +2180,30 @@ lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; x_126 = lean_ctor_get(x_7, 0); lean_inc(x_126); lean_dec(x_7); -x_127 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +x_127 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; lean_inc(x_3); x_128 = lean_name_mk_string(x_3, x_127); -x_129 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_129 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; lean_inc(x_26); x_130 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_130, 0, x_26); lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; lean_inc(x_26); x_132 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_132, 0, x_26); lean_ctor_set(x_132, 1, x_131); -x_133 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +x_133 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; lean_inc(x_26); x_134 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_134, 0, x_26); lean_ctor_set(x_134, 1, x_133); -x_135 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +x_135 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; lean_inc(x_26); x_136 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_136, 0, x_26); lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; x_138 = lean_array_push(x_137, x_130); x_139 = lean_array_push(x_138, x_132); x_140 = lean_array_push(x_139, x_134); @@ -2675,105 +2212,105 @@ x_142 = lean_array_push(x_141, x_136); x_143 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_143, 0, x_128); lean_ctor_set(x_143, 1, x_142); -x_144 = lean_array_push(x_56, x_143); -x_87 = x_144; -goto block_125; +x_144 = lean_array_push(x_42, x_143); +x_85 = x_144; +goto block_124; } -block_125: +block_124: { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = l_Array_append___rarg(x_76, x_87); -lean_dec(x_87); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_58); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_push(x_86, x_89); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_86 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_87 = l_Array_append___rarg(x_86, x_85); +lean_dec(x_85); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_44); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_array_push(x_84, x_88); if (lean_obj_tag(x_9) == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_dec(x_26); lean_dec(x_3); -x_91 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; -x_92 = lean_array_push(x_90, x_91); -x_93 = lean_array_push(x_92, x_85); -x_94 = lean_array_push(x_93, x_64); -x_95 = lean_array_push(x_94, x_71); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_32); -lean_ctor_set(x_96, 1, x_95); +x_90 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_91 = lean_array_push(x_89, x_90); +x_92 = lean_array_push(x_91, x_71); +x_93 = lean_array_push(x_92, x_73); +x_94 = lean_array_push(x_93, x_80); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_32); +lean_ctor_set(x_95, 1, x_94); if (lean_is_scalar(x_28)) { - x_97 = lean_alloc_ctor(0, 2, 0); + x_96 = lean_alloc_ctor(0, 2, 0); } else { - x_97 = x_28; + x_96 = x_28; } -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_27); -return x_97; +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_27); +return x_96; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_98 = lean_ctor_get(x_9, 0); -lean_inc(x_98); +lean_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; +x_97 = lean_ctor_get(x_9, 0); +lean_inc(x_97); lean_dec(x_9); -x_99 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; -x_100 = lean_name_mk_string(x_3, x_99); -x_101 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_98 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_99 = lean_name_mk_string(x_3, x_98); +x_100 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; lean_inc(x_26); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_26); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +x_101 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_101, 0, x_26); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; lean_inc(x_26); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_26); -lean_ctor_set(x_104, 1, x_103); -x_105 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_26); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; lean_inc(x_26); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_26); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_26); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; -x_110 = lean_array_push(x_109, x_102); -x_111 = lean_array_push(x_110, x_104); -x_112 = lean_array_push(x_111, x_106); -x_113 = lean_array_push(x_112, x_98); -x_114 = lean_array_push(x_113, x_108); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_100); -lean_ctor_set(x_115, 1, x_114); -x_116 = lean_array_push(x_56, x_115); -x_117 = l_Array_append___rarg(x_76, x_116); -lean_dec(x_116); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_58); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_array_push(x_90, x_118); -x_120 = lean_array_push(x_119, x_85); -x_121 = lean_array_push(x_120, x_64); -x_122 = lean_array_push(x_121, x_71); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_32); -lean_ctor_set(x_123, 1, x_122); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_26); +lean_ctor_set(x_105, 1, x_104); +x_106 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_107 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_107, 0, x_26); +lean_ctor_set(x_107, 1, x_106); +x_108 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +x_109 = lean_array_push(x_108, x_101); +x_110 = lean_array_push(x_109, x_103); +x_111 = lean_array_push(x_110, x_105); +x_112 = lean_array_push(x_111, x_97); +x_113 = lean_array_push(x_112, x_107); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_99); +lean_ctor_set(x_114, 1, x_113); +x_115 = lean_array_push(x_42, x_114); +x_116 = l_Array_append___rarg(x_86, x_115); +lean_dec(x_115); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_44); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_array_push(x_89, x_117); +x_119 = lean_array_push(x_118, x_71); +x_120 = lean_array_push(x_119, x_73); +x_121 = lean_array_push(x_120, x_80); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_32); +lean_ctor_set(x_122, 1, x_121); if (lean_is_scalar(x_28)) { - x_124 = lean_alloc_ctor(0, 2, 0); + x_123 = lean_alloc_ctor(0, 2, 0); } else { - x_124 = x_28; -} -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_27); -return x_124; + x_123 = x_28; } +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_27); +return x_123; } } } else { -uint8_t x_151; +uint8_t x_145; lean_dec(x_15); lean_dec(x_13); lean_dec(x_10); @@ -2784,28 +2321,28 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_151 = !lean_is_exclusive(x_16); -if (x_151 == 0) +x_145 = !lean_is_exclusive(x_16); +if (x_145 == 0) { return x_16; } else { -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_16, 0); -x_153 = lean_ctor_get(x_16, 1); -lean_inc(x_153); -lean_inc(x_152); +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_16, 0); +x_147 = lean_ctor_get(x_16, 1); +lean_inc(x_147); +lean_inc(x_146); lean_dec(x_16); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); -return x_154; +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_147); +return x_148; } } } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -2842,7 +2379,7 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint x_19 = lean_unsigned_to_nat(0u); x_20 = l_Lean_Syntax_getArg(x_12, x_19); lean_dec(x_12); -x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_21 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; lean_inc(x_3); x_22 = lean_name_mk_string(x_3, x_21); lean_inc(x_20); @@ -2874,7 +2411,7 @@ lean_dec(x_20); x_28 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_28, 0, x_27); x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_expandMixfix___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_29, x_28, x_9, x_10); +x_30 = l_Lean_Elab_Command_expandMixfix___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_29, x_28, x_9, x_10); return x_30; } } @@ -2885,94 +2422,12 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_dec(x_12); x_31 = lean_box(0); x_32 = lean_box(0); -x_33 = l_Lean_Elab_Command_expandMixfix___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_32, x_31, x_9, x_10); +x_33 = l_Lean_Elab_Command_expandMixfix___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_32, x_31, x_9, x_10); return x_33; } } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNone(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_nullKind; -x_14 = lean_unsigned_to_nat(1u); -lean_inc(x_11); -x_15 = l_Lean_Syntax_isNodeOf(x_11, x_13, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_box(1); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_11, x_18); -lean_dec(x_11); -x_20 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; -lean_inc(x_2); -x_21 = lean_name_mk_string(x_2, x_20); -lean_inc(x_19); -x_22 = l_Lean_Syntax_isOfKind(x_19, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = lean_box(1); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_9); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = l_Lean_Syntax_getArg(x_19, x_10); -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Command_expandMixfix___lambda__14(x_1, x_7, x_2, x_3, x_4, x_5, x_27, x_26, x_8, x_9); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_11); -x_29 = lean_box(0); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_expandMixfix___lambda__14(x_1, x_7, x_2, x_3, x_4, x_5, x_30, x_29, x_8, x_9); -return x_31; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__1() { _start: { lean_object* x_1; @@ -2980,17 +2435,17 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__3() { _start: { lean_object* x_1; @@ -2998,17 +2453,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__2; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__5() { _start: { lean_object* x_1; @@ -3016,17 +2471,17 @@ x_1 = lean_mk_string("Command"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__4; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__7() { _start: { lean_object* x_1; @@ -3034,17 +2489,17 @@ x_1 = lean_mk_string("mixfix"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__9() { _start: { lean_object* x_1; @@ -3052,17 +2507,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__4; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__11() { _start: { lean_object* x_1; @@ -3070,17 +2525,17 @@ x_1 = lean_mk_string("attrKind"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__13() { _start: { lean_object* x_1; @@ -3088,17 +2543,17 @@ x_1 = lean_mk_string("infixl"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__14() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__15() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__15() { _start: { lean_object* x_1; @@ -3106,17 +2561,17 @@ x_1 = lean_mk_string("infix"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__16() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__15; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__15; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__17() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__17() { _start: { lean_object* x_1; @@ -3124,17 +2579,17 @@ x_1 = lean_mk_string("infixr"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__18() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__17; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__19() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__19() { _start: { lean_object* x_1; @@ -3142,17 +2597,17 @@ x_1 = lean_mk_string("prefix"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__20() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__19; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__19; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__21() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__21() { _start: { lean_object* x_1; @@ -3160,31 +2615,49 @@ x_1 = lean_mk_string("postfix"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__22() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__21; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("precedence"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__4; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__23; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8; +x_4 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__8; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -3203,7 +2676,7 @@ else lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12; +x_10 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__12; lean_inc(x_9); x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); if (x_11 == 0) @@ -3241,31 +2714,31 @@ else lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; x_19 = lean_unsigned_to_nat(1u); x_20 = l_Lean_Syntax_getArg(x_1, x_19); -x_21 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__14; +x_21 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__14; lean_inc(x_20); x_22 = l_Lean_Syntax_isOfKind(x_20, x_21); if (x_22 == 0) { lean_object* x_23; uint8_t x_24; -x_23 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__16; +x_23 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__16; lean_inc(x_20); x_24 = l_Lean_Syntax_isOfKind(x_20, x_23); if (x_24 == 0) { lean_object* x_25; uint8_t x_26; -x_25 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__18; +x_25 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__18; lean_inc(x_20); x_26 = l_Lean_Syntax_isOfKind(x_20, x_25); if (x_26 == 0) { lean_object* x_27; uint8_t x_28; -x_27 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__20; +x_27 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__20; lean_inc(x_20); x_28 = l_Lean_Syntax_isOfKind(x_20, x_27); if (x_28 == 0) { lean_object* x_29; uint8_t x_30; -x_29 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__22; +x_29 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__22; x_30 = l_Lean_Syntax_isOfKind(x_20, x_29); if (x_30 == 0) { @@ -3280,15 +2753,12 @@ return x_32; } else { -lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; x_33 = lean_unsigned_to_nat(2u); x_34 = l_Lean_Syntax_getArg(x_1, x_33); -x_35 = l_Lean_Syntax_isNone(x_34); -if (x_35 == 0) -{ -uint8_t x_36; +x_35 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__24; lean_inc(x_34); -x_36 = l_Lean_Syntax_isNodeOf(x_34, x_15, x_19); +x_36 = l_Lean_Syntax_isOfKind(x_34, x_35); if (x_36 == 0) { lean_object* x_37; lean_object* x_38; @@ -3303,51 +2773,62 @@ return x_38; } else { -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = l_Lean_Syntax_getArg(x_34, x_8); +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = l_Lean_Syntax_getArg(x_34, x_19); lean_dec(x_34); -x_40 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23; -lean_inc(x_39); -x_41 = l_Lean_Syntax_isOfKind(x_39, x_40); -if (x_41 == 0) +x_40 = lean_unsigned_to_nat(3u); +x_41 = l_Lean_Syntax_getArg(x_1, x_40); +x_42 = l_Lean_Syntax_isNone(x_41); +if (x_42 == 0) { -lean_object* x_42; lean_object* x_43; +uint8_t x_43; +lean_inc(x_41); +x_43 = l_Lean_Syntax_isNodeOf(x_41, x_15, x_19); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_41); lean_dec(x_39); lean_dec(x_2); lean_dec(x_1); -x_42 = lean_box(1); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_3); -return x_43; +x_44 = lean_box(1); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_3); +return x_45; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_44 = l_Lean_Syntax_getArg(x_39, x_19); +lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_46 = l_Lean_Syntax_getArg(x_41, x_8); +lean_dec(x_41); +x_47 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__25; +lean_inc(x_46); +x_48 = l_Lean_Syntax_isOfKind(x_46, x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_46); lean_dec(x_39); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_44); -x_46 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_47 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -x_48 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -x_49 = lean_box(0); -x_50 = l_Lean_Elab_Command_expandMixfix___lambda__3(x_1, x_46, x_10, x_47, x_48, x_49, x_45, x_2, x_3); +lean_dec(x_2); lean_dec(x_1); +x_49 = lean_box(1); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_3); return x_50; } -} -} else { lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_34); -x_51 = lean_box(0); -x_52 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_53 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -x_54 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; +x_51 = l_Lean_Syntax_getArg(x_46, x_40); +lean_dec(x_46); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_54 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10; x_55 = lean_box(0); -x_56 = l_Lean_Elab_Command_expandMixfix___lambda__3(x_1, x_52, x_10, x_53, x_54, x_55, x_51, x_2, x_3); +x_56 = l_Lean_Elab_Command_expandMixfix___lambda__2(x_1, x_53, x_10, x_39, x_35, x_54, x_55, x_52, x_2, x_3); lean_dec(x_1); return x_56; } @@ -3355,34 +2836,26 @@ return x_56; } else { -lean_object* x_57; lean_object* x_58; uint8_t x_59; -lean_dec(x_20); -x_57 = lean_unsigned_to_nat(2u); -x_58 = l_Lean_Syntax_getArg(x_1, x_57); -x_59 = l_Lean_Syntax_isNone(x_58); -if (x_59 == 0) -{ -uint8_t x_60; -lean_inc(x_58); -x_60 = l_Lean_Syntax_isNodeOf(x_58, x_15, x_19); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; -lean_dec(x_58); -lean_dec(x_2); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_41); +x_57 = lean_box(0); +x_58 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_59 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10; +x_60 = lean_box(0); +x_61 = l_Lean_Elab_Command_expandMixfix___lambda__2(x_1, x_58, x_10, x_39, x_35, x_59, x_60, x_57, x_2, x_3); lean_dec(x_1); -x_61 = lean_box(1); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_3); -return x_62; +return x_61; +} +} +} } else { -lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_63 = l_Lean_Syntax_getArg(x_58, x_8); -lean_dec(x_58); -x_64 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23; +lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +lean_dec(x_20); +x_62 = lean_unsigned_to_nat(2u); +x_63 = l_Lean_Syntax_getArg(x_1, x_62); +x_64 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__24; lean_inc(x_63); x_65 = l_Lean_Syntax_isOfKind(x_63, x_64); if (x_65 == 0) @@ -3399,261 +2872,376 @@ return x_67; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; x_68 = l_Lean_Syntax_getArg(x_63, x_19); lean_dec(x_63); -x_69 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_69, 0, x_68); -x_70 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_71 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -x_72 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -x_73 = lean_box(0); -x_74 = l_Lean_Elab_Command_expandMixfix___lambda__6(x_1, x_70, x_10, x_71, x_72, x_73, x_69, x_2, x_3); +x_69 = lean_unsigned_to_nat(3u); +x_70 = l_Lean_Syntax_getArg(x_1, x_69); +x_71 = l_Lean_Syntax_isNone(x_70); +if (x_71 == 0) +{ +uint8_t x_72; +lean_inc(x_70); +x_72 = l_Lean_Syntax_isNodeOf(x_70, x_15, x_19); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +lean_dec(x_70); +lean_dec(x_68); +lean_dec(x_2); lean_dec(x_1); +x_73 = lean_box(1); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_3); return x_74; } -} -} else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -lean_dec(x_58); -x_75 = lean_box(0); -x_76 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_77 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -x_78 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -x_79 = lean_box(0); -x_80 = l_Lean_Elab_Command_expandMixfix___lambda__6(x_1, x_76, x_10, x_77, x_78, x_79, x_75, x_2, x_3); +lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_75 = l_Lean_Syntax_getArg(x_70, x_8); +lean_dec(x_70); +x_76 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__25; +lean_inc(x_75); +x_77 = l_Lean_Syntax_isOfKind(x_75, x_76); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_75); +lean_dec(x_68); +lean_dec(x_2); lean_dec(x_1); -return x_80; +x_78 = lean_box(1); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_3); +return x_79; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_80 = l_Lean_Syntax_getArg(x_75, x_69); +lean_dec(x_75); +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_83 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10; +x_84 = lean_box(0); +x_85 = l_Lean_Elab_Command_expandMixfix___lambda__4(x_1, x_82, x_10, x_68, x_64, x_83, x_84, x_81, x_2, x_3); +lean_dec(x_1); +return x_85; } } } else { -lean_object* x_81; lean_object* x_82; uint8_t x_83; +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_70); +x_86 = lean_box(0); +x_87 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_88 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10; +x_89 = lean_box(0); +x_90 = l_Lean_Elab_Command_expandMixfix___lambda__4(x_1, x_87, x_10, x_68, x_64, x_88, x_89, x_86, x_2, x_3); +lean_dec(x_1); +return x_90; +} +} +} +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; lean_dec(x_20); -x_81 = lean_unsigned_to_nat(2u); -x_82 = l_Lean_Syntax_getArg(x_1, x_81); -x_83 = l_Lean_Syntax_isNone(x_82); -if (x_83 == 0) +x_91 = lean_unsigned_to_nat(2u); +x_92 = l_Lean_Syntax_getArg(x_1, x_91); +x_93 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__24; +lean_inc(x_92); +x_94 = l_Lean_Syntax_isOfKind(x_92, x_93); +if (x_94 == 0) { -uint8_t x_84; -lean_inc(x_82); -x_84 = l_Lean_Syntax_isNodeOf(x_82, x_15, x_19); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; -lean_dec(x_82); +lean_object* x_95; lean_object* x_96; +lean_dec(x_92); lean_dec(x_2); lean_dec(x_1); -x_85 = lean_box(1); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_3); -return x_86; +x_95 = lean_box(1); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_3); +return x_96; } else { -lean_object* x_87; lean_object* x_88; uint8_t x_89; -x_87 = l_Lean_Syntax_getArg(x_82, x_8); -lean_dec(x_82); -x_88 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23; -lean_inc(x_87); -x_89 = l_Lean_Syntax_isOfKind(x_87, x_88); -if (x_89 == 0) +lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_97 = l_Lean_Syntax_getArg(x_92, x_19); +lean_dec(x_92); +x_98 = lean_unsigned_to_nat(3u); +x_99 = l_Lean_Syntax_getArg(x_1, x_98); +x_100 = l_Lean_Syntax_isNone(x_99); +if (x_100 == 0) { -lean_object* x_90; lean_object* x_91; -lean_dec(x_87); +uint8_t x_101; +lean_inc(x_99); +x_101 = l_Lean_Syntax_isNodeOf(x_99, x_15, x_19); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; +lean_dec(x_99); +lean_dec(x_97); lean_dec(x_2); lean_dec(x_1); -x_90 = lean_box(1); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_3); -return x_91; +x_102 = lean_box(1); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_3); +return x_103; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_92 = l_Lean_Syntax_getArg(x_87, x_19); -lean_dec(x_87); -x_93 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_93, 0, x_92); -x_94 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_95 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -x_96 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -x_97 = lean_box(0); -x_98 = l_Lean_Elab_Command_expandMixfix___lambda__9(x_1, x_94, x_10, x_95, x_96, x_97, x_93, x_2, x_3); -lean_dec(x_1); -return x_98; -} -} -} -else +lean_object* x_104; lean_object* x_105; uint8_t x_106; +x_104 = l_Lean_Syntax_getArg(x_99, x_8); +lean_dec(x_99); +x_105 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__25; +lean_inc(x_104); +x_106 = l_Lean_Syntax_isOfKind(x_104, x_105); +if (x_106 == 0) { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -lean_dec(x_82); -x_99 = lean_box(0); -x_100 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_101 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -x_102 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -x_103 = lean_box(0); -x_104 = l_Lean_Elab_Command_expandMixfix___lambda__9(x_1, x_100, x_10, x_101, x_102, x_103, x_99, x_2, x_3); -lean_dec(x_1); -return x_104; -} -} -} -else -{ -lean_object* x_105; lean_object* x_106; uint8_t x_107; -lean_dec(x_20); -x_105 = lean_unsigned_to_nat(2u); -x_106 = l_Lean_Syntax_getArg(x_1, x_105); -x_107 = l_Lean_Syntax_isNone(x_106); -if (x_107 == 0) -{ -uint8_t x_108; -lean_inc(x_106); -x_108 = l_Lean_Syntax_isNodeOf(x_106, x_15, x_19); -if (x_108 == 0) -{ -lean_object* x_109; lean_object* x_110; -lean_dec(x_106); +lean_object* x_107; lean_object* x_108; +lean_dec(x_104); +lean_dec(x_97); lean_dec(x_2); lean_dec(x_1); -x_109 = lean_box(1); -x_110 = lean_alloc_ctor(1, 2, 0); +x_107 = lean_box(1); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_3); +return x_108; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_109 = l_Lean_Syntax_getArg(x_104, x_98); +lean_dec(x_104); +x_110 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_3); -return x_110; -} -else -{ -lean_object* x_111; lean_object* x_112; uint8_t x_113; -x_111 = l_Lean_Syntax_getArg(x_106, x_8); -lean_dec(x_106); -x_112 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23; -lean_inc(x_111); -x_113 = l_Lean_Syntax_isOfKind(x_111, x_112); -if (x_113 == 0) -{ -lean_object* x_114; lean_object* x_115; -lean_dec(x_111); -lean_dec(x_2); +x_111 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_112 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10; +x_113 = lean_box(0); +x_114 = l_Lean_Elab_Command_expandMixfix___lambda__6(x_1, x_97, x_111, x_10, x_93, x_112, x_113, x_110, x_2, x_3); lean_dec(x_1); -x_114 = lean_box(1); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_3); -return x_115; +return x_114; +} +} } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_116 = l_Lean_Syntax_getArg(x_111, x_19); -lean_dec(x_111); -x_117 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_117, 0, x_116); -x_118 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_119 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -x_120 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -x_121 = lean_box(0); -x_122 = l_Lean_Elab_Command_expandMixfix___lambda__12(x_1, x_118, x_10, x_119, x_120, x_121, x_117, x_2, x_3); +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_dec(x_99); +x_115 = lean_box(0); +x_116 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_117 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10; +x_118 = lean_box(0); +x_119 = l_Lean_Elab_Command_expandMixfix___lambda__6(x_1, x_97, x_116, x_10, x_93, x_117, x_118, x_115, x_2, x_3); lean_dec(x_1); -return x_122; +return x_119; +} } } } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -lean_dec(x_106); -x_123 = lean_box(0); -x_124 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_125 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -x_126 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -x_127 = lean_box(0); -x_128 = l_Lean_Elab_Command_expandMixfix___lambda__12(x_1, x_124, x_10, x_125, x_126, x_127, x_123, x_2, x_3); -lean_dec(x_1); -return x_128; -} -} -} -else -{ -lean_object* x_129; lean_object* x_130; uint8_t x_131; +lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; lean_dec(x_20); -x_129 = lean_unsigned_to_nat(2u); -x_130 = l_Lean_Syntax_getArg(x_1, x_129); -x_131 = l_Lean_Syntax_isNone(x_130); -if (x_131 == 0) +x_120 = lean_unsigned_to_nat(2u); +x_121 = l_Lean_Syntax_getArg(x_1, x_120); +x_122 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__24; +lean_inc(x_121); +x_123 = l_Lean_Syntax_isOfKind(x_121, x_122); +if (x_123 == 0) { -uint8_t x_132; -lean_inc(x_130); -x_132 = l_Lean_Syntax_isNodeOf(x_130, x_15, x_19); -if (x_132 == 0) -{ -lean_object* x_133; lean_object* x_134; -lean_dec(x_130); +lean_object* x_124; lean_object* x_125; +lean_dec(x_121); lean_dec(x_2); lean_dec(x_1); -x_133 = lean_box(1); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_3); -return x_134; +x_124 = lean_box(1); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_3); +return x_125; } else { -lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_135 = l_Lean_Syntax_getArg(x_130, x_8); -lean_dec(x_130); -x_136 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23; -lean_inc(x_135); -x_137 = l_Lean_Syntax_isOfKind(x_135, x_136); -if (x_137 == 0) +lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; +x_126 = l_Lean_Syntax_getArg(x_121, x_19); +lean_dec(x_121); +x_127 = lean_unsigned_to_nat(3u); +x_128 = l_Lean_Syntax_getArg(x_1, x_127); +x_129 = l_Lean_Syntax_isNone(x_128); +if (x_129 == 0) { -lean_object* x_138; lean_object* x_139; -lean_dec(x_135); +uint8_t x_130; +lean_inc(x_128); +x_130 = l_Lean_Syntax_isNodeOf(x_128, x_15, x_19); +if (x_130 == 0) +{ +lean_object* x_131; lean_object* x_132; +lean_dec(x_128); +lean_dec(x_126); lean_dec(x_2); lean_dec(x_1); -x_138 = lean_box(1); -x_139 = lean_alloc_ctor(1, 2, 0); +x_131 = lean_box(1); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_3); +return x_132; +} +else +{ +lean_object* x_133; lean_object* x_134; uint8_t x_135; +x_133 = l_Lean_Syntax_getArg(x_128, x_8); +lean_dec(x_128); +x_134 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__25; +lean_inc(x_133); +x_135 = l_Lean_Syntax_isOfKind(x_133, x_134); +if (x_135 == 0) +{ +lean_object* x_136; lean_object* x_137; +lean_dec(x_133); +lean_dec(x_126); +lean_dec(x_2); +lean_dec(x_1); +x_136 = lean_box(1); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_3); +return x_137; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_138 = l_Lean_Syntax_getArg(x_133, x_127); +lean_dec(x_133); +x_139 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_3); -return x_139; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_140 = l_Lean_Syntax_getArg(x_135, x_19); -lean_dec(x_135); -x_141 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_141, 0, x_140); -x_142 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_143 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -x_144 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -x_145 = lean_box(0); -x_146 = l_Lean_Elab_Command_expandMixfix___lambda__15(x_1, x_142, x_10, x_143, x_144, x_145, x_141, x_2, x_3); +x_140 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_141 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10; +x_142 = lean_box(0); +x_143 = l_Lean_Elab_Command_expandMixfix___lambda__8(x_1, x_126, x_140, x_10, x_122, x_141, x_142, x_139, x_2, x_3); lean_dec(x_1); -return x_146; +return x_143; } } } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -lean_dec(x_130); +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_128); +x_144 = lean_box(0); +x_145 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_146 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10; x_147 = lean_box(0); -x_148 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; -x_149 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; -x_150 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -x_151 = lean_box(0); -x_152 = l_Lean_Elab_Command_expandMixfix___lambda__15(x_1, x_148, x_10, x_149, x_150, x_151, x_147, x_2, x_3); +x_148 = l_Lean_Elab_Command_expandMixfix___lambda__8(x_1, x_126, x_145, x_10, x_122, x_146, x_147, x_144, x_2, x_3); lean_dec(x_1); -return x_152; +return x_148; +} +} +} +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +lean_dec(x_20); +x_149 = lean_unsigned_to_nat(2u); +x_150 = l_Lean_Syntax_getArg(x_1, x_149); +x_151 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__24; +lean_inc(x_150); +x_152 = l_Lean_Syntax_isOfKind(x_150, x_151); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; +lean_dec(x_150); +lean_dec(x_2); +lean_dec(x_1); +x_153 = lean_box(1); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_3); +return x_154; +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; +x_155 = l_Lean_Syntax_getArg(x_150, x_19); +lean_dec(x_150); +x_156 = lean_unsigned_to_nat(3u); +x_157 = l_Lean_Syntax_getArg(x_1, x_156); +x_158 = l_Lean_Syntax_isNone(x_157); +if (x_158 == 0) +{ +uint8_t x_159; +lean_inc(x_157); +x_159 = l_Lean_Syntax_isNodeOf(x_157, x_15, x_19); +if (x_159 == 0) +{ +lean_object* x_160; lean_object* x_161; +lean_dec(x_157); +lean_dec(x_155); +lean_dec(x_2); +lean_dec(x_1); +x_160 = lean_box(1); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_3); +return x_161; +} +else +{ +lean_object* x_162; lean_object* x_163; uint8_t x_164; +x_162 = l_Lean_Syntax_getArg(x_157, x_8); +lean_dec(x_157); +x_163 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__25; +lean_inc(x_162); +x_164 = l_Lean_Syntax_isOfKind(x_162, x_163); +if (x_164 == 0) +{ +lean_object* x_165; lean_object* x_166; +lean_dec(x_162); +lean_dec(x_155); +lean_dec(x_2); +lean_dec(x_1); +x_165 = lean_box(1); +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_3); +return x_166; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_167 = l_Lean_Syntax_getArg(x_162, x_156); +lean_dec(x_162); +x_168 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_168, 0, x_167); +x_169 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_170 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10; +x_171 = lean_box(0); +x_172 = l_Lean_Elab_Command_expandMixfix___lambda__10(x_1, x_155, x_169, x_10, x_151, x_170, x_171, x_168, x_2, x_3); +lean_dec(x_1); +return x_172; +} +} +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_157); +x_173 = lean_box(0); +x_174 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6; +x_175 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10; +x_176 = lean_box(0); +x_177 = l_Lean_Elab_Command_expandMixfix___lambda__10(x_1, x_155, x_174, x_10, x_151, x_175, x_176, x_173, x_2, x_3); +lean_dec(x_1); +return x_177; +} } } } @@ -3665,7 +3253,7 @@ static lean_object* _init_l_Lean_Elab_Command_expandMixfix___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix___lambda__16), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix___lambda__11), 3, 0); return x_1; } } @@ -3698,44 +3286,44 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Command_expandMixfix___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Elab_Command_expandMixfix___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Elab_Command_expandMixfix___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_8); lean_dec(x_1); return x_12; } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_Command_expandMixfix___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_Command_expandMixfix___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_7); lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = l_Lean_Elab_Command_expandMixfix___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); +lean_object* x_12; +x_12 = l_Lean_Elab_Command_expandMixfix___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_8); lean_dec(x_1); -return x_10; +return x_12; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_expandMixfix___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_1); +return x_11; } } lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -3758,76 +3346,26 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Command_expandMixfix___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Elab_Command_expandMixfix___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Elab_Command_expandMixfix___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_8); lean_dec(x_1); return x_12; } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_Command_expandMixfix___lambda__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_Command_expandMixfix___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_7); lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Command_expandMixfix___lambda__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Command_expandMixfix___lambda__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_8); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Command_expandMixfix___lambda__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_7); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Command_expandMixfix___lambda__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_6); -lean_dec(x_1); -return x_10; -} -} static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1() { _start: { @@ -3840,7 +3378,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__2; x_2 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -3851,7 +3389,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3887,7 +3425,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_macroAttribute; -x_3 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8; +x_3 = l_Lean_Elab_Command_expandMixfix___lambda__11___closed__8; x_4 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__5; x_5 = l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__6; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -3961,72 +3499,74 @@ l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26 = _init_l_Lean_Elab_Co lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26); l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27(); lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8); -l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__9); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__14 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__14(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__14); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__15 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__15(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__15); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__16 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__16(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__16); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__17 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__17(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__17); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__18 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__18(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__18); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__19 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__19(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__19); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__20 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__20(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__20); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__21 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__21(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__21); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__22 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__22(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__22); -l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__23); +l_Lean_Elab_Command_expandMixfix___lambda__5___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__5___closed__1); +l_Lean_Elab_Command_expandMixfix___lambda__5___closed__2 = _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__5___closed__2); +l_Lean_Elab_Command_expandMixfix___lambda__5___closed__3 = _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__5___closed__3); +l_Lean_Elab_Command_expandMixfix___lambda__5___closed__4 = _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__5___closed__4); +l_Lean_Elab_Command_expandMixfix___lambda__5___closed__5 = _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__5___closed__5); +l_Lean_Elab_Command_expandMixfix___lambda__5___closed__6 = _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__5___closed__6); +l_Lean_Elab_Command_expandMixfix___lambda__5___closed__7 = _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__5___closed__7); +l_Lean_Elab_Command_expandMixfix___lambda__5___closed__8 = _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__5___closed__8); +l_Lean_Elab_Command_expandMixfix___lambda__5___closed__9 = _init_l_Lean_Elab_Command_expandMixfix___lambda__5___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__5___closed__9); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__1); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__2 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__2); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__3 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__3); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__4 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__4); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__5 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__5); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__6); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__7 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__7); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__8 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__8); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__9 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__9); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__10); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__11 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__11); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__12 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__12); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__13 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__13); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__14 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__14); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__15 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__15); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__16 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__16); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__17 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__17); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__18 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__18); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__19 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__19); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__20 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__20); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__21 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__21); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__22 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__22); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__23 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__23); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__24 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__24); +l_Lean_Elab_Command_expandMixfix___lambda__11___closed__25 = _init_l_Lean_Elab_Command_expandMixfix___lambda__11___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__11___closed__25); l_Lean_Elab_Command_expandMixfix___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___closed__1); l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/PatternVar.c b/stage0/stdlib/Lean/Elab/PatternVar.c index 8aef4b6ae9..e2ec58f7b4 100644 --- a/stage0/stdlib/Lean/Elab/PatternVar.c +++ b/stage0/stdlib/Lean/Elab/PatternVar.c @@ -3753,7 +3753,7 @@ lean_inc(x_12); x_25 = l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__5(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_24); if (lean_obj_tag(x_25) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); @@ -3764,90 +3764,92 @@ x_29 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_1); x_30 = l_Lean_LocalContext_empty; -x_31 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set(x_31, 2, x_3); -lean_ctor_set(x_31, 3, x_26); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +x_31 = 0; +x_32 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_3); +lean_ctor_set(x_32, 3, x_26); +lean_ctor_set_uint8(x_32, sizeof(void*)*4, x_31); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_33, x_4, x_5, x_6, x_7, x_8, x_9, x_27); lean_dec(x_8); lean_dec(x_4); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) { -lean_object* x_35; -x_35 = lean_ctor_get(x_33, 0); -lean_dec(x_35); -lean_ctor_set(x_33, 0, x_12); -return x_33; +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_dec(x_36); +lean_ctor_set(x_34, 0, x_12); +return x_34; } else { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_12); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_dec(x_34); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_12); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } else { -uint8_t x_38; +uint8_t x_39; lean_dec(x_12); lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_25); -if (x_38 == 0) +x_39 = !lean_is_exclusive(x_25); +if (x_39 == 0) { return x_25; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_25, 0); -x_40 = lean_ctor_get(x_25, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_25, 0); +x_41 = lean_ctor_get(x_25, 1); +lean_inc(x_41); lean_inc(x_40); -lean_inc(x_39); lean_dec(x_25); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } } else { -uint8_t x_42; +uint8_t x_43; lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_11); -if (x_42 == 0) +x_43 = !lean_is_exclusive(x_11); +if (x_43 == 0) { return x_11; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_11, 0); -x_44 = lean_ctor_get(x_11, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_11, 0); +x_45 = lean_ctor_get(x_11, 1); +lean_inc(x_45); lean_inc(x_44); -lean_inc(x_43); lean_dec(x_11); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } diff --git a/stage0/stdlib/Lean/Elab/Print.c b/stage0/stdlib/Lean/Elab/Print.c index f24491b74c..5554a2c071 100644 --- a/stage0/stdlib/Lean/Elab/Print.c +++ b/stage0/stdlib/Lean/Elab/Print.c @@ -2888,7 +2888,7 @@ lean_inc(x_5); x_11 = l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_Print_0__Lean_Elab_Command_printId___spec__5(x_9, x_5, x_6, x_7); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -2900,48 +2900,50 @@ x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_1); x_16 = l_Lean_LocalContext_empty; +x_17 = 0; lean_inc(x_2); -x_17 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -lean_ctor_set(x_17, 2, x_2); -lean_ctor_set(x_17, 3, x_12); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_17); -x_19 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Print_0__Lean_Elab_Command_printId___spec__6(x_18, x_5, x_6, x_13); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_box(0); +x_18 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_2); +lean_ctor_set(x_18, 3, x_12); +lean_ctor_set_uint8(x_18, sizeof(void*)*4, x_17); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Print_0__Lean_Elab_Command_printId___spec__6(x_19, x_5, x_6, x_13); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_box(0); x_3 = x_10; -x_4 = x_21; -x_7 = x_20; +x_4 = x_22; +x_7 = x_21; goto _start; } else { -uint8_t x_23; +uint8_t x_24; lean_dec(x_10); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_23 = !lean_is_exclusive(x_11); -if (x_23 == 0) +x_24 = !lean_is_exclusive(x_11); +if (x_24 == 0) { return x_11; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_11, 0); -x_25 = lean_ctor_get(x_11, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_11, 0); +x_26 = lean_ctor_get(x_11, 1); +lean_inc(x_26); lean_inc(x_25); -lean_inc(x_24); lean_dec(x_11); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index ef571dad2a..6a7c7a7a18 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -25,6 +25,7 @@ static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotatio static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__24; static lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3186____closed__1; lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11___boxed(lean_object**); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__8; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__2; @@ -33,7 +34,6 @@ lean_object* l_Lean_Syntax_unescapeAntiquot(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__13; uint8_t l_Lean_Syntax_isAntiquotSuffixSplice(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__38; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__18; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3226____closed__5; @@ -52,7 +52,9 @@ lean_object* l_List_tail_x21___rarg(lean_object*); uint8_t l_Lean_Syntax_isTokenAntiquot(lean_object*); uint8_t l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); +lean_object* l_Array_mapIdxM_map___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*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__2; +lean_object* l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__9; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__17; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -64,11 +66,11 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__4; 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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11; +lean_object* l_Array_forInUnsafe_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*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__27; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__6; -static lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__4; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8; @@ -76,7 +78,6 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__52; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__29; -lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__40; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___boxed(lean_object*, lean_object*, lean_object*); @@ -97,6 +98,7 @@ uint8_t l_USize_decEq(size_t, size_t); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__16; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3236____closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__4; @@ -108,6 +110,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3216____closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__16; +lean_object* l_List_mapM___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*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable___boxed(lean_object*, lean_object*); @@ -122,10 +125,11 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_antiquotSuffixSplice_x3f(lean_object*); lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9(lean_object*); -static lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__1; lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__11___boxed(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__28; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3221____closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3; @@ -155,7 +159,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_append(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__20; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__6; @@ -168,12 +171,10 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__25; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___boxed(lean_object**); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__40; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Level_PP_Result_quote___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3186____closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__20; @@ -183,6 +184,7 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l_List_append___rarg(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__42; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__16; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__26; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__46; @@ -193,7 +195,6 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_E static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__21; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__5; -static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__27; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__13; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7; @@ -202,14 +203,11 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__34; -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___boxed(lean_object**); -static 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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__32; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5; lean_object* l_Lean_Elab_Term_Quotation_mkTuple_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__18; @@ -235,6 +233,7 @@ lean_object* l_List_range(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__20; lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_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*, 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__8(lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__13; @@ -250,10 +249,10 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__44; +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__6; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__1; lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8(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___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*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__6; @@ -277,7 +276,6 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__41; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__4; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; @@ -320,6 +318,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__7; lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__18; +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___boxed(lean_object**); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__14; @@ -330,7 +329,6 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__21; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__38; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__10; 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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__19; @@ -362,7 +360,6 @@ static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__15; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3231____closed__3; static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__8; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___boxed(lean_object**); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__28; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__1; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -378,6 +375,7 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__2; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___boxed(lean_object**); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__8(lean_object*, size_t, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__29; @@ -391,7 +389,6 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3191____closed__3; uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_245____spec__1(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__37; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___boxed__const__1; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__54; @@ -401,7 +398,6 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3201____closed__3; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3186____closed__6; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3211____closed__3; @@ -417,7 +413,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__6; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__45; lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; static lean_object* l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___closed__1; @@ -458,7 +453,9 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build_match__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__38; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__21; +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__7; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__15; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__6; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6; @@ -504,6 +501,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___boxed(lean_object**); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__3; +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__23; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__4; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__2; @@ -517,11 +515,11 @@ uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*) static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__26; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__34; -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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__19; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__12; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__23; lean_object* l_Lean_Syntax_getId(lean_object*); @@ -529,18 +527,19 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__6; lean_object* l___private_Init_Meta_0__Lean_quoteNameMk(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__1___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3241____closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__13; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__13; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__48; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__4; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__14; @@ -549,6 +548,7 @@ static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__26; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop_match__2(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__47; @@ -556,6 +556,7 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__60; lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__9; @@ -573,14 +574,13 @@ static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotatio static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__11; 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_Lean_Syntax_mkStrLit(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__15; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__6; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__64; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__2(lean_object*); +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__13; 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*); @@ -588,14 +588,14 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__22; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__17; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5; -static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__1; +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__32; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__9; lean_object* l_Std_RBNode_find___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5; lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9770_(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__3; @@ -625,6 +625,7 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__9; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(lean_object*); @@ -657,6 +658,7 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ static 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*); +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__20; 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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__36; @@ -664,7 +666,6 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3186____closed__7; -static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__6; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__18; @@ -678,21 +679,21 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isAtom(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__35; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__5(lean_object*); +lean_object* l_Array_mapIdxM_map___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*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop_match__1(lean_object*); +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__4(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms_match__1(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3186____closed__12; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3(lean_object*); -static lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__25; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5; @@ -701,8 +702,8 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepF static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__18; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___boxed(lean_object**); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(size_t, size_t, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__6; 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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12; @@ -732,7 +733,6 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__16; -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__32; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__10; @@ -779,7 +779,6 @@ lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__26; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14___boxed(lean_object**); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__24; 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*); @@ -788,6 +787,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRh static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__51; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__36; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__2; +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__9; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -802,7 +802,6 @@ static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotatio static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__11; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___closed__1; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33; lean_object* lean_panic_fn(lean_object*, lean_object*); @@ -813,22 +812,24 @@ static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__4; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__35; static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__3; +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__8; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3186____closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__21; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__65; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__24; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; 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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__20; +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__35; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -849,9 +850,9 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__14; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__19; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__31; -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3196____closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3231____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; @@ -860,7 +861,6 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__2; lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__7; -static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__25; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -869,12 +869,12 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3226____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___boxed(lean_object**); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3236____closed__2; lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__22; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__12; @@ -889,7 +889,7 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__12; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__9; +lean_object* l_Lean_throwError___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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__6; 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*); @@ -906,13 +906,10 @@ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__36; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3216____closed__2; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3221____closed__2; 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*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__16; -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*); lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot____; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__3___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -948,6 +945,7 @@ static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3246____closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2; +lean_object* l_Lean_throwError___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*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__39; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__61; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__29; @@ -1017,7 +1015,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_dedupli lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909_(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__16; -static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__6; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__19; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__15; @@ -1039,11 +1036,11 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ extern lean_object* l_Lean_Elab_Term_Quotation_hygiene; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___boxed(lean_object**); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__22; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__14; +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___boxed(lean_object**); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__3___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__16; @@ -1072,6 +1069,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__1; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__8; static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__5___closed__2; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___boxed(lean_object**); lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__1; 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*); @@ -1088,10 +1086,8 @@ static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__3; lean_object* l_Std_fmt___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_noOpMatchAdaptPats_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2909____closed__43; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3241____closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3246____closed__2; @@ -1105,7 +1101,6 @@ lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Qu 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*); -static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -14605,64 +14600,7 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Te return x_2; } } -static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Init.Data.List.BasicAux"); -return x_1; -} -} -static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("List.head!"); -return x_1; -} -} -static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("empty list"); -return x_1; -} -} -static lean_object* _init_l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__1; -x_2 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(30u); -x_4 = lean_unsigned_to_nat(12u); -x_5 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_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_Lean_instInhabitedSyntax; -x_3 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__4; -x_4 = lean_panic_fn(x_2, x_3); -return x_4; -} -else -{ -lean_object* x_5; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -return x_5; -} -} -} -lean_object* l_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) { +lean_object* l_Lean_throwError___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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -14710,7 +14648,7 @@ 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) { +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -14722,7 +14660,7 @@ 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); +x_13 = l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); return x_13; } @@ -14757,13 +14695,13 @@ lean_ctor_set(x_23, 4, x_18); lean_ctor_set(x_23, 5, x_19); lean_ctor_set(x_23, 6, x_20); lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +x_24 = l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); lean_dec(x_23); return x_24; } } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -14771,11 +14709,11 @@ x_1 = lean_mk_string("`("); return x_1; } } -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) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___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; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1; +x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___closed__1; lean_inc(x_2); x_6 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_6, 0, x_2); @@ -14798,7 +14736,7 @@ lean_ctor_set(x_15, 1, x_4); return x_15; } } -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) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -14816,7 +14754,7 @@ 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); +x_10 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___boxed), 4, 1); lean_closure_set(x_10, 0, x_9); x_11 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1; x_12 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); @@ -14833,7 +14771,7 @@ goto _start; } } } -static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__1() { _start: { lean_object* x_1; @@ -14841,22 +14779,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_getHeadInfo___spec__5___closed__2() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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_getHeadInfo___spec__5___closed__1; +x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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_getHeadInfo___spec__5___closed__3() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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_getHeadInfo___spec__5___closed__1; +x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__1; 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__2; +x_3 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -14864,7 +14802,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_getHeadInfo___spec__5___closed__4() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__4() { _start: { lean_object* x_1; @@ -14872,51 +14810,51 @@ 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_getHeadInfo___spec__5___closed__5() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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___lambda__1___closed__4; -x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; +x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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_getHeadInfo___spec__5___closed__6() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; -x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; +x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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_getHeadInfo___spec__5___closed__7() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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_getHeadInfo___spec__5___closed__6; +x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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_getHeadInfo___spec__5___closed__8() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__7; +x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__9() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__9() { _start: { lean_object* x_1; @@ -14924,22 +14862,22 @@ 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() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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_3 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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); @@ -14947,17 +14885,17 @@ 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() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___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) { +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___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) @@ -14996,22 +14934,22 @@ lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); -x_23 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5; +x_23 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__5; lean_inc(x_18); lean_inc(x_21); x_24 = l_Lean_addMacroScope(x_21, x_23, x_18); x_25 = lean_box(0); -x_26 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3; -x_27 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__8; +x_26 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__3; +x_27 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__8; lean_inc(x_15); x_28 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_28, 0, x_15); lean_ctor_set(x_28, 1, x_26); lean_ctor_set(x_28, 2, x_24); lean_ctor_set(x_28, 3, x_27); -x_29 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_29 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_30 = l_Lean_addMacroScope(x_21, x_29, x_18); -x_31 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_31 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_32 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_32, 0, x_15); lean_ctor_set(x_32, 1, x_31); @@ -15034,7 +14972,7 @@ x_44 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); -x_46 = 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_22); +x_46 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_22); x_47 = !lean_is_exclusive(x_46); if (x_47 == 0) { @@ -15087,22 +15025,22 @@ lean_inc(x_61); x_62 = lean_ctor_get(x_60, 1); lean_inc(x_62); lean_dec(x_60); -x_63 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5; +x_63 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__5; lean_inc(x_58); lean_inc(x_61); x_64 = l_Lean_addMacroScope(x_61, x_63, x_58); x_65 = lean_box(0); -x_66 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3; -x_67 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__8; +x_66 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__3; +x_67 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__8; lean_inc(x_55); x_68 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_68, 0, x_55); lean_ctor_set(x_68, 1, x_66); lean_ctor_set(x_68, 2, x_64); lean_ctor_set(x_68, 3, x_67); -x_69 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_69 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_70 = l_Lean_addMacroScope(x_61, x_69, x_58); -x_71 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_71 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_55); lean_ctor_set(x_72, 1, x_71); @@ -15125,7 +15063,7 @@ x_84 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_84); lean_ctor_set(x_85, 1, x_83); -x_86 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5(x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_62); +x_86 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_62); x_87 = lean_ctor_get(x_86, 0); lean_inc(x_87); x_88 = lean_ctor_get(x_86, 1); @@ -15153,7 +15091,7 @@ return x_91; } } } -lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_mapIdxM_map___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) { _start: { lean_object* x_8; uint8_t x_9; @@ -15172,7 +15110,7 @@ lean_dec(x_5); if (x_13 == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___boxed), 4, 1); +x_15 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___boxed), 4, 1); lean_closure_set(x_15, 0, x_12); x_16 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1; x_17 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); @@ -15195,7 +15133,7 @@ x_23 = l_Lean_nullKind; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___boxed), 4, 1); +x_25 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___boxed), 4, 1); lean_closure_set(x_25, 0, x_24); x_26 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1; x_27 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg), 4, 2); @@ -15218,7 +15156,7 @@ return x_7; } } } -static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1() { +static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1() { _start: { lean_object* x_1; @@ -15226,7 +15164,7 @@ x_1 = lean_mk_string("-"); return x_1; } } -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { +lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { _start: { if (lean_obj_tag(x_15) == 0) @@ -15278,14 +15216,14 @@ lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); lean_dec(x_34); -x_37 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5; +x_37 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__5; lean_inc(x_32); lean_inc(x_35); x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); x_39 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27; lean_inc(x_2); x_40 = lean_name_mk_string(x_2, x_39); -x_41 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; +x_41 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__4; x_42 = lean_name_mk_string(x_40, x_41); lean_inc(x_4); x_43 = lean_alloc_ctor(0, 2, 0); @@ -15294,7 +15232,7 @@ lean_ctor_set(x_43, 1, x_4); lean_inc(x_5); lean_ctor_set(x_15, 1, x_5); lean_ctor_set(x_15, 0, x_43); -x_44 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3; +x_44 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__3; lean_inc(x_29); x_45 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_45, 0, x_29); @@ -15305,7 +15243,7 @@ lean_inc(x_32); lean_inc(x_8); lean_inc(x_35); x_46 = l_Lean_addMacroScope(x_35, x_8, x_32); -x_47 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_47 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_5); lean_inc(x_29); x_48 = lean_alloc_ctor(3, 4, 0); @@ -15328,7 +15266,7 @@ lean_ctor_set(x_52, 0, x_29); lean_ctor_set(x_52, 1, x_10); lean_ctor_set(x_52, 2, x_51); lean_ctor_set(x_52, 3, x_5); -x_53 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1; +x_53 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1; lean_inc(x_29); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_29); @@ -15381,7 +15319,7 @@ lean_inc(x_3); x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_3); lean_ctor_set(x_78, 1, x_77); -x_79 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_27, x_16, x_17, x_18, x_19, x_20, x_21, x_36); +x_79 = l_List_mapM___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_27, x_16, x_17, x_18, x_19, x_20, x_21, x_36); x_80 = !lean_is_exclusive(x_79); if (x_80 == 0) { @@ -15436,14 +15374,14 @@ lean_inc(x_96); x_97 = lean_ctor_get(x_95, 1); lean_inc(x_97); lean_dec(x_95); -x_98 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__5; +x_98 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__5; lean_inc(x_93); lean_inc(x_96); x_99 = l_Lean_addMacroScope(x_96, x_98, x_93); x_100 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27; lean_inc(x_2); x_101 = lean_name_mk_string(x_2, x_100); -x_102 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; +x_102 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__4; x_103 = lean_name_mk_string(x_101, x_102); lean_inc(x_4); x_104 = lean_alloc_ctor(0, 2, 0); @@ -15453,7 +15391,7 @@ lean_inc(x_5); x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_5); -x_106 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3; +x_106 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__3; lean_inc(x_90); x_107 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_107, 0, x_90); @@ -15464,7 +15402,7 @@ lean_inc(x_93); lean_inc(x_8); lean_inc(x_96); x_108 = l_Lean_addMacroScope(x_96, x_8, x_93); -x_109 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_109 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_5); lean_inc(x_90); x_110 = lean_alloc_ctor(3, 4, 0); @@ -15487,7 +15425,7 @@ lean_ctor_set(x_114, 0, x_90); lean_ctor_set(x_114, 1, x_10); lean_ctor_set(x_114, 2, x_113); lean_ctor_set(x_114, 3, x_5); -x_115 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1; +x_115 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1; lean_inc(x_90); x_116 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_116, 0, x_90); @@ -15540,7 +15478,7 @@ lean_inc(x_3); x_140 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_140, 0, x_3); lean_ctor_set(x_140, 1, x_139); -x_141 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_88, x_16, x_17, x_18, x_19, x_20, x_21, x_97); +x_141 = l_List_mapM___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_88, x_16, x_17, x_18, x_19, x_20, x_21, x_97); x_142 = lean_ctor_get(x_141, 0); lean_inc(x_142); x_143 = lean_ctor_get(x_141, 1); @@ -15568,7 +15506,7 @@ return x_146; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1() { _start: { lean_object* x_1; @@ -15576,22 +15514,22 @@ x_1 = lean_mk_string("tuples.map"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__1; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__1; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__2; +x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___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); @@ -15599,7 +15537,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__4() { _start: { lean_object* x_1; @@ -15607,26 +15545,219 @@ x_1 = lean_mk_string("tuples"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__4; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +lean_object* l_Array_forInUnsafe_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, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +uint8_t x_19; +x_19 = x_10 < x_9; +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; +x_21 = lean_array_uget(x_8, x_10); +x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_16, x_17, x_18); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Lean_Elab_Term_getMainModule___rarg(x_17, x_27); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; +lean_inc(x_1); +x_32 = lean_name_mk_string(x_1, x_31); +lean_inc(x_23); +x_33 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_33, 0, x_23); +lean_ctor_set(x_33, 1, x_31); +x_34 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__9; +lean_inc(x_1); +x_35 = lean_name_mk_string(x_1, x_34); +x_36 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__11; +lean_inc(x_1); +x_37 = lean_name_mk_string(x_1, x_36); +x_38 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; +lean_inc(x_4); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_4); +lean_ctor_set(x_39, 1, x_38); +x_40 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; +lean_inc(x_23); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_23); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__6; +x_43 = l_Lean_addMacroScope(x_29, x_42, x_26); +x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__3; +lean_inc(x_3); +lean_inc(x_23); +x_45 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_45, 0, x_23); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_43); +lean_ctor_set(x_45, 3, x_3); +x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; +lean_inc(x_1); +x_47 = lean_name_mk_string(x_1, x_46); +x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; +lean_inc(x_23); +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_23); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; +lean_inc(x_1); +x_51 = lean_name_mk_string(x_1, x_50); +lean_inc(x_23); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_23); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; +lean_inc(x_1); +x_54 = lean_name_mk_string(x_1, x_53); +lean_inc(x_7); +lean_inc(x_5); +x_55 = lean_array_push(x_5, x_7); +lean_inc(x_4); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_4); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; +lean_inc(x_23); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_23); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; +x_60 = lean_array_push(x_59, x_56); +x_61 = lean_array_push(x_60, x_58); +lean_inc(x_21); +x_62 = lean_array_push(x_61, x_21); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_54); +lean_ctor_set(x_63, 1, x_62); +lean_inc(x_6); +x_64 = lean_array_push(x_6, x_52); +x_65 = lean_array_push(x_64, x_63); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_51); +lean_ctor_set(x_66, 1, x_65); +lean_inc(x_6); +x_67 = lean_array_push(x_6, x_66); +lean_inc(x_39); +x_68 = lean_array_push(x_67, x_39); +lean_inc(x_4); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_4); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; +lean_inc(x_23); +x_71 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_71, 0, x_23); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_array_push(x_59, x_49); +x_73 = lean_array_push(x_72, x_69); +x_74 = lean_array_push(x_73, x_71); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_47); +lean_ctor_set(x_75, 1, x_74); +lean_inc(x_5); +x_76 = lean_array_push(x_5, x_75); +lean_inc(x_4); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_4); +lean_ctor_set(x_77, 1, x_76); +lean_inc(x_6); +x_78 = lean_array_push(x_6, x_45); +x_79 = lean_array_push(x_78, x_77); +lean_inc(x_2); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_2); +lean_ctor_set(x_80, 1, x_79); +x_81 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; +x_82 = lean_array_push(x_81, x_21); +lean_inc(x_39); +x_83 = lean_array_push(x_82, x_39); +x_84 = lean_array_push(x_83, x_39); +x_85 = lean_array_push(x_84, x_41); +x_86 = lean_array_push(x_85, x_80); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_37); +lean_ctor_set(x_87, 1, x_86); +lean_inc(x_5); +x_88 = lean_array_push(x_5, x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_35); +lean_ctor_set(x_89, 1, x_88); +x_90 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; +x_91 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_91, 0, x_23); +lean_ctor_set(x_91, 1, x_90); +lean_inc(x_5); +x_92 = lean_array_push(x_5, x_91); +lean_inc(x_4); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_4); +lean_ctor_set(x_93, 1, x_92); +x_94 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; +x_95 = lean_array_push(x_94, x_33); +x_96 = lean_array_push(x_95, x_89); +x_97 = lean_array_push(x_96, x_93); +x_98 = lean_array_push(x_97, x_11); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_32); +lean_ctor_set(x_99, 1, x_98); +x_100 = 1; +x_101 = x_10 + x_100; +x_10 = x_101; +x_11 = x_99; +x_18 = x_30; +goto _start; +} +} +} lean_object* l_Array_forInUnsafe_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, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { @@ -15692,9 +15823,9 @@ lean_inc(x_23); x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_23); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6; +x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__6; x_43 = l_Lean_addMacroScope(x_29, x_42, x_26); -x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3; +x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__3; lean_inc(x_3); lean_inc(x_23); x_45 = lean_alloc_ctor(3, 4, 0); @@ -15885,9 +16016,9 @@ lean_inc(x_23); x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_23); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6; +x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__6; x_43 = l_Lean_addMacroScope(x_29, x_42, x_26); -x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3; +x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__3; lean_inc(x_3); lean_inc(x_23); x_45 = lean_alloc_ctor(3, 4, 0); @@ -16013,200 +16144,7 @@ goto _start; } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { -_start: -{ -uint8_t x_19; -x_19 = x_10 < x_9; -if (x_19 == 0) -{ -lean_object* x_20; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_11); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; -x_21 = lean_array_uget(x_8, x_10); -x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_16, x_17, x_18); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_24); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Elab_Term_getMainModule___rarg(x_17, x_27); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; -lean_inc(x_1); -x_32 = lean_name_mk_string(x_1, x_31); -lean_inc(x_23); -x_33 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_33, 0, x_23); -lean_ctor_set(x_33, 1, x_31); -x_34 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__9; -lean_inc(x_1); -x_35 = lean_name_mk_string(x_1, x_34); -x_36 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__11; -lean_inc(x_1); -x_37 = lean_name_mk_string(x_1, x_36); -x_38 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; -lean_inc(x_4); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_4); -lean_ctor_set(x_39, 1, x_38); -x_40 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -lean_inc(x_23); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_23); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6; -x_43 = l_Lean_addMacroScope(x_29, x_42, x_26); -x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3; -lean_inc(x_3); -lean_inc(x_23); -x_45 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_45, 0, x_23); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_43); -lean_ctor_set(x_45, 3, x_3); -x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; -lean_inc(x_1); -x_47 = lean_name_mk_string(x_1, x_46); -x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; -lean_inc(x_23); -x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_23); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; -lean_inc(x_1); -x_51 = lean_name_mk_string(x_1, x_50); -lean_inc(x_23); -x_52 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_52, 0, x_23); -lean_ctor_set(x_52, 1, x_50); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; -lean_inc(x_1); -x_54 = lean_name_mk_string(x_1, x_53); -lean_inc(x_7); -lean_inc(x_5); -x_55 = lean_array_push(x_5, x_7); -lean_inc(x_4); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_4); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; -lean_inc(x_23); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_23); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; -x_60 = lean_array_push(x_59, x_56); -x_61 = lean_array_push(x_60, x_58); -lean_inc(x_21); -x_62 = lean_array_push(x_61, x_21); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_54); -lean_ctor_set(x_63, 1, x_62); -lean_inc(x_6); -x_64 = lean_array_push(x_6, x_52); -x_65 = lean_array_push(x_64, x_63); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_51); -lean_ctor_set(x_66, 1, x_65); -lean_inc(x_6); -x_67 = lean_array_push(x_6, x_66); -lean_inc(x_39); -x_68 = lean_array_push(x_67, x_39); -lean_inc(x_4); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_4); -lean_ctor_set(x_69, 1, x_68); -x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; -lean_inc(x_23); -x_71 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_71, 0, x_23); -lean_ctor_set(x_71, 1, x_70); -x_72 = lean_array_push(x_59, x_49); -x_73 = lean_array_push(x_72, x_69); -x_74 = lean_array_push(x_73, x_71); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_47); -lean_ctor_set(x_75, 1, x_74); -lean_inc(x_5); -x_76 = lean_array_push(x_5, x_75); -lean_inc(x_4); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_4); -lean_ctor_set(x_77, 1, x_76); -lean_inc(x_6); -x_78 = lean_array_push(x_6, x_45); -x_79 = lean_array_push(x_78, x_77); -lean_inc(x_2); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_2); -lean_ctor_set(x_80, 1, x_79); -x_81 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_82 = lean_array_push(x_81, x_21); -lean_inc(x_39); -x_83 = lean_array_push(x_82, x_39); -x_84 = lean_array_push(x_83, x_39); -x_85 = lean_array_push(x_84, x_41); -x_86 = lean_array_push(x_85, x_80); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_37); -lean_ctor_set(x_87, 1, x_86); -lean_inc(x_5); -x_88 = lean_array_push(x_5, x_87); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_35); -lean_ctor_set(x_89, 1, x_88); -x_90 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; -x_91 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_91, 0, x_23); -lean_ctor_set(x_91, 1, x_90); -lean_inc(x_5); -x_92 = lean_array_push(x_5, x_91); -lean_inc(x_4); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_4); -lean_ctor_set(x_93, 1, x_92); -x_94 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; -x_95 = lean_array_push(x_94, x_33); -x_96 = lean_array_push(x_95, x_89); -x_97 = lean_array_push(x_96, x_93); -x_98 = lean_array_push(x_97, x_11); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_32); -lean_ctor_set(x_99, 1, x_98); -x_100 = 1; -x_101 = x_10 + x_100; -x_10 = x_101; -x_11 = x_99; -x_18 = x_30; -goto _start; -} -} -} -lean_object* l_Array_mapMUnsafe_map___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, size_t x_15, size_t x_16, lean_object* x_17) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, size_t x_15, size_t x_16, lean_object* x_17) { _start: { uint8_t x_18; @@ -16299,6 +16237,199 @@ goto _start; } } } +lean_object* l_Array_forInUnsafe_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, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +uint8_t x_19; +x_19 = x_10 < x_9; +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; +x_21 = lean_array_uget(x_8, x_10); +x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_16, x_17, x_18); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Lean_Elab_Term_getMainModule___rarg(x_17, x_27); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; +lean_inc(x_1); +x_32 = lean_name_mk_string(x_1, x_31); +lean_inc(x_23); +x_33 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_33, 0, x_23); +lean_ctor_set(x_33, 1, x_31); +x_34 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__9; +lean_inc(x_1); +x_35 = lean_name_mk_string(x_1, x_34); +x_36 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__11; +lean_inc(x_1); +x_37 = lean_name_mk_string(x_1, x_36); +x_38 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; +lean_inc(x_4); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_4); +lean_ctor_set(x_39, 1, x_38); +x_40 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; +lean_inc(x_23); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_23); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__6; +x_43 = l_Lean_addMacroScope(x_29, x_42, x_26); +x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__3; +lean_inc(x_3); +lean_inc(x_23); +x_45 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_45, 0, x_23); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_43); +lean_ctor_set(x_45, 3, x_3); +x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; +lean_inc(x_1); +x_47 = lean_name_mk_string(x_1, x_46); +x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; +lean_inc(x_23); +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_23); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; +lean_inc(x_1); +x_51 = lean_name_mk_string(x_1, x_50); +lean_inc(x_23); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_23); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; +lean_inc(x_1); +x_54 = lean_name_mk_string(x_1, x_53); +lean_inc(x_7); +lean_inc(x_5); +x_55 = lean_array_push(x_5, x_7); +lean_inc(x_4); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_4); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; +lean_inc(x_23); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_23); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; +x_60 = lean_array_push(x_59, x_56); +x_61 = lean_array_push(x_60, x_58); +lean_inc(x_21); +x_62 = lean_array_push(x_61, x_21); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_54); +lean_ctor_set(x_63, 1, x_62); +lean_inc(x_6); +x_64 = lean_array_push(x_6, x_52); +x_65 = lean_array_push(x_64, x_63); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_51); +lean_ctor_set(x_66, 1, x_65); +lean_inc(x_6); +x_67 = lean_array_push(x_6, x_66); +lean_inc(x_39); +x_68 = lean_array_push(x_67, x_39); +lean_inc(x_4); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_4); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; +lean_inc(x_23); +x_71 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_71, 0, x_23); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_array_push(x_59, x_49); +x_73 = lean_array_push(x_72, x_69); +x_74 = lean_array_push(x_73, x_71); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_47); +lean_ctor_set(x_75, 1, x_74); +lean_inc(x_5); +x_76 = lean_array_push(x_5, x_75); +lean_inc(x_4); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_4); +lean_ctor_set(x_77, 1, x_76); +lean_inc(x_6); +x_78 = lean_array_push(x_6, x_45); +x_79 = lean_array_push(x_78, x_77); +lean_inc(x_2); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_2); +lean_ctor_set(x_80, 1, x_79); +x_81 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; +x_82 = lean_array_push(x_81, x_21); +lean_inc(x_39); +x_83 = lean_array_push(x_82, x_39); +x_84 = lean_array_push(x_83, x_39); +x_85 = lean_array_push(x_84, x_41); +x_86 = lean_array_push(x_85, x_80); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_37); +lean_ctor_set(x_87, 1, x_86); +lean_inc(x_5); +x_88 = lean_array_push(x_5, x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_35); +lean_ctor_set(x_89, 1, x_88); +x_90 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; +x_91 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_91, 0, x_23); +lean_ctor_set(x_91, 1, x_90); +lean_inc(x_5); +x_92 = lean_array_push(x_5, x_91); +lean_inc(x_4); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_4); +lean_ctor_set(x_93, 1, x_92); +x_94 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; +x_95 = lean_array_push(x_94, x_33); +x_96 = lean_array_push(x_95, x_89); +x_97 = lean_array_push(x_96, x_93); +x_98 = lean_array_push(x_97, x_11); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_32); +lean_ctor_set(x_99, 1, x_98); +x_100 = 1; +x_101 = x_10 + x_100; +x_10 = x_101; +x_11 = x_99; +x_18 = x_30; +goto _start; +} +} +} lean_object* l_Array_forInUnsafe_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, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { @@ -16364,9 +16495,9 @@ lean_inc(x_23); x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_23); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6; +x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__6; x_43 = l_Lean_addMacroScope(x_29, x_42, x_26); -x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3; +x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__3; lean_inc(x_3); lean_inc(x_23); x_45 = lean_alloc_ctor(3, 4, 0); @@ -16557,202 +16688,9 @@ lean_inc(x_23); x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_23); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6; +x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__6; x_43 = l_Lean_addMacroScope(x_29, x_42, x_26); -x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3; -lean_inc(x_3); -lean_inc(x_23); -x_45 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_45, 0, x_23); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_43); -lean_ctor_set(x_45, 3, x_3); -x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; -lean_inc(x_1); -x_47 = lean_name_mk_string(x_1, x_46); -x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; -lean_inc(x_23); -x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_23); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; -lean_inc(x_1); -x_51 = lean_name_mk_string(x_1, x_50); -lean_inc(x_23); -x_52 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_52, 0, x_23); -lean_ctor_set(x_52, 1, x_50); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; -lean_inc(x_1); -x_54 = lean_name_mk_string(x_1, x_53); -lean_inc(x_7); -lean_inc(x_5); -x_55 = lean_array_push(x_5, x_7); -lean_inc(x_4); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_4); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; -lean_inc(x_23); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_23); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; -x_60 = lean_array_push(x_59, x_56); -x_61 = lean_array_push(x_60, x_58); -lean_inc(x_21); -x_62 = lean_array_push(x_61, x_21); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_54); -lean_ctor_set(x_63, 1, x_62); -lean_inc(x_6); -x_64 = lean_array_push(x_6, x_52); -x_65 = lean_array_push(x_64, x_63); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_51); -lean_ctor_set(x_66, 1, x_65); -lean_inc(x_6); -x_67 = lean_array_push(x_6, x_66); -lean_inc(x_39); -x_68 = lean_array_push(x_67, x_39); -lean_inc(x_4); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_4); -lean_ctor_set(x_69, 1, x_68); -x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; -lean_inc(x_23); -x_71 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_71, 0, x_23); -lean_ctor_set(x_71, 1, x_70); -x_72 = lean_array_push(x_59, x_49); -x_73 = lean_array_push(x_72, x_69); -x_74 = lean_array_push(x_73, x_71); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_47); -lean_ctor_set(x_75, 1, x_74); -lean_inc(x_5); -x_76 = lean_array_push(x_5, x_75); -lean_inc(x_4); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_4); -lean_ctor_set(x_77, 1, x_76); -lean_inc(x_6); -x_78 = lean_array_push(x_6, x_45); -x_79 = lean_array_push(x_78, x_77); -lean_inc(x_2); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_2); -lean_ctor_set(x_80, 1, x_79); -x_81 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; -x_82 = lean_array_push(x_81, x_21); -lean_inc(x_39); -x_83 = lean_array_push(x_82, x_39); -x_84 = lean_array_push(x_83, x_39); -x_85 = lean_array_push(x_84, x_41); -x_86 = lean_array_push(x_85, x_80); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_37); -lean_ctor_set(x_87, 1, x_86); -lean_inc(x_5); -x_88 = lean_array_push(x_5, x_87); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_35); -lean_ctor_set(x_89, 1, x_88); -x_90 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; -x_91 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_91, 0, x_23); -lean_ctor_set(x_91, 1, x_90); -lean_inc(x_5); -x_92 = lean_array_push(x_5, x_91); -lean_inc(x_4); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_4); -lean_ctor_set(x_93, 1, x_92); -x_94 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; -x_95 = lean_array_push(x_94, x_33); -x_96 = lean_array_push(x_95, x_89); -x_97 = lean_array_push(x_96, x_93); -x_98 = lean_array_push(x_97, x_11); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_32); -lean_ctor_set(x_99, 1, x_98); -x_100 = 1; -x_101 = x_10 + x_100; -x_10 = x_101; -x_11 = x_99; -x_18 = x_30; -goto _start; -} -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { -_start: -{ -uint8_t x_19; -x_19 = x_10 < x_9; -if (x_19 == 0) -{ -lean_object* x_20; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_11); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; -x_21 = lean_array_uget(x_8, x_10); -x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_16, x_17, x_18); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_24); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Elab_Term_getMainModule___rarg(x_17, x_27); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; -lean_inc(x_1); -x_32 = lean_name_mk_string(x_1, x_31); -lean_inc(x_23); -x_33 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_33, 0, x_23); -lean_ctor_set(x_33, 1, x_31); -x_34 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__9; -lean_inc(x_1); -x_35 = lean_name_mk_string(x_1, x_34); -x_36 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__11; -lean_inc(x_1); -x_37 = lean_name_mk_string(x_1, x_36); -x_38 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; -lean_inc(x_4); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_4); -lean_ctor_set(x_39, 1, x_38); -x_40 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__17; -lean_inc(x_23); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_23); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6; -x_43 = l_Lean_addMacroScope(x_29, x_42, x_26); -x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3; +x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__3; lean_inc(x_3); lean_inc(x_23); x_45 = lean_alloc_ctor(3, 4, 0); @@ -16917,10 +16855,10 @@ lean_inc(x_12); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_12); lean_ctor_set(x_28, 1, x_27); -x_29 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_29 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_30 = l_Lean_addMacroScope(x_19, x_29, x_15); x_31 = lean_box(0); -x_32 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_32 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_12); x_33 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_33, 0, x_12); @@ -16987,10 +16925,10 @@ lean_inc(x_12); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_12); lean_ctor_set(x_66, 1, x_65); -x_67 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_67 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_68 = l_Lean_addMacroScope(x_56, x_67, x_15); x_69 = lean_box(0); -x_70 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_70 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_12); x_71 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_71, 0, x_12); @@ -17562,7 +17500,7 @@ _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; x_12 = lean_array_get_size(x_1); x_13 = l_List_range(x_12); -x_14 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -18168,9 +18106,9 @@ lean_ctor_set(x_33, 0, x_20); 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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_34 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_35 = l_Lean_addMacroScope(x_26, x_34, x_23); -x_36 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_36 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_37 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_37, 0, x_20); lean_ctor_set(x_37, 1, x_36); @@ -18268,9 +18206,9 @@ lean_ctor_set(x_83, 0, x_70); lean_ctor_set(x_83, 1, x_81); lean_ctor_set(x_83, 2, x_79); lean_ctor_set(x_83, 3, x_82); -x_84 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_84 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_85 = l_Lean_addMacroScope(x_76, x_84, x_73); -x_86 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_86 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_87 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_87, 0, x_70); lean_ctor_set(x_87, 1, x_86); @@ -18371,9 +18309,9 @@ lean_ctor_set(x_134, 0, x_121); lean_ctor_set(x_134, 1, x_132); lean_ctor_set(x_134, 2, x_130); lean_ctor_set(x_134, 3, x_133); -x_135 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_135 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_136 = l_Lean_addMacroScope(x_127, x_135, x_124); -x_137 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_137 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_138 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_138, 0, x_121); lean_ctor_set(x_138, 1, x_137); @@ -18436,9 +18374,9 @@ lean_ctor_set(x_168, 0, x_155); lean_ctor_set(x_168, 1, x_166); lean_ctor_set(x_168, 2, x_164); lean_ctor_set(x_168, 3, x_167); -x_169 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_169 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_170 = l_Lean_addMacroScope(x_161, x_169, x_158); -x_171 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_171 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_172 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_172, 0, x_155); lean_ctor_set(x_172, 1, x_171); @@ -18536,9 +18474,9 @@ lean_ctor_set(x_218, 0, x_205); lean_ctor_set(x_218, 1, x_216); lean_ctor_set(x_218, 2, x_214); lean_ctor_set(x_218, 3, x_217); -x_219 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_219 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_220 = l_Lean_addMacroScope(x_211, x_219, x_208); -x_221 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_221 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_222 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_222, 0, x_205); lean_ctor_set(x_222, 1, x_221); @@ -18636,7 +18574,7 @@ else lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; x_13 = lean_mk_empty_array_with_capacity(x_3); x_14 = lean_unsigned_to_nat(0u); -x_15 = l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(x_4, x_1, x_5, x_3, x_14, lean_box(0), x_13); +x_15 = l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5(x_4, x_1, x_5, x_3, x_14, lean_box(0), x_13); x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7___boxed), 9, 1); lean_closure_set(x_16, 0, x_15); x_17 = 1; @@ -18782,7 +18720,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -18867,7 +18805,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -18994,7 +18932,7 @@ _start: lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_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_inc(x_1); x_13 = l_List_range(x_1); -x_14 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5(x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -19060,7 +18998,7 @@ lean_ctor_set(x_45, 0, x_18); lean_ctor_set(x_45, 1, x_44); lean_ctor_set(x_45, 2, x_43); lean_ctor_set(x_45, 3, x_28); -x_46 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1; +x_46 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1; lean_inc(x_18); x_47 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_47, 0, x_18); @@ -19131,8 +19069,8 @@ lean_ctor_set(x_87, 1, x_86); lean_inc(x_2); x_88 = l_List_range(x_2); x_89 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__2; -x_90 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; -x_91 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(x_2, x_89, x_74, x_28, x_28, x_60, x_67, x_90, x_54, x_44, x_42, x_50, x_58, x_56, x_88, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +x_90 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; +x_91 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(x_2, x_89, x_74, x_28, x_28, x_60, x_67, x_90, x_54, x_44, x_42, x_50, x_58, x_56, x_88, x_6, x_7, x_8, x_9, x_10, x_11, x_25); lean_dec(x_2); x_92 = lean_ctor_get(x_91, 0); lean_inc(x_92); @@ -19714,7 +19652,7 @@ lean_ctor_set(x_67, 1, x_66); x_68 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3186____closed__3; lean_inc(x_1); x_69 = lean_name_mk_string(x_1, x_68); -x_70 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1; +x_70 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___closed__1; lean_inc(x_21); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_21); @@ -20066,7 +20004,7 @@ lean_ctor_set(x_220, 1, x_219); x_221 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3186____closed__3; lean_inc(x_1); x_222 = lean_name_mk_string(x_1, x_221); -x_223 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1; +x_223 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___closed__1; lean_inc(x_21); x_224 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_224, 0, x_21); @@ -20329,7 +20267,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__4; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__4; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } @@ -20338,7 +20276,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__4; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__4; x_2 = lean_unsigned_to_nat(0u); x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__1; x_4 = lean_alloc_ctor(0, 3, 0); @@ -20375,6 +20313,82 @@ lean_inc(x_3); lean_inc(x_4); lean_inc(x_7); lean_inc(x_2); +x_28 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(x_2, x_7, x_4, x_3, x_5, x_6, x_21, x_1, x_26, x_27, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +lean_dec(x_1); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_17, x_18, x_30); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_Elab_Term_getCurrMacroScope(x_13, x_14, x_15, x_16, x_17, x_18, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Elab_Term_getMainModule___rarg(x_18, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5; +x_41 = l_Lean_addMacroScope(x_38, x_40, x_35); +x_42 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2; +lean_inc(x_4); +x_43 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_43, 0, x_32); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_41); +lean_ctor_set(x_43, 3, x_4); +x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(x_2, x_3, x_4, x_11, x_5, x_21, x_6, x_7, x_8, x_9, x_29, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_39); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_23); +x_45 = lean_unsigned_to_nat(0u); +x_46 = lean_array_fget(x_1, x_45); +lean_dec(x_1); +x_47 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(x_2, x_3, x_4, x_11, x_5, x_21, x_6, x_7, x_8, x_9, x_10, x_46, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +return x_47; +} +} +} +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; +lean_inc(x_1); +x_20 = l_Lean_Elab_Term_Quotation_mkTuple(x_1, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_array_get_size(x_1); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_dec_eq(x_23, x_24); +if (x_25 == 0) +{ +size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_26 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_27 = 0; +lean_inc(x_21); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_7); +lean_inc(x_2); x_28 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(x_2, x_7, x_4, x_3, x_5, x_6, x_21, x_1, x_26, x_27, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); lean_dec(x_1); x_29 = lean_ctor_get(x_28, 0); @@ -20400,7 +20414,7 @@ lean_inc(x_38); x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); -x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5; +x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5; x_41 = l_Lean_addMacroScope(x_38, x_40, x_35); x_42 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2; lean_inc(x_4); @@ -20424,7 +20438,7 @@ return x_47; } } } -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) { +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; @@ -20476,7 +20490,7 @@ lean_inc(x_38); x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); -x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5; +x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5; x_41 = l_Lean_addMacroScope(x_38, x_40, x_35); x_42 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2; lean_inc(x_4); @@ -20500,7 +20514,7 @@ return x_47; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__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; @@ -20527,7 +20541,7 @@ lean_inc(x_3); lean_inc(x_4); lean_inc(x_7); lean_inc(x_2); -x_28 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(x_2, x_7, x_4, x_3, x_5, x_6, x_21, x_1, x_26, x_27, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); +x_28 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(x_2, x_7, x_4, x_3, x_5, x_6, x_21, x_1, x_26, x_27, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); lean_dec(x_1); x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); @@ -20552,7 +20566,7 @@ lean_inc(x_38); x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); -x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5; +x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5; x_41 = l_Lean_addMacroScope(x_38, x_40, x_35); x_42 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2; lean_inc(x_4); @@ -20576,7 +20590,7 @@ return x_47; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { _start: { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; @@ -20628,7 +20642,7 @@ lean_inc(x_38); x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); -x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5; +x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5; x_41 = l_Lean_addMacroScope(x_38, x_40, x_35); x_42 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2; lean_inc(x_4); @@ -20652,7 +20666,7 @@ return x_47; } } } -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { _start: { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; @@ -20704,83 +20718,7 @@ lean_inc(x_38); x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); -x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5; -x_41 = l_Lean_addMacroScope(x_38, x_40, x_35); -x_42 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2; -lean_inc(x_4); -x_43 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_43, 0, x_32); -lean_ctor_set(x_43, 1, x_42); -lean_ctor_set(x_43, 2, x_41); -lean_ctor_set(x_43, 3, x_4); -x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(x_2, x_3, x_4, x_11, x_5, x_21, x_6, x_7, x_8, x_9, x_29, x_43, x_13, x_14, x_15, x_16, x_17, x_18, x_39); -return x_44; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -lean_dec(x_23); -x_45 = lean_unsigned_to_nat(0u); -x_46 = lean_array_fget(x_1, x_45); -lean_dec(x_1); -x_47 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(x_2, x_3, x_4, x_11, x_5, x_21, x_6, x_7, x_8, x_9, x_10, x_46, x_13, x_14, x_15, x_16, x_17, x_18, x_22); -return x_47; -} -} -} -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { -_start: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -lean_inc(x_1); -x_20 = l_Lean_Elab_Term_Quotation_mkTuple(x_1, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_array_get_size(x_1); -x_24 = lean_unsigned_to_nat(1u); -x_25 = lean_nat_dec_eq(x_23, x_24); -if (x_25 == 0) -{ -size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_26 = lean_usize_of_nat(x_23); -lean_dec(x_23); -x_27 = 0; -lean_inc(x_21); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_4); -lean_inc(x_7); -lean_inc(x_2); -x_28 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14(x_2, x_7, x_4, x_3, x_5, x_6, x_21, x_1, x_26, x_27, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_22); -lean_dec(x_1); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(x_17, x_18, x_30); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_Elab_Term_getCurrMacroScope(x_13, x_14, x_15, x_16, x_17, x_18, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Lean_Elab_Term_getMainModule___rarg(x_18, x_36); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5; +x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5; x_41 = l_Lean_addMacroScope(x_38, x_40, x_35); x_42 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2; lean_inc(x_4); @@ -21098,7 +21036,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__29; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -21204,9 +21142,9 @@ lean_ctor_set(x_36, 0, x_24); lean_ctor_set(x_36, 1, x_34); lean_ctor_set(x_36, 2, x_33); lean_ctor_set(x_36, 3, x_35); -x_37 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_37 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_38 = l_Lean_addMacroScope(x_30, x_37, x_27); -x_39 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_39 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_40 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_40, 0, x_24); lean_ctor_set(x_40, 1, x_39); @@ -21336,9 +21274,9 @@ lean_ctor_set(x_93, 0, x_81); lean_ctor_set(x_93, 1, x_91); lean_ctor_set(x_93, 2, x_90); lean_ctor_set(x_93, 3, x_92); -x_94 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_94 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_95 = l_Lean_addMacroScope(x_87, x_94, x_84); -x_96 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_96 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_97 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_97, 0, x_81); lean_ctor_set(x_97, 1, x_96); @@ -21478,9 +21416,9 @@ lean_ctor_set(x_153, 0, x_141); lean_ctor_set(x_153, 1, x_151); lean_ctor_set(x_153, 2, x_150); lean_ctor_set(x_153, 3, x_152); -x_154 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_154 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_155 = l_Lean_addMacroScope(x_147, x_154, x_144); -x_156 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_156 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_157 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_157, 0, x_141); lean_ctor_set(x_157, 1, x_156); @@ -21773,11 +21711,11 @@ lean_inc(x_211); x_294 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_294, 0, x_211); lean_ctor_set(x_294, 1, x_293); -x_295 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_295 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; lean_inc(x_214); lean_inc(x_218); x_296 = l_Lean_addMacroScope(x_218, x_295, x_214); -x_297 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_297 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_211); x_298 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_298, 0, x_211); @@ -21804,7 +21742,7 @@ lean_inc(x_211); x_308 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_308, 0, x_211); lean_ctor_set(x_308, 1, x_307); -x_309 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1; +x_309 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___closed__1; lean_inc(x_211); x_310 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_310, 0, x_211); @@ -21834,7 +21772,7 @@ x_322 = lean_usize_of_nat(x_208); lean_dec(x_208); x_323 = x_14; x_324 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6; -x_325 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(x_324, x_16, x_16, x_211, x_214, x_218, x_233, x_227, x_237, x_235, x_289, x_276, x_271, x_273, x_322, x_281, x_323); +x_325 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(x_324, x_16, x_16, x_211, x_214, x_218, x_233, x_227, x_237, x_235, x_289, x_276, x_271, x_273, x_322, x_281, x_323); x_326 = x_325; x_327 = l_Array_append___rarg(x_278, x_326); lean_dec(x_326); @@ -22063,11 +22001,11 @@ lean_inc(x_211); x_449 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_449, 0, x_211); lean_ctor_set(x_449, 1, x_448); -x_450 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_450 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; lean_inc(x_214); lean_inc(x_372); x_451 = l_Lean_addMacroScope(x_372, x_450, x_214); -x_452 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_452 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_211); x_453 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_453, 0, x_211); @@ -22094,7 +22032,7 @@ lean_inc(x_211); x_463 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_463, 0, x_211); lean_ctor_set(x_463, 1, x_462); -x_464 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1; +x_464 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___closed__1; lean_inc(x_211); x_465 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_465, 0, x_211); @@ -22124,7 +22062,7 @@ x_477 = lean_usize_of_nat(x_208); lean_dec(x_208); x_478 = x_14; x_479 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6; -x_480 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(x_479, x_16, x_16, x_211, x_214, x_372, x_388, x_382, x_392, x_390, x_444, x_431, x_426, x_428, x_477, x_436, x_478); +x_480 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(x_479, x_16, x_16, x_211, x_214, x_372, x_388, x_382, x_392, x_390, x_444, x_431, x_426, x_428, x_477, x_436, x_478); x_481 = x_480; x_482 = l_Array_append___rarg(x_433, x_481); lean_dec(x_481); @@ -22241,9 +22179,9 @@ lean_ctor_set(x_543, 0, x_531); lean_ctor_set(x_543, 1, x_541); lean_ctor_set(x_543, 2, x_540); lean_ctor_set(x_543, 3, x_542); -x_544 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_544 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_545 = l_Lean_addMacroScope(x_537, x_544, x_534); -x_546 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_546 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_547 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_547, 0, x_531); lean_ctor_set(x_547, 1, x_546); @@ -22370,9 +22308,9 @@ lean_ctor_set(x_599, 0, x_587); lean_ctor_set(x_599, 1, x_597); lean_ctor_set(x_599, 2, x_596); lean_ctor_set(x_599, 3, x_598); -x_600 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_600 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_601 = l_Lean_addMacroScope(x_593, x_600, x_590); -x_602 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_602 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_603 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_603, 0, x_587); lean_ctor_set(x_603, 1, x_602); @@ -22500,9 +22438,9 @@ lean_ctor_set(x_655, 0, x_643); lean_ctor_set(x_655, 1, x_653); lean_ctor_set(x_655, 2, x_652); lean_ctor_set(x_655, 3, x_654); -x_656 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_656 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_657 = l_Lean_addMacroScope(x_649, x_656, x_646); -x_658 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_658 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_659 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_659, 0, x_643); lean_ctor_set(x_659, 1, x_658); @@ -23020,9 +22958,9 @@ lean_ctor_set(x_67, 0, x_35); lean_ctor_set(x_67, 1, x_65); lean_ctor_set(x_67, 2, x_64); lean_ctor_set(x_67, 3, x_66); -x_68 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_68 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_69 = l_Lean_addMacroScope(x_42, x_68, x_38); -x_70 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_70 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_35); x_71 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_71, 0, x_35); @@ -23166,9 +23104,9 @@ lean_ctor_set(x_146, 0, x_35); lean_ctor_set(x_146, 1, x_144); lean_ctor_set(x_146, 2, x_143); lean_ctor_set(x_146, 3, x_145); -x_147 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_147 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_148 = l_Lean_addMacroScope(x_120, x_147, x_38); -x_149 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_149 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_35); x_150 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_150, 0, x_35); @@ -23303,9 +23241,9 @@ lean_ctor_set(x_218, 0, x_201); lean_ctor_set(x_218, 1, x_216); lean_ctor_set(x_218, 2, x_214); lean_ctor_set(x_218, 3, x_217); -x_219 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_219 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_220 = l_Lean_addMacroScope(x_208, x_219, x_204); -x_221 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_221 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_201); x_222 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_222, 0, x_201); @@ -23392,9 +23330,9 @@ lean_ctor_set(x_266, 0, x_201); lean_ctor_set(x_266, 1, x_264); lean_ctor_set(x_266, 2, x_262); lean_ctor_set(x_266, 3, x_265); -x_267 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_267 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_268 = l_Lean_addMacroScope(x_255, x_267, x_204); -x_269 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_269 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_201); x_270 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_270, 0, x_201); @@ -23502,9 +23440,9 @@ lean_ctor_set(x_322, 0, x_305); lean_ctor_set(x_322, 1, x_320); lean_ctor_set(x_322, 2, x_318); lean_ctor_set(x_322, 3, x_321); -x_323 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_323 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_324 = l_Lean_addMacroScope(x_312, x_323, x_308); -x_325 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_325 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_305); x_326 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_326, 0, x_305); @@ -23591,9 +23529,9 @@ lean_ctor_set(x_370, 0, x_305); lean_ctor_set(x_370, 1, x_368); lean_ctor_set(x_370, 2, x_366); lean_ctor_set(x_370, 3, x_369); -x_371 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_371 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_372 = l_Lean_addMacroScope(x_359, x_371, x_308); -x_373 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_373 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_305); x_374 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_374, 0, x_305); @@ -23950,9 +23888,9 @@ lean_ctor_set(x_49, 0, x_21); lean_ctor_set(x_49, 1, x_48); lean_ctor_set(x_49, 2, x_41); lean_ctor_set(x_49, 3, x_47); -x_50 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_50 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_51 = l_Lean_addMacroScope(x_28, x_50, x_24); -x_52 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_52 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_21); x_53 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_53, 0, x_21); @@ -24119,9 +24057,9 @@ lean_ctor_set(x_135, 0, x_21); lean_ctor_set(x_135, 1, x_134); lean_ctor_set(x_135, 2, x_127); lean_ctor_set(x_135, 3, x_133); -x_136 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_136 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_137 = l_Lean_addMacroScope(x_113, x_136, x_24); -x_138 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_138 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_21); x_139 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_139, 0, x_21); @@ -24341,10 +24279,10 @@ lean_inc(x_11); x_23 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_23, 0, x_11); lean_ctor_set(x_23, 1, x_22); -x_24 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_24 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_25 = l_Lean_addMacroScope(x_18, x_24, x_14); x_26 = lean_box(0); -x_27 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_27 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_11); x_28 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_28, 0, x_11); @@ -24408,10 +24346,10 @@ lean_inc(x_11); x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_11); lean_ctor_set(x_60, 1, x_59); -x_61 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_61 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_62 = l_Lean_addMacroScope(x_54, x_61, x_14); x_63 = lean_box(0); -x_64 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_64 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_11); x_65 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_65, 0, x_11); @@ -24624,7 +24562,7 @@ x_9 = lean_ctor_get(x_1, 0); lean_inc(x_9); x_10 = lean_ctor_get(x_1, 1); lean_inc(x_10); -x_11 = l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_9); +x_11 = l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2(x_9); x_12 = l_Lean_Syntax_isQuot(x_11); if (x_12 == 0) { @@ -24669,7 +24607,7 @@ x_25 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo__ x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_11, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_27 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_11, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_11); return x_27; } @@ -24698,7 +24636,7 @@ x_34 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo__ x_35 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_11, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_36 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_11, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_11); return x_36; } @@ -24902,7 +24840,7 @@ x_84 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo__ x_85 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_85, 0, x_83); lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_11, x_85, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_86 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_11, x_85, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_11); return x_86; } @@ -24930,7 +24868,7 @@ x_93 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo__ x_94 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_94, 0, x_92); lean_ctor_set(x_94, 1, x_93); -x_95 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_11, x_94, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_95 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_11, x_94, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_11); return x_95; } @@ -25139,7 +25077,7 @@ if (x_205 == 0) lean_object* x_206; lean_object* x_207; lean_dec(x_203); x_206 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__13; -x_207 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_200, x_206, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_207 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_200, x_206, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_200); return x_207; } @@ -25380,7 +25318,7 @@ x_139 = lean_usize_of_nat(x_138); lean_dec(x_138); x_140 = 0; x_141 = x_137; -x_142 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(x_139, x_140, x_141); +x_142 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(x_139, x_140, x_141); x_143 = x_142; x_144 = l_Lean_Syntax_isIdent(x_135); x_145 = lean_box(x_144); @@ -25482,7 +25420,7 @@ lean_object* x_189; lean_object* x_190; lean_dec(x_11); lean_dec(x_1); x_189 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__14; -x_190 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_125, x_189, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_190 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_125, x_189, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_125); return x_190; } @@ -25493,7 +25431,7 @@ lean_object* x_191; lean_object* x_192; lean_dec(x_11); lean_dec(x_1); x_191 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__14; -x_192 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(x_125, x_191, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_192 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(x_125, x_191, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_125); return x_192; } @@ -25501,20 +25439,11 @@ return x_192; } } } -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_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) { +lean_object* l_Lean_throwError___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) { _start: { 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); +x_9 = l_Lean_throwError___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); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -25523,11 +25452,11 @@ lean_dec(x_3); return x_9; } } -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) { +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_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); +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___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); @@ -25536,16 +25465,16 @@ lean_dec(x_1); return x_10; } } -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) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_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); +x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); 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) { +lean_object* l_Array_mapMUnsafe_map___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) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -25553,15 +25482,15 @@ 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); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(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) { +lean_object* l_List_mapM___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, 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); +x_9 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___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); @@ -25571,18 +25500,18 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_mapIdxM_map___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) { _start: { lean_object* x_8; -x_8 = l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Array_mapIdxM_map___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); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_8; } } -lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___boxed(lean_object** _args) { +lean_object* l_List_mapM___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]; @@ -25608,7 +25537,7 @@ lean_object* x_22 = _args[21]; _start: { lean_object* x_23; -x_23 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +x_23 = l_List_mapM___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, x_19, x_20, x_21, x_22); lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); @@ -25619,6 +25548,43 @@ lean_dec(x_1); return x_23; } } +lean_object* l_Array_forInUnsafe_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: +{ +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_20 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_21 = l_Array_forInUnsafe_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_19, x_20, 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); +return x_21; +} +} lean_object* l_Array_forInUnsafe_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]; @@ -25693,7 +25659,36 @@ lean_dec(x_8); return x_21; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___boxed(lean_object** _args) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = lean_unbox_usize(x_15); +lean_dec(x_15); +x_19 = lean_unbox_usize(x_16); +lean_dec(x_16); +x_20 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_18, x_19, x_17); +return x_20; +} +} +lean_object* l_Array_forInUnsafe_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]; @@ -25719,7 +25714,7 @@ x_19 = lean_unbox_usize(x_9); lean_dec(x_9); x_20 = lean_unbox_usize(x_10); lean_dec(x_10); -x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19, x_20, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_21 = l_Array_forInUnsafe_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_19, x_20, 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); @@ -25730,35 +25725,6 @@ lean_dec(x_8); return x_21; } } -lean_object* l_Array_mapMUnsafe_map___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]; -_start: -{ -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_15); -lean_dec(x_15); -x_19 = lean_unbox_usize(x_16); -lean_dec(x_16); -x_20 = l_Array_mapMUnsafe_map___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_18, x_19, x_17); -return x_20; -} -} lean_object* l_Array_forInUnsafe_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]; @@ -25833,43 +25799,6 @@ lean_dec(x_8); return x_21; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -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: -{ -size_t x_19; size_t x_20; lean_object* x_21; -x_19 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_20 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19, x_20, 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); -return x_21; -} -} 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: { @@ -29186,10 +29115,10 @@ if (x_15 == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_16 = lean_ctor_get(x_14, 0); -x_17 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_17 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_18 = l_Lean_addMacroScope(x_16, x_17, x_12); x_19 = lean_box(0); -x_20 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_20 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_9); lean_ctor_set(x_21, 1, x_20); @@ -29206,10 +29135,10 @@ x_23 = lean_ctor_get(x_14, 1); lean_inc(x_23); lean_inc(x_22); lean_dec(x_14); -x_24 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_24 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_25 = l_Lean_addMacroScope(x_22, x_24, x_12); x_26 = lean_box(0); -x_27 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_27 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; x_28 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_28, 0, x_9); lean_ctor_set(x_28, 1, x_27); @@ -30097,10 +30026,10 @@ lean_inc(x_3); x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_3); -x_46 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_46 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_47 = l_Lean_addMacroScope(x_40, x_46, x_37); x_48 = lean_box(0); -x_49 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_49 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_34); x_50 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_50, 0, x_34); @@ -30618,10 +30547,10 @@ lean_inc(x_75); x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_75); lean_ctor_set(x_84, 1, x_83); -x_85 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_85 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_86 = l_Lean_addMacroScope(x_82, x_85, x_78); x_87 = lean_box(0); -x_88 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_88 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_75); x_89 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_89, 0, x_75); @@ -30684,10 +30613,10 @@ lean_inc(x_75); x_120 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_120, 0, x_75); lean_ctor_set(x_120, 1, x_119); -x_121 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_121 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_122 = l_Lean_addMacroScope(x_117, x_121, x_78); x_123 = lean_box(0); -x_124 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_124 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_75); x_125 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_125, 0, x_75); @@ -31019,10 +30948,10 @@ lean_inc(x_207); x_217 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_217, 0, x_207); lean_ctor_set(x_217, 1, x_216); -x_218 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_218 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_219 = l_Lean_addMacroScope(x_213, x_218, x_210); x_220 = lean_box(0); -x_221 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_221 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_207); x_222 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_222, 0, x_207); @@ -31382,10 +31311,10 @@ lean_inc(x_306); x_316 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_316, 0, x_306); lean_ctor_set(x_316, 1, x_315); -x_317 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; +x_317 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; x_318 = l_Lean_addMacroScope(x_312, x_317, x_309); x_319 = lean_box(0); -x_320 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; +x_320 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; lean_inc(x_306); x_321 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_321, 0, x_306); @@ -34209,54 +34138,46 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats__ lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__4 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__4(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__4); -l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__1 = _init_l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__1(); -lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__1); -l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__2 = _init_l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__2(); -lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__2); -l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__3 = _init_l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__3(); -lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__3); -l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__4 = _init_l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__4(); -lean_mark_persistent(l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__4); -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_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_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1(); -lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__4); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___closed__1); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__1 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__1(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__1); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__2 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__2(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__2); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__3 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__3(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__3); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__4 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__4(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__4); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__5 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__5(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__5); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__6 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__6(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__6); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__7 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__7(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__7); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__8 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__8(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__8); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__9 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__9(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__9); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__10 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__10(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__10); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12); +l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1 = _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1(); +lean_mark_persistent(l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__6); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__1); 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(); diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 9830ef57c9..c8ab1258ca 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -6203,7 +6203,7 @@ lean_dec(x_3); x_17 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__5(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_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_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -6215,47 +6215,49 @@ x_21 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_21, 0, x_20); lean_ctor_set(x_21, 1, x_1); x_22 = l_Lean_LocalContext_empty; +x_23 = 0; lean_inc(x_2); -x_23 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_23, 2, x_2); -lean_ctor_set(x_23, 3, x_18); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8(x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_box(0); +x_24 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_24, 0, x_21); +lean_ctor_set(x_24, 1, x_22); +lean_ctor_set(x_24, 2, x_2); +lean_ctor_set(x_24, 3, x_18); +lean_ctor_set_uint8(x_24, sizeof(void*)*4, x_23); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8(x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_box(0); x_3 = x_16; -x_4 = x_27; -x_13 = x_26; +x_4 = x_28; +x_13 = x_27; goto _start; } else { -uint8_t x_29; +uint8_t x_30; lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_17); -if (x_29 == 0) +x_30 = !lean_is_exclusive(x_17); +if (x_30 == 0) { return x_17; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_17, 0); -x_31 = lean_ctor_get(x_17, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); lean_inc(x_31); -lean_inc(x_30); lean_dec(x_17); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Induction.c b/stage0/stdlib/Lean/Elab/Tactic/Induction.c index c321d7e6a3..2faa30470a 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Induction.c @@ -11680,7 +11680,7 @@ lean_inc(x_14); x_27 = l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__7(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); if (lean_obj_tag(x_27) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); @@ -11691,87 +11691,89 @@ x_31 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_1); x_32 = l_Lean_LocalContext_empty; -x_33 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -lean_ctor_set(x_33, 2, x_3); -lean_ctor_set(x_33, 3, x_28); -x_34 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +x_33 = 0; +x_34 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_3); +lean_ctor_set(x_34, 3, x_28); +lean_ctor_set_uint8(x_34, sizeof(void*)*4, x_33); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10(x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); lean_dec(x_10); -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) { -lean_object* x_37; -x_37 = lean_ctor_get(x_35, 0); -lean_dec(x_37); -lean_ctor_set(x_35, 0, x_14); -return x_35; +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_dec(x_38); +lean_ctor_set(x_36, 0, x_14); +return x_36; } else { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); -lean_dec(x_35); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_14); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_14); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } else { -uint8_t x_40; +uint8_t x_41; lean_dec(x_14); lean_dec(x_10); lean_dec(x_3); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_27); -if (x_40 == 0) +x_41 = !lean_is_exclusive(x_27); +if (x_41 == 0) { return x_27; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_27, 0); -x_42 = lean_ctor_get(x_27, 1); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_27, 0); +x_43 = lean_ctor_get(x_27, 1); +lean_inc(x_43); lean_inc(x_42); -lean_inc(x_41); lean_dec(x_27); -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_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } } else { -uint8_t x_44; +uint8_t x_45; lean_dec(x_10); lean_dec(x_3); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_13); -if (x_44 == 0) +x_45 = !lean_is_exclusive(x_13); +if (x_45 == 0) { return x_13; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_13, 0); -x_46 = lean_ctor_get(x_13, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_13, 0); +x_47 = lean_ctor_get(x_13, 1); +lean_inc(x_47); lean_inc(x_46); -lean_inc(x_45); lean_dec(x_13); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Simp.c b/stage0/stdlib/Lean/Elab/Tactic/Simp.c index 23e981e0db..73b7f7b9a8 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Simp.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Simp.c @@ -2810,7 +2810,7 @@ lean_inc(x_14); x_27 = l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__7(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); if (lean_obj_tag(x_27) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); @@ -2821,87 +2821,89 @@ x_31 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_1); x_32 = l_Lean_LocalContext_empty; -x_33 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -lean_ctor_set(x_33, 2, x_3); -lean_ctor_set(x_33, 3, x_28); -x_34 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +x_33 = 0; +x_34 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_3); +lean_ctor_set(x_34, 3, x_28); +lean_ctor_set_uint8(x_34, sizeof(void*)*4, x_33); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__10(x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); lean_dec(x_10); -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) { -lean_object* x_37; -x_37 = lean_ctor_get(x_35, 0); -lean_dec(x_37); -lean_ctor_set(x_35, 0, x_14); -return x_35; +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_dec(x_38); +lean_ctor_set(x_36, 0, x_14); +return x_36; } else { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); -lean_dec(x_35); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_14); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_14); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } else { -uint8_t x_40; +uint8_t x_41; lean_dec(x_14); lean_dec(x_10); lean_dec(x_3); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_27); -if (x_40 == 0) +x_41 = !lean_is_exclusive(x_27); +if (x_41 == 0) { return x_27; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_27, 0); -x_42 = lean_ctor_get(x_27, 1); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_27, 0); +x_43 = lean_ctor_get(x_27, 1); +lean_inc(x_43); lean_inc(x_42); -lean_inc(x_41); lean_dec(x_27); -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_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } } else { -uint8_t x_44; +uint8_t x_45; lean_dec(x_10); lean_dec(x_3); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_13); -if (x_44 == 0) +x_45 = !lean_is_exclusive(x_13); +if (x_45 == 0) { return x_13; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_13, 0); -x_46 = lean_ctor_get(x_13, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_13, 0); +x_47 = lean_ctor_get(x_13, 1); +lean_inc(x_47); lean_inc(x_46); -lean_inc(x_45); lean_dec(x_13); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index d0b7b72ad1..c0e2b83971 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -27,14 +27,12 @@ lean_object* l_Lean_Elab_Term_observing_match__1(lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__11; lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__2; uint8_t l_Lean_isRecCore(lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___spec__1___closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp___closed__1; lean_object* l_Std_PersistentArray_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_foldr___at_Lean_Elab_Term_resolveName_x27___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__10; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -65,15 +63,16 @@ lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_List_elem___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__3___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__12; lean_object* lean_io_get_num_heartbeats(lean_object*); +lean_object* l_List_tail_x21___rarg(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*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp___boxed(lean_object*); lean_object* l_Lean_Elab_Term_commitIfNoErrors_x3f(lean_object*); +lean_object* l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2(lean_object*); static lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___closed__3; lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwMVarError___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_evalExpr___rarg___closed__2; lean_object* l_Lean_Elab_Term_instToStringMVarErrorKind_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -111,7 +110,6 @@ lean_object* l_Lean_Elab_Term_instAddErrorMessageContextTermElabM(lean_object*, lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_State_infoState___default___closed__3; lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_resolveName_x27_match__7(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__5; lean_object* l_Lean_Elab_Term_resolveName___lambda__2___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -167,7 +165,6 @@ lean_object* l_Lean_Elab_Term_resolveLocalName_loop___boxed(lean_object*, lean_o lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_commitIfDidNotPostpone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_autoBoundImplicitLocal; -static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2; lean_object* l_Std_RBNode_find___at_Lean_Elab_Term_resolveName___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_levelMVarToParam___closed__1; @@ -180,6 +177,7 @@ lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_T static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1; static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -201,7 +199,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___lambda__1(lea lean_object* l_Lean_Elab_Term_applyResult___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__3(lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__12___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMVar(lean_object*); @@ -218,7 +215,6 @@ static lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__2; uint8_t l_Lean_Elab_Term_hasNoImplicitLambdaAnnotation(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__4; static lean_object* l_Lean_Elab_Term_instInhabitedState___closed__2; -lean_object* lean_string_utf8_prev(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_resolveName___closed__3; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isCasesOnRecursor(lean_object*, lean_object*); @@ -284,7 +280,6 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMessageLog___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeAscription___closed__2; -lean_object* l_Lean_Elab_Term_resolveName_x27_match__6___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__2; @@ -329,15 +324,14 @@ lean_object* l_Lean_Elab_expandMacroImpl_x3f___boxed(lean_object*, lean_object*, lean_object* l_Lean_Elab_Term_synthesizeInst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed__5; lean_object* l_Std_RBNode_find___at_Lean_Elab_Term_resolveName___spec__2___boxed(lean_object*, lean_object*); +static lean_object* l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__1; -lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__16; static lean_object* l_Lean_Elab_Term_instInhabitedState___closed__1; -lean_object* l_Lean_Elab_Term_addTermInfo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withLevelNames(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__6; -lean_object* l_Lean_Elab_Term_resolveName_x27_match__7___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -356,7 +350,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns(lean_ static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4049____closed__3; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__2; extern lean_object* l_Lean_auxRecExt; -lean_object* l_Lean_Elab_Term_resolveName_x27_match__2(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__8; @@ -447,14 +440,11 @@ static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__5; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__13; lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__1; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__3; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__4; lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__3; lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2(lean_object*); -static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__1; lean_object* l_Lean_Elab_Term_LVal_isFieldName___boxed(lean_object*); lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe(lean_object*); @@ -481,7 +471,6 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMe lean_object* l_Lean_Elab_Term_resolveLocalName_loop(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__10; lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__1(lean_object*); -uint8_t l_instDecidableNot___rarg(uint8_t); static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__4; static lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___closed__4; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isNoImplicitLambda___closed__1; @@ -531,7 +520,6 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMe 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*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__1; -lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_Elab_Term_resolveName_x27___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTypeMismatchError___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Level_instHashableLevel; lean_object* l_Lean_Elab_Term_isExprMVarAssigned___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -555,7 +543,6 @@ static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__14; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_levelMVarToParam___closed__2; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584____closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkConst___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSyntheticSorryFor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -572,7 +559,6 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___l lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit(lean_object*); lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_map___at_Lean_Elab_Term_resolveName_x27___spec__4___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); @@ -591,7 +577,7 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__7; lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_addTermInfo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermInfo_match__1(lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -623,6 +609,7 @@ lean_object* l_Lean_ofExcept___at_Lean_Elab_Term_evalExpr___spec__12___rarg(lean lean_object* l_Lean_Elab_Term_levelMVarToParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_identComponents(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withFreshMacroScope(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__5; @@ -643,7 +630,7 @@ lean_object* l_Lean_Elab_Term_commitIfDidNotPostpone(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTypeMismatchError_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___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_9584_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592_(lean_object*); lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4049_(lean_object*); lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4029_(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*); @@ -677,6 +664,7 @@ lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Term_addAutoBoundImpl uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__5; lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___closed__3; @@ -692,7 +680,6 @@ extern lean_object* l_Lean_Elab_abortTermExceptionId; static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__12; lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_appendExtra_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* lean_eval_const(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwAppTypeMismatch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); @@ -704,11 +691,11 @@ lean_object* l_Lean_Elab_Term_getMainModule(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Elab_Term_isMonadApp_match__1(lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute(lean_object*); lean_object* l_Lean_Elab_withInfoContext_x27___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__2; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_printTraces___at_Lean_Core_instMetaEvalCoreM___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___lambda__1___closed__1; -uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__14; lean_object* l_Lean_Elab_Term_getCurrMacroScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -721,8 +708,8 @@ lean_object* l_Lean_Elab_Term_resolveId_x3f(lean_object*, lean_object*, uint8_t, static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__5; lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMessageLog___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__1; static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__1___closed__2; -lean_object* l_Lean_Elab_Term_resolveName_x27_match__5(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__13; @@ -740,12 +727,14 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__1 static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__2; lean_object* l_Lean_Meta_getMVarsAtDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); +lean_object* l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__16; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__1; lean_object* l_Lean_Elab_Term_maxCoeSize; lean_object* l_Lean_Elab_withInfoContext_x27___at_Lean_Elab_Term_addTermInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -753,13 +742,12 @@ uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftLevelM(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_resolveName_x27_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__5; lean_object* l_Lean_LocalDecl_toExpr(lean_object*); lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_throwMVarError___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedSyntax; extern lean_object* l_Lean_firstFrontendMacroScope; uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_resolveName_x27_match__3(lean_object*); static lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__3; static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__5; lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -774,7 +762,6 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___la lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__8; lean_object* l_Lean_Elab_Term_synthesizeCoeInstMVarCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_resolveName_x27_match__4___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__1___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_checkMaxHeartbeats(lean_object*, lean_object*, lean_object*, lean_object*); @@ -839,7 +826,7 @@ static lean_object* l_Lean_Elab_Term_resolveName___closed__4; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe_match__2(lean_object*); lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo(lean_object*); lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584____closed__1; +static lean_object* l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__4; lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__6; @@ -848,11 +835,9 @@ lean_object* l_Lean_Elab_Term_evalExpr(lean_object*); lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_resolveName_x27_match__4(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute; lean_object* l_Lean_Elab_Term_resolveName_process___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addAndCompile___at_Lean_Elab_Term_evalExpr___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_evalConst___at_Lean_Elab_Term_evalExpr___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -862,6 +847,7 @@ lean_object* l_Lean_Elab_Term_resolveId_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg(lean_object*, lean_object*); lean_object* l_Lean_evalConst___at_Lean_Elab_Term_evalExpr___spec__11(lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__14; +static lean_object* l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__2; lean_object* l_Lean_Elab_Term_getDeclName_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkNoImplicitLambdaAnnotation___closed__1; @@ -894,11 +880,11 @@ lean_object* l_Lean_Elab_Term_resolveName_match__1___rarg(lean_object*, lean_obj static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__2; lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__4; -uint8_t l_UInt32_decEq(uint32_t, uint32_t); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__17; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__10; static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__4; lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__3; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_appendExtra_match__1(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__2(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -932,7 +918,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___lam static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__1; uint8_t l_Lean_Elab_Term_LVal_isFieldName(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2; -lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveId_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_traceAtCmdPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -945,11 +930,9 @@ lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f_match__1(lean_object*); lean_object* l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwTypeMismatchError___spec__1(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1; -static lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__1; static lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__1; uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_Elab_Term_resolveName_x27___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__6; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1001,15 +984,15 @@ lean_object* l_Lean_Elab_Term_assignLevelMVar___boxed(lean_object*, lean_object* lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyAttributes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveId_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_assignLevel(lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_State_syntheticMVars___default; static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__1; lean_object* l_Lean_Elab_Term_registerMVarErrorCustomInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isTypeApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__2; static lean_object* l_Lean_Elab_Term_instToStringLVal___closed__2; lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__2___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1063,7 +1046,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe_match__1(lean_o lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_levelMVarToParam___lambda__1(lean_object*, lean_object*); -lean_object* l_List_foldr___at_Lean_Elab_Term_resolveName_x27___spec__3(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withSavedContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1088,7 +1070,6 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Context_currMacroScope___default; lean_object* l_Lean_Elab_Term_observing___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instAddErrorMessageContextTermElabM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_resolveName_x27_match__6(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__8; uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_11_(uint8_t, uint8_t); 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*); @@ -1098,7 +1079,6 @@ lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___boxed(lean_object*, lean_object* lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSyntheticSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_instInhabitedName; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__3; static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__7; lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1107,7 +1087,6 @@ static lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__9; -lean_object* l_Lean_Elab_Term_resolveName_x27_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_toIO_match__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_LVal_getRef_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1126,7 +1105,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_resolveName_x27___spec__1___b lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Elab_Term_evalExpr___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_List_map___at_Lean_Elab_Term_resolveName_x27___spec__4(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__5; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1207,7 +1185,7 @@ lean_object* l_Lean_Elab_Term_applyResult___rarg(lean_object*, lean_object*, lea lean_object* l_IO_println___at_Lean_instEval___spec__1(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_12379_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008_(lean_object*); static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__10; lean_object* l_Lean_throwError___at_Lean_Elab_Term_evalExpr___spec__13(lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1228,18 +1206,16 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMeta lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__1; -lean_object* l_Lean_Elab_Term_mkTermInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkTermInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__3; lean_object* l_Lean_Elab_Term_resolveName_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__4(lean_object*); -lean_object* l_Lean_Elab_Term_resolveName_x27_match__5___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___closed__2; lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore_match__1(lean_object*); lean_object* l_Lean_Elab_Term_mkTermInfo_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__9; -lean_object* l_Lean_SourceInfo_getPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__15; lean_object* l_Std_HashSetImp_expand___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__5(lean_object*, lean_object*); @@ -1364,7 +1340,7 @@ lean_object* l_Lean_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec_ lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSyntheticSorryFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_autoLift___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_evalExpr___rarg___closed__4; @@ -1375,6 +1351,7 @@ lean_object* l_Lean_Elab_Term_resolveName_process(lean_object*, lean_object*, le lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_LVal_getRef_match__1(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__1; lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyAttributesAt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___closed__1; @@ -1385,6 +1362,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___closed__3; lean_object* l_Lean_Elab_Term_getMainModule___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__2; uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock(lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__1; lean_object* l_Lean_Declaration_foldExprM___at_Lean_Elab_Term_evalExpr___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -25449,131 +25427,131 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkTermInfo_match__2___rarg), 3 return x_2; } } -lean_object* l_Lean_Elab_Term_mkTermInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_mkTermInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; +lean_object* x_14; lean_object* x_15; if (lean_obj_tag(x_3) == 2) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_3, 0); -lean_inc(x_30); -lean_inc(x_30); -x_31 = l_Lean_Elab_Term_getSyntheticMVarDecl_x3f(x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; -lean_dec(x_30); -x_33 = lean_ctor_get(x_31, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_3, 0); +lean_inc(x_31); +lean_inc(x_31); +x_32 = l_Lean_Elab_Term_getSyntheticMVarDecl_x3f(x_31, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_dec(x_31); -x_34 = lean_box(0); -x_13 = x_34; -x_14 = x_33; -goto block_29; +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_box(0); +x_14 = x_35; +x_15 = x_34; +goto block_30; } else { -uint8_t x_35; -x_35 = !lean_is_exclusive(x_32); -if (x_35 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_33); +if (x_36 == 0) { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_32, 0); -x_37 = lean_ctor_get(x_36, 2); -lean_inc(x_37); -lean_dec(x_36); -switch (lean_obj_tag(x_37)) { -case 2: -{ -lean_object* x_38; -lean_dec(x_37); -x_38 = lean_ctor_get(x_31, 1); +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_33, 0); +x_38 = lean_ctor_get(x_37, 2); lean_inc(x_38); -lean_dec(x_31); -lean_ctor_set(x_32, 0, x_30); -x_13 = x_32; -x_14 = x_38; -goto block_29; -} -case 3: +lean_dec(x_37); +switch (lean_obj_tag(x_38)) { +case 2: { lean_object* x_39; -lean_dec(x_37); -x_39 = lean_ctor_get(x_31, 1); +lean_dec(x_38); +x_39 = lean_ctor_get(x_32, 1); lean_inc(x_39); -lean_dec(x_31); -lean_ctor_set(x_32, 0, x_30); -x_13 = x_32; -x_14 = x_39; -goto block_29; -} -default: -{ -lean_object* x_40; lean_object* x_41; -lean_dec(x_37); -lean_free_object(x_32); -lean_dec(x_30); -x_40 = lean_ctor_get(x_31, 1); -lean_inc(x_40); -lean_dec(x_31); -x_41 = lean_box(0); -x_13 = x_41; -x_14 = x_40; -goto block_29; -} -} -} -else -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_32, 0); -lean_inc(x_42); lean_dec(x_32); -x_43 = lean_ctor_get(x_42, 2); -lean_inc(x_43); -lean_dec(x_42); -switch (lean_obj_tag(x_43)) { -case 2: -{ -lean_object* x_44; lean_object* x_45; -lean_dec(x_43); -x_44 = lean_ctor_get(x_31, 1); -lean_inc(x_44); -lean_dec(x_31); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_30); -x_13 = x_45; -x_14 = x_44; -goto block_29; +lean_ctor_set(x_33, 0, x_31); +x_14 = x_33; +x_15 = x_39; +goto block_30; } case 3: { -lean_object* x_46; lean_object* x_47; -lean_dec(x_43); -x_46 = lean_ctor_get(x_31, 1); -lean_inc(x_46); -lean_dec(x_31); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_30); -x_13 = x_47; -x_14 = x_46; -goto block_29; +lean_object* x_40; +lean_dec(x_38); +x_40 = lean_ctor_get(x_32, 1); +lean_inc(x_40); +lean_dec(x_32); +lean_ctor_set(x_33, 0, x_31); +x_14 = x_33; +x_15 = x_40; +goto block_30; } default: { -lean_object* x_48; lean_object* x_49; -lean_dec(x_43); -lean_dec(x_30); -x_48 = lean_ctor_get(x_31, 1); -lean_inc(x_48); +lean_object* x_41; lean_object* x_42; +lean_dec(x_38); +lean_free_object(x_33); lean_dec(x_31); -x_49 = lean_box(0); -x_13 = x_49; +x_41 = lean_ctor_get(x_32, 1); +lean_inc(x_41); +lean_dec(x_32); +x_42 = lean_box(0); +x_14 = x_42; +x_15 = x_41; +goto block_30; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_33, 0); +lean_inc(x_43); +lean_dec(x_33); +x_44 = lean_ctor_get(x_43, 2); +lean_inc(x_44); +lean_dec(x_43); +switch (lean_obj_tag(x_44)) { +case 2: +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_44); +x_45 = lean_ctor_get(x_32, 1); +lean_inc(x_45); +lean_dec(x_32); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_31); +x_14 = x_46; +x_15 = x_45; +goto block_30; +} +case 3: +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_44); +x_47 = lean_ctor_get(x_32, 1); +lean_inc(x_47); +lean_dec(x_32); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_31); x_14 = x_48; -goto block_29; +x_15 = x_47; +goto block_30; +} +default: +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_44); +lean_dec(x_31); +x_49 = lean_ctor_get(x_32, 1); +lean_inc(x_49); +lean_dec(x_32); +x_50 = lean_box(0); +x_14 = x_50; +x_15 = x_49; +goto block_30; } } } @@ -25581,92 +25559,96 @@ goto block_29; } else { -lean_object* x_50; -x_50 = lean_box(0); -x_13 = x_50; -x_14 = x_12; -goto block_29; +lean_object* x_51; +x_51 = lean_box(0); +x_14 = x_51; +x_15 = x_13; +goto block_30; } -block_29: +block_30: { -if (lean_obj_tag(x_13) == 0) +if (lean_obj_tag(x_14) == 0) { -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_8, 1); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_1); -lean_ctor_set(x_16, 1, x_2); +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_9, 1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); if (lean_obj_tag(x_5) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_inc(x_15); -x_17 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -lean_ctor_set(x_17, 2, x_4); -lean_ctor_set(x_17, 3, x_3); -x_18 = lean_alloc_ctor(1, 1, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_inc(x_16); +x_18 = lean_alloc_ctor(0, 4, 1); lean_ctor_set(x_18, 0, x_17); -x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_4); +lean_ctor_set(x_18, 3, x_3); +lean_ctor_set_uint8(x_18, sizeof(void*)*4, x_6); +x_19 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_19, 0, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); +x_20 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_14); -return x_20; +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_15); +return x_21; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_5, 0); -lean_inc(x_21); -x_22 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_22, 0, x_16); -lean_ctor_set(x_22, 1, x_21); -lean_ctor_set(x_22, 2, x_4); -lean_ctor_set(x_22, 3, x_3); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_22); -x_24 = lean_alloc_ctor(0, 1, 0); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_5, 0); +lean_inc(x_22); +x_23 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_23, 0, x_17); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_4); +lean_ctor_set(x_23, 3, x_3); +lean_ctor_set_uint8(x_23, sizeof(void*)*4, x_6); +x_24 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_24, 0, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); +x_25 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_14); -return x_25; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_15); +return x_26; } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_26 = lean_ctor_get(x_13, 0); -lean_inc(x_26); -lean_dec(x_13); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -x_28 = lean_alloc_ctor(0, 2, 0); +x_27 = lean_ctor_get(x_14, 0); +lean_inc(x_27); +lean_dec(x_14); +x_28 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_14); -return x_28; +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_15); +return x_29; } } } } -lean_object* l_Lean_Elab_Term_mkTermInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_mkTermInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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_13; -x_13 = l_Lean_Elab_Term_mkTermInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_6); +lean_dec(x_6); +x_15 = l_Lean_Elab_Term_mkTermInfo(x_1, x_2, x_3, x_4, x_5, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -return x_13; +return x_15; } } lean_object* l_Lean_Elab_withInfoContext_x27___at_Lean_Elab_Term_addTermInfo___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -26367,12 +26349,12 @@ lean_ctor_set(x_9, 1, x_7); return x_9; } } -lean_object* l_Lean_Elab_Term_addTermInfo___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Lean_Elab_Term_addTermInfo___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; -x_14 = l_Lean_Elab_Term_mkTermInfo(x_1, x_2, x_3, x_4, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_14; +lean_object* x_15; +x_15 = l_Lean_Elab_Term_mkTermInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; } } static lean_object* _init_l_Lean_Elab_Term_addTermInfo___closed__1() { @@ -26383,64 +26365,66 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo___lambda__1___boxe return x_1; } } -lean_object* l_Lean_Elab_Term_addTermInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_addTermInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo___lambda__2___boxed), 13, 5); -lean_closure_set(x_13, 0, x_5); -lean_closure_set(x_13, 1, x_1); -lean_closure_set(x_13, 2, x_2); -lean_closure_set(x_13, 3, x_3); -lean_closure_set(x_13, 4, x_4); -x_14 = l_Lean_Elab_Term_addTermInfo___closed__1; -x_15 = l_Lean_Elab_withInfoContext_x27___at_Lean_Elab_Term_addTermInfo___spec__1(x_14, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_15) == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_box(x_6); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Term_addTermInfo___lambda__2___boxed), 14, 6); +lean_closure_set(x_15, 0, x_5); +lean_closure_set(x_15, 1, x_1); +lean_closure_set(x_15, 2, x_2); +lean_closure_set(x_15, 3, x_3); +lean_closure_set(x_15, 4, x_4); +lean_closure_set(x_15, 5, x_14); +x_16 = l_Lean_Elab_Term_addTermInfo___closed__1; +x_17 = l_Lean_Elab_withInfoContext_x27___at_Lean_Elab_Term_addTermInfo___spec__1(x_16, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) { -uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_17, 0); +lean_dec(x_19); x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; +lean_ctor_set(x_17, 0, x_20); +return x_17; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_17, 1); +lean_inc(x_21); +lean_dec(x_17); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +return x_23; } } else { -uint8_t x_22; -x_22 = !lean_is_exclusive(x_15); -if (x_22 == 0) +uint8_t x_24; +x_24 = !lean_is_exclusive(x_17); +if (x_24 == 0) { -return x_15; +return x_17; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_15, 0); -x_24 = lean_ctor_get(x_15, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_15); -x_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* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_17, 0); +x_26 = lean_ctor_get(x_17, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_17); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } @@ -26459,20 +26443,32 @@ lean_dec(x_1); return x_8; } } -lean_object* l_Lean_Elab_Term_addTermInfo___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Lean_Elab_Term_addTermInfo___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; -x_14 = l_Lean_Elab_Term_addTermInfo___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_6); +lean_dec(x_6); +x_16 = l_Lean_Elab_Term_addTermInfo___lambda__2(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -return x_14; +return x_16; +} +} +lean_object* l_Lean_Elab_Term_addTermInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_6); +lean_dec(x_6); +x_15 = l_Lean_Elab_Term_addTermInfo(x_1, x_2, x_3, x_4, x_5, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; } } lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -27735,7 +27731,7 @@ return x_78; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; x_12 = lean_ctor_get(x_1, 0); lean_inc(x_12); lean_dec(x_1); @@ -27743,8 +27739,9 @@ x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); x_14 = lean_box(0); -x_15 = l_Lean_Elab_Term_mkTermInfo(x_13, x_2, x_4, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_15; +x_15 = 0; +x_16 = l_Lean_Elab_Term_mkTermInfo(x_13, x_2, x_4, x_3, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_16; } } static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___closed__1() { @@ -31827,10 +31824,11 @@ return x_26; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; +lean_object* x_12; uint8_t x_13; lean_object* x_14; x_12 = lean_box(0); -x_13 = l_Lean_Elab_Term_mkTermInfo(x_1, x_2, x_4, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; +x_13 = 0; +x_14 = l_Lean_Elab_Term_mkTermInfo(x_1, x_2, x_4, x_3, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; } } static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__1() { @@ -33844,25 +33842,27 @@ return x_10; lean_object* l_Lean_Elab_Term_addDotCompletionInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_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_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_12 = lean_ctor_get(x_7, 1); x_13 = lean_box(0); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_1); +x_15 = 0; lean_inc(x_3); lean_inc(x_12); -x_15 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_12); -lean_ctor_set(x_15, 2, x_3); -lean_ctor_set(x_15, 3, x_2); -x_16 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_4); +x_16 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_12); lean_ctor_set(x_16, 2, x_3); -x_17 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_17; +lean_ctor_set(x_16, 3, x_2); +lean_ctor_set_uint8(x_16, sizeof(void*)*4, x_15); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_4); +lean_ctor_set(x_17, 2, x_3); +x_18 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_18; } } lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___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) { @@ -37244,7 +37244,7 @@ lean_dec(x_3); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__1() { _start: { lean_object* x_1; @@ -37252,21 +37252,21 @@ x_1 = lean_mk_string("letrec"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__12; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592_(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_9584____closed__2; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -37544,7 +37544,7 @@ lean_object* l_Lean_Elab_Term_isLetRecAuxMVar(lean_object* x_1, lean_object* x_2 _start: { lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584____closed__2; +x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__2; x_37 = lean_st_ref_get(x_7, x_8); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); @@ -39874,187 +39874,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_resolveName_x27_match__1___rar return x_2; } } -lean_object* l_Lean_Elab_Term_resolveName_x27_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_object* x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 2); -lean_inc(x_6); -x_7 = lean_ctor_get(x_1, 3); -lean_inc(x_7); -lean_dec(x_1); -x_8 = lean_apply_4(x_2, x_4, x_5, x_6, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Elab_Term_resolveName_x27_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_resolveName_x27_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_resolveName_x27_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 1: -{ -lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_4); -lean_dec(x_2); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_2(x_3, x_5, x_7); -return x_8; -} -case 4: -{ -lean_object* x_9; lean_object* x_10; uint64_t x_11; lean_object* x_12; lean_object* x_13; -lean_dec(x_4); -lean_dec(x_3); -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -x_11 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_12 = lean_box_uint64(x_11); -x_13 = lean_apply_3(x_2, x_9, x_10, x_12); -return x_13; -} -default: -{ -lean_object* x_14; -lean_dec(x_3); -lean_dec(x_2); -x_14 = lean_apply_1(x_4, x_1); -return x_14; -} -} -} -} -lean_object* l_Lean_Elab_Term_resolveName_x27_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_resolveName_x27_match__3___rarg), 4, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_resolveName_x27_match__4___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_resolveName_x27_match__4(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_resolveName_x27_match__4___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_resolveName_x27_match__5___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_resolveName_x27_match__5(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_resolveName_x27_match__5___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_resolveName_x27_match__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_3); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_2, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_2); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_3, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Elab_Term_resolveName_x27_match__6(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_resolveName_x27_match__6___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_resolveName_x27_match__7___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_resolveName_x27_match__7(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_resolveName_x27_match__7___rarg), 2, 0); -return x_2; -} -} lean_object* l_Lean_throwError___at_Lean_Elab_Term_resolveName_x27___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -40103,1130 +39922,250 @@ return x_22; } } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_Elab_Term_resolveName_x27___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_nat_dec_eq(x_3, x_2); -if (x_4 == 0) -{ -lean_object* x_5; uint32_t x_6; uint32_t x_7; uint8_t x_8; uint8_t x_9; -x_5 = lean_string_utf8_prev(x_1, x_3); -x_6 = lean_string_utf8_get(x_1, x_5); -x_7 = 46; -x_8 = x_6 == x_7; -x_9 = l_instDecidableNot___rarg(x_8); -if (x_9 == 0) -{ -lean_dec(x_5); -return x_3; -} -else -{ -lean_dec(x_3); -x_3 = x_5; -goto _start; -} -} -else -{ -return x_3; -} -} -} -lean_object* l_List_foldr___at_Lean_Elab_Term_resolveName_x27___spec__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_inc(x_1); -return x_1; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 1); -x_6 = l_List_foldr___at_Lean_Elab_Term_resolveName_x27___spec__3(x_1, x_5); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_ctor_get(x_6, 0); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_10 = lean_ctor_get(x_6, 1); -x_11 = lean_ctor_get(x_8, 0); -x_12 = lean_ctor_get(x_8, 1); -x_13 = lean_ctor_get(x_8, 2); -lean_inc(x_13); -x_14 = l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_Elab_Term_resolveName_x27___spec__2(x_11, x_12, x_13); -lean_inc(x_13); -lean_inc(x_14); -lean_inc(x_11); -lean_ctor_set(x_8, 1, x_14); -lean_ctor_set(x_6, 1, x_8); -lean_ctor_set(x_6, 0, x_4); -lean_ctor_set(x_2, 1, x_10); -lean_ctor_set(x_2, 0, x_6); -x_15 = lean_nat_sub(x_13, x_14); -lean_dec(x_14); -x_16 = lean_unsigned_to_nat(1u); -x_17 = lean_nat_add(x_15, x_16); -lean_dec(x_15); -x_18 = lean_nat_sub(x_13, x_17); -lean_dec(x_17); -lean_dec(x_13); -x_19 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_19, 0, x_11); -lean_ctor_set(x_19, 1, x_12); -lean_ctor_set(x_19, 2, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_2); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_21 = lean_ctor_get(x_6, 1); -x_22 = lean_ctor_get(x_8, 0); -x_23 = lean_ctor_get(x_8, 1); -x_24 = lean_ctor_get(x_8, 2); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_8); -lean_inc(x_24); -x_25 = l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_Elab_Term_resolveName_x27___spec__2(x_22, x_23, x_24); -lean_inc(x_24); -lean_inc(x_25); -lean_inc(x_22); -x_26 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_26, 0, x_22); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_26, 2, x_24); -lean_ctor_set(x_6, 1, x_26); -lean_ctor_set(x_6, 0, x_4); -lean_ctor_set(x_2, 1, x_21); -lean_ctor_set(x_2, 0, x_6); -x_27 = lean_nat_sub(x_24, x_25); -lean_dec(x_25); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_27, x_28); -lean_dec(x_27); -x_30 = lean_nat_sub(x_24, x_29); -lean_dec(x_29); -lean_dec(x_24); -x_31 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_2); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_33 = lean_ctor_get(x_6, 0); -x_34 = lean_ctor_get(x_6, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_6); -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -x_37 = lean_ctor_get(x_33, 2); -lean_inc(x_37); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_38 = x_33; -} else { - lean_dec_ref(x_33); - x_38 = lean_box(0); -} -lean_inc(x_37); -x_39 = l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_Elab_Term_resolveName_x27___spec__2(x_35, x_36, x_37); -lean_inc(x_37); -lean_inc(x_39); -lean_inc(x_35); -if (lean_is_scalar(x_38)) { - x_40 = lean_alloc_ctor(0, 3, 0); -} else { - x_40 = x_38; -} -lean_ctor_set(x_40, 0, x_35); -lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_40, 2, x_37); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_4); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_2, 1, x_34); -lean_ctor_set(x_2, 0, x_41); -x_42 = lean_nat_sub(x_37, x_39); -lean_dec(x_39); -x_43 = lean_unsigned_to_nat(1u); -x_44 = lean_nat_add(x_42, x_43); -lean_dec(x_42); -x_45 = lean_nat_sub(x_37, x_44); -lean_dec(x_44); -lean_dec(x_37); -x_46 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_46, 0, x_35); -lean_ctor_set(x_46, 1, x_36); -lean_ctor_set(x_46, 2, x_45); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_2); -return x_47; -} -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_48 = lean_ctor_get(x_2, 0); -x_49 = lean_ctor_get(x_2, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_2); -x_50 = l_List_foldr___at_Lean_Elab_Term_resolveName_x27___spec__3(x_1, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_53 = x_50; -} else { - lean_dec_ref(x_50); - x_53 = lean_box(0); -} -x_54 = lean_ctor_get(x_51, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -x_56 = lean_ctor_get(x_51, 2); -lean_inc(x_56); -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); -} -lean_inc(x_56); -x_58 = l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_Elab_Term_resolveName_x27___spec__2(x_54, x_55, x_56); -lean_inc(x_56); -lean_inc(x_58); -lean_inc(x_54); -if (lean_is_scalar(x_57)) { - x_59 = lean_alloc_ctor(0, 3, 0); -} else { - x_59 = x_57; -} -lean_ctor_set(x_59, 0, x_54); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set(x_59, 2, x_56); -if (lean_is_scalar(x_53)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_53; -} -lean_ctor_set(x_60, 0, x_48); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_52); -x_62 = lean_nat_sub(x_56, x_58); -lean_dec(x_58); -x_63 = lean_unsigned_to_nat(1u); -x_64 = lean_nat_add(x_62, x_63); -lean_dec(x_62); -x_65 = lean_nat_sub(x_56, x_64); -lean_dec(x_64); -lean_dec(x_56); -x_66 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_66, 0, x_54); -lean_ctor_set(x_66, 1, x_55); -lean_ctor_set(x_66, 2, x_65); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_61); -return x_67; -} -} -} -} -lean_object* l_List_map___at_Lean_Elab_Term_resolveName_x27___spec__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -x_3 = lean_box(0); -return x_3; -} -else -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_2); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_5 = lean_ctor_get(x_2, 0); -x_6 = lean_ctor_get(x_2, 1); -x_7 = l_List_map___at_Lean_Elab_Term_resolveName_x27___spec__4(x_1, x_6); -x_8 = lean_ctor_get(x_5, 0); -lean_inc(x_8); -lean_dec(x_5); -x_9 = lean_box(0); -x_10 = lean_name_mk_string(x_9, x_8); -x_11 = l_Lean_mkIdentFrom(x_1, x_10); -lean_ctor_set(x_2, 1, x_7); -lean_ctor_set(x_2, 0, x_11); -return x_2; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -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 = l_List_map___at_Lean_Elab_Term_resolveName_x27___spec__4(x_1, x_13); -x_15 = lean_ctor_get(x_12, 0); -lean_inc(x_15); -lean_dec(x_12); -x_16 = lean_box(0); -x_17 = lean_name_mk_string(x_16, x_15); -x_18 = l_Lean_mkIdentFrom(x_1, x_17); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_14); -return x_19; -} -} -} -} -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__1; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -lean_object* l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_12; -lean_dec(x_2); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_4); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = lean_ctor_get(x_3, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_3, 1); -lean_inc(x_14); -lean_dec(x_3); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_dec(x_13); -x_17 = !lean_is_exclusive(x_4); -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_4, 0); -x_19 = lean_ctor_get(x_4, 1); -x_20 = lean_box(0); -x_21 = lean_name_mk_string(x_20, x_15); -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_22 = lean_ctor_get(x_16, 1); -lean_inc(x_22); -x_23 = lean_ctor_get(x_16, 2); -lean_inc(x_23); -x_24 = lean_nat_sub(x_23, x_22); -lean_dec(x_22); -lean_dec(x_23); -x_25 = lean_nat_add(x_18, x_24); -lean_dec(x_24); -x_26 = l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2; -lean_inc(x_25); -x_27 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_18); -lean_ctor_set(x_27, 2, x_26); -lean_ctor_set(x_27, 3, x_25); -lean_inc(x_2); -x_28 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_16); -lean_ctor_set(x_28, 2, x_21); -lean_ctor_set(x_28, 3, x_2); -x_29 = lean_array_push(x_19, x_28); -x_30 = lean_unsigned_to_nat(1u); -x_31 = lean_nat_add(x_25, x_30); -lean_dec(x_25); -lean_ctor_set(x_4, 1, x_29); -lean_ctor_set(x_4, 0, x_31); -x_3 = x_14; -goto _start; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_33 = lean_ctor_get(x_16, 1); -lean_inc(x_33); -x_34 = lean_ctor_get(x_16, 2); -lean_inc(x_34); -x_35 = lean_nat_sub(x_34, x_33); -lean_dec(x_33); -lean_dec(x_34); -x_36 = lean_nat_add(x_18, x_35); -lean_dec(x_35); -lean_inc(x_36); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_18); -lean_ctor_set(x_37, 1, x_36); -lean_inc(x_2); -x_38 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_16); -lean_ctor_set(x_38, 2, x_21); -lean_ctor_set(x_38, 3, x_2); -x_39 = lean_array_push(x_19, x_38); -x_40 = lean_unsigned_to_nat(1u); -x_41 = lean_nat_add(x_36, x_40); -lean_dec(x_36); -lean_ctor_set(x_4, 1, x_39); -lean_ctor_set(x_4, 0, x_41); -x_3 = x_14; -goto _start; -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = lean_ctor_get(x_4, 0); -x_44 = lean_ctor_get(x_4, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_4); -x_45 = lean_box(0); -x_46 = lean_name_mk_string(x_45, x_15); -if (lean_obj_tag(x_1) == 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; -x_47 = lean_ctor_get(x_16, 1); -lean_inc(x_47); -x_48 = lean_ctor_get(x_16, 2); -lean_inc(x_48); -x_49 = lean_nat_sub(x_48, x_47); -lean_dec(x_47); -lean_dec(x_48); -x_50 = lean_nat_add(x_43, x_49); -lean_dec(x_49); -x_51 = l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2; -lean_inc(x_50); -x_52 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_43); -lean_ctor_set(x_52, 2, x_51); -lean_ctor_set(x_52, 3, x_50); -lean_inc(x_2); -x_53 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_16); -lean_ctor_set(x_53, 2, x_46); -lean_ctor_set(x_53, 3, x_2); -x_54 = lean_array_push(x_44, x_53); -x_55 = lean_unsigned_to_nat(1u); -x_56 = lean_nat_add(x_50, x_55); -lean_dec(x_50); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_54); -x_3 = x_14; -x_4 = x_57; -goto _start; -} -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; -x_59 = lean_ctor_get(x_16, 1); -lean_inc(x_59); -x_60 = lean_ctor_get(x_16, 2); -lean_inc(x_60); -x_61 = lean_nat_sub(x_60, x_59); -lean_dec(x_59); -lean_dec(x_60); -x_62 = lean_nat_add(x_43, x_61); -lean_dec(x_61); -lean_inc(x_62); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_43); -lean_ctor_set(x_63, 1, x_62); -lean_inc(x_2); -x_64 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_16); -lean_ctor_set(x_64, 2, x_46); -lean_ctor_set(x_64, 3, x_2); -x_65 = lean_array_push(x_44, x_64); -x_66 = lean_unsigned_to_nat(1u); -x_67 = lean_nat_add(x_62, x_66); -lean_dec(x_62); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_65); -x_3 = x_14; -x_4 = x_68; -goto _start; -} -} -} -} -} -static lean_object* _init_l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__1() { +static lean_object* _init_l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("Lean.Elab.Term.resolveName'"); +x_1 = lean_mk_string("Init.Data.List.BasicAux"); return x_1; } } -static lean_object* _init_l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__2() { +static lean_object* _init_l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("List.head!"); +return x_1; +} +} +static lean_object* _init_l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("empty list"); +return x_1; +} +} +static lean_object* _init_l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__2; -x_2 = l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__1; -x_3 = lean_unsigned_to_nat(1393u); -x_4 = lean_unsigned_to_nat(31u); -x_5 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__4; +x_1 = l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__1; +x_2 = l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__2; +x_3 = lean_unsigned_to_nat(30u); +x_4 = lean_unsigned_to_nat(12u); +x_5 = l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___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* l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2(lean_object* x_1) { _start: { -if (lean_obj_tag(x_4) == 0) +if (lean_obj_tag(x_1) == 0) { -lean_object* x_12; lean_object* x_13; -lean_dec(x_3); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_instInhabitedSyntax; +x_3 = l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__4; +x_4 = lean_panic_fn(x_2, x_3); +return x_4; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_29; -x_14 = lean_ctor_get(x_4, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_4, 1); -lean_inc(x_15); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - x_16 = x_4; -} else { - lean_dec_ref(x_4); - x_16 = lean_box(0); -} -x_29 = !lean_is_exclusive(x_14); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_30 = lean_ctor_get(x_14, 0); -x_31 = lean_ctor_get(x_14, 1); -x_32 = lean_box(0); -lean_inc(x_3); -lean_ctor_set(x_14, 1, x_32); -lean_ctor_set(x_14, 0, x_3); -x_33 = l_List_foldr___at_Lean_Elab_Term_resolveName_x27___spec__3(x_14, x_31); -lean_dec(x_14); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_36 = x_33; -} else { - lean_dec_ref(x_33); - x_36 = lean_box(0); -} -x_37 = 0; -x_38 = l_Lean_Syntax_getPos_x3f(x_1, x_37); -x_39 = l_Lean_SourceInfo_getPos_x3f(x_2, x_37); -switch (lean_obj_tag(x_30)) { -case 1: -{ -lean_object* x_98; -x_98 = lean_ctor_get(x_30, 0); -lean_inc(x_98); -x_40 = x_98; -goto block_97; -} -case 4: -{ -lean_object* x_99; -x_99 = lean_ctor_get(x_30, 0); -lean_inc(x_99); -x_40 = x_99; -goto block_97; -} -default: -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = l_Lean_instInhabitedName; -x_101 = l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__2; -x_102 = lean_panic_fn(x_100, x_101); -x_40 = x_102; -goto block_97; +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +return x_5; } } -block_97: -{ -lean_object* x_41; -if (lean_obj_tag(x_38) == 0) +} +lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: { if (lean_obj_tag(x_2) == 0) { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_71 = lean_ctor_get(x_34, 1); -lean_inc(x_71); -x_72 = lean_ctor_get(x_34, 2); -lean_inc(x_72); -x_73 = lean_nat_sub(x_72, x_71); -lean_dec(x_71); -lean_dec(x_72); -x_74 = lean_unsigned_to_nat(0u); -x_75 = lean_nat_add(x_74, x_73); -lean_dec(x_73); -x_76 = l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2; -x_77 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_74); -lean_ctor_set(x_77, 2, x_76); -lean_ctor_set(x_77, 3, x_75); -x_41 = x_77; -goto block_70; +lean_object* x_10; lean_object* x_11; +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 { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_78 = lean_ctor_get(x_34, 1); -lean_inc(x_78); -x_79 = lean_ctor_get(x_34, 2); -lean_inc(x_79); -x_80 = lean_nat_sub(x_79, x_78); -lean_dec(x_78); -lean_dec(x_79); -x_81 = lean_unsigned_to_nat(0u); -x_82 = lean_nat_add(x_81, x_80); -lean_dec(x_80); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -x_41 = x_83; -goto block_70; -} -} -else +uint8_t x_12; +x_12 = !lean_is_exclusive(x_2); +if (x_12 == 0) { -if (lean_obj_tag(x_2) == 0) +lean_object* x_13; uint8_t x_14; +x_13 = lean_ctor_get(x_2, 0); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_84 = lean_ctor_get(x_38, 0); -lean_inc(x_84); -lean_dec(x_38); -x_85 = lean_ctor_get(x_34, 1); -lean_inc(x_85); -x_86 = lean_ctor_get(x_34, 2); -lean_inc(x_86); -x_87 = lean_nat_sub(x_86, x_85); -lean_dec(x_85); -lean_dec(x_86); -x_88 = lean_nat_add(x_84, x_87); -lean_dec(x_87); -x_89 = l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2; -x_90 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_84); -lean_ctor_set(x_90, 2, x_89); -lean_ctor_set(x_90, 3, x_88); -x_41 = x_90; -goto block_70; -} -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; -x_91 = lean_ctor_get(x_38, 0); -lean_inc(x_91); -lean_dec(x_38); -x_92 = lean_ctor_get(x_34, 1); -lean_inc(x_92); -x_93 = lean_ctor_get(x_34, 2); -lean_inc(x_93); -x_94 = lean_nat_sub(x_93, x_92); -lean_dec(x_92); -lean_dec(x_93); -x_95 = lean_nat_add(x_91, x_94); -lean_dec(x_94); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_91); -lean_ctor_set(x_96, 1, x_95); -x_41 = x_96; -goto block_70; -} -} -block_70: -{ -lean_object* x_42; -lean_inc(x_34); -x_42 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_34); -lean_ctor_set(x_42, 2, x_40); -lean_ctor_set(x_42, 3, x_32); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -lean_dec(x_34); -x_43 = l_List_map___at_Lean_Elab_Term_resolveName_x27___spec__4(x_1, x_35); -if (lean_is_scalar(x_36)) { - x_44 = lean_alloc_ctor(0, 2, 0); -} else { - x_44 = x_36; -} -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_30); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_11); -x_17 = x_46; -goto block_28; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_47 = lean_ctor_get(x_39, 0); -lean_inc(x_47); -lean_dec(x_39); -x_48 = lean_ctor_get(x_34, 1); -lean_inc(x_48); -x_49 = lean_ctor_get(x_34, 2); -lean_inc(x_49); -lean_dec(x_34); -x_50 = lean_nat_sub(x_49, x_48); -lean_dec(x_48); -lean_dec(x_49); -x_51 = lean_nat_add(x_47, x_50); -lean_dec(x_50); -lean_dec(x_47); -x_52 = lean_unsigned_to_nat(1u); -x_53 = lean_nat_add(x_51, x_52); -lean_dec(x_51); -x_54 = l_Lean_Elab_Term_instInhabitedState___closed__1; -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5(x_2, x_32, x_35, x_55, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_58 = lean_ctor_get(x_56, 0); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = lean_array_to_list(lean_box(0), x_59); -if (lean_is_scalar(x_36)) { - x_61 = lean_alloc_ctor(0, 2, 0); -} else { - x_61 = x_36; -} -lean_ctor_set(x_61, 0, x_42); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_30); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set(x_56, 0, x_62); -x_17 = x_56; -goto block_28; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_63 = lean_ctor_get(x_56, 0); -x_64 = lean_ctor_get(x_56, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_56); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_array_to_list(lean_box(0), x_65); -if (lean_is_scalar(x_36)) { - x_67 = lean_alloc_ctor(0, 2, 0); -} else { - x_67 = x_36; -} -lean_ctor_set(x_67, 0, x_42); -lean_ctor_set(x_67, 1, x_66); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_30); -lean_ctor_set(x_68, 1, x_67); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_64); -x_17 = x_69; -goto block_28; -} -} -} -} -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_103 = lean_ctor_get(x_14, 0); -x_104 = lean_ctor_get(x_14, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_14); -x_105 = lean_box(0); -lean_inc(x_3); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_3); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_List_foldr___at_Lean_Elab_Term_resolveName_x27___spec__3(x_106, x_104); -lean_dec(x_106); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_110 = x_107; -} else { - lean_dec_ref(x_107); - x_110 = lean_box(0); -} -x_111 = 0; -x_112 = l_Lean_Syntax_getPos_x3f(x_1, x_111); -x_113 = l_Lean_SourceInfo_getPos_x3f(x_2, x_111); -switch (lean_obj_tag(x_103)) { -case 1: -{ -lean_object* x_167; -x_167 = lean_ctor_get(x_103, 0); -lean_inc(x_167); -x_114 = x_167; -goto block_166; -} -case 4: -{ -lean_object* x_168; -x_168 = lean_ctor_get(x_103, 0); -lean_inc(x_168); -x_114 = x_168; -goto block_166; -} -default: -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = l_Lean_instInhabitedName; -x_170 = l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__2; -x_171 = lean_panic_fn(x_169, x_170); -x_114 = x_171; -goto block_166; -} -} -block_166: -{ -lean_object* x_115; -if (lean_obj_tag(x_112) == 0) -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_140 = lean_ctor_get(x_108, 1); -lean_inc(x_140); -x_141 = lean_ctor_get(x_108, 2); -lean_inc(x_141); -x_142 = lean_nat_sub(x_141, x_140); -lean_dec(x_140); -lean_dec(x_141); -x_143 = lean_unsigned_to_nat(0u); -x_144 = lean_nat_add(x_143, x_142); -lean_dec(x_142); -x_145 = l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2; -x_146 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_146, 0, x_145); -lean_ctor_set(x_146, 1, x_143); -lean_ctor_set(x_146, 2, x_145); -lean_ctor_set(x_146, 3, x_144); -x_115 = x_146; -goto block_139; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_147 = lean_ctor_get(x_108, 1); -lean_inc(x_147); -x_148 = lean_ctor_get(x_108, 2); -lean_inc(x_148); -x_149 = lean_nat_sub(x_148, x_147); -lean_dec(x_147); -lean_dec(x_148); -x_150 = lean_unsigned_to_nat(0u); -x_151 = lean_nat_add(x_150, x_149); -lean_dec(x_149); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -x_115 = x_152; -goto block_139; -} -} -else -{ -if (lean_obj_tag(x_2) == 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; -x_153 = lean_ctor_get(x_112, 0); -lean_inc(x_153); -lean_dec(x_112); -x_154 = lean_ctor_get(x_108, 1); -lean_inc(x_154); -x_155 = lean_ctor_get(x_108, 2); -lean_inc(x_155); -x_156 = lean_nat_sub(x_155, x_154); -lean_dec(x_154); -lean_dec(x_155); -x_157 = lean_nat_add(x_153, x_156); -lean_dec(x_156); -x_158 = l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2; -x_159 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_153); -lean_ctor_set(x_159, 2, x_158); -lean_ctor_set(x_159, 3, x_157); -x_115 = x_159; -goto block_139; -} -else -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_160 = lean_ctor_get(x_112, 0); -lean_inc(x_160); -lean_dec(x_112); -x_161 = lean_ctor_get(x_108, 1); -lean_inc(x_161); -x_162 = lean_ctor_get(x_108, 2); -lean_inc(x_162); -x_163 = lean_nat_sub(x_162, x_161); -lean_dec(x_161); -lean_dec(x_162); -x_164 = lean_nat_add(x_160, x_163); -lean_dec(x_163); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_160); -lean_ctor_set(x_165, 1, x_164); -x_115 = x_165; -goto block_139; -} -} -block_139: -{ -lean_object* x_116; -lean_inc(x_108); -x_116 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_108); -lean_ctor_set(x_116, 2, x_114); -lean_ctor_set(x_116, 3, x_105); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -lean_dec(x_108); -x_117 = l_List_map___at_Lean_Elab_Term_resolveName_x27___spec__4(x_1, x_109); -if (lean_is_scalar(x_110)) { - x_118 = lean_alloc_ctor(0, 2, 0); -} else { - x_118 = x_110; -} -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_119, 0, x_103); -lean_ctor_set(x_119, 1, x_118); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_11); -x_17 = x_120; -goto block_28; -} -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; -x_121 = lean_ctor_get(x_113, 0); -lean_inc(x_121); -lean_dec(x_113); -x_122 = lean_ctor_get(x_108, 1); -lean_inc(x_122); -x_123 = lean_ctor_get(x_108, 2); -lean_inc(x_123); -lean_dec(x_108); -x_124 = lean_nat_sub(x_123, x_122); -lean_dec(x_122); -lean_dec(x_123); -x_125 = lean_nat_add(x_121, x_124); -lean_dec(x_124); -lean_dec(x_121); -x_126 = lean_unsigned_to_nat(1u); -x_127 = lean_nat_add(x_125, x_126); -lean_dec(x_125); -x_128 = l_Lean_Elab_Term_instInhabitedState___closed__1; -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -x_130 = l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5(x_2, x_105, x_109, x_129, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - x_133 = x_130; -} else { - lean_dec_ref(x_130); - x_133 = lean_box(0); -} -x_134 = lean_ctor_get(x_131, 1); -lean_inc(x_134); -lean_dec(x_131); -x_135 = lean_array_to_list(lean_box(0), x_134); -if (lean_is_scalar(x_110)) { - x_136 = lean_alloc_ctor(0, 2, 0); -} else { - x_136 = x_110; -} -lean_ctor_set(x_136, 0, x_116); -lean_ctor_set(x_136, 1, x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_103); -lean_ctor_set(x_137, 1, x_136); -if (lean_is_scalar(x_133)) { - x_138 = lean_alloc_ctor(0, 2, 0); -} else { - x_138 = x_133; -} -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_132); -x_17 = x_138; -goto block_28; -} -} -} -} -block_28: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_15 = lean_ctor_get(x_2, 1); +x_16 = lean_ctor_get(x_13, 0); +x_17 = lean_ctor_get(x_13, 1); +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_List_lengthAux___rarg(x_17, x_18); lean_dec(x_17); -x_20 = l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_19); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +lean_inc(x_1); +x_21 = l_Lean_Syntax_identComponents(x_1, x_20); +lean_dec(x_20); +x_22 = l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2(x_21); +x_23 = l_List_tail_x21___rarg(x_21); +lean_dec(x_21); +lean_ctor_set(x_13, 1, x_23); +lean_ctor_set(x_13, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_16); +lean_ctor_set(x_24, 1, x_13); +x_25 = l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__3(x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -if (lean_is_scalar(x_16)) { - x_23 = lean_alloc_ctor(1, 2, 0); -} else { - x_23 = x_16; -} -lean_ctor_set(x_23, 0, x_18); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_20, 0, x_23); -return x_20; +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_ctor_set(x_2, 1, x_27); +lean_ctor_set(x_2, 0, x_24); +lean_ctor_set(x_25, 0, x_2); +return x_25; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = lean_ctor_get(x_20, 0); -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_20); -if (lean_is_scalar(x_16)) { - x_26 = lean_alloc_ctor(1, 2, 0); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_25, 0); +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_25); +lean_ctor_set(x_2, 1, x_28); +lean_ctor_set(x_2, 0, x_24); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_31 = lean_ctor_get(x_2, 1); +x_32 = lean_ctor_get(x_13, 0); +x_33 = lean_ctor_get(x_13, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_13); +x_34 = lean_unsigned_to_nat(0u); +x_35 = l_List_lengthAux___rarg(x_33, x_34); +lean_dec(x_33); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_35); +lean_inc(x_1); +x_37 = l_Lean_Syntax_identComponents(x_1, x_36); +lean_dec(x_36); +x_38 = l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2(x_37); +x_39 = l_List_tail_x21___rarg(x_37); +lean_dec(x_37); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_32); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__3(x_1, x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_45 = x_42; } else { - x_26 = x_16; + lean_dec_ref(x_42); + x_45 = lean_box(0); } -lean_ctor_set(x_26, 0, x_18); -lean_ctor_set(x_26, 1, x_24); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -return x_27; +lean_ctor_set(x_2, 1, x_43); +lean_ctor_set(x_2, 0, x_41); +if (lean_is_scalar(x_45)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_45; } +lean_ctor_set(x_46, 0, x_2); +lean_ctor_set(x_46, 1, x_44); +return x_46; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_47 = lean_ctor_get(x_2, 0); +x_48 = lean_ctor_get(x_2, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_2); +x_49 = lean_ctor_get(x_47, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_47, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_51 = x_47; +} else { + lean_dec_ref(x_47); + x_51 = lean_box(0); +} +x_52 = lean_unsigned_to_nat(0u); +x_53 = l_List_lengthAux___rarg(x_50, x_52); +lean_dec(x_50); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_53); +lean_inc(x_1); +x_55 = l_Lean_Syntax_identComponents(x_1, x_54); +lean_dec(x_54); +x_56 = l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2(x_55); +x_57 = l_List_tail_x21___rarg(x_55); +lean_dec(x_55); +if (lean_is_scalar(x_51)) { + x_58 = lean_alloc_ctor(0, 2, 0); +} else { + x_58 = x_51; +} +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_49); +lean_ctor_set(x_59, 1, x_58); +x_60 = l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__3(x_1, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_63 = x_60; +} else { + lean_dec_ref(x_60); + x_63 = lean_box(0); +} +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_59); +lean_ctor_set(x_64, 1, x_61); +if (lean_is_scalar(x_63)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_63; +} +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_62); +return x_65; } } } @@ -41253,76 +40192,68 @@ _start: { if (lean_obj_tag(x_1) == 3) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_11 = lean_ctor_get(x_1, 0); +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_1, 2); lean_inc(x_11); -x_12 = lean_ctor_get(x_1, 1); +x_12 = lean_ctor_get(x_1, 3); lean_inc(x_12); -x_13 = lean_ctor_get(x_1, 2); -lean_inc(x_13); -x_14 = lean_ctor_get(x_1, 3); -lean_inc(x_14); lean_inc(x_8); lean_inc(x_6); lean_inc(x_4); lean_inc(x_1); -x_15 = l_Lean_Elab_Term_resolveName(x_1, x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_15) == 0) +x_13 = l_Lean_Elab_Term_resolveName(x_1, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6(x_1, x_11, x_12, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +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_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__3(x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_15); lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); -lean_dec(x_11); -lean_dec(x_1); -return x_18; +return x_16; } else { -uint8_t x_19; -lean_dec(x_12); -lean_dec(x_11); +uint8_t x_17; lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -x_19 = !lean_is_exclusive(x_15); -if (x_19 == 0) +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) { -return x_15; +return x_13; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_15, 0); -x_21 = lean_ctor_get(x_15, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_15); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; +lean_object* 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; } } } else { -lean_object* x_23; lean_object* x_24; +lean_object* x_21; lean_object* x_22; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_23 = l_Lean_Elab_Term_resolveName_x27___closed__2; -x_24 = l_Lean_throwError___at_Lean_Elab_Term_resolveName_x27___spec__1(x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_21 = l_Lean_Elab_Term_resolveName_x27___closed__2; +x_22 = l_Lean_throwError___at_Lean_Elab_Term_resolveName_x27___spec__1(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); lean_dec(x_6); -return x_24; +return x_22; } } } @@ -41339,63 +40270,27 @@ lean_dec(x_3); return x_9; } } -lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_Elab_Term_resolveName_x27___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___boxed(lean_object* x_1) { _start: { -lean_object* x_4; -x_4 = l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_Elab_Term_resolveName_x27___spec__2(x_1, x_2, x_3); -lean_dec(x_2); +lean_object* x_2; +x_2 = l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2(x_1); lean_dec(x_1); -return x_4; +return x_2; } } -lean_object* l_List_foldr___at_Lean_Elab_Term_resolveName_x27___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_3; -x_3 = l_List_foldr___at_Lean_Elab_Term_resolveName_x27___spec__3(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_List_map___at_Lean_Elab_Term_resolveName_x27___spec__4___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_List_map___at_Lean_Elab_Term_resolveName_x27___spec__4(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); +lean_object* x_10; +x_10 = l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -return x_12; +lean_dec(x_4); +lean_dec(x_3); +return x_10; } } lean_object* l_Lean_Elab_Term_resolveName_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -41718,12 +40613,13 @@ return x_20; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; x_21 = lean_ctor_get(x_14, 0); lean_inc(x_21); lean_dec(x_14); x_22 = lean_box(0); x_23 = lean_box(0); +x_24 = 0; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -41731,28 +40627,28 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_21); -x_24 = l_Lean_Elab_Term_addTermInfo(x_2, x_21, x_22, x_22, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_24) == 0) +x_25 = l_Lean_Elab_Term_addTermInfo(x_2, x_21, x_22, x_22, x_23, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_25) == 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_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_24); -x_27 = l_Lean_Elab_Term_resolveId_x3f___lambda__1(x_21, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Lean_Elab_Term_resolveId_x3f___lambda__1(x_21, x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_27); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_25); -return x_27; +lean_dec(x_26); +return x_28; } else { -uint8_t x_28; +uint8_t x_29; lean_dec(x_21); lean_dec(x_10); lean_dec(x_9); @@ -41760,58 +40656,58 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_28 = !lean_is_exclusive(x_24); -if (x_28 == 0) +x_29 = !lean_is_exclusive(x_25); +if (x_29 == 0) { -return x_24; +return x_25; } 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_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_25, 0); +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); lean_inc(x_30); -lean_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; +lean_dec(x_25); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } } } else { -lean_object* x_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_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_dec(x_17); lean_dec(x_2); -x_32 = l_Lean_stringToMessageData(x_3); -x_33 = l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__2; -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -x_35 = l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__4; -x_36 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_14); -x_38 = l_Lean_MessageData_ofList(x_37); -lean_dec(x_37); -x_39 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_41 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__1(x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_33 = l_Lean_stringToMessageData(x_3); +x_34 = l_Lean_Elab_Term_resolveId_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_Elab_Term_resolveId_x3f___lambda__2___closed__4; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_14); +x_39 = l_Lean_MessageData_ofList(x_38); +lean_dec(x_38); +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__1(x_42, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -return x_42; +return x_43; } } } @@ -49068,7 +47964,7 @@ lean_dec(x_3); return x_11; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -49078,7 +47974,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__2() { _start: { lean_object* x_1; @@ -49086,17 +47982,17 @@ x_1 = lean_mk_string("debug"); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__12; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__2; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -49108,7 +48004,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_12379____closed__1; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__1; x_6 = l_Lean_registerTraceClass(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -49116,7 +48012,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__3; +x_8 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__3; x_9 = l_Lean_registerTraceClass(x_8, x_7); return x_9; } @@ -49943,11 +48839,11 @@ l_Lean_Elab_Term_mkAuxName___closed__1 = _init_l_Lean_Elab_Term_mkAuxName___clos lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__1); l_Lean_Elab_Term_mkAuxName___closed__2 = _init_l_Lean_Elab_Term_mkAuxName___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584____closed__2); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9584_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592____closed__2); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9592_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1(); @@ -49986,14 +48882,14 @@ l_Lean_Elab_Term_resolveName___closed__3 = _init_l_Lean_Elab_Term_resolveName___ lean_mark_persistent(l_Lean_Elab_Term_resolveName___closed__3); l_Lean_Elab_Term_resolveName___closed__4 = _init_l_Lean_Elab_Term_resolveName___closed__4(); lean_mark_persistent(l_Lean_Elab_Term_resolveName___closed__4); -l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__1(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__1); -l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2 = _init_l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2); -l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__1 = _init_l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__1(); -lean_mark_persistent(l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__1); -l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__2 = _init_l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__2(); -lean_mark_persistent(l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__2); +l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__1 = _init_l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__1(); +lean_mark_persistent(l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__1); +l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__2 = _init_l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__2(); +lean_mark_persistent(l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__2); +l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__3 = _init_l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__3(); +lean_mark_persistent(l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__3); +l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__4 = _init_l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__4(); +lean_mark_persistent(l_List_head_x21___at_Lean_Elab_Term_resolveName_x27___spec__2___closed__4); l_Lean_Elab_Term_resolveName_x27___closed__1 = _init_l_Lean_Elab_Term_resolveName_x27___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_resolveName_x27___closed__1); l_Lean_Elab_Term_resolveName_x27___closed__2 = _init_l_Lean_Elab_Term_resolveName_x27___closed__2(); @@ -50066,13 +48962,13 @@ l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed_ lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__3); l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__4 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__4(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379____closed__3); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12379_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008____closed__3); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_12008_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Closure.c b/stage0/stdlib/Lean/Meta/Closure.c index 7d7008e01e..62b523277b 100644 --- a/stage0/stdlib/Lean/Meta/Closure.c +++ b/stage0/stdlib/Lean/Meta/Closure.c @@ -85,24 +85,24 @@ static lean_object* l_Lean_Meta_Closure_collectLevelAux___closed__8; static lean_object* l_Lean_Meta_Closure_collectLevelAux___closed__4; lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_lower_loose_bvars(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_visitExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_visitExpr(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_mkNextUserName___rarg___closed__2; lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_pushFVarArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_visitLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_pushFVarArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_visitLevel(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_collectLevelAux_match__1(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__6___lambda__1___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkNewLevelParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_mkNewLevelParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_mkNewLevelParam(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkLambda(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLevelParam(lean_object*); lean_object* l_Lean_Meta_getZetaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f(lean_object*); +lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f(uint8_t); lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3___closed__3; lean_object* l_Lean_Meta_Closure_collectExprAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -112,7 +112,7 @@ lean_object* l_Lean_Expr_headBeta(lean_object*); lean_object* l_Lean_Meta_Closure_State_newLocalDeclsForMVars___default; lean_object* l_Lean_compileDecl___at_Lean_Meta_mkAuxDefinition___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_process(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_process(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__6; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_State_levelParams___default___closed__1; @@ -137,10 +137,10 @@ uint8_t l_Array_contains___at_Lean_registerInternalExceptionId___spec__1(lean_ob static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__17; static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__8; lean_object* lean_array_to_list(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_preprocess___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_preprocess___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectLevelAux___closed__5; -lean_object* l_Lean_Meta_Closure_collectExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_mkNextUserName(lean_object*); +lean_object* l_Lean_Meta_Closure_collectExpr(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_mkNextUserName(uint8_t); static lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3___closed__4; extern lean_object* l_Lean_instInhabitedExpr; size_t lean_usize_modn(size_t, lean_object*); @@ -170,9 +170,10 @@ size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_replaceFVarIdAtLocalDecl(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_mkNewLevelParam___closed__2; lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_pushLocalDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_visitExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_pushLocalDecl(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_proj(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_preprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_preprocess(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkNextUserName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkLambda___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__13; @@ -193,14 +194,14 @@ lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_index(lean_object*); lean_object* l_Lean_Meta_Closure_process_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_mkValueTypeClosureAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_mkValueTypeClosureAux(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_State_toProcess___default; lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_State_visitedExpr___default; static lean_object* l_Lean_Meta_Closure_State_visitedLevel___default___closed__1; lean_object* lean_expr_update_sort(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3___closed__2; -lean_object* l_Lean_Meta_Closure_collectLevelAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_collectLevelAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__2___boxed(lean_object*, lean_object*); lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -215,10 +216,10 @@ lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_Closure_visitLevel___spec__5 lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_mkNextUserName___rarg___closed__1; lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkForall___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_collectExprAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_collectExprAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkForall(lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkValueTypeClosureAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -226,7 +227,7 @@ lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_instInhabitedToProcessElement___closed__1; lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkLambda___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_collectExprAux_match__2(lean_object*); -lean_object* l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkNextUserName___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkBinding___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -270,7 +271,7 @@ static lean_object* l_Lean_Meta_mkAuxDefinition___lambda__3___closed__5; lean_object* l_Lean_Meta_Closure_collectExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_State_visitedExpr___default___closed__1; -lean_object* l_Lean_Meta_Closure_collectLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_collectLevel(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_collectExprAux_match__1(lean_object*); lean_object* l_Lean_mkLevelParam(lean_object*); lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); @@ -290,7 +291,7 @@ static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__10; extern lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors; lean_object* lean_expr_update_const(lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1___rarg___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Closure_pushToProcess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_pushToProcess(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkLambda___boxed(lean_object*, lean_object*); lean_object* l_Std_AssocList_replace___at_Lean_Meta_Closure_visitLevel___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkValueTypeClosure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -301,6 +302,7 @@ lean_object* l_Lean_Meta_Closure_pushToProcess___boxed(lean_object*, lean_object uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkAuxDefinition___closed__2; lean_object* lean_add_decl(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Closure_visitLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Meta_Closure_instInhabitedToProcessElement___closed__1() { _start: { @@ -846,46 +848,45 @@ return x_38; } } } -lean_object* l_Lean_Meta_Closure_visitLevel(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Meta_Closure_visitLevel(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; uint8_t x_96; -x_96 = l_Lean_Level_hasMVar(x_2); -if (x_96 == 0) +lean_object* x_10; uint8_t x_98; +x_98 = l_Lean_Level_hasMVar(x_2); +if (x_98 == 0) { -uint8_t x_97; -x_97 = l_Lean_Level_hasParam(x_2); -if (x_97 == 0) +uint8_t x_99; +x_99 = l_Lean_Level_hasParam(x_2); +if (x_99 == 0) { -lean_object* x_98; +lean_object* x_100; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_1); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_2); -lean_ctor_set(x_98, 1, x_9); -return x_98; +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_2); +lean_ctor_set(x_100, 1, x_9); +return x_100; } else { -lean_object* x_99; -x_99 = lean_box(0); -x_10 = x_99; -goto block_95; +lean_object* x_101; +x_101 = lean_box(0); +x_10 = x_101; +goto block_97; } } else { -lean_object* x_100; -x_100 = lean_box(0); -x_10 = x_100; -goto block_95; +lean_object* x_102; +x_102 = lean_box(0); +x_10 = x_102; +goto block_97; } -block_95: +block_97: { lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_dec(x_10); @@ -907,77 +908,79 @@ x_18 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_1 lean_dec(x_17); if (lean_obj_tag(x_18) == 0) { -lean_object* x_19; +lean_object* x_19; lean_object* x_20; lean_free_object(x_13); +x_19 = lean_box(x_3); lean_inc(x_8); lean_inc(x_4); lean_inc(x_2); -x_19 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16); -if (lean_obj_tag(x_19) == 0) +x_20 = lean_apply_8(x_1, x_2, x_19, x_4, x_5, x_6, x_7, x_8, x_16); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_st_ref_get(x_8, x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_st_ref_get(x_8, x_22); lean_dec(x_8); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_st_ref_take(x_4, x_23); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_st_ref_take(x_4, x_24); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_24); -x_27 = !lean_is_exclusive(x_25); -if (x_27 == 0) +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = !lean_is_exclusive(x_26); +if (x_28 == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_28 = lean_ctor_get(x_25, 0); -lean_inc(x_20); -x_29 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_28, x_2, x_20); -lean_ctor_set(x_25, 0, x_29); -x_30 = lean_st_ref_set(x_4, x_25, x_26); +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = lean_ctor_get(x_26, 0); +lean_inc(x_21); +x_30 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_29, x_2, x_21); +lean_ctor_set(x_26, 0, x_30); +x_31 = lean_st_ref_set(x_4, x_26, x_27); lean_dec(x_4); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -lean_object* x_32; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -lean_ctor_set(x_30, 0, x_20); -return x_30; +lean_object* x_33; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +lean_ctor_set(x_31, 0, x_21); +return x_31; } else { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_dec(x_30); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_20); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_21); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_35 = lean_ctor_get(x_25, 0); -x_36 = lean_ctor_get(x_25, 1); -x_37 = lean_ctor_get(x_25, 2); -x_38 = lean_ctor_get(x_25, 3); -x_39 = lean_ctor_get(x_25, 4); -x_40 = lean_ctor_get(x_25, 5); -x_41 = lean_ctor_get(x_25, 6); -x_42 = lean_ctor_get(x_25, 7); -x_43 = lean_ctor_get(x_25, 8); -x_44 = lean_ctor_get(x_25, 9); -x_45 = lean_ctor_get(x_25, 10); -x_46 = lean_ctor_get(x_25, 11); +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; +x_36 = lean_ctor_get(x_26, 0); +x_37 = lean_ctor_get(x_26, 1); +x_38 = lean_ctor_get(x_26, 2); +x_39 = lean_ctor_get(x_26, 3); +x_40 = lean_ctor_get(x_26, 4); +x_41 = lean_ctor_get(x_26, 5); +x_42 = lean_ctor_get(x_26, 6); +x_43 = lean_ctor_get(x_26, 7); +x_44 = lean_ctor_get(x_26, 8); +x_45 = lean_ctor_get(x_26, 9); +x_46 = lean_ctor_get(x_26, 10); +x_47 = lean_ctor_get(x_26, 11); +lean_inc(x_47); lean_inc(x_46); lean_inc(x_45); lean_inc(x_44); @@ -989,256 +992,254 @@ lean_inc(x_39); lean_inc(x_38); lean_inc(x_37); lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_25); -lean_inc(x_20); -x_47 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_35, x_2, x_20); -x_48 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_36); -lean_ctor_set(x_48, 2, x_37); -lean_ctor_set(x_48, 3, x_38); -lean_ctor_set(x_48, 4, x_39); -lean_ctor_set(x_48, 5, x_40); -lean_ctor_set(x_48, 6, x_41); -lean_ctor_set(x_48, 7, x_42); -lean_ctor_set(x_48, 8, x_43); -lean_ctor_set(x_48, 9, x_44); -lean_ctor_set(x_48, 10, x_45); -lean_ctor_set(x_48, 11, x_46); -x_49 = lean_st_ref_set(x_4, x_48, x_26); +lean_dec(x_26); +lean_inc(x_21); +x_48 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_36, x_2, x_21); +x_49 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_37); +lean_ctor_set(x_49, 2, x_38); +lean_ctor_set(x_49, 3, x_39); +lean_ctor_set(x_49, 4, x_40); +lean_ctor_set(x_49, 5, x_41); +lean_ctor_set(x_49, 6, x_42); +lean_ctor_set(x_49, 7, x_43); +lean_ctor_set(x_49, 8, x_44); +lean_ctor_set(x_49, 9, x_45); +lean_ctor_set(x_49, 10, x_46); +lean_ctor_set(x_49, 11, x_47); +x_50 = lean_st_ref_set(x_4, x_49, x_27); lean_dec(x_4); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - x_51 = x_49; +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_52 = x_50; } else { - lean_dec_ref(x_49); - x_51 = lean_box(0); + lean_dec_ref(x_50); + x_52 = lean_box(0); } -if (lean_is_scalar(x_51)) { - x_52 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(0, 2, 0); } else { - x_52 = x_51; + x_53 = x_52; } -lean_ctor_set(x_52, 0, x_20); -lean_ctor_set(x_52, 1, x_50); -return x_52; +lean_ctor_set(x_53, 0, x_21); +lean_ctor_set(x_53, 1, x_51); +return x_53; } } else { -uint8_t x_53; +uint8_t x_54; lean_dec(x_8); lean_dec(x_4); lean_dec(x_2); -x_53 = !lean_is_exclusive(x_19); -if (x_53 == 0) +x_54 = !lean_is_exclusive(x_20); +if (x_54 == 0) { -return x_19; +return x_20; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_19, 0); -x_55 = lean_ctor_get(x_19, 1); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_20, 0); +x_56 = lean_ctor_get(x_20, 1); +lean_inc(x_56); lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_19); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +lean_dec(x_20); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } else { -lean_object* x_57; +lean_object* x_58; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_57 = lean_ctor_get(x_18, 0); -lean_inc(x_57); +x_58 = lean_ctor_get(x_18, 0); +lean_inc(x_58); lean_dec(x_18); -lean_ctor_set(x_13, 0, x_57); +lean_ctor_set(x_13, 0, x_58); return x_13; } } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_13, 0); -x_59 = lean_ctor_get(x_13, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_13); -x_60 = lean_ctor_get(x_58, 0); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_13, 0); +x_60 = lean_ctor_get(x_13, 1); lean_inc(x_60); -lean_dec(x_58); -x_61 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_60, x_2); -lean_dec(x_60); -if (lean_obj_tag(x_61) == 0) +lean_inc(x_59); +lean_dec(x_13); +x_61 = lean_ctor_get(x_59, 0); +lean_inc(x_61); +lean_dec(x_59); +x_62 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_61, x_2); +lean_dec(x_61); +if (lean_obj_tag(x_62) == 0) { -lean_object* x_62; +lean_object* x_63; lean_object* x_64; +x_63 = lean_box(x_3); lean_inc(x_8); lean_inc(x_4); lean_inc(x_2); -x_62 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_59); -if (lean_obj_tag(x_62) == 0) +x_64 = lean_apply_8(x_1, x_2, x_63, x_4, x_5, x_6, x_7, x_8, x_60); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_st_ref_get(x_8, x_64); -lean_dec(x_8); -x_66 = lean_ctor_get(x_65, 1); +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_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_65); -x_67 = lean_st_ref_take(x_4, x_66); -x_68 = lean_ctor_get(x_67, 0); +lean_dec(x_64); +x_67 = lean_st_ref_get(x_8, x_66); +lean_dec(x_8); +x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); lean_dec(x_67); -x_70 = lean_ctor_get(x_68, 0); +x_69 = lean_st_ref_take(x_4, x_68); +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -x_71 = lean_ctor_get(x_68, 1); +x_71 = lean_ctor_get(x_69, 1); lean_inc(x_71); -x_72 = lean_ctor_get(x_68, 2); +lean_dec(x_69); +x_72 = lean_ctor_get(x_70, 0); lean_inc(x_72); -x_73 = lean_ctor_get(x_68, 3); +x_73 = lean_ctor_get(x_70, 1); lean_inc(x_73); -x_74 = lean_ctor_get(x_68, 4); +x_74 = lean_ctor_get(x_70, 2); lean_inc(x_74); -x_75 = lean_ctor_get(x_68, 5); +x_75 = lean_ctor_get(x_70, 3); lean_inc(x_75); -x_76 = lean_ctor_get(x_68, 6); +x_76 = lean_ctor_get(x_70, 4); lean_inc(x_76); -x_77 = lean_ctor_get(x_68, 7); +x_77 = lean_ctor_get(x_70, 5); lean_inc(x_77); -x_78 = lean_ctor_get(x_68, 8); +x_78 = lean_ctor_get(x_70, 6); lean_inc(x_78); -x_79 = lean_ctor_get(x_68, 9); +x_79 = lean_ctor_get(x_70, 7); lean_inc(x_79); -x_80 = lean_ctor_get(x_68, 10); +x_80 = lean_ctor_get(x_70, 8); lean_inc(x_80); -x_81 = lean_ctor_get(x_68, 11); +x_81 = lean_ctor_get(x_70, 9); lean_inc(x_81); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - lean_ctor_release(x_68, 2); - lean_ctor_release(x_68, 3); - lean_ctor_release(x_68, 4); - lean_ctor_release(x_68, 5); - lean_ctor_release(x_68, 6); - lean_ctor_release(x_68, 7); - lean_ctor_release(x_68, 8); - lean_ctor_release(x_68, 9); - lean_ctor_release(x_68, 10); - lean_ctor_release(x_68, 11); - x_82 = x_68; +x_82 = lean_ctor_get(x_70, 10); +lean_inc(x_82); +x_83 = lean_ctor_get(x_70, 11); +lean_inc(x_83); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + lean_ctor_release(x_70, 2); + lean_ctor_release(x_70, 3); + lean_ctor_release(x_70, 4); + lean_ctor_release(x_70, 5); + lean_ctor_release(x_70, 6); + lean_ctor_release(x_70, 7); + lean_ctor_release(x_70, 8); + lean_ctor_release(x_70, 9); + lean_ctor_release(x_70, 10); + lean_ctor_release(x_70, 11); + x_84 = x_70; } else { - lean_dec_ref(x_68); - x_82 = lean_box(0); + lean_dec_ref(x_70); + x_84 = lean_box(0); } -lean_inc(x_63); -x_83 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_70, x_2, x_63); -if (lean_is_scalar(x_82)) { - x_84 = lean_alloc_ctor(0, 12, 0); +lean_inc(x_65); +x_85 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_72, x_2, x_65); +if (lean_is_scalar(x_84)) { + x_86 = lean_alloc_ctor(0, 12, 0); } else { - x_84 = x_82; + x_86 = x_84; } -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_71); -lean_ctor_set(x_84, 2, x_72); -lean_ctor_set(x_84, 3, x_73); -lean_ctor_set(x_84, 4, x_74); -lean_ctor_set(x_84, 5, x_75); -lean_ctor_set(x_84, 6, x_76); -lean_ctor_set(x_84, 7, x_77); -lean_ctor_set(x_84, 8, x_78); -lean_ctor_set(x_84, 9, x_79); -lean_ctor_set(x_84, 10, x_80); -lean_ctor_set(x_84, 11, x_81); -x_85 = lean_st_ref_set(x_4, x_84, x_69); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_73); +lean_ctor_set(x_86, 2, x_74); +lean_ctor_set(x_86, 3, x_75); +lean_ctor_set(x_86, 4, x_76); +lean_ctor_set(x_86, 5, x_77); +lean_ctor_set(x_86, 6, x_78); +lean_ctor_set(x_86, 7, x_79); +lean_ctor_set(x_86, 8, x_80); +lean_ctor_set(x_86, 9, x_81); +lean_ctor_set(x_86, 10, x_82); +lean_ctor_set(x_86, 11, x_83); +x_87 = lean_st_ref_set(x_4, x_86, x_71); lean_dec(x_4); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_87 = x_85; +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_89 = x_87; } else { - lean_dec_ref(x_85); - x_87 = lean_box(0); + lean_dec_ref(x_87); + x_89 = lean_box(0); } -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_89)) { + x_90 = lean_alloc_ctor(0, 2, 0); } else { - x_88 = x_87; + x_90 = x_89; } -lean_ctor_set(x_88, 0, x_63); -lean_ctor_set(x_88, 1, x_86); -return x_88; +lean_ctor_set(x_90, 0, x_65); +lean_ctor_set(x_90, 1, x_88); +return x_90; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_dec(x_8); lean_dec(x_4); lean_dec(x_2); -x_89 = lean_ctor_get(x_62, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_62, 1); -lean_inc(x_90); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_91 = x_62; +x_91 = lean_ctor_get(x_64, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_64, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_93 = x_64; } else { - lean_dec_ref(x_62); - x_91 = lean_box(0); + lean_dec_ref(x_64); + x_93 = lean_box(0); } -if (lean_is_scalar(x_91)) { - x_92 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(1, 2, 0); } else { - x_92 = x_91; + x_94 = x_93; } -lean_ctor_set(x_92, 0, x_89); -lean_ctor_set(x_92, 1, x_90); -return x_92; +lean_ctor_set(x_94, 0, x_91); +lean_ctor_set(x_94, 1, x_92); +return x_94; } } else { -lean_object* x_93; lean_object* x_94; +lean_object* x_95; lean_object* x_96; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_93 = lean_ctor_get(x_61, 0); -lean_inc(x_93); -lean_dec(x_61); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_59); -return x_94; +x_95 = lean_ctor_get(x_62, 0); +lean_inc(x_95); +lean_dec(x_62); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_60); +return x_96; } } } @@ -1275,6 +1276,16 @@ x_4 = lean_box(x_3); return x_4; } } +lean_object* l_Lean_Meta_Closure_visitLevel___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_3); +lean_dec(x_3); +x_11 = l_Lean_Meta_Closure_visitLevel(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} lean_object* l_Lean_Meta_Closure_visitExpr_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -1306,58 +1317,57 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_Closure_visitExpr_match__1___rarg), return x_2; } } -lean_object* l_Lean_Meta_Closure_visitExpr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Meta_Closure_visitExpr(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; uint8_t x_96; -x_96 = l_Lean_Expr_hasLevelParam(x_2); -if (x_96 == 0) -{ -uint8_t x_97; -x_97 = l_Lean_Expr_hasFVar(x_2); -if (x_97 == 0) -{ -uint8_t x_98; -x_98 = l_Lean_Expr_hasMVar(x_2); +lean_object* x_10; uint8_t x_98; +x_98 = l_Lean_Expr_hasLevelParam(x_2); if (x_98 == 0) { -lean_object* x_99; +uint8_t x_99; +x_99 = l_Lean_Expr_hasFVar(x_2); +if (x_99 == 0) +{ +uint8_t x_100; +x_100 = l_Lean_Expr_hasMVar(x_2); +if (x_100 == 0) +{ +lean_object* x_101; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_1); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_2); -lean_ctor_set(x_99, 1, x_9); -return x_99; -} -else -{ -lean_object* x_100; -x_100 = lean_box(0); -x_10 = x_100; -goto block_95; -} -} -else -{ -lean_object* x_101; -x_101 = lean_box(0); -x_10 = x_101; -goto block_95; -} +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_2); +lean_ctor_set(x_101, 1, x_9); +return x_101; } else { lean_object* x_102; x_102 = lean_box(0); x_10 = x_102; -goto block_95; +goto block_97; } -block_95: +} +else +{ +lean_object* x_103; +x_103 = lean_box(0); +x_10 = x_103; +goto block_97; +} +} +else +{ +lean_object* x_104; +x_104 = lean_box(0); +x_10 = x_104; +goto block_97; +} +block_97: { lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_dec(x_10); @@ -1379,77 +1389,79 @@ x_18 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars__ lean_dec(x_17); if (lean_obj_tag(x_18) == 0) { -lean_object* x_19; +lean_object* x_19; lean_object* x_20; lean_free_object(x_13); +x_19 = lean_box(x_3); lean_inc(x_8); lean_inc(x_4); lean_inc(x_2); -x_19 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16); -if (lean_obj_tag(x_19) == 0) +x_20 = lean_apply_8(x_1, x_2, x_19, x_4, x_5, x_6, x_7, x_8, x_16); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_st_ref_get(x_8, x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_st_ref_get(x_8, x_22); lean_dec(x_8); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_st_ref_take(x_4, x_23); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_st_ref_take(x_4, x_24); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_24); -x_27 = !lean_is_exclusive(x_25); -if (x_27 == 0) +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = !lean_is_exclusive(x_26); +if (x_28 == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_20); -x_29 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_28, x_2, x_20); -lean_ctor_set(x_25, 1, x_29); -x_30 = lean_st_ref_set(x_4, x_25, x_26); +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_21); +x_30 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_29, x_2, x_21); +lean_ctor_set(x_26, 1, x_30); +x_31 = lean_st_ref_set(x_4, x_26, x_27); lean_dec(x_4); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -lean_object* x_32; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -lean_ctor_set(x_30, 0, x_20); -return x_30; +lean_object* x_33; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +lean_ctor_set(x_31, 0, x_21); +return x_31; } else { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_dec(x_30); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_20); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_21); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_35 = lean_ctor_get(x_25, 0); -x_36 = lean_ctor_get(x_25, 1); -x_37 = lean_ctor_get(x_25, 2); -x_38 = lean_ctor_get(x_25, 3); -x_39 = lean_ctor_get(x_25, 4); -x_40 = lean_ctor_get(x_25, 5); -x_41 = lean_ctor_get(x_25, 6); -x_42 = lean_ctor_get(x_25, 7); -x_43 = lean_ctor_get(x_25, 8); -x_44 = lean_ctor_get(x_25, 9); -x_45 = lean_ctor_get(x_25, 10); -x_46 = lean_ctor_get(x_25, 11); +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; +x_36 = lean_ctor_get(x_26, 0); +x_37 = lean_ctor_get(x_26, 1); +x_38 = lean_ctor_get(x_26, 2); +x_39 = lean_ctor_get(x_26, 3); +x_40 = lean_ctor_get(x_26, 4); +x_41 = lean_ctor_get(x_26, 5); +x_42 = lean_ctor_get(x_26, 6); +x_43 = lean_ctor_get(x_26, 7); +x_44 = lean_ctor_get(x_26, 8); +x_45 = lean_ctor_get(x_26, 9); +x_46 = lean_ctor_get(x_26, 10); +x_47 = lean_ctor_get(x_26, 11); +lean_inc(x_47); lean_inc(x_46); lean_inc(x_45); lean_inc(x_44); @@ -1461,261 +1473,269 @@ lean_inc(x_39); lean_inc(x_38); lean_inc(x_37); lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_25); -lean_inc(x_20); -x_47 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_36, x_2, x_20); -x_48 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_48, 0, x_35); -lean_ctor_set(x_48, 1, x_47); -lean_ctor_set(x_48, 2, x_37); -lean_ctor_set(x_48, 3, x_38); -lean_ctor_set(x_48, 4, x_39); -lean_ctor_set(x_48, 5, x_40); -lean_ctor_set(x_48, 6, x_41); -lean_ctor_set(x_48, 7, x_42); -lean_ctor_set(x_48, 8, x_43); -lean_ctor_set(x_48, 9, x_44); -lean_ctor_set(x_48, 10, x_45); -lean_ctor_set(x_48, 11, x_46); -x_49 = lean_st_ref_set(x_4, x_48, x_26); +lean_dec(x_26); +lean_inc(x_21); +x_48 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_37, x_2, x_21); +x_49 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_49, 0, x_36); +lean_ctor_set(x_49, 1, x_48); +lean_ctor_set(x_49, 2, x_38); +lean_ctor_set(x_49, 3, x_39); +lean_ctor_set(x_49, 4, x_40); +lean_ctor_set(x_49, 5, x_41); +lean_ctor_set(x_49, 6, x_42); +lean_ctor_set(x_49, 7, x_43); +lean_ctor_set(x_49, 8, x_44); +lean_ctor_set(x_49, 9, x_45); +lean_ctor_set(x_49, 10, x_46); +lean_ctor_set(x_49, 11, x_47); +x_50 = lean_st_ref_set(x_4, x_49, x_27); lean_dec(x_4); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - x_51 = x_49; +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_52 = x_50; } else { - lean_dec_ref(x_49); - x_51 = lean_box(0); + lean_dec_ref(x_50); + x_52 = lean_box(0); } -if (lean_is_scalar(x_51)) { - x_52 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(0, 2, 0); } else { - x_52 = x_51; + x_53 = x_52; } -lean_ctor_set(x_52, 0, x_20); -lean_ctor_set(x_52, 1, x_50); -return x_52; +lean_ctor_set(x_53, 0, x_21); +lean_ctor_set(x_53, 1, x_51); +return x_53; } } else { -uint8_t x_53; +uint8_t x_54; lean_dec(x_8); lean_dec(x_4); lean_dec(x_2); -x_53 = !lean_is_exclusive(x_19); -if (x_53 == 0) +x_54 = !lean_is_exclusive(x_20); +if (x_54 == 0) { -return x_19; +return x_20; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_19, 0); -x_55 = lean_ctor_get(x_19, 1); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_20, 0); +x_56 = lean_ctor_get(x_20, 1); +lean_inc(x_56); lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_19); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +lean_dec(x_20); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } else { -lean_object* x_57; +lean_object* x_58; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_57 = lean_ctor_get(x_18, 0); -lean_inc(x_57); +x_58 = lean_ctor_get(x_18, 0); +lean_inc(x_58); lean_dec(x_18); -lean_ctor_set(x_13, 0, x_57); +lean_ctor_set(x_13, 0, x_58); return x_13; } } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_13, 0); -x_59 = lean_ctor_get(x_13, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_13); -x_60 = lean_ctor_get(x_58, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_13, 0); +x_60 = lean_ctor_get(x_13, 1); lean_inc(x_60); -lean_dec(x_58); -x_61 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_60, x_2); -lean_dec(x_60); -if (lean_obj_tag(x_61) == 0) +lean_inc(x_59); +lean_dec(x_13); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_61, x_2); +lean_dec(x_61); +if (lean_obj_tag(x_62) == 0) { -lean_object* x_62; +lean_object* x_63; lean_object* x_64; +x_63 = lean_box(x_3); lean_inc(x_8); lean_inc(x_4); lean_inc(x_2); -x_62 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_59); -if (lean_obj_tag(x_62) == 0) +x_64 = lean_apply_8(x_1, x_2, x_63, x_4, x_5, x_6, x_7, x_8, x_60); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_st_ref_get(x_8, x_64); -lean_dec(x_8); -x_66 = lean_ctor_get(x_65, 1); +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_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_65); -x_67 = lean_st_ref_take(x_4, x_66); -x_68 = lean_ctor_get(x_67, 0); +lean_dec(x_64); +x_67 = lean_st_ref_get(x_8, x_66); +lean_dec(x_8); +x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); lean_dec(x_67); -x_70 = lean_ctor_get(x_68, 0); +x_69 = lean_st_ref_take(x_4, x_68); +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -x_71 = lean_ctor_get(x_68, 1); +x_71 = lean_ctor_get(x_69, 1); lean_inc(x_71); -x_72 = lean_ctor_get(x_68, 2); +lean_dec(x_69); +x_72 = lean_ctor_get(x_70, 0); lean_inc(x_72); -x_73 = lean_ctor_get(x_68, 3); +x_73 = lean_ctor_get(x_70, 1); lean_inc(x_73); -x_74 = lean_ctor_get(x_68, 4); +x_74 = lean_ctor_get(x_70, 2); lean_inc(x_74); -x_75 = lean_ctor_get(x_68, 5); +x_75 = lean_ctor_get(x_70, 3); lean_inc(x_75); -x_76 = lean_ctor_get(x_68, 6); +x_76 = lean_ctor_get(x_70, 4); lean_inc(x_76); -x_77 = lean_ctor_get(x_68, 7); +x_77 = lean_ctor_get(x_70, 5); lean_inc(x_77); -x_78 = lean_ctor_get(x_68, 8); +x_78 = lean_ctor_get(x_70, 6); lean_inc(x_78); -x_79 = lean_ctor_get(x_68, 9); +x_79 = lean_ctor_get(x_70, 7); lean_inc(x_79); -x_80 = lean_ctor_get(x_68, 10); +x_80 = lean_ctor_get(x_70, 8); lean_inc(x_80); -x_81 = lean_ctor_get(x_68, 11); +x_81 = lean_ctor_get(x_70, 9); lean_inc(x_81); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - lean_ctor_release(x_68, 2); - lean_ctor_release(x_68, 3); - lean_ctor_release(x_68, 4); - lean_ctor_release(x_68, 5); - lean_ctor_release(x_68, 6); - lean_ctor_release(x_68, 7); - lean_ctor_release(x_68, 8); - lean_ctor_release(x_68, 9); - lean_ctor_release(x_68, 10); - lean_ctor_release(x_68, 11); - x_82 = x_68; +x_82 = lean_ctor_get(x_70, 10); +lean_inc(x_82); +x_83 = lean_ctor_get(x_70, 11); +lean_inc(x_83); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + lean_ctor_release(x_70, 2); + lean_ctor_release(x_70, 3); + lean_ctor_release(x_70, 4); + lean_ctor_release(x_70, 5); + lean_ctor_release(x_70, 6); + lean_ctor_release(x_70, 7); + lean_ctor_release(x_70, 8); + lean_ctor_release(x_70, 9); + lean_ctor_release(x_70, 10); + lean_ctor_release(x_70, 11); + x_84 = x_70; } else { - lean_dec_ref(x_68); - x_82 = lean_box(0); + lean_dec_ref(x_70); + x_84 = lean_box(0); } -lean_inc(x_63); -x_83 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_71, x_2, x_63); -if (lean_is_scalar(x_82)) { - x_84 = lean_alloc_ctor(0, 12, 0); +lean_inc(x_65); +x_85 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_73, x_2, x_65); +if (lean_is_scalar(x_84)) { + x_86 = lean_alloc_ctor(0, 12, 0); } else { - x_84 = x_82; + x_86 = x_84; } -lean_ctor_set(x_84, 0, x_70); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_84, 2, x_72); -lean_ctor_set(x_84, 3, x_73); -lean_ctor_set(x_84, 4, x_74); -lean_ctor_set(x_84, 5, x_75); -lean_ctor_set(x_84, 6, x_76); -lean_ctor_set(x_84, 7, x_77); -lean_ctor_set(x_84, 8, x_78); -lean_ctor_set(x_84, 9, x_79); -lean_ctor_set(x_84, 10, x_80); -lean_ctor_set(x_84, 11, x_81); -x_85 = lean_st_ref_set(x_4, x_84, x_69); +lean_ctor_set(x_86, 0, x_72); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_86, 2, x_74); +lean_ctor_set(x_86, 3, x_75); +lean_ctor_set(x_86, 4, x_76); +lean_ctor_set(x_86, 5, x_77); +lean_ctor_set(x_86, 6, x_78); +lean_ctor_set(x_86, 7, x_79); +lean_ctor_set(x_86, 8, x_80); +lean_ctor_set(x_86, 9, x_81); +lean_ctor_set(x_86, 10, x_82); +lean_ctor_set(x_86, 11, x_83); +x_87 = lean_st_ref_set(x_4, x_86, x_71); lean_dec(x_4); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_87 = x_85; +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_89 = x_87; } else { - lean_dec_ref(x_85); - x_87 = lean_box(0); + lean_dec_ref(x_87); + x_89 = lean_box(0); } -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_89)) { + x_90 = lean_alloc_ctor(0, 2, 0); } else { - x_88 = x_87; + x_90 = x_89; } -lean_ctor_set(x_88, 0, x_63); -lean_ctor_set(x_88, 1, x_86); -return x_88; +lean_ctor_set(x_90, 0, x_65); +lean_ctor_set(x_90, 1, x_88); +return x_90; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_dec(x_8); lean_dec(x_4); lean_dec(x_2); -x_89 = lean_ctor_get(x_62, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_62, 1); -lean_inc(x_90); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_91 = x_62; +x_91 = lean_ctor_get(x_64, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_64, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_93 = x_64; } else { - lean_dec_ref(x_62); - x_91 = lean_box(0); + lean_dec_ref(x_64); + x_93 = lean_box(0); } -if (lean_is_scalar(x_91)) { - x_92 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(1, 2, 0); } else { - x_92 = x_91; + x_94 = x_93; } -lean_ctor_set(x_92, 0, x_89); -lean_ctor_set(x_92, 1, x_90); -return x_92; +lean_ctor_set(x_94, 0, x_91); +lean_ctor_set(x_94, 1, x_92); +return x_94; } } else { -lean_object* x_93; lean_object* x_94; +lean_object* x_95; lean_object* x_96; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_93 = lean_ctor_get(x_61, 0); -lean_inc(x_93); -lean_dec(x_61); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_59); -return x_94; +x_95 = lean_ctor_get(x_62, 0); +lean_inc(x_95); +lean_dec(x_62); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_60); +return x_96; } } } } } +lean_object* l_Lean_Meta_Closure_visitExpr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_3); +lean_dec(x_3); +x_11 = l_Lean_Meta_Closure_visitExpr(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} static lean_object* _init_l_Lean_Meta_Closure_mkNewLevelParam___closed__1() { _start: { @@ -1734,7 +1754,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_Closure_mkNewLevelParam(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_Closure_mkNewLevelParam(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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; @@ -1876,15 +1896,16 @@ return x_58; lean_object* l_Lean_Meta_Closure_mkNewLevelParam___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; -x_9 = l_Lean_Meta_Closure_mkNewLevelParam(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); +lean_dec(x_2); +x_10 = l_Lean_Meta_Closure_mkNewLevelParam(x_1, x_9, 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; +return x_10; } } lean_object* l_Lean_Meta_Closure_collectLevelAux_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) { @@ -2089,7 +2110,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l_Lean_Meta_Closure_collectLevelAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_Closure_collectLevelAux(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) { _start: { lean_object* x_9; lean_object* x_10; @@ -3015,18 +3036,19 @@ return x_22; lean_object* l_Lean_Meta_Closure_collectLevelAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; -x_9 = l_Lean_Meta_Closure_collectLevelAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); +lean_dec(x_2); +x_10 = l_Lean_Meta_Closure_collectLevelAux(x_1, x_9, 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; +return x_10; } } -lean_object* l_Lean_Meta_Closure_collectLevel(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_Closure_collectLevel(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) { _start: { lean_object* x_9; uint8_t x_87; @@ -3337,18 +3359,19 @@ return x_85; lean_object* l_Lean_Meta_Closure_collectLevel___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; -x_9 = l_Lean_Meta_Closure_collectLevel(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); +lean_dec(x_2); +x_10 = l_Lean_Meta_Closure_collectLevel(x_1, x_9, 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; +return x_10; } } -lean_object* l_Lean_Meta_Closure_preprocess___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Meta_Closure_preprocess___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; @@ -3358,7 +3381,7 @@ lean_ctor_set(x_10, 1, x_9); return x_10; } } -lean_object* l_Lean_Meta_Closure_preprocess(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_Closure_preprocess(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) { _start: { lean_object* x_9; @@ -3369,117 +3392,115 @@ lean_inc(x_4); x_9 = l_Lean_Meta_instantiateMVars(x_1, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_9) == 0) { -uint8_t x_10; -x_10 = lean_unbox(x_2); -if (x_10 == 0) +if (x_2 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_9, 0); +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); lean_dec(x_9); -lean_inc(x_11); -x_13 = l_Lean_Meta_check(x_11, x_4, x_5, x_6, x_7, x_12); -if (lean_obj_tag(x_13) == 0) +lean_inc(x_10); +x_12 = l_Lean_Meta_check(x_10, x_4, x_5, x_6, x_7, x_11); +if (lean_obj_tag(x_12) == 0) { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) { -lean_object* x_15; -x_15 = lean_ctor_get(x_13, 0); -lean_dec(x_15); -lean_ctor_set(x_13, 0, x_11); -return x_13; +lean_object* x_14; +x_14 = lean_ctor_get(x_12, 0); +lean_dec(x_14); +lean_ctor_set(x_12, 0, x_10); +return x_12; } else { -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_dec(x_13); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_11); -lean_ctor_set(x_17, 1, x_16); -return x_17; +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +return x_16; } } else { -uint8_t x_18; -lean_dec(x_11); -x_18 = !lean_is_exclusive(x_13); -if (x_18 == 0) +uint8_t x_17; +lean_dec(x_10); +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) { -return x_13; +return x_12; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_13, 0); -x_20 = lean_ctor_get(x_13, 1); -lean_inc(x_20); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 0); +x_19 = lean_ctor_get(x_12, 1); lean_inc(x_19); -lean_dec(x_13); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_inc(x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; } } } else { -uint8_t x_22; +uint8_t x_21; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_22 = !lean_is_exclusive(x_9); -if (x_22 == 0) +x_21 = !lean_is_exclusive(x_9); +if (x_21 == 0) { return x_9; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_9, 0); -x_24 = lean_ctor_get(x_9, 1); -lean_inc(x_24); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_9, 0); +x_23 = lean_ctor_get(x_9, 1); lean_inc(x_23); +lean_inc(x_22); lean_dec(x_9); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } else { -uint8_t x_26; +uint8_t x_25; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_26 = !lean_is_exclusive(x_9); -if (x_26 == 0) +x_25 = !lean_is_exclusive(x_9); +if (x_25 == 0) { return x_9; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_9, 0); -x_28 = lean_ctor_get(x_9, 1); -lean_inc(x_28); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_9, 0); +x_27 = lean_ctor_get(x_9, 1); lean_inc(x_27); +lean_inc(x_26); lean_dec(x_9); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } @@ -3487,26 +3508,28 @@ return x_29; lean_object* l_Lean_Meta_Closure_preprocess___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; -x_10 = l_Lean_Meta_Closure_preprocess___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_3); +lean_dec(x_3); +x_11 = l_Lean_Meta_Closure_preprocess___lambda__1(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_11; } } lean_object* l_Lean_Meta_Closure_preprocess___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; -x_9 = l_Lean_Meta_Closure_preprocess(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); lean_dec(x_2); -return x_9; +x_10 = l_Lean_Meta_Closure_preprocess(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_10; } } static lean_object* _init_l_Lean_Meta_Closure_mkNextUserName___rarg___closed__1() { @@ -3653,7 +3676,7 @@ return x_47; } } } -lean_object* l_Lean_Meta_Closure_mkNextUserName(lean_object* x_1) { +lean_object* l_Lean_Meta_Closure_mkNextUserName(uint8_t x_1) { _start: { lean_object* x_2; @@ -3677,13 +3700,14 @@ return x_7; lean_object* l_Lean_Meta_Closure_mkNextUserName___boxed(lean_object* x_1) { _start: { -lean_object* x_2; -x_2 = l_Lean_Meta_Closure_mkNextUserName(x_1); +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); lean_dec(x_1); -return x_2; +x_3 = l_Lean_Meta_Closure_mkNextUserName(x_2); +return x_3; } } -lean_object* l_Lean_Meta_Closure_pushToProcess(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_Closure_pushToProcess(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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -3796,15 +3820,16 @@ return x_42; lean_object* l_Lean_Meta_Closure_pushToProcess___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; -x_9 = l_Lean_Meta_Closure_pushToProcess(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); +lean_dec(x_2); +x_10 = l_Lean_Meta_Closure_pushToProcess(x_1, x_9, 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; +return x_10; } } lean_object* l_Lean_Meta_Closure_collectExprAux_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -4291,7 +4316,7 @@ return x_48; } } } -lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; @@ -4299,7 +4324,7 @@ x_6 = lean_alloc_closure((void*)(l_Lean_mkFreshId___at_Lean_Meta_Closure_collect return x_6; } } -lean_object* l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__2(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) { _start: { if (lean_obj_tag(x_1) == 0) @@ -4577,7 +4602,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l_Lean_Meta_Closure_collectExprAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_Closure_collectExprAux(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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_25; lean_object* x_26; @@ -4593,259 +4618,256 @@ lean_inc(x_42); x_43 = l_Lean_Meta_getLocalDecl(x_42, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_43) == 0) { -uint8_t x_44; -x_44 = lean_unbox(x_2); -if (x_44 == 0) +if (x_2 == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); lean_dec(x_43); -x_46 = l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1___rarg(x_7, x_45); -x_47 = lean_ctor_get(x_46, 0); +x_45 = l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1___rarg(x_7, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -lean_inc(x_47); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_42); -lean_ctor_set(x_49, 1, x_47); -x_50 = l_Lean_Meta_Closure_pushToProcess(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_48); +lean_dec(x_45); +lean_inc(x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_42); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Lean_Meta_Closure_pushToProcess(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_47); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) { -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -x_53 = l_Lean_mkFVar(x_47); -lean_ctor_set(x_50, 0, x_53); -return x_50; +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +x_52 = l_Lean_mkFVar(x_46); +lean_ctor_set(x_49, 0, x_52); +return x_49; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_50, 1); -lean_inc(x_54); -lean_dec(x_50); -x_55 = l_Lean_mkFVar(x_47); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -return x_56; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_49, 1); +lean_inc(x_53); +lean_dec(x_49); +x_54 = l_Lean_mkFVar(x_46); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +return x_55; } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_43, 0); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_43, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_43, 1); lean_inc(x_57); -x_58 = lean_ctor_get(x_43, 1); -lean_inc(x_58); lean_dec(x_43); -x_59 = l_Lean_LocalDecl_value_x3f(x_57); -lean_dec(x_57); -if (lean_obj_tag(x_59) == 0) +x_58 = l_Lean_LocalDecl_value_x3f(x_56); +lean_dec(x_56); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_60 = l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1___rarg(x_7, x_58); -x_61 = lean_ctor_get(x_60, 0); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_59 = l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1___rarg(x_7, x_57); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -lean_inc(x_61); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_42); -lean_ctor_set(x_63, 1, x_61); -x_64 = l_Lean_Meta_Closure_pushToProcess(x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_62); +lean_dec(x_59); +lean_inc(x_60); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_42); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Lean_Meta_Closure_pushToProcess(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_61); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_65 = !lean_is_exclusive(x_64); -if (x_65 == 0) +x_64 = !lean_is_exclusive(x_63); +if (x_64 == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_64, 0); -lean_dec(x_66); -x_67 = l_Lean_mkFVar(x_61); -lean_ctor_set(x_64, 0, x_67); -return x_64; +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_63, 0); +lean_dec(x_65); +x_66 = l_Lean_mkFVar(x_60); +lean_ctor_set(x_63, 0, x_66); +return x_63; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_64, 1); -lean_inc(x_68); -lean_dec(x_64); -x_69 = l_Lean_mkFVar(x_61); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -return x_70; +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_63, 1); +lean_inc(x_67); +lean_dec(x_63); +x_68 = l_Lean_mkFVar(x_60); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +return x_69; } } else { -lean_object* x_71; lean_object* x_72; +lean_object* x_70; lean_object* x_71; lean_dec(x_42); -x_71 = lean_ctor_get(x_59, 0); -lean_inc(x_71); -lean_dec(x_59); +x_70 = lean_ctor_get(x_58, 0); +lean_inc(x_70); +lean_dec(x_58); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_72 = l_Lean_Meta_Closure_preprocess(x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_58); -if (lean_obj_tag(x_72) == 0) +x_71 = l_Lean_Meta_Closure_preprocess(x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_57); +if (lean_obj_tag(x_71) == 0) { -uint8_t x_73; -x_73 = !lean_is_exclusive(x_72); -if (x_73 == 0) +uint8_t x_72; +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) { -lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_162; -x_74 = lean_ctor_get(x_72, 0); -x_75 = lean_ctor_get(x_72, 1); -x_162 = l_Lean_Expr_hasLevelParam(x_74); +lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_161; +x_73 = lean_ctor_get(x_71, 0); +x_74 = lean_ctor_get(x_71, 1); +x_161 = l_Lean_Expr_hasLevelParam(x_73); +if (x_161 == 0) +{ +uint8_t x_162; +x_162 = l_Lean_Expr_hasFVar(x_73); if (x_162 == 0) { uint8_t x_163; -x_163 = l_Lean_Expr_hasFVar(x_74); +x_163 = l_Lean_Expr_hasMVar(x_73); if (x_163 == 0) { -uint8_t x_164; -x_164 = l_Lean_Expr_hasMVar(x_74); -if (x_164 == 0) -{ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_72; +return x_71; +} +else +{ +lean_object* x_164; +lean_free_object(x_71); +x_164 = lean_box(0); +x_75 = x_164; +goto block_160; +} } else { lean_object* x_165; -lean_free_object(x_72); +lean_free_object(x_71); x_165 = lean_box(0); -x_76 = x_165; -goto block_161; +x_75 = x_165; +goto block_160; } } else { lean_object* x_166; -lean_free_object(x_72); +lean_free_object(x_71); x_166 = lean_box(0); -x_76 = x_166; -goto block_161; +x_75 = x_166; +goto block_160; } -} -else +block_160: { -lean_object* x_167; -lean_free_object(x_72); -x_167 = lean_box(0); -x_76 = x_167; -goto block_161; -} -block_161: -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +lean_dec(x_75); +x_76 = lean_st_ref_get(x_7, x_74); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); lean_dec(x_76); -x_77 = lean_st_ref_get(x_7, x_75); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_79 = lean_st_ref_get(x_3, x_78); -x_80 = !lean_is_exclusive(x_79); -if (x_80 == 0) +x_78 = lean_st_ref_get(x_3, x_77); +x_79 = !lean_is_exclusive(x_78); +if (x_79 == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_81 = lean_ctor_get(x_79, 0); -x_82 = lean_ctor_get(x_79, 1); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_83, x_74); -lean_dec(x_83); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_80 = lean_ctor_get(x_78, 0); +x_81 = lean_ctor_get(x_78, 1); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +x_83 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_82, x_73); +lean_dec(x_82); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; +lean_free_object(x_78); +lean_inc(x_7); +lean_inc(x_73); +x_84 = l_Lean_Meta_Closure_collectExprAux(x_73, x_2, x_3, x_4, x_5, x_6, x_7, x_81); if (lean_obj_tag(x_84) == 0) { -lean_object* x_85; -lean_free_object(x_79); -lean_inc(x_7); -lean_inc(x_74); -x_85 = l_Lean_Meta_Closure_collectExprAux(x_74, x_2, x_3, x_4, x_5, x_6, x_7, x_82); -if (lean_obj_tag(x_85) == 0) -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_86 = lean_ctor_get(x_85, 0); +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -x_88 = lean_st_ref_get(x_7, x_87); +lean_dec(x_84); +x_87 = lean_st_ref_get(x_7, x_86); lean_dec(x_7); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_90 = lean_st_ref_take(x_3, x_89); -x_91 = lean_ctor_get(x_90, 0); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = lean_st_ref_take(x_3, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = !lean_is_exclusive(x_91); -if (x_93 == 0) +lean_dec(x_89); +x_92 = !lean_is_exclusive(x_90); +if (x_92 == 0) { -lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_94 = lean_ctor_get(x_91, 1); -lean_inc(x_86); -x_95 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_94, x_74, x_86); -lean_ctor_set(x_91, 1, x_95); -x_96 = lean_st_ref_set(x_3, x_91, x_92); -x_97 = !lean_is_exclusive(x_96); -if (x_97 == 0) +lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_93 = lean_ctor_get(x_90, 1); +lean_inc(x_85); +x_94 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_93, x_73, x_85); +lean_ctor_set(x_90, 1, x_94); +x_95 = lean_st_ref_set(x_3, x_90, x_91); +x_96 = !lean_is_exclusive(x_95); +if (x_96 == 0) { -lean_object* x_98; -x_98 = lean_ctor_get(x_96, 0); -lean_dec(x_98); -lean_ctor_set(x_96, 0, x_86); -return x_96; +lean_object* x_97; +x_97 = lean_ctor_get(x_95, 0); +lean_dec(x_97); +lean_ctor_set(x_95, 0, x_85); +return x_95; } else { -lean_object* x_99; lean_object* x_100; -x_99 = lean_ctor_get(x_96, 1); -lean_inc(x_99); -lean_dec(x_96); -x_100 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_86); -lean_ctor_set(x_100, 1, x_99); -return x_100; +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_95, 1); +lean_inc(x_98); +lean_dec(x_95); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_85); +lean_ctor_set(x_99, 1, x_98); +return x_99; } } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_101 = lean_ctor_get(x_91, 0); -x_102 = lean_ctor_get(x_91, 1); -x_103 = lean_ctor_get(x_91, 2); -x_104 = lean_ctor_get(x_91, 3); -x_105 = lean_ctor_get(x_91, 4); -x_106 = lean_ctor_get(x_91, 5); -x_107 = lean_ctor_get(x_91, 6); -x_108 = lean_ctor_get(x_91, 7); -x_109 = lean_ctor_get(x_91, 8); -x_110 = lean_ctor_get(x_91, 9); -x_111 = lean_ctor_get(x_91, 10); -x_112 = lean_ctor_get(x_91, 11); -lean_inc(x_112); +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_100 = lean_ctor_get(x_90, 0); +x_101 = lean_ctor_get(x_90, 1); +x_102 = lean_ctor_get(x_90, 2); +x_103 = lean_ctor_get(x_90, 3); +x_104 = lean_ctor_get(x_90, 4); +x_105 = lean_ctor_get(x_90, 5); +x_106 = lean_ctor_get(x_90, 6); +x_107 = lean_ctor_get(x_90, 7); +x_108 = lean_ctor_get(x_90, 8); +x_109 = lean_ctor_get(x_90, 9); +x_110 = lean_ctor_get(x_90, 10); +x_111 = lean_ctor_get(x_90, 11); lean_inc(x_111); lean_inc(x_110); lean_inc(x_109); @@ -4857,507 +4879,508 @@ lean_inc(x_104); lean_inc(x_103); lean_inc(x_102); lean_inc(x_101); -lean_dec(x_91); -lean_inc(x_86); -x_113 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_102, x_74, x_86); -x_114 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_114, 0, x_101); -lean_ctor_set(x_114, 1, x_113); -lean_ctor_set(x_114, 2, x_103); -lean_ctor_set(x_114, 3, x_104); -lean_ctor_set(x_114, 4, x_105); -lean_ctor_set(x_114, 5, x_106); -lean_ctor_set(x_114, 6, x_107); -lean_ctor_set(x_114, 7, x_108); -lean_ctor_set(x_114, 8, x_109); -lean_ctor_set(x_114, 9, x_110); -lean_ctor_set(x_114, 10, x_111); -lean_ctor_set(x_114, 11, x_112); -x_115 = lean_st_ref_set(x_3, x_114, x_92); -x_116 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - x_117 = x_115; +lean_inc(x_100); +lean_dec(x_90); +lean_inc(x_85); +x_112 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_101, x_73, x_85); +x_113 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_113, 0, x_100); +lean_ctor_set(x_113, 1, x_112); +lean_ctor_set(x_113, 2, x_102); +lean_ctor_set(x_113, 3, x_103); +lean_ctor_set(x_113, 4, x_104); +lean_ctor_set(x_113, 5, x_105); +lean_ctor_set(x_113, 6, x_106); +lean_ctor_set(x_113, 7, x_107); +lean_ctor_set(x_113, 8, x_108); +lean_ctor_set(x_113, 9, x_109); +lean_ctor_set(x_113, 10, x_110); +lean_ctor_set(x_113, 11, x_111); +x_114 = lean_st_ref_set(x_3, x_113, x_91); +x_115 = lean_ctor_get(x_114, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_116 = x_114; } else { - lean_dec_ref(x_115); - x_117 = lean_box(0); + lean_dec_ref(x_114); + x_116 = lean_box(0); } -if (lean_is_scalar(x_117)) { - x_118 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_116)) { + x_117 = lean_alloc_ctor(0, 2, 0); } else { - x_118 = x_117; + x_117 = x_116; } -lean_ctor_set(x_118, 0, x_86); -lean_ctor_set(x_118, 1, x_116); -return x_118; +lean_ctor_set(x_117, 0, x_85); +lean_ctor_set(x_117, 1, x_115); +return x_117; } } else { -uint8_t x_119; -lean_dec(x_74); +uint8_t x_118; +lean_dec(x_73); lean_dec(x_7); -x_119 = !lean_is_exclusive(x_85); -if (x_119 == 0) +x_118 = !lean_is_exclusive(x_84); +if (x_118 == 0) { -return x_85; +return x_84; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_120 = lean_ctor_get(x_85, 0); -x_121 = lean_ctor_get(x_85, 1); -lean_inc(x_121); +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_84, 0); +x_120 = lean_ctor_get(x_84, 1); lean_inc(x_120); -lean_dec(x_85); -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; +lean_inc(x_119); +lean_dec(x_84); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; } } } else { -lean_object* x_123; -lean_dec(x_74); +lean_object* x_122; +lean_dec(x_73); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_123 = lean_ctor_get(x_84, 0); -lean_inc(x_123); -lean_dec(x_84); -lean_ctor_set(x_79, 0, x_123); -return x_79; +x_122 = lean_ctor_get(x_83, 0); +lean_inc(x_122); +lean_dec(x_83); +lean_ctor_set(x_78, 0, x_122); +return x_78; } } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_124 = lean_ctor_get(x_79, 0); -x_125 = lean_ctor_get(x_79, 1); -lean_inc(x_125); +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_123 = lean_ctor_get(x_78, 0); +x_124 = lean_ctor_get(x_78, 1); lean_inc(x_124); -lean_dec(x_79); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_126, x_74); -lean_dec(x_126); +lean_inc(x_123); +lean_dec(x_78); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec(x_123); +x_126 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_125, x_73); +lean_dec(x_125); +if (lean_obj_tag(x_126) == 0) +{ +lean_object* x_127; +lean_inc(x_7); +lean_inc(x_73); +x_127 = l_Lean_Meta_Closure_collectExprAux(x_73, x_2, x_3, x_4, x_5, x_6, x_7, x_124); if (lean_obj_tag(x_127) == 0) { -lean_object* x_128; -lean_inc(x_7); -lean_inc(x_74); -x_128 = l_Lean_Meta_Closure_collectExprAux(x_74, x_2, x_3, x_4, x_5, x_6, x_7, x_125); -if (lean_obj_tag(x_128) == 0) -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; 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; -x_129 = lean_ctor_get(x_128, 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; lean_object* x_153; +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -lean_dec(x_128); -x_131 = lean_st_ref_get(x_7, x_130); +lean_dec(x_127); +x_130 = lean_st_ref_get(x_7, x_129); lean_dec(x_7); -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -lean_dec(x_131); -x_133 = lean_st_ref_take(x_3, x_132); -x_134 = lean_ctor_get(x_133, 0); +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +lean_dec(x_130); +x_132 = lean_st_ref_take(x_3, x_131); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); +lean_dec(x_132); +x_135 = lean_ctor_get(x_133, 0); lean_inc(x_135); -lean_dec(x_133); -x_136 = lean_ctor_get(x_134, 0); +x_136 = lean_ctor_get(x_133, 1); lean_inc(x_136); -x_137 = lean_ctor_get(x_134, 1); +x_137 = lean_ctor_get(x_133, 2); lean_inc(x_137); -x_138 = lean_ctor_get(x_134, 2); +x_138 = lean_ctor_get(x_133, 3); lean_inc(x_138); -x_139 = lean_ctor_get(x_134, 3); +x_139 = lean_ctor_get(x_133, 4); lean_inc(x_139); -x_140 = lean_ctor_get(x_134, 4); +x_140 = lean_ctor_get(x_133, 5); lean_inc(x_140); -x_141 = lean_ctor_get(x_134, 5); +x_141 = lean_ctor_get(x_133, 6); lean_inc(x_141); -x_142 = lean_ctor_get(x_134, 6); +x_142 = lean_ctor_get(x_133, 7); lean_inc(x_142); -x_143 = lean_ctor_get(x_134, 7); +x_143 = lean_ctor_get(x_133, 8); lean_inc(x_143); -x_144 = lean_ctor_get(x_134, 8); +x_144 = lean_ctor_get(x_133, 9); lean_inc(x_144); -x_145 = lean_ctor_get(x_134, 9); +x_145 = lean_ctor_get(x_133, 10); lean_inc(x_145); -x_146 = lean_ctor_get(x_134, 10); +x_146 = lean_ctor_get(x_133, 11); lean_inc(x_146); -x_147 = lean_ctor_get(x_134, 11); -lean_inc(x_147); -if (lean_is_exclusive(x_134)) { - lean_ctor_release(x_134, 0); - lean_ctor_release(x_134, 1); - lean_ctor_release(x_134, 2); - lean_ctor_release(x_134, 3); - lean_ctor_release(x_134, 4); - lean_ctor_release(x_134, 5); - lean_ctor_release(x_134, 6); - lean_ctor_release(x_134, 7); - lean_ctor_release(x_134, 8); - lean_ctor_release(x_134, 9); - lean_ctor_release(x_134, 10); - lean_ctor_release(x_134, 11); - x_148 = x_134; +if (lean_is_exclusive(x_133)) { + lean_ctor_release(x_133, 0); + lean_ctor_release(x_133, 1); + lean_ctor_release(x_133, 2); + lean_ctor_release(x_133, 3); + lean_ctor_release(x_133, 4); + lean_ctor_release(x_133, 5); + lean_ctor_release(x_133, 6); + lean_ctor_release(x_133, 7); + lean_ctor_release(x_133, 8); + lean_ctor_release(x_133, 9); + lean_ctor_release(x_133, 10); + lean_ctor_release(x_133, 11); + x_147 = x_133; } else { - lean_dec_ref(x_134); - x_148 = lean_box(0); + lean_dec_ref(x_133); + x_147 = lean_box(0); } -lean_inc(x_129); -x_149 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_137, x_74, x_129); -if (lean_is_scalar(x_148)) { - x_150 = lean_alloc_ctor(0, 12, 0); +lean_inc(x_128); +x_148 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_136, x_73, x_128); +if (lean_is_scalar(x_147)) { + x_149 = lean_alloc_ctor(0, 12, 0); } else { - x_150 = x_148; + x_149 = x_147; } -lean_ctor_set(x_150, 0, x_136); -lean_ctor_set(x_150, 1, x_149); -lean_ctor_set(x_150, 2, x_138); -lean_ctor_set(x_150, 3, x_139); -lean_ctor_set(x_150, 4, x_140); -lean_ctor_set(x_150, 5, x_141); -lean_ctor_set(x_150, 6, x_142); -lean_ctor_set(x_150, 7, x_143); -lean_ctor_set(x_150, 8, x_144); -lean_ctor_set(x_150, 9, x_145); -lean_ctor_set(x_150, 10, x_146); -lean_ctor_set(x_150, 11, x_147); -x_151 = lean_st_ref_set(x_3, x_150, x_135); -x_152 = lean_ctor_get(x_151, 1); -lean_inc(x_152); -if (lean_is_exclusive(x_151)) { - lean_ctor_release(x_151, 0); - lean_ctor_release(x_151, 1); - x_153 = x_151; +lean_ctor_set(x_149, 0, x_135); +lean_ctor_set(x_149, 1, x_148); +lean_ctor_set(x_149, 2, x_137); +lean_ctor_set(x_149, 3, x_138); +lean_ctor_set(x_149, 4, x_139); +lean_ctor_set(x_149, 5, x_140); +lean_ctor_set(x_149, 6, x_141); +lean_ctor_set(x_149, 7, x_142); +lean_ctor_set(x_149, 8, x_143); +lean_ctor_set(x_149, 9, x_144); +lean_ctor_set(x_149, 10, x_145); +lean_ctor_set(x_149, 11, x_146); +x_150 = lean_st_ref_set(x_3, x_149, x_134); +x_151 = lean_ctor_get(x_150, 1); +lean_inc(x_151); +if (lean_is_exclusive(x_150)) { + lean_ctor_release(x_150, 0); + lean_ctor_release(x_150, 1); + x_152 = x_150; } else { - lean_dec_ref(x_151); - x_153 = lean_box(0); + lean_dec_ref(x_150); + x_152 = lean_box(0); } -if (lean_is_scalar(x_153)) { - x_154 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_152)) { + x_153 = lean_alloc_ctor(0, 2, 0); } else { - x_154 = x_153; + x_153 = x_152; } -lean_ctor_set(x_154, 0, x_129); -lean_ctor_set(x_154, 1, x_152); -return x_154; +lean_ctor_set(x_153, 0, x_128); +lean_ctor_set(x_153, 1, x_151); +return x_153; } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -lean_dec(x_74); +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_dec(x_73); lean_dec(x_7); -x_155 = lean_ctor_get(x_128, 0); +x_154 = lean_ctor_get(x_127, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_127, 1); lean_inc(x_155); -x_156 = lean_ctor_get(x_128, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_157 = x_128; +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_156 = x_127; } else { - lean_dec_ref(x_128); - x_157 = lean_box(0); + lean_dec_ref(x_127); + x_156 = lean_box(0); } -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); } else { - x_158 = x_157; + x_157 = x_156; } -lean_ctor_set(x_158, 0, x_155); -lean_ctor_set(x_158, 1, x_156); -return x_158; +lean_ctor_set(x_157, 0, x_154); +lean_ctor_set(x_157, 1, x_155); +return x_157; } } else { -lean_object* x_159; lean_object* x_160; -lean_dec(x_74); +lean_object* x_158; lean_object* x_159; +lean_dec(x_73); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_159 = lean_ctor_get(x_127, 0); -lean_inc(x_159); -lean_dec(x_127); -x_160 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_125); -return x_160; +x_158 = lean_ctor_get(x_126, 0); +lean_inc(x_158); +lean_dec(x_126); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_124); +return x_159; } } } } else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_213; -x_168 = lean_ctor_get(x_72, 0); -x_169 = lean_ctor_get(x_72, 1); -lean_inc(x_169); +lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_212; +x_167 = lean_ctor_get(x_71, 0); +x_168 = lean_ctor_get(x_71, 1); lean_inc(x_168); -lean_dec(x_72); -x_213 = l_Lean_Expr_hasLevelParam(x_168); +lean_inc(x_167); +lean_dec(x_71); +x_212 = l_Lean_Expr_hasLevelParam(x_167); +if (x_212 == 0) +{ +uint8_t x_213; +x_213 = l_Lean_Expr_hasFVar(x_167); if (x_213 == 0) { uint8_t x_214; -x_214 = l_Lean_Expr_hasFVar(x_168); +x_214 = l_Lean_Expr_hasMVar(x_167); if (x_214 == 0) { -uint8_t x_215; -x_215 = l_Lean_Expr_hasMVar(x_168); -if (x_215 == 0) -{ -lean_object* x_216; +lean_object* x_215; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_216 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_216, 0, x_168); -lean_ctor_set(x_216, 1, x_169); -return x_216; +x_215 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_215, 0, x_167); +lean_ctor_set(x_215, 1, x_168); +return x_215; +} +else +{ +lean_object* x_216; +x_216 = lean_box(0); +x_169 = x_216; +goto block_211; +} } else { lean_object* x_217; x_217 = lean_box(0); -x_170 = x_217; -goto block_212; +x_169 = x_217; +goto block_211; } } else { lean_object* x_218; x_218 = lean_box(0); -x_170 = x_218; -goto block_212; +x_169 = x_218; +goto block_211; } -} -else +block_211: { -lean_object* x_219; -x_219 = lean_box(0); -x_170 = x_219; -goto block_212; -} -block_212: -{ -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_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_169); +x_170 = lean_st_ref_get(x_7, x_168); +x_171 = lean_ctor_get(x_170, 1); +lean_inc(x_171); lean_dec(x_170); -x_171 = lean_st_ref_get(x_7, x_169); -x_172 = lean_ctor_get(x_171, 1); -lean_inc(x_172); -lean_dec(x_171); -x_173 = lean_st_ref_get(x_3, x_172); -x_174 = lean_ctor_get(x_173, 0); +x_172 = lean_st_ref_get(x_3, x_171); +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); lean_inc(x_174); -x_175 = lean_ctor_get(x_173, 1); -lean_inc(x_175); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - x_176 = x_173; +if (lean_is_exclusive(x_172)) { + lean_ctor_release(x_172, 0); + lean_ctor_release(x_172, 1); + x_175 = x_172; } else { - lean_dec_ref(x_173); - x_176 = lean_box(0); + lean_dec_ref(x_172); + x_175 = lean_box(0); } -x_177 = lean_ctor_get(x_174, 1); -lean_inc(x_177); -lean_dec(x_174); -x_178 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_177, x_168); -lean_dec(x_177); +x_176 = lean_ctor_get(x_173, 1); +lean_inc(x_176); +lean_dec(x_173); +x_177 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_176, x_167); +lean_dec(x_176); +if (lean_obj_tag(x_177) == 0) +{ +lean_object* x_178; +lean_dec(x_175); +lean_inc(x_7); +lean_inc(x_167); +x_178 = l_Lean_Meta_Closure_collectExprAux(x_167, x_2, x_3, x_4, x_5, x_6, x_7, x_174); if (lean_obj_tag(x_178) == 0) { -lean_object* x_179; -lean_dec(x_176); -lean_inc(x_7); -lean_inc(x_168); -x_179 = l_Lean_Meta_Closure_collectExprAux(x_168, x_2, x_3, x_4, x_5, x_6, x_7, x_175); -if (lean_obj_tag(x_179) == 0) -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_180 = lean_ctor_get(x_179, 0); +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; 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; +x_179 = lean_ctor_get(x_178, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_178, 1); lean_inc(x_180); -x_181 = lean_ctor_get(x_179, 1); -lean_inc(x_181); -lean_dec(x_179); -x_182 = lean_st_ref_get(x_7, x_181); -lean_dec(x_7); -x_183 = lean_ctor_get(x_182, 1); -lean_inc(x_183); -lean_dec(x_182); -x_184 = lean_st_ref_take(x_3, x_183); -x_185 = lean_ctor_get(x_184, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_184, 1); -lean_inc(x_186); -lean_dec(x_184); -x_187 = lean_ctor_get(x_185, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_185, 1); -lean_inc(x_188); -x_189 = lean_ctor_get(x_185, 2); -lean_inc(x_189); -x_190 = lean_ctor_get(x_185, 3); -lean_inc(x_190); -x_191 = lean_ctor_get(x_185, 4); -lean_inc(x_191); -x_192 = lean_ctor_get(x_185, 5); -lean_inc(x_192); -x_193 = lean_ctor_get(x_185, 6); -lean_inc(x_193); -x_194 = lean_ctor_get(x_185, 7); -lean_inc(x_194); -x_195 = lean_ctor_get(x_185, 8); -lean_inc(x_195); -x_196 = lean_ctor_get(x_185, 9); -lean_inc(x_196); -x_197 = lean_ctor_get(x_185, 10); -lean_inc(x_197); -x_198 = lean_ctor_get(x_185, 11); -lean_inc(x_198); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - lean_ctor_release(x_185, 1); - lean_ctor_release(x_185, 2); - lean_ctor_release(x_185, 3); - lean_ctor_release(x_185, 4); - lean_ctor_release(x_185, 5); - lean_ctor_release(x_185, 6); - lean_ctor_release(x_185, 7); - lean_ctor_release(x_185, 8); - lean_ctor_release(x_185, 9); - lean_ctor_release(x_185, 10); - lean_ctor_release(x_185, 11); - x_199 = x_185; -} else { - lean_dec_ref(x_185); - x_199 = lean_box(0); -} -lean_inc(x_180); -x_200 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_188, x_168, x_180); -if (lean_is_scalar(x_199)) { - x_201 = lean_alloc_ctor(0, 12, 0); -} else { - x_201 = x_199; -} -lean_ctor_set(x_201, 0, x_187); -lean_ctor_set(x_201, 1, x_200); -lean_ctor_set(x_201, 2, x_189); -lean_ctor_set(x_201, 3, x_190); -lean_ctor_set(x_201, 4, x_191); -lean_ctor_set(x_201, 5, x_192); -lean_ctor_set(x_201, 6, x_193); -lean_ctor_set(x_201, 7, x_194); -lean_ctor_set(x_201, 8, x_195); -lean_ctor_set(x_201, 9, x_196); -lean_ctor_set(x_201, 10, x_197); -lean_ctor_set(x_201, 11, x_198); -x_202 = lean_st_ref_set(x_3, x_201, x_186); -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -if (lean_is_exclusive(x_202)) { - lean_ctor_release(x_202, 0); - lean_ctor_release(x_202, 1); - x_204 = x_202; -} else { - lean_dec_ref(x_202); - x_204 = lean_box(0); -} -if (lean_is_scalar(x_204)) { - x_205 = lean_alloc_ctor(0, 2, 0); -} else { - x_205 = x_204; -} -lean_ctor_set(x_205, 0, x_180); -lean_ctor_set(x_205, 1, x_203); -return x_205; -} -else -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; -lean_dec(x_168); -lean_dec(x_7); -x_206 = lean_ctor_get(x_179, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_179, 1); -lean_inc(x_207); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - lean_ctor_release(x_179, 1); - x_208 = x_179; -} else { - lean_dec_ref(x_179); - x_208 = lean_box(0); -} -if (lean_is_scalar(x_208)) { - x_209 = lean_alloc_ctor(1, 2, 0); -} else { - x_209 = x_208; -} -lean_ctor_set(x_209, 0, x_206); -lean_ctor_set(x_209, 1, x_207); -return x_209; -} -} -else -{ -lean_object* x_210; lean_object* x_211; -lean_dec(x_168); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_210 = lean_ctor_get(x_178, 0); -lean_inc(x_210); lean_dec(x_178); -if (lean_is_scalar(x_176)) { - x_211 = lean_alloc_ctor(0, 2, 0); +x_181 = lean_st_ref_get(x_7, x_180); +lean_dec(x_7); +x_182 = lean_ctor_get(x_181, 1); +lean_inc(x_182); +lean_dec(x_181); +x_183 = lean_st_ref_take(x_3, x_182); +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_183, 1); +lean_inc(x_185); +lean_dec(x_183); +x_186 = lean_ctor_get(x_184, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_184, 1); +lean_inc(x_187); +x_188 = lean_ctor_get(x_184, 2); +lean_inc(x_188); +x_189 = lean_ctor_get(x_184, 3); +lean_inc(x_189); +x_190 = lean_ctor_get(x_184, 4); +lean_inc(x_190); +x_191 = lean_ctor_get(x_184, 5); +lean_inc(x_191); +x_192 = lean_ctor_get(x_184, 6); +lean_inc(x_192); +x_193 = lean_ctor_get(x_184, 7); +lean_inc(x_193); +x_194 = lean_ctor_get(x_184, 8); +lean_inc(x_194); +x_195 = lean_ctor_get(x_184, 9); +lean_inc(x_195); +x_196 = lean_ctor_get(x_184, 10); +lean_inc(x_196); +x_197 = lean_ctor_get(x_184, 11); +lean_inc(x_197); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + lean_ctor_release(x_184, 2); + lean_ctor_release(x_184, 3); + lean_ctor_release(x_184, 4); + lean_ctor_release(x_184, 5); + lean_ctor_release(x_184, 6); + lean_ctor_release(x_184, 7); + lean_ctor_release(x_184, 8); + lean_ctor_release(x_184, 9); + lean_ctor_release(x_184, 10); + lean_ctor_release(x_184, 11); + x_198 = x_184; } else { - x_211 = x_176; + lean_dec_ref(x_184); + x_198 = lean_box(0); } -lean_ctor_set(x_211, 0, x_210); -lean_ctor_set(x_211, 1, x_175); -return x_211; +lean_inc(x_179); +x_199 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_187, x_167, x_179); +if (lean_is_scalar(x_198)) { + x_200 = lean_alloc_ctor(0, 12, 0); +} else { + x_200 = x_198; } +lean_ctor_set(x_200, 0, x_186); +lean_ctor_set(x_200, 1, x_199); +lean_ctor_set(x_200, 2, x_188); +lean_ctor_set(x_200, 3, x_189); +lean_ctor_set(x_200, 4, x_190); +lean_ctor_set(x_200, 5, x_191); +lean_ctor_set(x_200, 6, x_192); +lean_ctor_set(x_200, 7, x_193); +lean_ctor_set(x_200, 8, x_194); +lean_ctor_set(x_200, 9, x_195); +lean_ctor_set(x_200, 10, x_196); +lean_ctor_set(x_200, 11, x_197); +x_201 = lean_st_ref_set(x_3, x_200, x_185); +x_202 = lean_ctor_get(x_201, 1); +lean_inc(x_202); +if (lean_is_exclusive(x_201)) { + lean_ctor_release(x_201, 0); + lean_ctor_release(x_201, 1); + x_203 = x_201; +} else { + lean_dec_ref(x_201); + x_203 = lean_box(0); } +if (lean_is_scalar(x_203)) { + x_204 = lean_alloc_ctor(0, 2, 0); +} else { + x_204 = x_203; +} +lean_ctor_set(x_204, 0, x_179); +lean_ctor_set(x_204, 1, x_202); +return x_204; +} +else +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +lean_dec(x_167); +lean_dec(x_7); +x_205 = lean_ctor_get(x_178, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_178, 1); +lean_inc(x_206); +if (lean_is_exclusive(x_178)) { + lean_ctor_release(x_178, 0); + lean_ctor_release(x_178, 1); + x_207 = x_178; +} else { + lean_dec_ref(x_178); + x_207 = lean_box(0); +} +if (lean_is_scalar(x_207)) { + x_208 = lean_alloc_ctor(1, 2, 0); +} else { + x_208 = x_207; +} +lean_ctor_set(x_208, 0, x_205); +lean_ctor_set(x_208, 1, x_206); +return x_208; } } else { -uint8_t x_220; +lean_object* x_209; lean_object* x_210; +lean_dec(x_167); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_220 = !lean_is_exclusive(x_72); -if (x_220 == 0) -{ -return x_72; +x_209 = lean_ctor_get(x_177, 0); +lean_inc(x_209); +lean_dec(x_177); +if (lean_is_scalar(x_175)) { + x_210 = lean_alloc_ctor(0, 2, 0); +} else { + x_210 = x_175; +} +lean_ctor_set(x_210, 0, x_209); +lean_ctor_set(x_210, 1, x_174); +return x_210; +} +} +} } else { -lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_221 = lean_ctor_get(x_72, 0); -x_222 = lean_ctor_get(x_72, 1); -lean_inc(x_222); +uint8_t x_219; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_219 = !lean_is_exclusive(x_71); +if (x_219 == 0) +{ +return x_71; +} +else +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_220 = lean_ctor_get(x_71, 0); +x_221 = lean_ctor_get(x_71, 1); lean_inc(x_221); -lean_dec(x_72); -x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_221); -lean_ctor_set(x_223, 1, x_222); -return x_223; +lean_inc(x_220); +lean_dec(x_71); +x_222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_222, 0, x_220); +lean_ctor_set(x_222, 1, x_221); +return x_222; } } } @@ -5365,188 +5388,187 @@ return x_223; } else { -uint8_t x_224; +uint8_t x_223; lean_dec(x_42); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_224 = !lean_is_exclusive(x_43); -if (x_224 == 0) +x_223 = !lean_is_exclusive(x_43); +if (x_223 == 0) { return x_43; } else { -lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get(x_43, 0); -x_226 = lean_ctor_get(x_43, 1); -lean_inc(x_226); +lean_object* x_224; lean_object* x_225; lean_object* x_226; +x_224 = lean_ctor_get(x_43, 0); +x_225 = lean_ctor_get(x_43, 1); lean_inc(x_225); +lean_inc(x_224); lean_dec(x_43); -x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_225); -lean_ctor_set(x_227, 1, x_226); -return x_227; +x_226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_226, 0, x_224); +lean_ctor_set(x_226, 1, x_225); +return x_226; } } } case 2: { -lean_object* x_228; lean_object* x_229; -x_228 = lean_ctor_get(x_1, 0); -lean_inc(x_228); -x_229 = l_Lean_Meta_getMVarDecl(x_228, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_229) == 0) +lean_object* x_227; lean_object* x_228; +x_227 = lean_ctor_get(x_1, 0); +lean_inc(x_227); +x_228 = l_Lean_Meta_getMVarDecl(x_227, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_228) == 0) { -lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; -x_230 = lean_ctor_get(x_229, 0); +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_229 = lean_ctor_get(x_228, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_228, 1); lean_inc(x_230); -x_231 = lean_ctor_get(x_229, 1); +lean_dec(x_228); +x_231 = lean_ctor_get(x_229, 2); lean_inc(x_231); lean_dec(x_229); -x_232 = lean_ctor_get(x_230, 2); -lean_inc(x_232); -lean_dec(x_230); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_233 = l_Lean_Meta_Closure_preprocess(x_232, x_2, x_3, x_4, x_5, x_6, x_7, x_231); -if (lean_obj_tag(x_233) == 0) +x_232 = l_Lean_Meta_Closure_preprocess(x_231, x_2, x_3, x_4, x_5, x_6, x_7, x_230); +if (lean_obj_tag(x_232) == 0) { -lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_288; uint8_t x_331; -x_234 = lean_ctor_get(x_233, 0); +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_287; uint8_t x_330; +x_233 = lean_ctor_get(x_232, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_232, 1); lean_inc(x_234); -x_235 = lean_ctor_get(x_233, 1); -lean_inc(x_235); -lean_dec(x_233); -x_331 = l_Lean_Expr_hasLevelParam(x_234); +lean_dec(x_232); +x_330 = l_Lean_Expr_hasLevelParam(x_233); +if (x_330 == 0) +{ +uint8_t x_331; +x_331 = l_Lean_Expr_hasFVar(x_233); if (x_331 == 0) { uint8_t x_332; -x_332 = l_Lean_Expr_hasFVar(x_234); +x_332 = l_Lean_Expr_hasMVar(x_233); if (x_332 == 0) { -uint8_t x_333; -x_333 = l_Lean_Expr_hasMVar(x_234); -if (x_333 == 0) -{ +x_235 = x_233; x_236 = x_234; -x_237 = x_235; -goto block_287; +goto block_286; +} +else +{ +lean_object* x_333; +x_333 = lean_box(0); +x_287 = x_333; +goto block_329; +} } else { lean_object* x_334; x_334 = lean_box(0); -x_288 = x_334; -goto block_330; +x_287 = x_334; +goto block_329; } } else { lean_object* x_335; x_335 = lean_box(0); -x_288 = x_335; -goto block_330; +x_287 = x_335; +goto block_329; } -} -else +block_286: { -lean_object* x_336; -x_336 = lean_box(0); -x_288 = x_336; -goto block_330; -} -block_287: -{ -lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; -x_238 = l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1___rarg(x_7, x_237); -x_239 = lean_ctor_get(x_238, 0); +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; +x_237 = l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1___rarg(x_7, x_236); +x_238 = lean_ctor_get(x_237, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_237, 1); lean_inc(x_239); -x_240 = lean_ctor_get(x_238, 1); -lean_inc(x_240); -lean_dec(x_238); -x_241 = l_Lean_Meta_Closure_mkNextUserName___rarg(x_3, x_4, x_5, x_6, x_7, x_240); +lean_dec(x_237); +x_240 = l_Lean_Meta_Closure_mkNextUserName___rarg(x_3, x_4, x_5, x_6, x_7, x_239); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_242 = lean_ctor_get(x_241, 0); +x_241 = lean_ctor_get(x_240, 0); +lean_inc(x_241); +x_242 = lean_ctor_get(x_240, 1); lean_inc(x_242); -x_243 = lean_ctor_get(x_241, 1); -lean_inc(x_243); -lean_dec(x_241); -x_244 = lean_st_ref_get(x_7, x_243); +lean_dec(x_240); +x_243 = lean_st_ref_get(x_7, x_242); lean_dec(x_7); -x_245 = lean_ctor_get(x_244, 1); -lean_inc(x_245); -lean_dec(x_244); -x_246 = lean_st_ref_take(x_3, x_245); -x_247 = lean_ctor_get(x_246, 0); +x_244 = lean_ctor_get(x_243, 1); +lean_inc(x_244); +lean_dec(x_243); +x_245 = lean_st_ref_take(x_3, x_244); +x_246 = lean_ctor_get(x_245, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_245, 1); lean_inc(x_247); -x_248 = lean_ctor_get(x_246, 1); -lean_inc(x_248); -lean_dec(x_246); -x_249 = !lean_is_exclusive(x_247); -if (x_249 == 0) +lean_dec(x_245); +x_248 = !lean_is_exclusive(x_246); +if (x_248 == 0) { -lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; -x_250 = lean_ctor_get(x_247, 6); -x_251 = lean_ctor_get(x_247, 9); -x_252 = lean_unsigned_to_nat(0u); -x_253 = 0; -lean_inc(x_239); -x_254 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_254, 0, x_252); -lean_ctor_set(x_254, 1, x_239); -lean_ctor_set(x_254, 2, x_242); -lean_ctor_set(x_254, 3, x_236); -lean_ctor_set_uint8(x_254, sizeof(void*)*4, x_253); -x_255 = lean_array_push(x_250, x_254); -x_256 = lean_array_push(x_251, x_1); -lean_ctor_set(x_247, 9, x_256); -lean_ctor_set(x_247, 6, x_255); -x_257 = lean_st_ref_set(x_3, x_247, x_248); -x_258 = !lean_is_exclusive(x_257); -if (x_258 == 0) +lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; +x_249 = lean_ctor_get(x_246, 6); +x_250 = lean_ctor_get(x_246, 9); +x_251 = lean_unsigned_to_nat(0u); +x_252 = 0; +lean_inc(x_238); +x_253 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_253, 0, x_251); +lean_ctor_set(x_253, 1, x_238); +lean_ctor_set(x_253, 2, x_241); +lean_ctor_set(x_253, 3, x_235); +lean_ctor_set_uint8(x_253, sizeof(void*)*4, x_252); +x_254 = lean_array_push(x_249, x_253); +x_255 = lean_array_push(x_250, x_1); +lean_ctor_set(x_246, 9, x_255); +lean_ctor_set(x_246, 6, x_254); +x_256 = lean_st_ref_set(x_3, x_246, x_247); +x_257 = !lean_is_exclusive(x_256); +if (x_257 == 0) { -lean_object* x_259; lean_object* x_260; -x_259 = lean_ctor_get(x_257, 0); -lean_dec(x_259); -x_260 = l_Lean_mkFVar(x_239); -lean_ctor_set(x_257, 0, x_260); -return x_257; +lean_object* x_258; lean_object* x_259; +x_258 = lean_ctor_get(x_256, 0); +lean_dec(x_258); +x_259 = l_Lean_mkFVar(x_238); +lean_ctor_set(x_256, 0, x_259); +return x_256; } else { -lean_object* x_261; lean_object* x_262; lean_object* x_263; -x_261 = lean_ctor_get(x_257, 1); -lean_inc(x_261); -lean_dec(x_257); -x_262 = l_Lean_mkFVar(x_239); -x_263 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_263, 0, x_262); -lean_ctor_set(x_263, 1, x_261); -return x_263; +lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_260 = lean_ctor_get(x_256, 1); +lean_inc(x_260); +lean_dec(x_256); +x_261 = l_Lean_mkFVar(x_238); +x_262 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_260); +return x_262; } } else { -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; uint8_t 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; -x_264 = lean_ctor_get(x_247, 0); -x_265 = lean_ctor_get(x_247, 1); -x_266 = lean_ctor_get(x_247, 2); -x_267 = lean_ctor_get(x_247, 3); -x_268 = lean_ctor_get(x_247, 4); -x_269 = lean_ctor_get(x_247, 5); -x_270 = lean_ctor_get(x_247, 6); -x_271 = lean_ctor_get(x_247, 7); -x_272 = lean_ctor_get(x_247, 8); -x_273 = lean_ctor_get(x_247, 9); -x_274 = lean_ctor_get(x_247, 10); -x_275 = lean_ctor_get(x_247, 11); -lean_inc(x_275); +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; uint8_t x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_263 = lean_ctor_get(x_246, 0); +x_264 = lean_ctor_get(x_246, 1); +x_265 = lean_ctor_get(x_246, 2); +x_266 = lean_ctor_get(x_246, 3); +x_267 = lean_ctor_get(x_246, 4); +x_268 = lean_ctor_get(x_246, 5); +x_269 = lean_ctor_get(x_246, 6); +x_270 = lean_ctor_get(x_246, 7); +x_271 = lean_ctor_get(x_246, 8); +x_272 = lean_ctor_get(x_246, 9); +x_273 = lean_ctor_get(x_246, 10); +x_274 = lean_ctor_get(x_246, 11); lean_inc(x_274); lean_inc(x_273); lean_inc(x_272); @@ -5558,131 +5580,131 @@ lean_inc(x_267); lean_inc(x_266); lean_inc(x_265); lean_inc(x_264); -lean_dec(x_247); -x_276 = lean_unsigned_to_nat(0u); -x_277 = 0; -lean_inc(x_239); -x_278 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_278, 0, x_276); -lean_ctor_set(x_278, 1, x_239); -lean_ctor_set(x_278, 2, x_242); -lean_ctor_set(x_278, 3, x_236); -lean_ctor_set_uint8(x_278, sizeof(void*)*4, x_277); -x_279 = lean_array_push(x_270, x_278); -x_280 = lean_array_push(x_273, x_1); -x_281 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_281, 0, x_264); -lean_ctor_set(x_281, 1, x_265); -lean_ctor_set(x_281, 2, x_266); -lean_ctor_set(x_281, 3, x_267); -lean_ctor_set(x_281, 4, x_268); -lean_ctor_set(x_281, 5, x_269); -lean_ctor_set(x_281, 6, x_279); -lean_ctor_set(x_281, 7, x_271); -lean_ctor_set(x_281, 8, x_272); -lean_ctor_set(x_281, 9, x_280); -lean_ctor_set(x_281, 10, x_274); -lean_ctor_set(x_281, 11, x_275); -x_282 = lean_st_ref_set(x_3, x_281, x_248); -x_283 = lean_ctor_get(x_282, 1); -lean_inc(x_283); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - x_284 = x_282; +lean_inc(x_263); +lean_dec(x_246); +x_275 = lean_unsigned_to_nat(0u); +x_276 = 0; +lean_inc(x_238); +x_277 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_277, 0, x_275); +lean_ctor_set(x_277, 1, x_238); +lean_ctor_set(x_277, 2, x_241); +lean_ctor_set(x_277, 3, x_235); +lean_ctor_set_uint8(x_277, sizeof(void*)*4, x_276); +x_278 = lean_array_push(x_269, x_277); +x_279 = lean_array_push(x_272, x_1); +x_280 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_280, 0, x_263); +lean_ctor_set(x_280, 1, x_264); +lean_ctor_set(x_280, 2, x_265); +lean_ctor_set(x_280, 3, x_266); +lean_ctor_set(x_280, 4, x_267); +lean_ctor_set(x_280, 5, x_268); +lean_ctor_set(x_280, 6, x_278); +lean_ctor_set(x_280, 7, x_270); +lean_ctor_set(x_280, 8, x_271); +lean_ctor_set(x_280, 9, x_279); +lean_ctor_set(x_280, 10, x_273); +lean_ctor_set(x_280, 11, x_274); +x_281 = lean_st_ref_set(x_3, x_280, x_247); +x_282 = lean_ctor_get(x_281, 1); +lean_inc(x_282); +if (lean_is_exclusive(x_281)) { + lean_ctor_release(x_281, 0); + lean_ctor_release(x_281, 1); + x_283 = x_281; } else { - lean_dec_ref(x_282); - x_284 = lean_box(0); + lean_dec_ref(x_281); + x_283 = lean_box(0); } -x_285 = l_Lean_mkFVar(x_239); -if (lean_is_scalar(x_284)) { - x_286 = lean_alloc_ctor(0, 2, 0); +x_284 = l_Lean_mkFVar(x_238); +if (lean_is_scalar(x_283)) { + x_285 = lean_alloc_ctor(0, 2, 0); } else { - x_286 = x_284; + x_285 = x_283; } -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_283); -return x_286; +lean_ctor_set(x_285, 0, x_284); +lean_ctor_set(x_285, 1, x_282); +return x_285; } } -block_330: +block_329: { -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_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; +lean_dec(x_287); +x_288 = lean_st_ref_get(x_7, x_234); +x_289 = lean_ctor_get(x_288, 1); +lean_inc(x_289); lean_dec(x_288); -x_289 = lean_st_ref_get(x_7, x_235); -x_290 = lean_ctor_get(x_289, 1); -lean_inc(x_290); -lean_dec(x_289); -x_291 = lean_st_ref_get(x_3, x_290); -x_292 = lean_ctor_get(x_291, 0); +x_290 = lean_st_ref_get(x_3, x_289); +x_291 = lean_ctor_get(x_290, 0); +lean_inc(x_291); +x_292 = lean_ctor_get(x_290, 1); lean_inc(x_292); +lean_dec(x_290); x_293 = lean_ctor_get(x_291, 1); lean_inc(x_293); lean_dec(x_291); -x_294 = lean_ctor_get(x_292, 1); -lean_inc(x_294); -lean_dec(x_292); -x_295 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_294, x_234); -lean_dec(x_294); -if (lean_obj_tag(x_295) == 0) +x_294 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_293, x_233); +lean_dec(x_293); +if (lean_obj_tag(x_294) == 0) { -lean_object* x_296; +lean_object* x_295; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_234); -x_296 = l_Lean_Meta_Closure_collectExprAux(x_234, x_2, x_3, x_4, x_5, x_6, x_7, x_293); -if (lean_obj_tag(x_296) == 0) +lean_inc(x_233); +x_295 = l_Lean_Meta_Closure_collectExprAux(x_233, x_2, x_3, x_4, x_5, x_6, x_7, x_292); +if (lean_obj_tag(x_295) == 0) { -lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; uint8_t x_304; -x_297 = lean_ctor_get(x_296, 0); +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_303; +x_296 = lean_ctor_get(x_295, 0); +lean_inc(x_296); +x_297 = lean_ctor_get(x_295, 1); lean_inc(x_297); -x_298 = lean_ctor_get(x_296, 1); -lean_inc(x_298); -lean_dec(x_296); -x_299 = lean_st_ref_get(x_7, x_298); -x_300 = lean_ctor_get(x_299, 1); -lean_inc(x_300); -lean_dec(x_299); -x_301 = lean_st_ref_take(x_3, x_300); -x_302 = lean_ctor_get(x_301, 0); +lean_dec(x_295); +x_298 = lean_st_ref_get(x_7, x_297); +x_299 = lean_ctor_get(x_298, 1); +lean_inc(x_299); +lean_dec(x_298); +x_300 = lean_st_ref_take(x_3, x_299); +x_301 = lean_ctor_get(x_300, 0); +lean_inc(x_301); +x_302 = lean_ctor_get(x_300, 1); lean_inc(x_302); -x_303 = lean_ctor_get(x_301, 1); -lean_inc(x_303); -lean_dec(x_301); -x_304 = !lean_is_exclusive(x_302); -if (x_304 == 0) +lean_dec(x_300); +x_303 = !lean_is_exclusive(x_301); +if (x_303 == 0) { -lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; -x_305 = lean_ctor_get(x_302, 1); -lean_inc(x_297); -x_306 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_305, x_234, x_297); -lean_ctor_set(x_302, 1, x_306); -x_307 = lean_st_ref_set(x_3, x_302, x_303); -x_308 = lean_ctor_get(x_307, 1); -lean_inc(x_308); -lean_dec(x_307); -x_236 = x_297; -x_237 = x_308; -goto block_287; +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_304 = lean_ctor_get(x_301, 1); +lean_inc(x_296); +x_305 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_304, x_233, x_296); +lean_ctor_set(x_301, 1, x_305); +x_306 = lean_st_ref_set(x_3, x_301, x_302); +x_307 = lean_ctor_get(x_306, 1); +lean_inc(x_307); +lean_dec(x_306); +x_235 = x_296; +x_236 = x_307; +goto block_286; } else { -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; -x_309 = lean_ctor_get(x_302, 0); -x_310 = lean_ctor_get(x_302, 1); -x_311 = lean_ctor_get(x_302, 2); -x_312 = lean_ctor_get(x_302, 3); -x_313 = lean_ctor_get(x_302, 4); -x_314 = lean_ctor_get(x_302, 5); -x_315 = lean_ctor_get(x_302, 6); -x_316 = lean_ctor_get(x_302, 7); -x_317 = lean_ctor_get(x_302, 8); -x_318 = lean_ctor_get(x_302, 9); -x_319 = lean_ctor_get(x_302, 10); -x_320 = lean_ctor_get(x_302, 11); -lean_inc(x_320); +lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +x_308 = lean_ctor_get(x_301, 0); +x_309 = lean_ctor_get(x_301, 1); +x_310 = lean_ctor_get(x_301, 2); +x_311 = lean_ctor_get(x_301, 3); +x_312 = lean_ctor_get(x_301, 4); +x_313 = lean_ctor_get(x_301, 5); +x_314 = lean_ctor_get(x_301, 6); +x_315 = lean_ctor_get(x_301, 7); +x_316 = lean_ctor_get(x_301, 8); +x_317 = lean_ctor_get(x_301, 9); +x_318 = lean_ctor_get(x_301, 10); +x_319 = lean_ctor_get(x_301, 11); lean_inc(x_319); lean_inc(x_318); lean_inc(x_317); @@ -5694,502 +5716,502 @@ lean_inc(x_312); lean_inc(x_311); lean_inc(x_310); lean_inc(x_309); -lean_dec(x_302); -lean_inc(x_297); -x_321 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_310, x_234, x_297); -x_322 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_322, 0, x_309); -lean_ctor_set(x_322, 1, x_321); -lean_ctor_set(x_322, 2, x_311); -lean_ctor_set(x_322, 3, x_312); -lean_ctor_set(x_322, 4, x_313); -lean_ctor_set(x_322, 5, x_314); -lean_ctor_set(x_322, 6, x_315); -lean_ctor_set(x_322, 7, x_316); -lean_ctor_set(x_322, 8, x_317); -lean_ctor_set(x_322, 9, x_318); -lean_ctor_set(x_322, 10, x_319); -lean_ctor_set(x_322, 11, x_320); -x_323 = lean_st_ref_set(x_3, x_322, x_303); -x_324 = lean_ctor_get(x_323, 1); -lean_inc(x_324); -lean_dec(x_323); -x_236 = x_297; -x_237 = x_324; -goto block_287; +lean_inc(x_308); +lean_dec(x_301); +lean_inc(x_296); +x_320 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_309, x_233, x_296); +x_321 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_321, 0, x_308); +lean_ctor_set(x_321, 1, x_320); +lean_ctor_set(x_321, 2, x_310); +lean_ctor_set(x_321, 3, x_311); +lean_ctor_set(x_321, 4, x_312); +lean_ctor_set(x_321, 5, x_313); +lean_ctor_set(x_321, 6, x_314); +lean_ctor_set(x_321, 7, x_315); +lean_ctor_set(x_321, 8, x_316); +lean_ctor_set(x_321, 9, x_317); +lean_ctor_set(x_321, 10, x_318); +lean_ctor_set(x_321, 11, x_319); +x_322 = lean_st_ref_set(x_3, x_321, x_302); +x_323 = lean_ctor_get(x_322, 1); +lean_inc(x_323); +lean_dec(x_322); +x_235 = x_296; +x_236 = x_323; +goto block_286; } } else { -uint8_t x_325; -lean_dec(x_234); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_325 = !lean_is_exclusive(x_296); -if (x_325 == 0) -{ -return x_296; -} -else -{ -lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_326 = lean_ctor_get(x_296, 0); -x_327 = lean_ctor_get(x_296, 1); -lean_inc(x_327); -lean_inc(x_326); -lean_dec(x_296); -x_328 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_328, 0, x_326); -lean_ctor_set(x_328, 1, x_327); -return x_328; -} -} -} -else -{ -lean_object* x_329; -lean_dec(x_234); -x_329 = lean_ctor_get(x_295, 0); -lean_inc(x_329); -lean_dec(x_295); -x_236 = x_329; -x_237 = x_293; -goto block_287; -} -} -} -else -{ -uint8_t x_337; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_337 = !lean_is_exclusive(x_233); -if (x_337 == 0) -{ -return x_233; -} -else -{ -lean_object* x_338; lean_object* x_339; lean_object* x_340; -x_338 = lean_ctor_get(x_233, 0); -x_339 = lean_ctor_get(x_233, 1); -lean_inc(x_339); -lean_inc(x_338); +uint8_t x_324; lean_dec(x_233); -x_340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_340, 0, x_338); -lean_ctor_set(x_340, 1, x_339); -return x_340; -} -} -} -else -{ -uint8_t x_341; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_341 = !lean_is_exclusive(x_229); -if (x_341 == 0) +x_324 = !lean_is_exclusive(x_295); +if (x_324 == 0) { -return x_229; +return x_295; } else { -lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_342 = lean_ctor_get(x_229, 0); -x_343 = lean_ctor_get(x_229, 1); -lean_inc(x_343); +lean_object* x_325; lean_object* x_326; lean_object* x_327; +x_325 = lean_ctor_get(x_295, 0); +x_326 = lean_ctor_get(x_295, 1); +lean_inc(x_326); +lean_inc(x_325); +lean_dec(x_295); +x_327 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_327, 0, x_325); +lean_ctor_set(x_327, 1, x_326); +return x_327; +} +} +} +else +{ +lean_object* x_328; +lean_dec(x_233); +x_328 = lean_ctor_get(x_294, 0); +lean_inc(x_328); +lean_dec(x_294); +x_235 = x_328; +x_236 = x_292; +goto block_286; +} +} +} +else +{ +uint8_t x_336; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_336 = !lean_is_exclusive(x_232); +if (x_336 == 0) +{ +return x_232; +} +else +{ +lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_337 = lean_ctor_get(x_232, 0); +x_338 = lean_ctor_get(x_232, 1); +lean_inc(x_338); +lean_inc(x_337); +lean_dec(x_232); +x_339 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_339, 0, x_337); +lean_ctor_set(x_339, 1, x_338); +return x_339; +} +} +} +else +{ +uint8_t x_340; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_340 = !lean_is_exclusive(x_228); +if (x_340 == 0) +{ +return x_228; +} +else +{ +lean_object* x_341; lean_object* x_342; lean_object* x_343; +x_341 = lean_ctor_get(x_228, 0); +x_342 = lean_ctor_get(x_228, 1); lean_inc(x_342); -lean_dec(x_229); -x_344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_344, 0, x_342); -lean_ctor_set(x_344, 1, x_343); -return x_344; +lean_inc(x_341); +lean_dec(x_228); +x_343 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_343, 0, x_341); +lean_ctor_set(x_343, 1, x_342); +return x_343; } } } case 3: { -uint8_t x_345; -x_345 = !lean_is_exclusive(x_1); -if (x_345 == 0) +uint8_t x_344; +x_344 = !lean_is_exclusive(x_1); +if (x_344 == 0) { -lean_object* x_346; lean_object* x_347; uint8_t x_348; -x_346 = lean_ctor_get(x_1, 0); -lean_inc(x_346); -x_347 = l_Lean_Meta_Closure_collectLevel(x_346, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_345; lean_object* x_346; uint8_t x_347; +x_345 = lean_ctor_get(x_1, 0); +lean_inc(x_345); +x_346 = l_Lean_Meta_Closure_collectLevel(x_345, 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_348 = !lean_is_exclusive(x_347); -if (x_348 == 0) +x_347 = !lean_is_exclusive(x_346); +if (x_347 == 0) { -lean_object* x_349; lean_object* x_350; -x_349 = lean_ctor_get(x_347, 0); -x_350 = lean_expr_update_sort(x_1, x_349); -lean_ctor_set(x_347, 0, x_350); -return x_347; +lean_object* x_348; lean_object* x_349; +x_348 = lean_ctor_get(x_346, 0); +x_349 = lean_expr_update_sort(x_1, x_348); +lean_ctor_set(x_346, 0, x_349); +return x_346; } else { -lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -x_351 = lean_ctor_get(x_347, 0); -x_352 = lean_ctor_get(x_347, 1); -lean_inc(x_352); +lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; +x_350 = lean_ctor_get(x_346, 0); +x_351 = lean_ctor_get(x_346, 1); lean_inc(x_351); -lean_dec(x_347); -x_353 = lean_expr_update_sort(x_1, x_351); -x_354 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_354, 0, x_353); -lean_ctor_set(x_354, 1, x_352); -return x_354; +lean_inc(x_350); +lean_dec(x_346); +x_352 = lean_expr_update_sort(x_1, x_350); +x_353 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_353, 0, x_352); +lean_ctor_set(x_353, 1, x_351); +return x_353; } } else { -lean_object* x_355; uint64_t 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; -x_355 = lean_ctor_get(x_1, 0); -x_356 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_inc(x_355); +lean_object* x_354; uint64_t x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; +x_354 = lean_ctor_get(x_1, 0); +x_355 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_inc(x_354); lean_dec(x_1); -lean_inc(x_355); -x_357 = l_Lean_Meta_Closure_collectLevel(x_355, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_inc(x_354); +x_356 = l_Lean_Meta_Closure_collectLevel(x_354, 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_358 = lean_ctor_get(x_357, 0); +x_357 = lean_ctor_get(x_356, 0); +lean_inc(x_357); +x_358 = lean_ctor_get(x_356, 1); lean_inc(x_358); -x_359 = lean_ctor_get(x_357, 1); -lean_inc(x_359); -if (lean_is_exclusive(x_357)) { - lean_ctor_release(x_357, 0); - lean_ctor_release(x_357, 1); - x_360 = x_357; +if (lean_is_exclusive(x_356)) { + lean_ctor_release(x_356, 0); + lean_ctor_release(x_356, 1); + x_359 = x_356; } else { - lean_dec_ref(x_357); - x_360 = lean_box(0); + lean_dec_ref(x_356); + x_359 = lean_box(0); } -x_361 = lean_alloc_ctor(3, 1, 8); -lean_ctor_set(x_361, 0, x_355); -lean_ctor_set_uint64(x_361, sizeof(void*)*1, x_356); -x_362 = lean_expr_update_sort(x_361, x_358); -if (lean_is_scalar(x_360)) { - x_363 = lean_alloc_ctor(0, 2, 0); +x_360 = lean_alloc_ctor(3, 1, 8); +lean_ctor_set(x_360, 0, x_354); +lean_ctor_set_uint64(x_360, sizeof(void*)*1, x_355); +x_361 = lean_expr_update_sort(x_360, x_357); +if (lean_is_scalar(x_359)) { + x_362 = lean_alloc_ctor(0, 2, 0); } else { - x_363 = x_360; + x_362 = x_359; } -lean_ctor_set(x_363, 0, x_362); -lean_ctor_set(x_363, 1, x_359); -return x_363; +lean_ctor_set(x_362, 0, x_361); +lean_ctor_set(x_362, 1, x_358); +return x_362; } } case 4: { -uint8_t x_364; -x_364 = !lean_is_exclusive(x_1); -if (x_364 == 0) +uint8_t x_363; +x_363 = !lean_is_exclusive(x_1); +if (x_363 == 0) { -lean_object* x_365; lean_object* x_366; uint8_t x_367; -x_365 = lean_ctor_get(x_1, 1); -lean_inc(x_365); -x_366 = l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__2(x_365, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_364; lean_object* x_365; uint8_t x_366; +x_364 = lean_ctor_get(x_1, 1); +lean_inc(x_364); +x_365 = l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__2(x_364, 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_367 = !lean_is_exclusive(x_366); -if (x_367 == 0) +x_366 = !lean_is_exclusive(x_365); +if (x_366 == 0) { -lean_object* x_368; lean_object* x_369; -x_368 = lean_ctor_get(x_366, 0); -x_369 = lean_expr_update_const(x_1, x_368); -lean_ctor_set(x_366, 0, x_369); -return x_366; +lean_object* x_367; lean_object* x_368; +x_367 = lean_ctor_get(x_365, 0); +x_368 = lean_expr_update_const(x_1, x_367); +lean_ctor_set(x_365, 0, x_368); +return x_365; } else { -lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; -x_370 = lean_ctor_get(x_366, 0); -x_371 = lean_ctor_get(x_366, 1); -lean_inc(x_371); +lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; +x_369 = lean_ctor_get(x_365, 0); +x_370 = lean_ctor_get(x_365, 1); lean_inc(x_370); -lean_dec(x_366); -x_372 = lean_expr_update_const(x_1, x_370); -x_373 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_373, 0, x_372); -lean_ctor_set(x_373, 1, x_371); -return x_373; +lean_inc(x_369); +lean_dec(x_365); +x_371 = lean_expr_update_const(x_1, x_369); +x_372 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_372, 0, x_371); +lean_ctor_set(x_372, 1, x_370); +return x_372; } } else { -lean_object* x_374; lean_object* x_375; uint64_t 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; -x_374 = lean_ctor_get(x_1, 0); -x_375 = lean_ctor_get(x_1, 1); -x_376 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_inc(x_375); +lean_object* x_373; lean_object* x_374; uint64_t 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; +x_373 = lean_ctor_get(x_1, 0); +x_374 = lean_ctor_get(x_1, 1); +x_375 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); lean_inc(x_374); +lean_inc(x_373); lean_dec(x_1); -lean_inc(x_375); -x_377 = l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__2(x_375, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_inc(x_374); +x_376 = l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__2(x_374, 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_378 = lean_ctor_get(x_377, 0); +x_377 = lean_ctor_get(x_376, 0); +lean_inc(x_377); +x_378 = lean_ctor_get(x_376, 1); lean_inc(x_378); -x_379 = lean_ctor_get(x_377, 1); -lean_inc(x_379); -if (lean_is_exclusive(x_377)) { - lean_ctor_release(x_377, 0); - lean_ctor_release(x_377, 1); - x_380 = x_377; +if (lean_is_exclusive(x_376)) { + lean_ctor_release(x_376, 0); + lean_ctor_release(x_376, 1); + x_379 = x_376; } else { - lean_dec_ref(x_377); - x_380 = lean_box(0); + lean_dec_ref(x_376); + x_379 = lean_box(0); } -x_381 = lean_alloc_ctor(4, 2, 8); -lean_ctor_set(x_381, 0, x_374); -lean_ctor_set(x_381, 1, x_375); -lean_ctor_set_uint64(x_381, sizeof(void*)*2, x_376); -x_382 = lean_expr_update_const(x_381, x_378); -if (lean_is_scalar(x_380)) { - x_383 = lean_alloc_ctor(0, 2, 0); +x_380 = lean_alloc_ctor(4, 2, 8); +lean_ctor_set(x_380, 0, x_373); +lean_ctor_set(x_380, 1, x_374); +lean_ctor_set_uint64(x_380, sizeof(void*)*2, x_375); +x_381 = lean_expr_update_const(x_380, x_377); +if (lean_is_scalar(x_379)) { + x_382 = lean_alloc_ctor(0, 2, 0); } else { - x_383 = x_380; + x_382 = x_379; } -lean_ctor_set(x_383, 0, x_382); -lean_ctor_set(x_383, 1, x_379); -return x_383; +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_378); +return x_382; } } case 5: { -lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_454; uint8_t x_497; -x_384 = lean_ctor_get(x_1, 0); +lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_453; uint8_t x_496; +x_383 = lean_ctor_get(x_1, 0); +lean_inc(x_383); +x_384 = lean_ctor_get(x_1, 1); lean_inc(x_384); -x_385 = lean_ctor_get(x_1, 1); -lean_inc(x_385); -x_497 = l_Lean_Expr_hasLevelParam(x_384); +x_496 = l_Lean_Expr_hasLevelParam(x_383); +if (x_496 == 0) +{ +uint8_t x_497; +x_497 = l_Lean_Expr_hasFVar(x_383); if (x_497 == 0) { uint8_t x_498; -x_498 = l_Lean_Expr_hasFVar(x_384); +x_498 = l_Lean_Expr_hasMVar(x_383); if (x_498 == 0) { -uint8_t x_499; -x_499 = l_Lean_Expr_hasMVar(x_384); -if (x_499 == 0) +x_385 = x_383; +x_386 = x_8; +goto block_452; +} +else { -x_386 = x_384; -x_387 = x_8; -goto block_453; +lean_object* x_499; +x_499 = lean_box(0); +x_453 = x_499; +goto block_495; +} } else { lean_object* x_500; x_500 = lean_box(0); -x_454 = x_500; -goto block_496; +x_453 = x_500; +goto block_495; } } else { lean_object* x_501; x_501 = lean_box(0); -x_454 = x_501; -goto block_496; +x_453 = x_501; +goto block_495; } -} -else +block_452: { -lean_object* x_502; -x_502 = lean_box(0); -x_454 = x_502; -goto block_496; -} -block_453: +lean_object* x_387; lean_object* x_388; lean_object* x_403; uint8_t x_446; +x_446 = l_Lean_Expr_hasLevelParam(x_384); +if (x_446 == 0) { -lean_object* x_388; lean_object* x_389; lean_object* x_404; uint8_t x_447; -x_447 = l_Lean_Expr_hasLevelParam(x_385); +uint8_t x_447; +x_447 = l_Lean_Expr_hasFVar(x_384); if (x_447 == 0) { uint8_t x_448; -x_448 = l_Lean_Expr_hasFVar(x_385); +x_448 = l_Lean_Expr_hasMVar(x_384); if (x_448 == 0) { -uint8_t x_449; -x_449 = l_Lean_Expr_hasMVar(x_385); -if (x_449 == 0) -{ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_388 = x_385; -x_389 = x_387; -goto block_403; +x_387 = x_384; +x_388 = x_386; +goto block_402; +} +else +{ +lean_object* x_449; +x_449 = lean_box(0); +x_403 = x_449; +goto block_445; +} } else { lean_object* x_450; x_450 = lean_box(0); -x_404 = x_450; -goto block_446; +x_403 = x_450; +goto block_445; } } else { lean_object* x_451; x_451 = lean_box(0); -x_404 = x_451; -goto block_446; +x_403 = x_451; +goto block_445; } -} -else -{ -lean_object* x_452; -x_452 = lean_box(0); -x_404 = x_452; -goto block_446; -} -block_403: +block_402: { if (lean_obj_tag(x_1) == 5) { -uint8_t x_390; -x_390 = !lean_is_exclusive(x_1); -if (x_390 == 0) +uint8_t x_389; +x_389 = !lean_is_exclusive(x_1); +if (x_389 == 0) { -lean_object* x_391; lean_object* x_392; -x_391 = lean_expr_update_app(x_1, x_386, x_388); -x_392 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_392, 0, x_391); -lean_ctor_set(x_392, 1, x_389); -return x_392; +lean_object* x_390; lean_object* x_391; +x_390 = lean_expr_update_app(x_1, x_385, x_387); +x_391 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_391, 0, x_390); +lean_ctor_set(x_391, 1, x_388); +return x_391; } else { -lean_object* x_393; lean_object* x_394; uint64_t x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; -x_393 = lean_ctor_get(x_1, 0); -x_394 = lean_ctor_get(x_1, 1); -x_395 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_inc(x_394); +lean_object* x_392; lean_object* x_393; uint64_t x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; +x_392 = lean_ctor_get(x_1, 0); +x_393 = lean_ctor_get(x_1, 1); +x_394 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); lean_inc(x_393); +lean_inc(x_392); lean_dec(x_1); -x_396 = lean_alloc_ctor(5, 2, 8); -lean_ctor_set(x_396, 0, x_393); -lean_ctor_set(x_396, 1, x_394); -lean_ctor_set_uint64(x_396, sizeof(void*)*2, x_395); -x_397 = lean_expr_update_app(x_396, x_386, x_388); -x_398 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_398, 0, x_397); -lean_ctor_set(x_398, 1, x_389); -return x_398; +x_395 = lean_alloc_ctor(5, 2, 8); +lean_ctor_set(x_395, 0, x_392); +lean_ctor_set(x_395, 1, x_393); +lean_ctor_set_uint64(x_395, sizeof(void*)*2, x_394); +x_396 = lean_expr_update_app(x_395, x_385, x_387); +x_397 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_397, 0, x_396); +lean_ctor_set(x_397, 1, x_388); +return x_397; } } else { -lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; -lean_dec(x_388); -lean_dec(x_386); +lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; +lean_dec(x_387); +lean_dec(x_385); lean_dec(x_1); -x_399 = l_Lean_instInhabitedExpr; -x_400 = l_Lean_Meta_Closure_collectExprAux___closed__10; -x_401 = lean_panic_fn(x_399, x_400); -x_402 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_389); -return x_402; +x_398 = l_Lean_instInhabitedExpr; +x_399 = l_Lean_Meta_Closure_collectExprAux___closed__10; +x_400 = lean_panic_fn(x_398, x_399); +x_401 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_401, 0, x_400); +lean_ctor_set(x_401, 1, x_388); +return x_401; } } -block_446: +block_445: { -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_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_dec(x_403); +x_404 = lean_st_ref_get(x_7, x_386); +x_405 = lean_ctor_get(x_404, 1); +lean_inc(x_405); lean_dec(x_404); -x_405 = lean_st_ref_get(x_7, x_387); -x_406 = lean_ctor_get(x_405, 1); -lean_inc(x_406); -lean_dec(x_405); -x_407 = lean_st_ref_get(x_3, x_406); -x_408 = lean_ctor_get(x_407, 0); +x_406 = lean_st_ref_get(x_3, x_405); +x_407 = lean_ctor_get(x_406, 0); +lean_inc(x_407); +x_408 = lean_ctor_get(x_406, 1); lean_inc(x_408); +lean_dec(x_406); x_409 = lean_ctor_get(x_407, 1); lean_inc(x_409); lean_dec(x_407); -x_410 = lean_ctor_get(x_408, 1); -lean_inc(x_410); -lean_dec(x_408); -x_411 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_410, x_385); -lean_dec(x_410); +x_410 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_409, x_384); +lean_dec(x_409); +if (lean_obj_tag(x_410) == 0) +{ +lean_object* x_411; +lean_inc(x_7); +lean_inc(x_384); +x_411 = l_Lean_Meta_Closure_collectExprAux(x_384, x_2, x_3, x_4, x_5, x_6, x_7, x_408); if (lean_obj_tag(x_411) == 0) { -lean_object* x_412; -lean_inc(x_7); -lean_inc(x_385); -x_412 = l_Lean_Meta_Closure_collectExprAux(x_385, x_2, x_3, x_4, x_5, x_6, x_7, x_409); -if (lean_obj_tag(x_412) == 0) -{ -lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; uint8_t x_420; -x_413 = lean_ctor_get(x_412, 0); +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; uint8_t x_419; +x_412 = lean_ctor_get(x_411, 0); +lean_inc(x_412); +x_413 = lean_ctor_get(x_411, 1); lean_inc(x_413); -x_414 = lean_ctor_get(x_412, 1); -lean_inc(x_414); -lean_dec(x_412); -x_415 = lean_st_ref_get(x_7, x_414); +lean_dec(x_411); +x_414 = lean_st_ref_get(x_7, x_413); lean_dec(x_7); -x_416 = lean_ctor_get(x_415, 1); -lean_inc(x_416); -lean_dec(x_415); -x_417 = lean_st_ref_take(x_3, x_416); -x_418 = lean_ctor_get(x_417, 0); +x_415 = lean_ctor_get(x_414, 1); +lean_inc(x_415); +lean_dec(x_414); +x_416 = lean_st_ref_take(x_3, x_415); +x_417 = lean_ctor_get(x_416, 0); +lean_inc(x_417); +x_418 = lean_ctor_get(x_416, 1); lean_inc(x_418); -x_419 = lean_ctor_get(x_417, 1); -lean_inc(x_419); -lean_dec(x_417); -x_420 = !lean_is_exclusive(x_418); -if (x_420 == 0) +lean_dec(x_416); +x_419 = !lean_is_exclusive(x_417); +if (x_419 == 0) { -lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; -x_421 = lean_ctor_get(x_418, 1); -lean_inc(x_413); -x_422 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_421, x_385, x_413); -lean_ctor_set(x_418, 1, x_422); -x_423 = lean_st_ref_set(x_3, x_418, x_419); -x_424 = lean_ctor_get(x_423, 1); -lean_inc(x_424); -lean_dec(x_423); -x_388 = x_413; -x_389 = x_424; -goto block_403; +lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; +x_420 = lean_ctor_get(x_417, 1); +lean_inc(x_412); +x_421 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_420, x_384, x_412); +lean_ctor_set(x_417, 1, x_421); +x_422 = lean_st_ref_set(x_3, x_417, x_418); +x_423 = lean_ctor_get(x_422, 1); +lean_inc(x_423); +lean_dec(x_422); +x_387 = x_412; +x_388 = x_423; +goto block_402; } else { -lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; -x_425 = lean_ctor_get(x_418, 0); -x_426 = lean_ctor_get(x_418, 1); -x_427 = lean_ctor_get(x_418, 2); -x_428 = lean_ctor_get(x_418, 3); -x_429 = lean_ctor_get(x_418, 4); -x_430 = lean_ctor_get(x_418, 5); -x_431 = lean_ctor_get(x_418, 6); -x_432 = lean_ctor_get(x_418, 7); -x_433 = lean_ctor_get(x_418, 8); -x_434 = lean_ctor_get(x_418, 9); -x_435 = lean_ctor_get(x_418, 10); -x_436 = lean_ctor_get(x_418, 11); -lean_inc(x_436); +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; +x_424 = lean_ctor_get(x_417, 0); +x_425 = lean_ctor_get(x_417, 1); +x_426 = lean_ctor_get(x_417, 2); +x_427 = lean_ctor_get(x_417, 3); +x_428 = lean_ctor_get(x_417, 4); +x_429 = lean_ctor_get(x_417, 5); +x_430 = lean_ctor_get(x_417, 6); +x_431 = lean_ctor_get(x_417, 7); +x_432 = lean_ctor_get(x_417, 8); +x_433 = lean_ctor_get(x_417, 9); +x_434 = lean_ctor_get(x_417, 10); +x_435 = lean_ctor_get(x_417, 11); lean_inc(x_435); lean_inc(x_434); lean_inc(x_433); @@ -6201,153 +6223,153 @@ lean_inc(x_428); lean_inc(x_427); lean_inc(x_426); lean_inc(x_425); -lean_dec(x_418); -lean_inc(x_413); -x_437 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_426, x_385, x_413); -x_438 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_438, 0, x_425); -lean_ctor_set(x_438, 1, x_437); -lean_ctor_set(x_438, 2, x_427); -lean_ctor_set(x_438, 3, x_428); -lean_ctor_set(x_438, 4, x_429); -lean_ctor_set(x_438, 5, x_430); -lean_ctor_set(x_438, 6, x_431); -lean_ctor_set(x_438, 7, x_432); -lean_ctor_set(x_438, 8, x_433); -lean_ctor_set(x_438, 9, x_434); -lean_ctor_set(x_438, 10, x_435); -lean_ctor_set(x_438, 11, x_436); -x_439 = lean_st_ref_set(x_3, x_438, x_419); -x_440 = lean_ctor_get(x_439, 1); -lean_inc(x_440); -lean_dec(x_439); -x_388 = x_413; -x_389 = x_440; -goto block_403; +lean_inc(x_424); +lean_dec(x_417); +lean_inc(x_412); +x_436 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_425, x_384, x_412); +x_437 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_437, 0, x_424); +lean_ctor_set(x_437, 1, x_436); +lean_ctor_set(x_437, 2, x_426); +lean_ctor_set(x_437, 3, x_427); +lean_ctor_set(x_437, 4, x_428); +lean_ctor_set(x_437, 5, x_429); +lean_ctor_set(x_437, 6, x_430); +lean_ctor_set(x_437, 7, x_431); +lean_ctor_set(x_437, 8, x_432); +lean_ctor_set(x_437, 9, x_433); +lean_ctor_set(x_437, 10, x_434); +lean_ctor_set(x_437, 11, x_435); +x_438 = lean_st_ref_set(x_3, x_437, x_418); +x_439 = lean_ctor_get(x_438, 1); +lean_inc(x_439); +lean_dec(x_438); +x_387 = x_412; +x_388 = x_439; +goto block_402; } } else { -uint8_t x_441; -lean_dec(x_386); +uint8_t x_440; lean_dec(x_385); +lean_dec(x_384); lean_dec(x_7); lean_dec(x_1); -x_441 = !lean_is_exclusive(x_412); -if (x_441 == 0) +x_440 = !lean_is_exclusive(x_411); +if (x_440 == 0) { -return x_412; +return x_411; } else { -lean_object* x_442; lean_object* x_443; lean_object* x_444; -x_442 = lean_ctor_get(x_412, 0); -x_443 = lean_ctor_get(x_412, 1); -lean_inc(x_443); +lean_object* x_441; lean_object* x_442; lean_object* x_443; +x_441 = lean_ctor_get(x_411, 0); +x_442 = lean_ctor_get(x_411, 1); lean_inc(x_442); -lean_dec(x_412); -x_444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_444, 0, x_442); -lean_ctor_set(x_444, 1, x_443); -return x_444; +lean_inc(x_441); +lean_dec(x_411); +x_443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_443, 0, x_441); +lean_ctor_set(x_443, 1, x_442); +return x_443; } } } else { -lean_object* x_445; -lean_dec(x_385); +lean_object* x_444; +lean_dec(x_384); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_445 = lean_ctor_get(x_411, 0); -lean_inc(x_445); -lean_dec(x_411); -x_388 = x_445; -x_389 = x_409; -goto block_403; +x_444 = lean_ctor_get(x_410, 0); +lean_inc(x_444); +lean_dec(x_410); +x_387 = x_444; +x_388 = x_408; +goto block_402; } } } -block_496: +block_495: { -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_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_dec(x_453); +x_454 = lean_st_ref_get(x_7, x_8); +x_455 = lean_ctor_get(x_454, 1); +lean_inc(x_455); lean_dec(x_454); -x_455 = lean_st_ref_get(x_7, x_8); -x_456 = lean_ctor_get(x_455, 1); -lean_inc(x_456); -lean_dec(x_455); -x_457 = lean_st_ref_get(x_3, x_456); -x_458 = lean_ctor_get(x_457, 0); +x_456 = lean_st_ref_get(x_3, x_455); +x_457 = lean_ctor_get(x_456, 0); +lean_inc(x_457); +x_458 = lean_ctor_get(x_456, 1); lean_inc(x_458); +lean_dec(x_456); x_459 = lean_ctor_get(x_457, 1); lean_inc(x_459); lean_dec(x_457); -x_460 = lean_ctor_get(x_458, 1); -lean_inc(x_460); -lean_dec(x_458); -x_461 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_460, x_384); -lean_dec(x_460); -if (lean_obj_tag(x_461) == 0) +x_460 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_459, x_383); +lean_dec(x_459); +if (lean_obj_tag(x_460) == 0) { -lean_object* x_462; +lean_object* x_461; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_384); -x_462 = l_Lean_Meta_Closure_collectExprAux(x_384, x_2, x_3, x_4, x_5, x_6, x_7, x_459); -if (lean_obj_tag(x_462) == 0) +lean_inc(x_383); +x_461 = l_Lean_Meta_Closure_collectExprAux(x_383, x_2, x_3, x_4, x_5, x_6, x_7, x_458); +if (lean_obj_tag(x_461) == 0) { -lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; uint8_t x_470; -x_463 = lean_ctor_get(x_462, 0); +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; uint8_t x_469; +x_462 = lean_ctor_get(x_461, 0); +lean_inc(x_462); +x_463 = lean_ctor_get(x_461, 1); lean_inc(x_463); -x_464 = lean_ctor_get(x_462, 1); -lean_inc(x_464); -lean_dec(x_462); -x_465 = lean_st_ref_get(x_7, x_464); -x_466 = lean_ctor_get(x_465, 1); -lean_inc(x_466); -lean_dec(x_465); -x_467 = lean_st_ref_take(x_3, x_466); -x_468 = lean_ctor_get(x_467, 0); +lean_dec(x_461); +x_464 = lean_st_ref_get(x_7, x_463); +x_465 = lean_ctor_get(x_464, 1); +lean_inc(x_465); +lean_dec(x_464); +x_466 = lean_st_ref_take(x_3, x_465); +x_467 = lean_ctor_get(x_466, 0); +lean_inc(x_467); +x_468 = lean_ctor_get(x_466, 1); lean_inc(x_468); -x_469 = lean_ctor_get(x_467, 1); -lean_inc(x_469); -lean_dec(x_467); -x_470 = !lean_is_exclusive(x_468); -if (x_470 == 0) +lean_dec(x_466); +x_469 = !lean_is_exclusive(x_467); +if (x_469 == 0) { -lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; -x_471 = lean_ctor_get(x_468, 1); -lean_inc(x_463); -x_472 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_471, x_384, x_463); -lean_ctor_set(x_468, 1, x_472); -x_473 = lean_st_ref_set(x_3, x_468, x_469); -x_474 = lean_ctor_get(x_473, 1); -lean_inc(x_474); -lean_dec(x_473); -x_386 = x_463; -x_387 = x_474; -goto block_453; +lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; +x_470 = lean_ctor_get(x_467, 1); +lean_inc(x_462); +x_471 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_470, x_383, x_462); +lean_ctor_set(x_467, 1, x_471); +x_472 = lean_st_ref_set(x_3, x_467, x_468); +x_473 = lean_ctor_get(x_472, 1); +lean_inc(x_473); +lean_dec(x_472); +x_385 = x_462; +x_386 = x_473; +goto block_452; } else { -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; -x_475 = lean_ctor_get(x_468, 0); -x_476 = lean_ctor_get(x_468, 1); -x_477 = lean_ctor_get(x_468, 2); -x_478 = lean_ctor_get(x_468, 3); -x_479 = lean_ctor_get(x_468, 4); -x_480 = lean_ctor_get(x_468, 5); -x_481 = lean_ctor_get(x_468, 6); -x_482 = lean_ctor_get(x_468, 7); -x_483 = lean_ctor_get(x_468, 8); -x_484 = lean_ctor_get(x_468, 9); -x_485 = lean_ctor_get(x_468, 10); -x_486 = lean_ctor_get(x_468, 11); -lean_inc(x_486); +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; +x_474 = lean_ctor_get(x_467, 0); +x_475 = lean_ctor_get(x_467, 1); +x_476 = lean_ctor_get(x_467, 2); +x_477 = lean_ctor_get(x_467, 3); +x_478 = lean_ctor_get(x_467, 4); +x_479 = lean_ctor_get(x_467, 5); +x_480 = lean_ctor_get(x_467, 6); +x_481 = lean_ctor_get(x_467, 7); +x_482 = lean_ctor_get(x_467, 8); +x_483 = lean_ctor_get(x_467, 9); +x_484 = lean_ctor_get(x_467, 10); +x_485 = lean_ctor_get(x_467, 11); lean_inc(x_485); lean_inc(x_484); lean_inc(x_483); @@ -6359,296 +6381,296 @@ lean_inc(x_478); lean_inc(x_477); lean_inc(x_476); lean_inc(x_475); -lean_dec(x_468); -lean_inc(x_463); -x_487 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_476, x_384, x_463); -x_488 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_488, 0, x_475); -lean_ctor_set(x_488, 1, x_487); -lean_ctor_set(x_488, 2, x_477); -lean_ctor_set(x_488, 3, x_478); -lean_ctor_set(x_488, 4, x_479); -lean_ctor_set(x_488, 5, x_480); -lean_ctor_set(x_488, 6, x_481); -lean_ctor_set(x_488, 7, x_482); -lean_ctor_set(x_488, 8, x_483); -lean_ctor_set(x_488, 9, x_484); -lean_ctor_set(x_488, 10, x_485); -lean_ctor_set(x_488, 11, x_486); -x_489 = lean_st_ref_set(x_3, x_488, x_469); -x_490 = lean_ctor_get(x_489, 1); -lean_inc(x_490); -lean_dec(x_489); -x_386 = x_463; -x_387 = x_490; -goto block_453; +lean_inc(x_474); +lean_dec(x_467); +lean_inc(x_462); +x_486 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_475, x_383, x_462); +x_487 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_487, 0, x_474); +lean_ctor_set(x_487, 1, x_486); +lean_ctor_set(x_487, 2, x_476); +lean_ctor_set(x_487, 3, x_477); +lean_ctor_set(x_487, 4, x_478); +lean_ctor_set(x_487, 5, x_479); +lean_ctor_set(x_487, 6, x_480); +lean_ctor_set(x_487, 7, x_481); +lean_ctor_set(x_487, 8, x_482); +lean_ctor_set(x_487, 9, x_483); +lean_ctor_set(x_487, 10, x_484); +lean_ctor_set(x_487, 11, x_485); +x_488 = lean_st_ref_set(x_3, x_487, x_468); +x_489 = lean_ctor_get(x_488, 1); +lean_inc(x_489); +lean_dec(x_488); +x_385 = x_462; +x_386 = x_489; +goto block_452; } } else { -uint8_t x_491; -lean_dec(x_385); +uint8_t x_490; lean_dec(x_384); +lean_dec(x_383); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_491 = !lean_is_exclusive(x_462); -if (x_491 == 0) +x_490 = !lean_is_exclusive(x_461); +if (x_490 == 0) { -return x_462; +return x_461; } else { -lean_object* x_492; lean_object* x_493; lean_object* x_494; -x_492 = lean_ctor_get(x_462, 0); -x_493 = lean_ctor_get(x_462, 1); -lean_inc(x_493); +lean_object* x_491; lean_object* x_492; lean_object* x_493; +x_491 = lean_ctor_get(x_461, 0); +x_492 = lean_ctor_get(x_461, 1); lean_inc(x_492); -lean_dec(x_462); -x_494 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_494, 0, x_492); -lean_ctor_set(x_494, 1, x_493); -return x_494; +lean_inc(x_491); +lean_dec(x_461); +x_493 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_493, 0, x_491); +lean_ctor_set(x_493, 1, x_492); +return x_493; } } } else { -lean_object* x_495; -lean_dec(x_384); -x_495 = lean_ctor_get(x_461, 0); -lean_inc(x_495); -lean_dec(x_461); -x_386 = x_495; -x_387 = x_459; -goto block_453; +lean_object* x_494; +lean_dec(x_383); +x_494 = lean_ctor_get(x_460, 0); +lean_inc(x_494); +lean_dec(x_460); +x_385 = x_494; +x_386 = x_458; +goto block_452; } } } case 6: { -lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_577; uint8_t x_620; -x_503 = lean_ctor_get(x_1, 1); +lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_576; uint8_t x_619; +x_502 = lean_ctor_get(x_1, 1); +lean_inc(x_502); +x_503 = lean_ctor_get(x_1, 2); lean_inc(x_503); -x_504 = lean_ctor_get(x_1, 2); -lean_inc(x_504); -x_620 = l_Lean_Expr_hasLevelParam(x_503); +x_619 = l_Lean_Expr_hasLevelParam(x_502); +if (x_619 == 0) +{ +uint8_t x_620; +x_620 = l_Lean_Expr_hasFVar(x_502); if (x_620 == 0) { uint8_t x_621; -x_621 = l_Lean_Expr_hasFVar(x_503); +x_621 = l_Lean_Expr_hasMVar(x_502); if (x_621 == 0) { -uint8_t x_622; -x_622 = l_Lean_Expr_hasMVar(x_503); -if (x_622 == 0) +x_504 = x_502; +x_505 = x_8; +goto block_575; +} +else { -x_505 = x_503; -x_506 = x_8; -goto block_576; +lean_object* x_622; +x_622 = lean_box(0); +x_576 = x_622; +goto block_618; +} } else { lean_object* x_623; x_623 = lean_box(0); -x_577 = x_623; -goto block_619; +x_576 = x_623; +goto block_618; } } else { lean_object* x_624; x_624 = lean_box(0); -x_577 = x_624; -goto block_619; +x_576 = x_624; +goto block_618; } -} -else +block_575: { -lean_object* x_625; -x_625 = lean_box(0); -x_577 = x_625; -goto block_619; -} -block_576: +lean_object* x_506; lean_object* x_507; lean_object* x_526; uint8_t x_569; +x_569 = l_Lean_Expr_hasLevelParam(x_503); +if (x_569 == 0) { -lean_object* x_507; lean_object* x_508; lean_object* x_527; uint8_t x_570; -x_570 = l_Lean_Expr_hasLevelParam(x_504); +uint8_t x_570; +x_570 = l_Lean_Expr_hasFVar(x_503); if (x_570 == 0) { uint8_t x_571; -x_571 = l_Lean_Expr_hasFVar(x_504); +x_571 = l_Lean_Expr_hasMVar(x_503); if (x_571 == 0) { -uint8_t x_572; -x_572 = l_Lean_Expr_hasMVar(x_504); -if (x_572 == 0) -{ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_507 = x_504; -x_508 = x_506; -goto block_526; +x_506 = x_503; +x_507 = x_505; +goto block_525; +} +else +{ +lean_object* x_572; +x_572 = lean_box(0); +x_526 = x_572; +goto block_568; +} } else { lean_object* x_573; x_573 = lean_box(0); -x_527 = x_573; -goto block_569; +x_526 = x_573; +goto block_568; } } else { lean_object* x_574; x_574 = lean_box(0); -x_527 = x_574; -goto block_569; +x_526 = x_574; +goto block_568; } -} -else -{ -lean_object* x_575; -x_575 = lean_box(0); -x_527 = x_575; -goto block_569; -} -block_526: +block_525: { if (lean_obj_tag(x_1) == 6) { -uint8_t x_509; -x_509 = !lean_is_exclusive(x_1); -if (x_509 == 0) +uint8_t x_508; +x_508 = !lean_is_exclusive(x_1); +if (x_508 == 0) { -uint64_t x_510; uint8_t x_511; lean_object* x_512; lean_object* x_513; -x_510 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -x_511 = (uint8_t)((x_510 << 24) >> 61); -x_512 = lean_expr_update_lambda(x_1, x_511, x_505, x_507); -x_513 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_513, 0, x_512); -lean_ctor_set(x_513, 1, x_508); -return x_513; +uint64_t x_509; uint8_t x_510; lean_object* x_511; lean_object* x_512; +x_509 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +x_510 = (uint8_t)((x_509 << 24) >> 61); +x_511 = lean_expr_update_lambda(x_1, x_510, x_504, x_506); +x_512 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_512, 0, x_511); +lean_ctor_set(x_512, 1, x_507); +return x_512; } else { -lean_object* x_514; lean_object* x_515; lean_object* x_516; uint64_t x_517; lean_object* x_518; uint8_t x_519; lean_object* x_520; lean_object* x_521; -x_514 = lean_ctor_get(x_1, 0); -x_515 = lean_ctor_get(x_1, 1); -x_516 = lean_ctor_get(x_1, 2); -x_517 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -lean_inc(x_516); +lean_object* x_513; lean_object* x_514; lean_object* x_515; uint64_t x_516; lean_object* x_517; uint8_t x_518; lean_object* x_519; lean_object* x_520; +x_513 = lean_ctor_get(x_1, 0); +x_514 = lean_ctor_get(x_1, 1); +x_515 = lean_ctor_get(x_1, 2); +x_516 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); lean_inc(x_515); lean_inc(x_514); +lean_inc(x_513); lean_dec(x_1); -x_518 = lean_alloc_ctor(6, 3, 8); -lean_ctor_set(x_518, 0, x_514); -lean_ctor_set(x_518, 1, x_515); -lean_ctor_set(x_518, 2, x_516); -lean_ctor_set_uint64(x_518, sizeof(void*)*3, x_517); -x_519 = (uint8_t)((x_517 << 24) >> 61); -x_520 = lean_expr_update_lambda(x_518, x_519, x_505, x_507); -x_521 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_521, 0, x_520); -lean_ctor_set(x_521, 1, x_508); -return x_521; +x_517 = lean_alloc_ctor(6, 3, 8); +lean_ctor_set(x_517, 0, x_513); +lean_ctor_set(x_517, 1, x_514); +lean_ctor_set(x_517, 2, x_515); +lean_ctor_set_uint64(x_517, sizeof(void*)*3, x_516); +x_518 = (uint8_t)((x_516 << 24) >> 61); +x_519 = lean_expr_update_lambda(x_517, x_518, x_504, x_506); +x_520 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_520, 0, x_519); +lean_ctor_set(x_520, 1, x_507); +return x_520; } } else { -lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; -lean_dec(x_507); -lean_dec(x_505); +lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; +lean_dec(x_506); +lean_dec(x_504); lean_dec(x_1); -x_522 = l_Lean_instInhabitedExpr; -x_523 = l_Lean_Meta_Closure_collectExprAux___closed__13; -x_524 = lean_panic_fn(x_522, x_523); -x_525 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_525, 0, x_524); -lean_ctor_set(x_525, 1, x_508); -return x_525; +x_521 = l_Lean_instInhabitedExpr; +x_522 = l_Lean_Meta_Closure_collectExprAux___closed__13; +x_523 = lean_panic_fn(x_521, x_522); +x_524 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_524, 0, x_523); +lean_ctor_set(x_524, 1, x_507); +return x_524; } } -block_569: +block_568: { -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_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_dec(x_526); +x_527 = lean_st_ref_get(x_7, x_505); +x_528 = lean_ctor_get(x_527, 1); +lean_inc(x_528); lean_dec(x_527); -x_528 = lean_st_ref_get(x_7, x_506); -x_529 = lean_ctor_get(x_528, 1); -lean_inc(x_529); -lean_dec(x_528); -x_530 = lean_st_ref_get(x_3, x_529); -x_531 = lean_ctor_get(x_530, 0); +x_529 = lean_st_ref_get(x_3, x_528); +x_530 = lean_ctor_get(x_529, 0); +lean_inc(x_530); +x_531 = lean_ctor_get(x_529, 1); lean_inc(x_531); +lean_dec(x_529); x_532 = lean_ctor_get(x_530, 1); lean_inc(x_532); lean_dec(x_530); -x_533 = lean_ctor_get(x_531, 1); -lean_inc(x_533); -lean_dec(x_531); -x_534 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_533, x_504); -lean_dec(x_533); +x_533 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_532, x_503); +lean_dec(x_532); +if (lean_obj_tag(x_533) == 0) +{ +lean_object* x_534; +lean_inc(x_7); +lean_inc(x_503); +x_534 = l_Lean_Meta_Closure_collectExprAux(x_503, x_2, x_3, x_4, x_5, x_6, x_7, x_531); if (lean_obj_tag(x_534) == 0) { -lean_object* x_535; -lean_inc(x_7); -lean_inc(x_504); -x_535 = l_Lean_Meta_Closure_collectExprAux(x_504, x_2, x_3, x_4, x_5, x_6, x_7, x_532); -if (lean_obj_tag(x_535) == 0) -{ -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; uint8_t x_543; -x_536 = lean_ctor_get(x_535, 0); +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; uint8_t x_542; +x_535 = lean_ctor_get(x_534, 0); +lean_inc(x_535); +x_536 = lean_ctor_get(x_534, 1); lean_inc(x_536); -x_537 = lean_ctor_get(x_535, 1); -lean_inc(x_537); -lean_dec(x_535); -x_538 = lean_st_ref_get(x_7, x_537); +lean_dec(x_534); +x_537 = lean_st_ref_get(x_7, x_536); lean_dec(x_7); -x_539 = lean_ctor_get(x_538, 1); -lean_inc(x_539); -lean_dec(x_538); -x_540 = lean_st_ref_take(x_3, x_539); -x_541 = lean_ctor_get(x_540, 0); +x_538 = lean_ctor_get(x_537, 1); +lean_inc(x_538); +lean_dec(x_537); +x_539 = lean_st_ref_take(x_3, x_538); +x_540 = lean_ctor_get(x_539, 0); +lean_inc(x_540); +x_541 = lean_ctor_get(x_539, 1); lean_inc(x_541); -x_542 = lean_ctor_get(x_540, 1); -lean_inc(x_542); -lean_dec(x_540); -x_543 = !lean_is_exclusive(x_541); -if (x_543 == 0) +lean_dec(x_539); +x_542 = !lean_is_exclusive(x_540); +if (x_542 == 0) { -lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; -x_544 = lean_ctor_get(x_541, 1); -lean_inc(x_536); -x_545 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_544, x_504, x_536); -lean_ctor_set(x_541, 1, x_545); -x_546 = lean_st_ref_set(x_3, x_541, x_542); -x_547 = lean_ctor_get(x_546, 1); -lean_inc(x_547); -lean_dec(x_546); -x_507 = x_536; -x_508 = x_547; -goto block_526; +lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; +x_543 = lean_ctor_get(x_540, 1); +lean_inc(x_535); +x_544 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_543, x_503, x_535); +lean_ctor_set(x_540, 1, x_544); +x_545 = lean_st_ref_set(x_3, x_540, x_541); +x_546 = lean_ctor_get(x_545, 1); +lean_inc(x_546); +lean_dec(x_545); +x_506 = x_535; +x_507 = x_546; +goto block_525; } else { -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; -x_548 = lean_ctor_get(x_541, 0); -x_549 = lean_ctor_get(x_541, 1); -x_550 = lean_ctor_get(x_541, 2); -x_551 = lean_ctor_get(x_541, 3); -x_552 = lean_ctor_get(x_541, 4); -x_553 = lean_ctor_get(x_541, 5); -x_554 = lean_ctor_get(x_541, 6); -x_555 = lean_ctor_get(x_541, 7); -x_556 = lean_ctor_get(x_541, 8); -x_557 = lean_ctor_get(x_541, 9); -x_558 = lean_ctor_get(x_541, 10); -x_559 = lean_ctor_get(x_541, 11); -lean_inc(x_559); +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; +x_547 = lean_ctor_get(x_540, 0); +x_548 = lean_ctor_get(x_540, 1); +x_549 = lean_ctor_get(x_540, 2); +x_550 = lean_ctor_get(x_540, 3); +x_551 = lean_ctor_get(x_540, 4); +x_552 = lean_ctor_get(x_540, 5); +x_553 = lean_ctor_get(x_540, 6); +x_554 = lean_ctor_get(x_540, 7); +x_555 = lean_ctor_get(x_540, 8); +x_556 = lean_ctor_get(x_540, 9); +x_557 = lean_ctor_get(x_540, 10); +x_558 = lean_ctor_get(x_540, 11); lean_inc(x_558); lean_inc(x_557); lean_inc(x_556); @@ -6660,153 +6682,153 @@ lean_inc(x_551); lean_inc(x_550); lean_inc(x_549); lean_inc(x_548); -lean_dec(x_541); -lean_inc(x_536); -x_560 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_549, x_504, x_536); -x_561 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_561, 0, x_548); -lean_ctor_set(x_561, 1, x_560); -lean_ctor_set(x_561, 2, x_550); -lean_ctor_set(x_561, 3, x_551); -lean_ctor_set(x_561, 4, x_552); -lean_ctor_set(x_561, 5, x_553); -lean_ctor_set(x_561, 6, x_554); -lean_ctor_set(x_561, 7, x_555); -lean_ctor_set(x_561, 8, x_556); -lean_ctor_set(x_561, 9, x_557); -lean_ctor_set(x_561, 10, x_558); -lean_ctor_set(x_561, 11, x_559); -x_562 = lean_st_ref_set(x_3, x_561, x_542); -x_563 = lean_ctor_get(x_562, 1); -lean_inc(x_563); -lean_dec(x_562); -x_507 = x_536; -x_508 = x_563; -goto block_526; +lean_inc(x_547); +lean_dec(x_540); +lean_inc(x_535); +x_559 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_548, x_503, x_535); +x_560 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_560, 0, x_547); +lean_ctor_set(x_560, 1, x_559); +lean_ctor_set(x_560, 2, x_549); +lean_ctor_set(x_560, 3, x_550); +lean_ctor_set(x_560, 4, x_551); +lean_ctor_set(x_560, 5, x_552); +lean_ctor_set(x_560, 6, x_553); +lean_ctor_set(x_560, 7, x_554); +lean_ctor_set(x_560, 8, x_555); +lean_ctor_set(x_560, 9, x_556); +lean_ctor_set(x_560, 10, x_557); +lean_ctor_set(x_560, 11, x_558); +x_561 = lean_st_ref_set(x_3, x_560, x_541); +x_562 = lean_ctor_get(x_561, 1); +lean_inc(x_562); +lean_dec(x_561); +x_506 = x_535; +x_507 = x_562; +goto block_525; } } else { -uint8_t x_564; -lean_dec(x_505); +uint8_t x_563; lean_dec(x_504); +lean_dec(x_503); lean_dec(x_7); lean_dec(x_1); -x_564 = !lean_is_exclusive(x_535); -if (x_564 == 0) +x_563 = !lean_is_exclusive(x_534); +if (x_563 == 0) { -return x_535; +return x_534; } else { -lean_object* x_565; lean_object* x_566; lean_object* x_567; -x_565 = lean_ctor_get(x_535, 0); -x_566 = lean_ctor_get(x_535, 1); -lean_inc(x_566); +lean_object* x_564; lean_object* x_565; lean_object* x_566; +x_564 = lean_ctor_get(x_534, 0); +x_565 = lean_ctor_get(x_534, 1); lean_inc(x_565); -lean_dec(x_535); -x_567 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_567, 0, x_565); -lean_ctor_set(x_567, 1, x_566); -return x_567; +lean_inc(x_564); +lean_dec(x_534); +x_566 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_566, 0, x_564); +lean_ctor_set(x_566, 1, x_565); +return x_566; } } } else { -lean_object* x_568; -lean_dec(x_504); +lean_object* x_567; +lean_dec(x_503); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_568 = lean_ctor_get(x_534, 0); -lean_inc(x_568); -lean_dec(x_534); -x_507 = x_568; -x_508 = x_532; -goto block_526; +x_567 = lean_ctor_get(x_533, 0); +lean_inc(x_567); +lean_dec(x_533); +x_506 = x_567; +x_507 = x_531; +goto block_525; } } } -block_619: +block_618: { -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_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_dec(x_576); +x_577 = lean_st_ref_get(x_7, x_8); +x_578 = lean_ctor_get(x_577, 1); +lean_inc(x_578); lean_dec(x_577); -x_578 = lean_st_ref_get(x_7, x_8); -x_579 = lean_ctor_get(x_578, 1); -lean_inc(x_579); -lean_dec(x_578); -x_580 = lean_st_ref_get(x_3, x_579); -x_581 = lean_ctor_get(x_580, 0); +x_579 = lean_st_ref_get(x_3, x_578); +x_580 = lean_ctor_get(x_579, 0); +lean_inc(x_580); +x_581 = lean_ctor_get(x_579, 1); lean_inc(x_581); +lean_dec(x_579); x_582 = lean_ctor_get(x_580, 1); lean_inc(x_582); lean_dec(x_580); -x_583 = lean_ctor_get(x_581, 1); -lean_inc(x_583); -lean_dec(x_581); -x_584 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_583, x_503); -lean_dec(x_583); -if (lean_obj_tag(x_584) == 0) +x_583 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_582, x_502); +lean_dec(x_582); +if (lean_obj_tag(x_583) == 0) { -lean_object* x_585; +lean_object* x_584; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_503); -x_585 = l_Lean_Meta_Closure_collectExprAux(x_503, x_2, x_3, x_4, x_5, x_6, x_7, x_582); -if (lean_obj_tag(x_585) == 0) +lean_inc(x_502); +x_584 = l_Lean_Meta_Closure_collectExprAux(x_502, x_2, x_3, x_4, x_5, x_6, x_7, x_581); +if (lean_obj_tag(x_584) == 0) { -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; uint8_t x_593; -x_586 = lean_ctor_get(x_585, 0); +lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; uint8_t x_592; +x_585 = lean_ctor_get(x_584, 0); +lean_inc(x_585); +x_586 = lean_ctor_get(x_584, 1); lean_inc(x_586); -x_587 = lean_ctor_get(x_585, 1); -lean_inc(x_587); -lean_dec(x_585); -x_588 = lean_st_ref_get(x_7, x_587); -x_589 = lean_ctor_get(x_588, 1); -lean_inc(x_589); -lean_dec(x_588); -x_590 = lean_st_ref_take(x_3, x_589); -x_591 = lean_ctor_get(x_590, 0); +lean_dec(x_584); +x_587 = lean_st_ref_get(x_7, x_586); +x_588 = lean_ctor_get(x_587, 1); +lean_inc(x_588); +lean_dec(x_587); +x_589 = lean_st_ref_take(x_3, x_588); +x_590 = lean_ctor_get(x_589, 0); +lean_inc(x_590); +x_591 = lean_ctor_get(x_589, 1); lean_inc(x_591); -x_592 = lean_ctor_get(x_590, 1); -lean_inc(x_592); -lean_dec(x_590); -x_593 = !lean_is_exclusive(x_591); -if (x_593 == 0) +lean_dec(x_589); +x_592 = !lean_is_exclusive(x_590); +if (x_592 == 0) { -lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; -x_594 = lean_ctor_get(x_591, 1); -lean_inc(x_586); -x_595 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_594, x_503, x_586); -lean_ctor_set(x_591, 1, x_595); -x_596 = lean_st_ref_set(x_3, x_591, x_592); -x_597 = lean_ctor_get(x_596, 1); -lean_inc(x_597); -lean_dec(x_596); -x_505 = x_586; -x_506 = x_597; -goto block_576; +lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; +x_593 = lean_ctor_get(x_590, 1); +lean_inc(x_585); +x_594 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_593, x_502, x_585); +lean_ctor_set(x_590, 1, x_594); +x_595 = lean_st_ref_set(x_3, x_590, x_591); +x_596 = lean_ctor_get(x_595, 1); +lean_inc(x_596); +lean_dec(x_595); +x_504 = x_585; +x_505 = x_596; +goto block_575; } else { -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; -x_598 = lean_ctor_get(x_591, 0); -x_599 = lean_ctor_get(x_591, 1); -x_600 = lean_ctor_get(x_591, 2); -x_601 = lean_ctor_get(x_591, 3); -x_602 = lean_ctor_get(x_591, 4); -x_603 = lean_ctor_get(x_591, 5); -x_604 = lean_ctor_get(x_591, 6); -x_605 = lean_ctor_get(x_591, 7); -x_606 = lean_ctor_get(x_591, 8); -x_607 = lean_ctor_get(x_591, 9); -x_608 = lean_ctor_get(x_591, 10); -x_609 = lean_ctor_get(x_591, 11); -lean_inc(x_609); +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; +x_597 = lean_ctor_get(x_590, 0); +x_598 = lean_ctor_get(x_590, 1); +x_599 = lean_ctor_get(x_590, 2); +x_600 = lean_ctor_get(x_590, 3); +x_601 = lean_ctor_get(x_590, 4); +x_602 = lean_ctor_get(x_590, 5); +x_603 = lean_ctor_get(x_590, 6); +x_604 = lean_ctor_get(x_590, 7); +x_605 = lean_ctor_get(x_590, 8); +x_606 = lean_ctor_get(x_590, 9); +x_607 = lean_ctor_get(x_590, 10); +x_608 = lean_ctor_get(x_590, 11); lean_inc(x_608); lean_inc(x_607); lean_inc(x_606); @@ -6818,296 +6840,296 @@ lean_inc(x_601); lean_inc(x_600); lean_inc(x_599); lean_inc(x_598); -lean_dec(x_591); -lean_inc(x_586); -x_610 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_599, x_503, x_586); -x_611 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_611, 0, x_598); -lean_ctor_set(x_611, 1, x_610); -lean_ctor_set(x_611, 2, x_600); -lean_ctor_set(x_611, 3, x_601); -lean_ctor_set(x_611, 4, x_602); -lean_ctor_set(x_611, 5, x_603); -lean_ctor_set(x_611, 6, x_604); -lean_ctor_set(x_611, 7, x_605); -lean_ctor_set(x_611, 8, x_606); -lean_ctor_set(x_611, 9, x_607); -lean_ctor_set(x_611, 10, x_608); -lean_ctor_set(x_611, 11, x_609); -x_612 = lean_st_ref_set(x_3, x_611, x_592); -x_613 = lean_ctor_get(x_612, 1); -lean_inc(x_613); -lean_dec(x_612); -x_505 = x_586; -x_506 = x_613; -goto block_576; +lean_inc(x_597); +lean_dec(x_590); +lean_inc(x_585); +x_609 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_598, x_502, x_585); +x_610 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_610, 0, x_597); +lean_ctor_set(x_610, 1, x_609); +lean_ctor_set(x_610, 2, x_599); +lean_ctor_set(x_610, 3, x_600); +lean_ctor_set(x_610, 4, x_601); +lean_ctor_set(x_610, 5, x_602); +lean_ctor_set(x_610, 6, x_603); +lean_ctor_set(x_610, 7, x_604); +lean_ctor_set(x_610, 8, x_605); +lean_ctor_set(x_610, 9, x_606); +lean_ctor_set(x_610, 10, x_607); +lean_ctor_set(x_610, 11, x_608); +x_611 = lean_st_ref_set(x_3, x_610, x_591); +x_612 = lean_ctor_get(x_611, 1); +lean_inc(x_612); +lean_dec(x_611); +x_504 = x_585; +x_505 = x_612; +goto block_575; } } else { -uint8_t x_614; -lean_dec(x_504); +uint8_t x_613; lean_dec(x_503); +lean_dec(x_502); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_614 = !lean_is_exclusive(x_585); -if (x_614 == 0) +x_613 = !lean_is_exclusive(x_584); +if (x_613 == 0) { -return x_585; +return x_584; } else { -lean_object* x_615; lean_object* x_616; lean_object* x_617; -x_615 = lean_ctor_get(x_585, 0); -x_616 = lean_ctor_get(x_585, 1); -lean_inc(x_616); +lean_object* x_614; lean_object* x_615; lean_object* x_616; +x_614 = lean_ctor_get(x_584, 0); +x_615 = lean_ctor_get(x_584, 1); lean_inc(x_615); -lean_dec(x_585); -x_617 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_617, 0, x_615); -lean_ctor_set(x_617, 1, x_616); -return x_617; +lean_inc(x_614); +lean_dec(x_584); +x_616 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_616, 0, x_614); +lean_ctor_set(x_616, 1, x_615); +return x_616; } } } else { -lean_object* x_618; -lean_dec(x_503); -x_618 = lean_ctor_get(x_584, 0); -lean_inc(x_618); -lean_dec(x_584); -x_505 = x_618; -x_506 = x_582; -goto block_576; +lean_object* x_617; +lean_dec(x_502); +x_617 = lean_ctor_get(x_583, 0); +lean_inc(x_617); +lean_dec(x_583); +x_504 = x_617; +x_505 = x_581; +goto block_575; } } } case 7: { -lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_700; uint8_t x_743; -x_626 = lean_ctor_get(x_1, 1); +lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_699; uint8_t x_742; +x_625 = lean_ctor_get(x_1, 1); +lean_inc(x_625); +x_626 = lean_ctor_get(x_1, 2); lean_inc(x_626); -x_627 = lean_ctor_get(x_1, 2); -lean_inc(x_627); -x_743 = l_Lean_Expr_hasLevelParam(x_626); +x_742 = l_Lean_Expr_hasLevelParam(x_625); +if (x_742 == 0) +{ +uint8_t x_743; +x_743 = l_Lean_Expr_hasFVar(x_625); if (x_743 == 0) { uint8_t x_744; -x_744 = l_Lean_Expr_hasFVar(x_626); +x_744 = l_Lean_Expr_hasMVar(x_625); if (x_744 == 0) { -uint8_t x_745; -x_745 = l_Lean_Expr_hasMVar(x_626); -if (x_745 == 0) +x_627 = x_625; +x_628 = x_8; +goto block_698; +} +else { -x_628 = x_626; -x_629 = x_8; -goto block_699; +lean_object* x_745; +x_745 = lean_box(0); +x_699 = x_745; +goto block_741; +} } else { lean_object* x_746; x_746 = lean_box(0); -x_700 = x_746; -goto block_742; +x_699 = x_746; +goto block_741; } } else { lean_object* x_747; x_747 = lean_box(0); -x_700 = x_747; -goto block_742; +x_699 = x_747; +goto block_741; } -} -else +block_698: { -lean_object* x_748; -x_748 = lean_box(0); -x_700 = x_748; -goto block_742; -} -block_699: +lean_object* x_629; lean_object* x_630; lean_object* x_649; uint8_t x_692; +x_692 = l_Lean_Expr_hasLevelParam(x_626); +if (x_692 == 0) { -lean_object* x_630; lean_object* x_631; lean_object* x_650; uint8_t x_693; -x_693 = l_Lean_Expr_hasLevelParam(x_627); +uint8_t x_693; +x_693 = l_Lean_Expr_hasFVar(x_626); if (x_693 == 0) { uint8_t x_694; -x_694 = l_Lean_Expr_hasFVar(x_627); +x_694 = l_Lean_Expr_hasMVar(x_626); if (x_694 == 0) { -uint8_t x_695; -x_695 = l_Lean_Expr_hasMVar(x_627); -if (x_695 == 0) -{ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_630 = x_627; -x_631 = x_629; -goto block_649; +x_629 = x_626; +x_630 = x_628; +goto block_648; +} +else +{ +lean_object* x_695; +x_695 = lean_box(0); +x_649 = x_695; +goto block_691; +} } else { lean_object* x_696; x_696 = lean_box(0); -x_650 = x_696; -goto block_692; +x_649 = x_696; +goto block_691; } } else { lean_object* x_697; x_697 = lean_box(0); -x_650 = x_697; -goto block_692; +x_649 = x_697; +goto block_691; } -} -else -{ -lean_object* x_698; -x_698 = lean_box(0); -x_650 = x_698; -goto block_692; -} -block_649: +block_648: { if (lean_obj_tag(x_1) == 7) { -uint8_t x_632; -x_632 = !lean_is_exclusive(x_1); -if (x_632 == 0) +uint8_t x_631; +x_631 = !lean_is_exclusive(x_1); +if (x_631 == 0) { -uint64_t x_633; uint8_t x_634; lean_object* x_635; lean_object* x_636; -x_633 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -x_634 = (uint8_t)((x_633 << 24) >> 61); -x_635 = lean_expr_update_forall(x_1, x_634, x_628, x_630); -x_636 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_636, 0, x_635); -lean_ctor_set(x_636, 1, x_631); -return x_636; +uint64_t x_632; uint8_t x_633; lean_object* x_634; lean_object* x_635; +x_632 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +x_633 = (uint8_t)((x_632 << 24) >> 61); +x_634 = lean_expr_update_forall(x_1, x_633, x_627, x_629); +x_635 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_635, 0, x_634); +lean_ctor_set(x_635, 1, x_630); +return x_635; } else { -lean_object* x_637; lean_object* x_638; lean_object* x_639; uint64_t x_640; lean_object* x_641; uint8_t x_642; lean_object* x_643; lean_object* x_644; -x_637 = lean_ctor_get(x_1, 0); -x_638 = lean_ctor_get(x_1, 1); -x_639 = lean_ctor_get(x_1, 2); -x_640 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -lean_inc(x_639); +lean_object* x_636; lean_object* x_637; lean_object* x_638; uint64_t x_639; lean_object* x_640; uint8_t x_641; lean_object* x_642; lean_object* x_643; +x_636 = lean_ctor_get(x_1, 0); +x_637 = lean_ctor_get(x_1, 1); +x_638 = lean_ctor_get(x_1, 2); +x_639 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); lean_inc(x_638); lean_inc(x_637); +lean_inc(x_636); lean_dec(x_1); -x_641 = lean_alloc_ctor(7, 3, 8); -lean_ctor_set(x_641, 0, x_637); -lean_ctor_set(x_641, 1, x_638); -lean_ctor_set(x_641, 2, x_639); -lean_ctor_set_uint64(x_641, sizeof(void*)*3, x_640); -x_642 = (uint8_t)((x_640 << 24) >> 61); -x_643 = lean_expr_update_forall(x_641, x_642, x_628, x_630); -x_644 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_644, 0, x_643); -lean_ctor_set(x_644, 1, x_631); -return x_644; +x_640 = lean_alloc_ctor(7, 3, 8); +lean_ctor_set(x_640, 0, x_636); +lean_ctor_set(x_640, 1, x_637); +lean_ctor_set(x_640, 2, x_638); +lean_ctor_set_uint64(x_640, sizeof(void*)*3, x_639); +x_641 = (uint8_t)((x_639 << 24) >> 61); +x_642 = lean_expr_update_forall(x_640, x_641, x_627, x_629); +x_643 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_643, 0, x_642); +lean_ctor_set(x_643, 1, x_630); +return x_643; } } else { -lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; -lean_dec(x_630); -lean_dec(x_628); +lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; +lean_dec(x_629); +lean_dec(x_627); lean_dec(x_1); -x_645 = l_Lean_instInhabitedExpr; -x_646 = l_Lean_Meta_Closure_collectExprAux___closed__16; -x_647 = lean_panic_fn(x_645, x_646); -x_648 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_648, 0, x_647); -lean_ctor_set(x_648, 1, x_631); -return x_648; +x_644 = l_Lean_instInhabitedExpr; +x_645 = l_Lean_Meta_Closure_collectExprAux___closed__16; +x_646 = lean_panic_fn(x_644, x_645); +x_647 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_647, 0, x_646); +lean_ctor_set(x_647, 1, x_630); +return x_647; } } -block_692: +block_691: { -lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; +lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; +lean_dec(x_649); +x_650 = lean_st_ref_get(x_7, x_628); +x_651 = lean_ctor_get(x_650, 1); +lean_inc(x_651); lean_dec(x_650); -x_651 = lean_st_ref_get(x_7, x_629); -x_652 = lean_ctor_get(x_651, 1); -lean_inc(x_652); -lean_dec(x_651); -x_653 = lean_st_ref_get(x_3, x_652); -x_654 = lean_ctor_get(x_653, 0); +x_652 = lean_st_ref_get(x_3, x_651); +x_653 = lean_ctor_get(x_652, 0); +lean_inc(x_653); +x_654 = lean_ctor_get(x_652, 1); lean_inc(x_654); +lean_dec(x_652); x_655 = lean_ctor_get(x_653, 1); lean_inc(x_655); lean_dec(x_653); -x_656 = lean_ctor_get(x_654, 1); -lean_inc(x_656); -lean_dec(x_654); -x_657 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_656, x_627); -lean_dec(x_656); +x_656 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_655, x_626); +lean_dec(x_655); +if (lean_obj_tag(x_656) == 0) +{ +lean_object* x_657; +lean_inc(x_7); +lean_inc(x_626); +x_657 = l_Lean_Meta_Closure_collectExprAux(x_626, x_2, x_3, x_4, x_5, x_6, x_7, x_654); if (lean_obj_tag(x_657) == 0) { -lean_object* x_658; -lean_inc(x_7); -lean_inc(x_627); -x_658 = l_Lean_Meta_Closure_collectExprAux(x_627, x_2, x_3, x_4, x_5, x_6, x_7, x_655); -if (lean_obj_tag(x_658) == 0) -{ -lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; uint8_t x_666; -x_659 = lean_ctor_get(x_658, 0); +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; uint8_t x_665; +x_658 = lean_ctor_get(x_657, 0); +lean_inc(x_658); +x_659 = lean_ctor_get(x_657, 1); lean_inc(x_659); -x_660 = lean_ctor_get(x_658, 1); -lean_inc(x_660); -lean_dec(x_658); -x_661 = lean_st_ref_get(x_7, x_660); +lean_dec(x_657); +x_660 = lean_st_ref_get(x_7, x_659); lean_dec(x_7); -x_662 = lean_ctor_get(x_661, 1); -lean_inc(x_662); -lean_dec(x_661); -x_663 = lean_st_ref_take(x_3, x_662); -x_664 = lean_ctor_get(x_663, 0); +x_661 = lean_ctor_get(x_660, 1); +lean_inc(x_661); +lean_dec(x_660); +x_662 = lean_st_ref_take(x_3, x_661); +x_663 = lean_ctor_get(x_662, 0); +lean_inc(x_663); +x_664 = lean_ctor_get(x_662, 1); lean_inc(x_664); -x_665 = lean_ctor_get(x_663, 1); -lean_inc(x_665); -lean_dec(x_663); -x_666 = !lean_is_exclusive(x_664); -if (x_666 == 0) +lean_dec(x_662); +x_665 = !lean_is_exclusive(x_663); +if (x_665 == 0) { -lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; -x_667 = lean_ctor_get(x_664, 1); -lean_inc(x_659); -x_668 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_667, x_627, x_659); -lean_ctor_set(x_664, 1, x_668); -x_669 = lean_st_ref_set(x_3, x_664, x_665); -x_670 = lean_ctor_get(x_669, 1); -lean_inc(x_670); -lean_dec(x_669); -x_630 = x_659; -x_631 = x_670; -goto block_649; +lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; +x_666 = lean_ctor_get(x_663, 1); +lean_inc(x_658); +x_667 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_666, x_626, x_658); +lean_ctor_set(x_663, 1, x_667); +x_668 = lean_st_ref_set(x_3, x_663, x_664); +x_669 = lean_ctor_get(x_668, 1); +lean_inc(x_669); +lean_dec(x_668); +x_629 = x_658; +x_630 = x_669; +goto block_648; } else { -lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; -x_671 = lean_ctor_get(x_664, 0); -x_672 = lean_ctor_get(x_664, 1); -x_673 = lean_ctor_get(x_664, 2); -x_674 = lean_ctor_get(x_664, 3); -x_675 = lean_ctor_get(x_664, 4); -x_676 = lean_ctor_get(x_664, 5); -x_677 = lean_ctor_get(x_664, 6); -x_678 = lean_ctor_get(x_664, 7); -x_679 = lean_ctor_get(x_664, 8); -x_680 = lean_ctor_get(x_664, 9); -x_681 = lean_ctor_get(x_664, 10); -x_682 = lean_ctor_get(x_664, 11); -lean_inc(x_682); +lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; +x_670 = lean_ctor_get(x_663, 0); +x_671 = lean_ctor_get(x_663, 1); +x_672 = lean_ctor_get(x_663, 2); +x_673 = lean_ctor_get(x_663, 3); +x_674 = lean_ctor_get(x_663, 4); +x_675 = lean_ctor_get(x_663, 5); +x_676 = lean_ctor_get(x_663, 6); +x_677 = lean_ctor_get(x_663, 7); +x_678 = lean_ctor_get(x_663, 8); +x_679 = lean_ctor_get(x_663, 9); +x_680 = lean_ctor_get(x_663, 10); +x_681 = lean_ctor_get(x_663, 11); lean_inc(x_681); lean_inc(x_680); lean_inc(x_679); @@ -7119,153 +7141,153 @@ lean_inc(x_674); lean_inc(x_673); lean_inc(x_672); lean_inc(x_671); -lean_dec(x_664); -lean_inc(x_659); -x_683 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_672, x_627, x_659); -x_684 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_684, 0, x_671); -lean_ctor_set(x_684, 1, x_683); -lean_ctor_set(x_684, 2, x_673); -lean_ctor_set(x_684, 3, x_674); -lean_ctor_set(x_684, 4, x_675); -lean_ctor_set(x_684, 5, x_676); -lean_ctor_set(x_684, 6, x_677); -lean_ctor_set(x_684, 7, x_678); -lean_ctor_set(x_684, 8, x_679); -lean_ctor_set(x_684, 9, x_680); -lean_ctor_set(x_684, 10, x_681); -lean_ctor_set(x_684, 11, x_682); -x_685 = lean_st_ref_set(x_3, x_684, x_665); -x_686 = lean_ctor_get(x_685, 1); -lean_inc(x_686); -lean_dec(x_685); -x_630 = x_659; -x_631 = x_686; -goto block_649; +lean_inc(x_670); +lean_dec(x_663); +lean_inc(x_658); +x_682 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_671, x_626, x_658); +x_683 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_683, 0, x_670); +lean_ctor_set(x_683, 1, x_682); +lean_ctor_set(x_683, 2, x_672); +lean_ctor_set(x_683, 3, x_673); +lean_ctor_set(x_683, 4, x_674); +lean_ctor_set(x_683, 5, x_675); +lean_ctor_set(x_683, 6, x_676); +lean_ctor_set(x_683, 7, x_677); +lean_ctor_set(x_683, 8, x_678); +lean_ctor_set(x_683, 9, x_679); +lean_ctor_set(x_683, 10, x_680); +lean_ctor_set(x_683, 11, x_681); +x_684 = lean_st_ref_set(x_3, x_683, x_664); +x_685 = lean_ctor_get(x_684, 1); +lean_inc(x_685); +lean_dec(x_684); +x_629 = x_658; +x_630 = x_685; +goto block_648; } } else { -uint8_t x_687; -lean_dec(x_628); +uint8_t x_686; lean_dec(x_627); +lean_dec(x_626); lean_dec(x_7); lean_dec(x_1); -x_687 = !lean_is_exclusive(x_658); -if (x_687 == 0) +x_686 = !lean_is_exclusive(x_657); +if (x_686 == 0) { -return x_658; +return x_657; } else { -lean_object* x_688; lean_object* x_689; lean_object* x_690; -x_688 = lean_ctor_get(x_658, 0); -x_689 = lean_ctor_get(x_658, 1); -lean_inc(x_689); +lean_object* x_687; lean_object* x_688; lean_object* x_689; +x_687 = lean_ctor_get(x_657, 0); +x_688 = lean_ctor_get(x_657, 1); lean_inc(x_688); -lean_dec(x_658); -x_690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_690, 0, x_688); -lean_ctor_set(x_690, 1, x_689); -return x_690; +lean_inc(x_687); +lean_dec(x_657); +x_689 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_689, 0, x_687); +lean_ctor_set(x_689, 1, x_688); +return x_689; } } } else { -lean_object* x_691; -lean_dec(x_627); +lean_object* x_690; +lean_dec(x_626); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_691 = lean_ctor_get(x_657, 0); -lean_inc(x_691); -lean_dec(x_657); -x_630 = x_691; -x_631 = x_655; -goto block_649; +x_690 = lean_ctor_get(x_656, 0); +lean_inc(x_690); +lean_dec(x_656); +x_629 = x_690; +x_630 = x_654; +goto block_648; } } } -block_742: +block_741: { -lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; +lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; +lean_dec(x_699); +x_700 = lean_st_ref_get(x_7, x_8); +x_701 = lean_ctor_get(x_700, 1); +lean_inc(x_701); lean_dec(x_700); -x_701 = lean_st_ref_get(x_7, x_8); -x_702 = lean_ctor_get(x_701, 1); -lean_inc(x_702); -lean_dec(x_701); -x_703 = lean_st_ref_get(x_3, x_702); -x_704 = lean_ctor_get(x_703, 0); +x_702 = lean_st_ref_get(x_3, x_701); +x_703 = lean_ctor_get(x_702, 0); +lean_inc(x_703); +x_704 = lean_ctor_get(x_702, 1); lean_inc(x_704); +lean_dec(x_702); x_705 = lean_ctor_get(x_703, 1); lean_inc(x_705); lean_dec(x_703); -x_706 = lean_ctor_get(x_704, 1); -lean_inc(x_706); -lean_dec(x_704); -x_707 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_706, x_626); -lean_dec(x_706); -if (lean_obj_tag(x_707) == 0) +x_706 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_705, x_625); +lean_dec(x_705); +if (lean_obj_tag(x_706) == 0) { -lean_object* x_708; +lean_object* x_707; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_626); -x_708 = l_Lean_Meta_Closure_collectExprAux(x_626, x_2, x_3, x_4, x_5, x_6, x_7, x_705); -if (lean_obj_tag(x_708) == 0) +lean_inc(x_625); +x_707 = l_Lean_Meta_Closure_collectExprAux(x_625, x_2, x_3, x_4, x_5, x_6, x_7, x_704); +if (lean_obj_tag(x_707) == 0) { -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; uint8_t x_716; -x_709 = lean_ctor_get(x_708, 0); +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; uint8_t x_715; +x_708 = lean_ctor_get(x_707, 0); +lean_inc(x_708); +x_709 = lean_ctor_get(x_707, 1); lean_inc(x_709); -x_710 = lean_ctor_get(x_708, 1); -lean_inc(x_710); -lean_dec(x_708); -x_711 = lean_st_ref_get(x_7, x_710); -x_712 = lean_ctor_get(x_711, 1); -lean_inc(x_712); -lean_dec(x_711); -x_713 = lean_st_ref_take(x_3, x_712); -x_714 = lean_ctor_get(x_713, 0); +lean_dec(x_707); +x_710 = lean_st_ref_get(x_7, x_709); +x_711 = lean_ctor_get(x_710, 1); +lean_inc(x_711); +lean_dec(x_710); +x_712 = lean_st_ref_take(x_3, x_711); +x_713 = lean_ctor_get(x_712, 0); +lean_inc(x_713); +x_714 = lean_ctor_get(x_712, 1); lean_inc(x_714); -x_715 = lean_ctor_get(x_713, 1); -lean_inc(x_715); -lean_dec(x_713); -x_716 = !lean_is_exclusive(x_714); -if (x_716 == 0) +lean_dec(x_712); +x_715 = !lean_is_exclusive(x_713); +if (x_715 == 0) { -lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; -x_717 = lean_ctor_get(x_714, 1); -lean_inc(x_709); -x_718 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_717, x_626, x_709); -lean_ctor_set(x_714, 1, x_718); -x_719 = lean_st_ref_set(x_3, x_714, x_715); -x_720 = lean_ctor_get(x_719, 1); -lean_inc(x_720); -lean_dec(x_719); -x_628 = x_709; -x_629 = x_720; -goto block_699; +lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; +x_716 = lean_ctor_get(x_713, 1); +lean_inc(x_708); +x_717 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_716, x_625, x_708); +lean_ctor_set(x_713, 1, x_717); +x_718 = lean_st_ref_set(x_3, x_713, x_714); +x_719 = lean_ctor_get(x_718, 1); +lean_inc(x_719); +lean_dec(x_718); +x_627 = x_708; +x_628 = x_719; +goto block_698; } else { -lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; -x_721 = lean_ctor_get(x_714, 0); -x_722 = lean_ctor_get(x_714, 1); -x_723 = lean_ctor_get(x_714, 2); -x_724 = lean_ctor_get(x_714, 3); -x_725 = lean_ctor_get(x_714, 4); -x_726 = lean_ctor_get(x_714, 5); -x_727 = lean_ctor_get(x_714, 6); -x_728 = lean_ctor_get(x_714, 7); -x_729 = lean_ctor_get(x_714, 8); -x_730 = lean_ctor_get(x_714, 9); -x_731 = lean_ctor_get(x_714, 10); -x_732 = lean_ctor_get(x_714, 11); -lean_inc(x_732); +lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; +x_720 = lean_ctor_get(x_713, 0); +x_721 = lean_ctor_get(x_713, 1); +x_722 = lean_ctor_get(x_713, 2); +x_723 = lean_ctor_get(x_713, 3); +x_724 = lean_ctor_get(x_713, 4); +x_725 = lean_ctor_get(x_713, 5); +x_726 = lean_ctor_get(x_713, 6); +x_727 = lean_ctor_get(x_713, 7); +x_728 = lean_ctor_get(x_713, 8); +x_729 = lean_ctor_get(x_713, 9); +x_730 = lean_ctor_get(x_713, 10); +x_731 = lean_ctor_get(x_713, 11); lean_inc(x_731); lean_inc(x_730); lean_inc(x_729); @@ -7277,340 +7299,340 @@ lean_inc(x_724); lean_inc(x_723); lean_inc(x_722); lean_inc(x_721); -lean_dec(x_714); -lean_inc(x_709); -x_733 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_722, x_626, x_709); -x_734 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_734, 0, x_721); -lean_ctor_set(x_734, 1, x_733); -lean_ctor_set(x_734, 2, x_723); -lean_ctor_set(x_734, 3, x_724); -lean_ctor_set(x_734, 4, x_725); -lean_ctor_set(x_734, 5, x_726); -lean_ctor_set(x_734, 6, x_727); -lean_ctor_set(x_734, 7, x_728); -lean_ctor_set(x_734, 8, x_729); -lean_ctor_set(x_734, 9, x_730); -lean_ctor_set(x_734, 10, x_731); -lean_ctor_set(x_734, 11, x_732); -x_735 = lean_st_ref_set(x_3, x_734, x_715); -x_736 = lean_ctor_get(x_735, 1); -lean_inc(x_736); -lean_dec(x_735); -x_628 = x_709; -x_629 = x_736; -goto block_699; +lean_inc(x_720); +lean_dec(x_713); +lean_inc(x_708); +x_732 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_721, x_625, x_708); +x_733 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_733, 0, x_720); +lean_ctor_set(x_733, 1, x_732); +lean_ctor_set(x_733, 2, x_722); +lean_ctor_set(x_733, 3, x_723); +lean_ctor_set(x_733, 4, x_724); +lean_ctor_set(x_733, 5, x_725); +lean_ctor_set(x_733, 6, x_726); +lean_ctor_set(x_733, 7, x_727); +lean_ctor_set(x_733, 8, x_728); +lean_ctor_set(x_733, 9, x_729); +lean_ctor_set(x_733, 10, x_730); +lean_ctor_set(x_733, 11, x_731); +x_734 = lean_st_ref_set(x_3, x_733, x_714); +x_735 = lean_ctor_get(x_734, 1); +lean_inc(x_735); +lean_dec(x_734); +x_627 = x_708; +x_628 = x_735; +goto block_698; } } else { -uint8_t x_737; -lean_dec(x_627); +uint8_t x_736; lean_dec(x_626); +lean_dec(x_625); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_737 = !lean_is_exclusive(x_708); -if (x_737 == 0) +x_736 = !lean_is_exclusive(x_707); +if (x_736 == 0) { -return x_708; +return x_707; } else { -lean_object* x_738; lean_object* x_739; lean_object* x_740; -x_738 = lean_ctor_get(x_708, 0); -x_739 = lean_ctor_get(x_708, 1); -lean_inc(x_739); +lean_object* x_737; lean_object* x_738; lean_object* x_739; +x_737 = lean_ctor_get(x_707, 0); +x_738 = lean_ctor_get(x_707, 1); lean_inc(x_738); -lean_dec(x_708); -x_740 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_740, 0, x_738); -lean_ctor_set(x_740, 1, x_739); -return x_740; +lean_inc(x_737); +lean_dec(x_707); +x_739 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_739, 0, x_737); +lean_ctor_set(x_739, 1, x_738); +return x_739; } } } else { -lean_object* x_741; -lean_dec(x_626); -x_741 = lean_ctor_get(x_707, 0); -lean_inc(x_741); -lean_dec(x_707); -x_628 = x_741; -x_629 = x_705; -goto block_699; +lean_object* x_740; +lean_dec(x_625); +x_740 = lean_ctor_get(x_706, 0); +lean_inc(x_740); +lean_dec(x_706); +x_627 = x_740; +x_628 = x_704; +goto block_698; } } } case 8: { -lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_874; uint8_t x_917; -x_749 = lean_ctor_get(x_1, 1); +lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_873; uint8_t x_916; +x_748 = lean_ctor_get(x_1, 1); +lean_inc(x_748); +x_749 = lean_ctor_get(x_1, 2); lean_inc(x_749); -x_750 = lean_ctor_get(x_1, 2); +x_750 = lean_ctor_get(x_1, 3); lean_inc(x_750); -x_751 = lean_ctor_get(x_1, 3); -lean_inc(x_751); -x_917 = l_Lean_Expr_hasLevelParam(x_749); +x_916 = l_Lean_Expr_hasLevelParam(x_748); +if (x_916 == 0) +{ +uint8_t x_917; +x_917 = l_Lean_Expr_hasFVar(x_748); if (x_917 == 0) { uint8_t x_918; -x_918 = l_Lean_Expr_hasFVar(x_749); +x_918 = l_Lean_Expr_hasMVar(x_748); if (x_918 == 0) { -uint8_t x_919; -x_919 = l_Lean_Expr_hasMVar(x_749); -if (x_919 == 0) +x_751 = x_748; +x_752 = x_8; +goto block_872; +} +else { -x_752 = x_749; -x_753 = x_8; -goto block_873; +lean_object* x_919; +x_919 = lean_box(0); +x_873 = x_919; +goto block_915; +} } else { lean_object* x_920; x_920 = lean_box(0); -x_874 = x_920; -goto block_916; +x_873 = x_920; +goto block_915; } } else { lean_object* x_921; x_921 = lean_box(0); -x_874 = x_921; -goto block_916; +x_873 = x_921; +goto block_915; } -} -else +block_872: { -lean_object* x_922; -x_922 = lean_box(0); -x_874 = x_922; -goto block_916; -} -block_873: +lean_object* x_753; lean_object* x_754; lean_object* x_823; uint8_t x_866; +x_866 = l_Lean_Expr_hasLevelParam(x_749); +if (x_866 == 0) { -lean_object* x_754; lean_object* x_755; lean_object* x_824; uint8_t x_867; -x_867 = l_Lean_Expr_hasLevelParam(x_750); +uint8_t x_867; +x_867 = l_Lean_Expr_hasFVar(x_749); if (x_867 == 0) { uint8_t x_868; -x_868 = l_Lean_Expr_hasFVar(x_750); +x_868 = l_Lean_Expr_hasMVar(x_749); if (x_868 == 0) { -uint8_t x_869; -x_869 = l_Lean_Expr_hasMVar(x_750); -if (x_869 == 0) +x_753 = x_749; +x_754 = x_752; +goto block_822; +} +else { -x_754 = x_750; -x_755 = x_753; -goto block_823; +lean_object* x_869; +x_869 = lean_box(0); +x_823 = x_869; +goto block_865; +} } else { lean_object* x_870; x_870 = lean_box(0); -x_824 = x_870; -goto block_866; +x_823 = x_870; +goto block_865; } } else { lean_object* x_871; x_871 = lean_box(0); -x_824 = x_871; -goto block_866; +x_823 = x_871; +goto block_865; } -} -else +block_822: { -lean_object* x_872; -x_872 = lean_box(0); -x_824 = x_872; -goto block_866; -} -block_823: +lean_object* x_755; lean_object* x_756; lean_object* x_773; uint8_t x_816; +x_816 = l_Lean_Expr_hasLevelParam(x_750); +if (x_816 == 0) { -lean_object* x_756; lean_object* x_757; lean_object* x_774; uint8_t x_817; -x_817 = l_Lean_Expr_hasLevelParam(x_751); +uint8_t x_817; +x_817 = l_Lean_Expr_hasFVar(x_750); if (x_817 == 0) { uint8_t x_818; -x_818 = l_Lean_Expr_hasFVar(x_751); +x_818 = l_Lean_Expr_hasMVar(x_750); if (x_818 == 0) { -uint8_t x_819; -x_819 = l_Lean_Expr_hasMVar(x_751); -if (x_819 == 0) -{ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_756 = x_751; -x_757 = x_755; -goto block_773; +x_755 = x_750; +x_756 = x_754; +goto block_772; +} +else +{ +lean_object* x_819; +x_819 = lean_box(0); +x_773 = x_819; +goto block_815; +} } else { lean_object* x_820; x_820 = lean_box(0); -x_774 = x_820; -goto block_816; +x_773 = x_820; +goto block_815; } } else { lean_object* x_821; x_821 = lean_box(0); -x_774 = x_821; -goto block_816; +x_773 = x_821; +goto block_815; } -} -else -{ -lean_object* x_822; -x_822 = lean_box(0); -x_774 = x_822; -goto block_816; -} -block_773: +block_772: { if (lean_obj_tag(x_1) == 8) { -uint8_t x_758; -x_758 = !lean_is_exclusive(x_1); -if (x_758 == 0) +uint8_t x_757; +x_757 = !lean_is_exclusive(x_1); +if (x_757 == 0) { -lean_object* x_759; lean_object* x_760; -x_759 = lean_expr_update_let(x_1, x_752, x_754, x_756); -x_760 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_760, 0, x_759); -lean_ctor_set(x_760, 1, x_757); -return x_760; +lean_object* x_758; lean_object* x_759; +x_758 = lean_expr_update_let(x_1, x_751, x_753, x_755); +x_759 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_759, 0, x_758); +lean_ctor_set(x_759, 1, x_756); +return x_759; } else { -lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; uint64_t x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; -x_761 = lean_ctor_get(x_1, 0); -x_762 = lean_ctor_get(x_1, 1); -x_763 = lean_ctor_get(x_1, 2); -x_764 = lean_ctor_get(x_1, 3); -x_765 = lean_ctor_get_uint64(x_1, sizeof(void*)*4); -lean_inc(x_764); +lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; uint64_t x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; +x_760 = lean_ctor_get(x_1, 0); +x_761 = lean_ctor_get(x_1, 1); +x_762 = lean_ctor_get(x_1, 2); +x_763 = lean_ctor_get(x_1, 3); +x_764 = lean_ctor_get_uint64(x_1, sizeof(void*)*4); lean_inc(x_763); lean_inc(x_762); lean_inc(x_761); +lean_inc(x_760); lean_dec(x_1); -x_766 = lean_alloc_ctor(8, 4, 8); -lean_ctor_set(x_766, 0, x_761); -lean_ctor_set(x_766, 1, x_762); -lean_ctor_set(x_766, 2, x_763); -lean_ctor_set(x_766, 3, x_764); -lean_ctor_set_uint64(x_766, sizeof(void*)*4, x_765); -x_767 = lean_expr_update_let(x_766, x_752, x_754, x_756); -x_768 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_768, 0, x_767); -lean_ctor_set(x_768, 1, x_757); -return x_768; +x_765 = lean_alloc_ctor(8, 4, 8); +lean_ctor_set(x_765, 0, x_760); +lean_ctor_set(x_765, 1, x_761); +lean_ctor_set(x_765, 2, x_762); +lean_ctor_set(x_765, 3, x_763); +lean_ctor_set_uint64(x_765, sizeof(void*)*4, x_764); +x_766 = lean_expr_update_let(x_765, x_751, x_753, x_755); +x_767 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_767, 0, x_766); +lean_ctor_set(x_767, 1, x_756); +return x_767; } } else { -lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; -lean_dec(x_756); -lean_dec(x_754); -lean_dec(x_752); +lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; +lean_dec(x_755); +lean_dec(x_753); +lean_dec(x_751); lean_dec(x_1); -x_769 = l_Lean_instInhabitedExpr; -x_770 = l_Lean_Meta_Closure_collectExprAux___closed__19; -x_771 = lean_panic_fn(x_769, x_770); -x_772 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_772, 0, x_771); -lean_ctor_set(x_772, 1, x_757); -return x_772; +x_768 = l_Lean_instInhabitedExpr; +x_769 = l_Lean_Meta_Closure_collectExprAux___closed__19; +x_770 = lean_panic_fn(x_768, x_769); +x_771 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_771, 0, x_770); +lean_ctor_set(x_771, 1, x_756); +return x_771; } } -block_816: +block_815: { -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_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; +lean_dec(x_773); +x_774 = lean_st_ref_get(x_7, x_754); +x_775 = lean_ctor_get(x_774, 1); +lean_inc(x_775); lean_dec(x_774); -x_775 = lean_st_ref_get(x_7, x_755); -x_776 = lean_ctor_get(x_775, 1); -lean_inc(x_776); -lean_dec(x_775); -x_777 = lean_st_ref_get(x_3, x_776); -x_778 = lean_ctor_get(x_777, 0); +x_776 = lean_st_ref_get(x_3, x_775); +x_777 = lean_ctor_get(x_776, 0); +lean_inc(x_777); +x_778 = lean_ctor_get(x_776, 1); lean_inc(x_778); +lean_dec(x_776); x_779 = lean_ctor_get(x_777, 1); lean_inc(x_779); lean_dec(x_777); -x_780 = lean_ctor_get(x_778, 1); -lean_inc(x_780); -lean_dec(x_778); -x_781 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_780, x_751); -lean_dec(x_780); +x_780 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_779, x_750); +lean_dec(x_779); +if (lean_obj_tag(x_780) == 0) +{ +lean_object* x_781; +lean_inc(x_7); +lean_inc(x_750); +x_781 = l_Lean_Meta_Closure_collectExprAux(x_750, x_2, x_3, x_4, x_5, x_6, x_7, x_778); if (lean_obj_tag(x_781) == 0) { -lean_object* x_782; -lean_inc(x_7); -lean_inc(x_751); -x_782 = l_Lean_Meta_Closure_collectExprAux(x_751, x_2, x_3, x_4, x_5, x_6, x_7, x_779); -if (lean_obj_tag(x_782) == 0) -{ -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; uint8_t x_790; -x_783 = lean_ctor_get(x_782, 0); +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; uint8_t x_789; +x_782 = lean_ctor_get(x_781, 0); +lean_inc(x_782); +x_783 = lean_ctor_get(x_781, 1); lean_inc(x_783); -x_784 = lean_ctor_get(x_782, 1); -lean_inc(x_784); -lean_dec(x_782); -x_785 = lean_st_ref_get(x_7, x_784); +lean_dec(x_781); +x_784 = lean_st_ref_get(x_7, x_783); lean_dec(x_7); -x_786 = lean_ctor_get(x_785, 1); -lean_inc(x_786); -lean_dec(x_785); -x_787 = lean_st_ref_take(x_3, x_786); -x_788 = lean_ctor_get(x_787, 0); +x_785 = lean_ctor_get(x_784, 1); +lean_inc(x_785); +lean_dec(x_784); +x_786 = lean_st_ref_take(x_3, x_785); +x_787 = lean_ctor_get(x_786, 0); +lean_inc(x_787); +x_788 = lean_ctor_get(x_786, 1); lean_inc(x_788); -x_789 = lean_ctor_get(x_787, 1); -lean_inc(x_789); -lean_dec(x_787); -x_790 = !lean_is_exclusive(x_788); -if (x_790 == 0) +lean_dec(x_786); +x_789 = !lean_is_exclusive(x_787); +if (x_789 == 0) { -lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; -x_791 = lean_ctor_get(x_788, 1); -lean_inc(x_783); -x_792 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_791, x_751, x_783); -lean_ctor_set(x_788, 1, x_792); -x_793 = lean_st_ref_set(x_3, x_788, x_789); -x_794 = lean_ctor_get(x_793, 1); -lean_inc(x_794); -lean_dec(x_793); -x_756 = x_783; -x_757 = x_794; -goto block_773; +lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; +x_790 = lean_ctor_get(x_787, 1); +lean_inc(x_782); +x_791 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_790, x_750, x_782); +lean_ctor_set(x_787, 1, x_791); +x_792 = lean_st_ref_set(x_3, x_787, x_788); +x_793 = lean_ctor_get(x_792, 1); +lean_inc(x_793); +lean_dec(x_792); +x_755 = x_782; +x_756 = x_793; +goto block_772; } else { -lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; -x_795 = lean_ctor_get(x_788, 0); -x_796 = lean_ctor_get(x_788, 1); -x_797 = lean_ctor_get(x_788, 2); -x_798 = lean_ctor_get(x_788, 3); -x_799 = lean_ctor_get(x_788, 4); -x_800 = lean_ctor_get(x_788, 5); -x_801 = lean_ctor_get(x_788, 6); -x_802 = lean_ctor_get(x_788, 7); -x_803 = lean_ctor_get(x_788, 8); -x_804 = lean_ctor_get(x_788, 9); -x_805 = lean_ctor_get(x_788, 10); -x_806 = lean_ctor_get(x_788, 11); -lean_inc(x_806); +lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; +x_794 = lean_ctor_get(x_787, 0); +x_795 = lean_ctor_get(x_787, 1); +x_796 = lean_ctor_get(x_787, 2); +x_797 = lean_ctor_get(x_787, 3); +x_798 = lean_ctor_get(x_787, 4); +x_799 = lean_ctor_get(x_787, 5); +x_800 = lean_ctor_get(x_787, 6); +x_801 = lean_ctor_get(x_787, 7); +x_802 = lean_ctor_get(x_787, 8); +x_803 = lean_ctor_get(x_787, 9); +x_804 = lean_ctor_get(x_787, 10); +x_805 = lean_ctor_get(x_787, 11); lean_inc(x_805); lean_inc(x_804); lean_inc(x_803); @@ -7622,154 +7644,154 @@ lean_inc(x_798); lean_inc(x_797); lean_inc(x_796); lean_inc(x_795); -lean_dec(x_788); -lean_inc(x_783); -x_807 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_796, x_751, x_783); -x_808 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_808, 0, x_795); -lean_ctor_set(x_808, 1, x_807); -lean_ctor_set(x_808, 2, x_797); -lean_ctor_set(x_808, 3, x_798); -lean_ctor_set(x_808, 4, x_799); -lean_ctor_set(x_808, 5, x_800); -lean_ctor_set(x_808, 6, x_801); -lean_ctor_set(x_808, 7, x_802); -lean_ctor_set(x_808, 8, x_803); -lean_ctor_set(x_808, 9, x_804); -lean_ctor_set(x_808, 10, x_805); -lean_ctor_set(x_808, 11, x_806); -x_809 = lean_st_ref_set(x_3, x_808, x_789); -x_810 = lean_ctor_get(x_809, 1); -lean_inc(x_810); -lean_dec(x_809); -x_756 = x_783; -x_757 = x_810; -goto block_773; +lean_inc(x_794); +lean_dec(x_787); +lean_inc(x_782); +x_806 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_795, x_750, x_782); +x_807 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_807, 0, x_794); +lean_ctor_set(x_807, 1, x_806); +lean_ctor_set(x_807, 2, x_796); +lean_ctor_set(x_807, 3, x_797); +lean_ctor_set(x_807, 4, x_798); +lean_ctor_set(x_807, 5, x_799); +lean_ctor_set(x_807, 6, x_800); +lean_ctor_set(x_807, 7, x_801); +lean_ctor_set(x_807, 8, x_802); +lean_ctor_set(x_807, 9, x_803); +lean_ctor_set(x_807, 10, x_804); +lean_ctor_set(x_807, 11, x_805); +x_808 = lean_st_ref_set(x_3, x_807, x_788); +x_809 = lean_ctor_get(x_808, 1); +lean_inc(x_809); +lean_dec(x_808); +x_755 = x_782; +x_756 = x_809; +goto block_772; } } else { -uint8_t x_811; -lean_dec(x_754); -lean_dec(x_752); +uint8_t x_810; +lean_dec(x_753); lean_dec(x_751); +lean_dec(x_750); lean_dec(x_7); lean_dec(x_1); -x_811 = !lean_is_exclusive(x_782); -if (x_811 == 0) +x_810 = !lean_is_exclusive(x_781); +if (x_810 == 0) { -return x_782; +return x_781; } else { -lean_object* x_812; lean_object* x_813; lean_object* x_814; -x_812 = lean_ctor_get(x_782, 0); -x_813 = lean_ctor_get(x_782, 1); -lean_inc(x_813); +lean_object* x_811; lean_object* x_812; lean_object* x_813; +x_811 = lean_ctor_get(x_781, 0); +x_812 = lean_ctor_get(x_781, 1); lean_inc(x_812); -lean_dec(x_782); -x_814 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_814, 0, x_812); -lean_ctor_set(x_814, 1, x_813); -return x_814; +lean_inc(x_811); +lean_dec(x_781); +x_813 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_813, 0, x_811); +lean_ctor_set(x_813, 1, x_812); +return x_813; } } } else { -lean_object* x_815; -lean_dec(x_751); +lean_object* x_814; +lean_dec(x_750); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_815 = lean_ctor_get(x_781, 0); -lean_inc(x_815); -lean_dec(x_781); -x_756 = x_815; -x_757 = x_779; -goto block_773; +x_814 = lean_ctor_get(x_780, 0); +lean_inc(x_814); +lean_dec(x_780); +x_755 = x_814; +x_756 = x_778; +goto block_772; } } } -block_866: +block_865: { -lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; +lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; +lean_dec(x_823); +x_824 = lean_st_ref_get(x_7, x_752); +x_825 = lean_ctor_get(x_824, 1); +lean_inc(x_825); lean_dec(x_824); -x_825 = lean_st_ref_get(x_7, x_753); -x_826 = lean_ctor_get(x_825, 1); -lean_inc(x_826); -lean_dec(x_825); -x_827 = lean_st_ref_get(x_3, x_826); -x_828 = lean_ctor_get(x_827, 0); +x_826 = lean_st_ref_get(x_3, x_825); +x_827 = lean_ctor_get(x_826, 0); +lean_inc(x_827); +x_828 = lean_ctor_get(x_826, 1); lean_inc(x_828); +lean_dec(x_826); x_829 = lean_ctor_get(x_827, 1); lean_inc(x_829); lean_dec(x_827); -x_830 = lean_ctor_get(x_828, 1); -lean_inc(x_830); -lean_dec(x_828); -x_831 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_830, x_750); -lean_dec(x_830); -if (lean_obj_tag(x_831) == 0) +x_830 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_829, x_749); +lean_dec(x_829); +if (lean_obj_tag(x_830) == 0) { -lean_object* x_832; +lean_object* x_831; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_750); -x_832 = l_Lean_Meta_Closure_collectExprAux(x_750, x_2, x_3, x_4, x_5, x_6, x_7, x_829); -if (lean_obj_tag(x_832) == 0) +lean_inc(x_749); +x_831 = l_Lean_Meta_Closure_collectExprAux(x_749, x_2, x_3, x_4, x_5, x_6, x_7, x_828); +if (lean_obj_tag(x_831) == 0) { -lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; uint8_t x_840; -x_833 = lean_ctor_get(x_832, 0); +lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; uint8_t x_839; +x_832 = lean_ctor_get(x_831, 0); +lean_inc(x_832); +x_833 = lean_ctor_get(x_831, 1); lean_inc(x_833); -x_834 = lean_ctor_get(x_832, 1); -lean_inc(x_834); -lean_dec(x_832); -x_835 = lean_st_ref_get(x_7, x_834); -x_836 = lean_ctor_get(x_835, 1); -lean_inc(x_836); -lean_dec(x_835); -x_837 = lean_st_ref_take(x_3, x_836); -x_838 = lean_ctor_get(x_837, 0); +lean_dec(x_831); +x_834 = lean_st_ref_get(x_7, x_833); +x_835 = lean_ctor_get(x_834, 1); +lean_inc(x_835); +lean_dec(x_834); +x_836 = lean_st_ref_take(x_3, x_835); +x_837 = lean_ctor_get(x_836, 0); +lean_inc(x_837); +x_838 = lean_ctor_get(x_836, 1); lean_inc(x_838); -x_839 = lean_ctor_get(x_837, 1); -lean_inc(x_839); -lean_dec(x_837); -x_840 = !lean_is_exclusive(x_838); -if (x_840 == 0) +lean_dec(x_836); +x_839 = !lean_is_exclusive(x_837); +if (x_839 == 0) { -lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; -x_841 = lean_ctor_get(x_838, 1); -lean_inc(x_833); -x_842 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_841, x_750, x_833); -lean_ctor_set(x_838, 1, x_842); -x_843 = lean_st_ref_set(x_3, x_838, x_839); -x_844 = lean_ctor_get(x_843, 1); -lean_inc(x_844); -lean_dec(x_843); -x_754 = x_833; -x_755 = x_844; -goto block_823; +lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; +x_840 = lean_ctor_get(x_837, 1); +lean_inc(x_832); +x_841 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_840, x_749, x_832); +lean_ctor_set(x_837, 1, x_841); +x_842 = lean_st_ref_set(x_3, x_837, x_838); +x_843 = lean_ctor_get(x_842, 1); +lean_inc(x_843); +lean_dec(x_842); +x_753 = x_832; +x_754 = x_843; +goto block_822; } else { -lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; -x_845 = lean_ctor_get(x_838, 0); -x_846 = lean_ctor_get(x_838, 1); -x_847 = lean_ctor_get(x_838, 2); -x_848 = lean_ctor_get(x_838, 3); -x_849 = lean_ctor_get(x_838, 4); -x_850 = lean_ctor_get(x_838, 5); -x_851 = lean_ctor_get(x_838, 6); -x_852 = lean_ctor_get(x_838, 7); -x_853 = lean_ctor_get(x_838, 8); -x_854 = lean_ctor_get(x_838, 9); -x_855 = lean_ctor_get(x_838, 10); -x_856 = lean_ctor_get(x_838, 11); -lean_inc(x_856); +lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; +x_844 = lean_ctor_get(x_837, 0); +x_845 = lean_ctor_get(x_837, 1); +x_846 = lean_ctor_get(x_837, 2); +x_847 = lean_ctor_get(x_837, 3); +x_848 = lean_ctor_get(x_837, 4); +x_849 = lean_ctor_get(x_837, 5); +x_850 = lean_ctor_get(x_837, 6); +x_851 = lean_ctor_get(x_837, 7); +x_852 = lean_ctor_get(x_837, 8); +x_853 = lean_ctor_get(x_837, 9); +x_854 = lean_ctor_get(x_837, 10); +x_855 = lean_ctor_get(x_837, 11); lean_inc(x_855); lean_inc(x_854); lean_inc(x_853); @@ -7781,153 +7803,153 @@ lean_inc(x_848); lean_inc(x_847); lean_inc(x_846); lean_inc(x_845); -lean_dec(x_838); -lean_inc(x_833); -x_857 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_846, x_750, x_833); -x_858 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_858, 0, x_845); -lean_ctor_set(x_858, 1, x_857); -lean_ctor_set(x_858, 2, x_847); -lean_ctor_set(x_858, 3, x_848); -lean_ctor_set(x_858, 4, x_849); -lean_ctor_set(x_858, 5, x_850); -lean_ctor_set(x_858, 6, x_851); -lean_ctor_set(x_858, 7, x_852); -lean_ctor_set(x_858, 8, x_853); -lean_ctor_set(x_858, 9, x_854); -lean_ctor_set(x_858, 10, x_855); -lean_ctor_set(x_858, 11, x_856); -x_859 = lean_st_ref_set(x_3, x_858, x_839); -x_860 = lean_ctor_get(x_859, 1); -lean_inc(x_860); -lean_dec(x_859); -x_754 = x_833; -x_755 = x_860; -goto block_823; +lean_inc(x_844); +lean_dec(x_837); +lean_inc(x_832); +x_856 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_845, x_749, x_832); +x_857 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_857, 0, x_844); +lean_ctor_set(x_857, 1, x_856); +lean_ctor_set(x_857, 2, x_846); +lean_ctor_set(x_857, 3, x_847); +lean_ctor_set(x_857, 4, x_848); +lean_ctor_set(x_857, 5, x_849); +lean_ctor_set(x_857, 6, x_850); +lean_ctor_set(x_857, 7, x_851); +lean_ctor_set(x_857, 8, x_852); +lean_ctor_set(x_857, 9, x_853); +lean_ctor_set(x_857, 10, x_854); +lean_ctor_set(x_857, 11, x_855); +x_858 = lean_st_ref_set(x_3, x_857, x_838); +x_859 = lean_ctor_get(x_858, 1); +lean_inc(x_859); +lean_dec(x_858); +x_753 = x_832; +x_754 = x_859; +goto block_822; } } else { -uint8_t x_861; -lean_dec(x_752); +uint8_t x_860; lean_dec(x_751); lean_dec(x_750); +lean_dec(x_749); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_861 = !lean_is_exclusive(x_832); -if (x_861 == 0) +x_860 = !lean_is_exclusive(x_831); +if (x_860 == 0) { -return x_832; +return x_831; } else { -lean_object* x_862; lean_object* x_863; lean_object* x_864; -x_862 = lean_ctor_get(x_832, 0); -x_863 = lean_ctor_get(x_832, 1); -lean_inc(x_863); +lean_object* x_861; lean_object* x_862; lean_object* x_863; +x_861 = lean_ctor_get(x_831, 0); +x_862 = lean_ctor_get(x_831, 1); lean_inc(x_862); -lean_dec(x_832); -x_864 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_864, 0, x_862); -lean_ctor_set(x_864, 1, x_863); -return x_864; +lean_inc(x_861); +lean_dec(x_831); +x_863 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_863, 0, x_861); +lean_ctor_set(x_863, 1, x_862); +return x_863; } } } else { -lean_object* x_865; -lean_dec(x_750); -x_865 = lean_ctor_get(x_831, 0); -lean_inc(x_865); -lean_dec(x_831); -x_754 = x_865; -x_755 = x_829; -goto block_823; +lean_object* x_864; +lean_dec(x_749); +x_864 = lean_ctor_get(x_830, 0); +lean_inc(x_864); +lean_dec(x_830); +x_753 = x_864; +x_754 = x_828; +goto block_822; } } } -block_916: +block_915: { -lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; +lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; +lean_dec(x_873); +x_874 = lean_st_ref_get(x_7, x_8); +x_875 = lean_ctor_get(x_874, 1); +lean_inc(x_875); lean_dec(x_874); -x_875 = lean_st_ref_get(x_7, x_8); -x_876 = lean_ctor_get(x_875, 1); -lean_inc(x_876); -lean_dec(x_875); -x_877 = lean_st_ref_get(x_3, x_876); -x_878 = lean_ctor_get(x_877, 0); +x_876 = lean_st_ref_get(x_3, x_875); +x_877 = lean_ctor_get(x_876, 0); +lean_inc(x_877); +x_878 = lean_ctor_get(x_876, 1); lean_inc(x_878); +lean_dec(x_876); x_879 = lean_ctor_get(x_877, 1); lean_inc(x_879); lean_dec(x_877); -x_880 = lean_ctor_get(x_878, 1); -lean_inc(x_880); -lean_dec(x_878); -x_881 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_880, x_749); -lean_dec(x_880); -if (lean_obj_tag(x_881) == 0) +x_880 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_879, x_748); +lean_dec(x_879); +if (lean_obj_tag(x_880) == 0) { -lean_object* x_882; +lean_object* x_881; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_749); -x_882 = l_Lean_Meta_Closure_collectExprAux(x_749, x_2, x_3, x_4, x_5, x_6, x_7, x_879); -if (lean_obj_tag(x_882) == 0) +lean_inc(x_748); +x_881 = l_Lean_Meta_Closure_collectExprAux(x_748, x_2, x_3, x_4, x_5, x_6, x_7, x_878); +if (lean_obj_tag(x_881) == 0) { -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; uint8_t x_890; -x_883 = lean_ctor_get(x_882, 0); +lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; uint8_t x_889; +x_882 = lean_ctor_get(x_881, 0); +lean_inc(x_882); +x_883 = lean_ctor_get(x_881, 1); lean_inc(x_883); -x_884 = lean_ctor_get(x_882, 1); -lean_inc(x_884); -lean_dec(x_882); -x_885 = lean_st_ref_get(x_7, x_884); -x_886 = lean_ctor_get(x_885, 1); -lean_inc(x_886); -lean_dec(x_885); -x_887 = lean_st_ref_take(x_3, x_886); -x_888 = lean_ctor_get(x_887, 0); +lean_dec(x_881); +x_884 = lean_st_ref_get(x_7, x_883); +x_885 = lean_ctor_get(x_884, 1); +lean_inc(x_885); +lean_dec(x_884); +x_886 = lean_st_ref_take(x_3, x_885); +x_887 = lean_ctor_get(x_886, 0); +lean_inc(x_887); +x_888 = lean_ctor_get(x_886, 1); lean_inc(x_888); -x_889 = lean_ctor_get(x_887, 1); -lean_inc(x_889); -lean_dec(x_887); -x_890 = !lean_is_exclusive(x_888); -if (x_890 == 0) +lean_dec(x_886); +x_889 = !lean_is_exclusive(x_887); +if (x_889 == 0) { -lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; -x_891 = lean_ctor_get(x_888, 1); -lean_inc(x_883); -x_892 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_891, x_749, x_883); -lean_ctor_set(x_888, 1, x_892); -x_893 = lean_st_ref_set(x_3, x_888, x_889); -x_894 = lean_ctor_get(x_893, 1); -lean_inc(x_894); -lean_dec(x_893); -x_752 = x_883; -x_753 = x_894; -goto block_873; +lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; +x_890 = lean_ctor_get(x_887, 1); +lean_inc(x_882); +x_891 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_890, x_748, x_882); +lean_ctor_set(x_887, 1, x_891); +x_892 = lean_st_ref_set(x_3, x_887, x_888); +x_893 = lean_ctor_get(x_892, 1); +lean_inc(x_893); +lean_dec(x_892); +x_751 = x_882; +x_752 = x_893; +goto block_872; } else { -lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; -x_895 = lean_ctor_get(x_888, 0); -x_896 = lean_ctor_get(x_888, 1); -x_897 = lean_ctor_get(x_888, 2); -x_898 = lean_ctor_get(x_888, 3); -x_899 = lean_ctor_get(x_888, 4); -x_900 = lean_ctor_get(x_888, 5); -x_901 = lean_ctor_get(x_888, 6); -x_902 = lean_ctor_get(x_888, 7); -x_903 = lean_ctor_get(x_888, 8); -x_904 = lean_ctor_get(x_888, 9); -x_905 = lean_ctor_get(x_888, 10); -x_906 = lean_ctor_get(x_888, 11); -lean_inc(x_906); +lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; +x_894 = lean_ctor_get(x_887, 0); +x_895 = lean_ctor_get(x_887, 1); +x_896 = lean_ctor_get(x_887, 2); +x_897 = lean_ctor_get(x_887, 3); +x_898 = lean_ctor_get(x_887, 4); +x_899 = lean_ctor_get(x_887, 5); +x_900 = lean_ctor_get(x_887, 6); +x_901 = lean_ctor_get(x_887, 7); +x_902 = lean_ctor_get(x_887, 8); +x_903 = lean_ctor_get(x_887, 9); +x_904 = lean_ctor_get(x_887, 10); +x_905 = lean_ctor_get(x_887, 11); lean_inc(x_905); lean_inc(x_904); lean_inc(x_903); @@ -7939,198 +7961,198 @@ lean_inc(x_898); lean_inc(x_897); lean_inc(x_896); lean_inc(x_895); -lean_dec(x_888); -lean_inc(x_883); -x_907 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_896, x_749, x_883); -x_908 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_908, 0, x_895); -lean_ctor_set(x_908, 1, x_907); -lean_ctor_set(x_908, 2, x_897); -lean_ctor_set(x_908, 3, x_898); -lean_ctor_set(x_908, 4, x_899); -lean_ctor_set(x_908, 5, x_900); -lean_ctor_set(x_908, 6, x_901); -lean_ctor_set(x_908, 7, x_902); -lean_ctor_set(x_908, 8, x_903); -lean_ctor_set(x_908, 9, x_904); -lean_ctor_set(x_908, 10, x_905); -lean_ctor_set(x_908, 11, x_906); -x_909 = lean_st_ref_set(x_3, x_908, x_889); -x_910 = lean_ctor_get(x_909, 1); -lean_inc(x_910); -lean_dec(x_909); -x_752 = x_883; -x_753 = x_910; -goto block_873; +lean_inc(x_894); +lean_dec(x_887); +lean_inc(x_882); +x_906 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_895, x_748, x_882); +x_907 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_907, 0, x_894); +lean_ctor_set(x_907, 1, x_906); +lean_ctor_set(x_907, 2, x_896); +lean_ctor_set(x_907, 3, x_897); +lean_ctor_set(x_907, 4, x_898); +lean_ctor_set(x_907, 5, x_899); +lean_ctor_set(x_907, 6, x_900); +lean_ctor_set(x_907, 7, x_901); +lean_ctor_set(x_907, 8, x_902); +lean_ctor_set(x_907, 9, x_903); +lean_ctor_set(x_907, 10, x_904); +lean_ctor_set(x_907, 11, x_905); +x_908 = lean_st_ref_set(x_3, x_907, x_888); +x_909 = lean_ctor_get(x_908, 1); +lean_inc(x_909); +lean_dec(x_908); +x_751 = x_882; +x_752 = x_909; +goto block_872; } } else { -uint8_t x_911; -lean_dec(x_751); +uint8_t x_910; lean_dec(x_750); lean_dec(x_749); +lean_dec(x_748); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_911 = !lean_is_exclusive(x_882); -if (x_911 == 0) +x_910 = !lean_is_exclusive(x_881); +if (x_910 == 0) { -return x_882; +return x_881; } else { -lean_object* x_912; lean_object* x_913; lean_object* x_914; -x_912 = lean_ctor_get(x_882, 0); -x_913 = lean_ctor_get(x_882, 1); -lean_inc(x_913); +lean_object* x_911; lean_object* x_912; lean_object* x_913; +x_911 = lean_ctor_get(x_881, 0); +x_912 = lean_ctor_get(x_881, 1); lean_inc(x_912); -lean_dec(x_882); -x_914 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_914, 0, x_912); -lean_ctor_set(x_914, 1, x_913); -return x_914; +lean_inc(x_911); +lean_dec(x_881); +x_913 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_913, 0, x_911); +lean_ctor_set(x_913, 1, x_912); +return x_913; } } } else { -lean_object* x_915; -lean_dec(x_749); -x_915 = lean_ctor_get(x_881, 0); -lean_inc(x_915); -lean_dec(x_881); -x_752 = x_915; -x_753 = x_879; -goto block_873; +lean_object* x_914; +lean_dec(x_748); +x_914 = lean_ctor_get(x_880, 0); +lean_inc(x_914); +lean_dec(x_880); +x_751 = x_914; +x_752 = x_878; +goto block_872; } } } case 10: { -lean_object* x_923; lean_object* x_924; uint8_t x_967; -x_923 = lean_ctor_get(x_1, 1); -lean_inc(x_923); -x_967 = l_Lean_Expr_hasLevelParam(x_923); +lean_object* x_922; lean_object* x_923; uint8_t x_966; +x_922 = lean_ctor_get(x_1, 1); +lean_inc(x_922); +x_966 = l_Lean_Expr_hasLevelParam(x_922); +if (x_966 == 0) +{ +uint8_t x_967; +x_967 = l_Lean_Expr_hasFVar(x_922); if (x_967 == 0) { uint8_t x_968; -x_968 = l_Lean_Expr_hasFVar(x_923); +x_968 = l_Lean_Expr_hasMVar(x_922); if (x_968 == 0) { -uint8_t x_969; -x_969 = l_Lean_Expr_hasMVar(x_923); -if (x_969 == 0) -{ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_9 = x_923; +x_9 = x_922; x_10 = x_8; goto block_24; } else { +lean_object* x_969; +x_969 = lean_box(0); +x_923 = x_969; +goto block_965; +} +} +else +{ lean_object* x_970; x_970 = lean_box(0); -x_924 = x_970; -goto block_966; +x_923 = x_970; +goto block_965; } } else { lean_object* x_971; x_971 = lean_box(0); -x_924 = x_971; -goto block_966; +x_923 = x_971; +goto block_965; } -} -else +block_965: { -lean_object* x_972; -x_972 = lean_box(0); -x_924 = x_972; -goto block_966; -} -block_966: -{ -lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; +lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; +lean_dec(x_923); +x_924 = lean_st_ref_get(x_7, x_8); +x_925 = lean_ctor_get(x_924, 1); +lean_inc(x_925); lean_dec(x_924); -x_925 = lean_st_ref_get(x_7, x_8); -x_926 = lean_ctor_get(x_925, 1); -lean_inc(x_926); -lean_dec(x_925); -x_927 = lean_st_ref_get(x_3, x_926); -x_928 = lean_ctor_get(x_927, 0); +x_926 = lean_st_ref_get(x_3, x_925); +x_927 = lean_ctor_get(x_926, 0); +lean_inc(x_927); +x_928 = lean_ctor_get(x_926, 1); lean_inc(x_928); +lean_dec(x_926); x_929 = lean_ctor_get(x_927, 1); lean_inc(x_929); lean_dec(x_927); -x_930 = lean_ctor_get(x_928, 1); -lean_inc(x_930); -lean_dec(x_928); -x_931 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_930, x_923); -lean_dec(x_930); +x_930 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_929, x_922); +lean_dec(x_929); +if (lean_obj_tag(x_930) == 0) +{ +lean_object* x_931; +lean_inc(x_7); +lean_inc(x_922); +x_931 = l_Lean_Meta_Closure_collectExprAux(x_922, x_2, x_3, x_4, x_5, x_6, x_7, x_928); if (lean_obj_tag(x_931) == 0) { -lean_object* x_932; -lean_inc(x_7); -lean_inc(x_923); -x_932 = l_Lean_Meta_Closure_collectExprAux(x_923, x_2, x_3, x_4, x_5, x_6, x_7, x_929); -if (lean_obj_tag(x_932) == 0) -{ -lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; uint8_t x_940; -x_933 = lean_ctor_get(x_932, 0); +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; uint8_t x_939; +x_932 = lean_ctor_get(x_931, 0); +lean_inc(x_932); +x_933 = lean_ctor_get(x_931, 1); lean_inc(x_933); -x_934 = lean_ctor_get(x_932, 1); -lean_inc(x_934); -lean_dec(x_932); -x_935 = lean_st_ref_get(x_7, x_934); +lean_dec(x_931); +x_934 = lean_st_ref_get(x_7, x_933); lean_dec(x_7); -x_936 = lean_ctor_get(x_935, 1); -lean_inc(x_936); -lean_dec(x_935); -x_937 = lean_st_ref_take(x_3, x_936); -x_938 = lean_ctor_get(x_937, 0); +x_935 = lean_ctor_get(x_934, 1); +lean_inc(x_935); +lean_dec(x_934); +x_936 = lean_st_ref_take(x_3, x_935); +x_937 = lean_ctor_get(x_936, 0); +lean_inc(x_937); +x_938 = lean_ctor_get(x_936, 1); lean_inc(x_938); -x_939 = lean_ctor_get(x_937, 1); -lean_inc(x_939); -lean_dec(x_937); -x_940 = !lean_is_exclusive(x_938); -if (x_940 == 0) +lean_dec(x_936); +x_939 = !lean_is_exclusive(x_937); +if (x_939 == 0) { -lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; -x_941 = lean_ctor_get(x_938, 1); -lean_inc(x_933); -x_942 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_941, x_923, x_933); -lean_ctor_set(x_938, 1, x_942); -x_943 = lean_st_ref_set(x_3, x_938, x_939); -x_944 = lean_ctor_get(x_943, 1); -lean_inc(x_944); -lean_dec(x_943); -x_9 = x_933; -x_10 = x_944; +lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; +x_940 = lean_ctor_get(x_937, 1); +lean_inc(x_932); +x_941 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_940, x_922, x_932); +lean_ctor_set(x_937, 1, x_941); +x_942 = lean_st_ref_set(x_3, x_937, x_938); +x_943 = lean_ctor_get(x_942, 1); +lean_inc(x_943); +lean_dec(x_942); +x_9 = x_932; +x_10 = x_943; goto block_24; } else { -lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; -x_945 = lean_ctor_get(x_938, 0); -x_946 = lean_ctor_get(x_938, 1); -x_947 = lean_ctor_get(x_938, 2); -x_948 = lean_ctor_get(x_938, 3); -x_949 = lean_ctor_get(x_938, 4); -x_950 = lean_ctor_get(x_938, 5); -x_951 = lean_ctor_get(x_938, 6); -x_952 = lean_ctor_get(x_938, 7); -x_953 = lean_ctor_get(x_938, 8); -x_954 = lean_ctor_get(x_938, 9); -x_955 = lean_ctor_get(x_938, 10); -x_956 = lean_ctor_get(x_938, 11); -lean_inc(x_956); +lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; +x_944 = lean_ctor_get(x_937, 0); +x_945 = lean_ctor_get(x_937, 1); +x_946 = lean_ctor_get(x_937, 2); +x_947 = lean_ctor_get(x_937, 3); +x_948 = lean_ctor_get(x_937, 4); +x_949 = lean_ctor_get(x_937, 5); +x_950 = lean_ctor_get(x_937, 6); +x_951 = lean_ctor_get(x_937, 7); +x_952 = lean_ctor_get(x_937, 8); +x_953 = lean_ctor_get(x_937, 9); +x_954 = lean_ctor_get(x_937, 10); +x_955 = lean_ctor_get(x_937, 11); lean_inc(x_955); lean_inc(x_954); lean_inc(x_953); @@ -8142,197 +8164,197 @@ lean_inc(x_948); lean_inc(x_947); lean_inc(x_946); lean_inc(x_945); -lean_dec(x_938); -lean_inc(x_933); -x_957 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_946, x_923, x_933); -x_958 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_958, 0, x_945); -lean_ctor_set(x_958, 1, x_957); -lean_ctor_set(x_958, 2, x_947); -lean_ctor_set(x_958, 3, x_948); -lean_ctor_set(x_958, 4, x_949); -lean_ctor_set(x_958, 5, x_950); -lean_ctor_set(x_958, 6, x_951); -lean_ctor_set(x_958, 7, x_952); -lean_ctor_set(x_958, 8, x_953); -lean_ctor_set(x_958, 9, x_954); -lean_ctor_set(x_958, 10, x_955); -lean_ctor_set(x_958, 11, x_956); -x_959 = lean_st_ref_set(x_3, x_958, x_939); -x_960 = lean_ctor_get(x_959, 1); -lean_inc(x_960); -lean_dec(x_959); -x_9 = x_933; -x_10 = x_960; +lean_inc(x_944); +lean_dec(x_937); +lean_inc(x_932); +x_956 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_945, x_922, x_932); +x_957 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_957, 0, x_944); +lean_ctor_set(x_957, 1, x_956); +lean_ctor_set(x_957, 2, x_946); +lean_ctor_set(x_957, 3, x_947); +lean_ctor_set(x_957, 4, x_948); +lean_ctor_set(x_957, 5, x_949); +lean_ctor_set(x_957, 6, x_950); +lean_ctor_set(x_957, 7, x_951); +lean_ctor_set(x_957, 8, x_952); +lean_ctor_set(x_957, 9, x_953); +lean_ctor_set(x_957, 10, x_954); +lean_ctor_set(x_957, 11, x_955); +x_958 = lean_st_ref_set(x_3, x_957, x_938); +x_959 = lean_ctor_get(x_958, 1); +lean_inc(x_959); +lean_dec(x_958); +x_9 = x_932; +x_10 = x_959; goto block_24; } } else { -uint8_t x_961; -lean_dec(x_923); +uint8_t x_960; +lean_dec(x_922); lean_dec(x_7); lean_dec(x_1); -x_961 = !lean_is_exclusive(x_932); -if (x_961 == 0) +x_960 = !lean_is_exclusive(x_931); +if (x_960 == 0) { -return x_932; +return x_931; } else { -lean_object* x_962; lean_object* x_963; lean_object* x_964; -x_962 = lean_ctor_get(x_932, 0); -x_963 = lean_ctor_get(x_932, 1); -lean_inc(x_963); +lean_object* x_961; lean_object* x_962; lean_object* x_963; +x_961 = lean_ctor_get(x_931, 0); +x_962 = lean_ctor_get(x_931, 1); lean_inc(x_962); -lean_dec(x_932); -x_964 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_964, 0, x_962); -lean_ctor_set(x_964, 1, x_963); -return x_964; +lean_inc(x_961); +lean_dec(x_931); +x_963 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_963, 0, x_961); +lean_ctor_set(x_963, 1, x_962); +return x_963; } } } else { -lean_object* x_965; -lean_dec(x_923); +lean_object* x_964; +lean_dec(x_922); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_965 = lean_ctor_get(x_931, 0); -lean_inc(x_965); -lean_dec(x_931); -x_9 = x_965; -x_10 = x_929; +x_964 = lean_ctor_get(x_930, 0); +lean_inc(x_964); +lean_dec(x_930); +x_9 = x_964; +x_10 = x_928; goto block_24; } } } case 11: { -lean_object* x_973; lean_object* x_974; uint8_t x_1017; -x_973 = lean_ctor_get(x_1, 2); -lean_inc(x_973); -x_1017 = l_Lean_Expr_hasLevelParam(x_973); +lean_object* x_972; lean_object* x_973; uint8_t x_1016; +x_972 = lean_ctor_get(x_1, 2); +lean_inc(x_972); +x_1016 = l_Lean_Expr_hasLevelParam(x_972); +if (x_1016 == 0) +{ +uint8_t x_1017; +x_1017 = l_Lean_Expr_hasFVar(x_972); if (x_1017 == 0) { uint8_t x_1018; -x_1018 = l_Lean_Expr_hasFVar(x_973); +x_1018 = l_Lean_Expr_hasMVar(x_972); if (x_1018 == 0) { -uint8_t x_1019; -x_1019 = l_Lean_Expr_hasMVar(x_973); -if (x_1019 == 0) -{ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_25 = x_973; +x_25 = x_972; x_26 = x_8; goto block_41; } else { +lean_object* x_1019; +x_1019 = lean_box(0); +x_973 = x_1019; +goto block_1015; +} +} +else +{ lean_object* x_1020; x_1020 = lean_box(0); -x_974 = x_1020; -goto block_1016; +x_973 = x_1020; +goto block_1015; } } else { lean_object* x_1021; x_1021 = lean_box(0); -x_974 = x_1021; -goto block_1016; +x_973 = x_1021; +goto block_1015; } -} -else +block_1015: { -lean_object* x_1022; -x_1022 = lean_box(0); -x_974 = x_1022; -goto block_1016; -} -block_1016: -{ -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_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_dec(x_973); +x_974 = lean_st_ref_get(x_7, x_8); +x_975 = lean_ctor_get(x_974, 1); +lean_inc(x_975); lean_dec(x_974); -x_975 = lean_st_ref_get(x_7, x_8); -x_976 = lean_ctor_get(x_975, 1); -lean_inc(x_976); -lean_dec(x_975); -x_977 = lean_st_ref_get(x_3, x_976); -x_978 = lean_ctor_get(x_977, 0); +x_976 = lean_st_ref_get(x_3, x_975); +x_977 = lean_ctor_get(x_976, 0); +lean_inc(x_977); +x_978 = lean_ctor_get(x_976, 1); lean_inc(x_978); +lean_dec(x_976); x_979 = lean_ctor_get(x_977, 1); lean_inc(x_979); lean_dec(x_977); -x_980 = lean_ctor_get(x_978, 1); -lean_inc(x_980); -lean_dec(x_978); -x_981 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_980, x_973); -lean_dec(x_980); +x_980 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_979, x_972); +lean_dec(x_979); +if (lean_obj_tag(x_980) == 0) +{ +lean_object* x_981; +lean_inc(x_7); +lean_inc(x_972); +x_981 = l_Lean_Meta_Closure_collectExprAux(x_972, x_2, x_3, x_4, x_5, x_6, x_7, x_978); if (lean_obj_tag(x_981) == 0) { -lean_object* x_982; -lean_inc(x_7); -lean_inc(x_973); -x_982 = l_Lean_Meta_Closure_collectExprAux(x_973, x_2, x_3, x_4, x_5, x_6, x_7, x_979); -if (lean_obj_tag(x_982) == 0) -{ -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; uint8_t x_990; -x_983 = lean_ctor_get(x_982, 0); +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; uint8_t x_989; +x_982 = lean_ctor_get(x_981, 0); +lean_inc(x_982); +x_983 = lean_ctor_get(x_981, 1); lean_inc(x_983); -x_984 = lean_ctor_get(x_982, 1); -lean_inc(x_984); -lean_dec(x_982); -x_985 = lean_st_ref_get(x_7, x_984); +lean_dec(x_981); +x_984 = lean_st_ref_get(x_7, x_983); lean_dec(x_7); -x_986 = lean_ctor_get(x_985, 1); -lean_inc(x_986); -lean_dec(x_985); -x_987 = lean_st_ref_take(x_3, x_986); -x_988 = lean_ctor_get(x_987, 0); +x_985 = lean_ctor_get(x_984, 1); +lean_inc(x_985); +lean_dec(x_984); +x_986 = lean_st_ref_take(x_3, x_985); +x_987 = lean_ctor_get(x_986, 0); +lean_inc(x_987); +x_988 = lean_ctor_get(x_986, 1); lean_inc(x_988); -x_989 = lean_ctor_get(x_987, 1); -lean_inc(x_989); -lean_dec(x_987); -x_990 = !lean_is_exclusive(x_988); -if (x_990 == 0) +lean_dec(x_986); +x_989 = !lean_is_exclusive(x_987); +if (x_989 == 0) { -lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; -x_991 = lean_ctor_get(x_988, 1); -lean_inc(x_983); -x_992 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_991, x_973, x_983); -lean_ctor_set(x_988, 1, x_992); -x_993 = lean_st_ref_set(x_3, x_988, x_989); -x_994 = lean_ctor_get(x_993, 1); -lean_inc(x_994); -lean_dec(x_993); -x_25 = x_983; -x_26 = x_994; +lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; +x_990 = lean_ctor_get(x_987, 1); +lean_inc(x_982); +x_991 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_990, x_972, x_982); +lean_ctor_set(x_987, 1, x_991); +x_992 = lean_st_ref_set(x_3, x_987, x_988); +x_993 = lean_ctor_get(x_992, 1); +lean_inc(x_993); +lean_dec(x_992); +x_25 = x_982; +x_26 = x_993; goto block_41; } else { -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; -x_995 = lean_ctor_get(x_988, 0); -x_996 = lean_ctor_get(x_988, 1); -x_997 = lean_ctor_get(x_988, 2); -x_998 = lean_ctor_get(x_988, 3); -x_999 = lean_ctor_get(x_988, 4); -x_1000 = lean_ctor_get(x_988, 5); -x_1001 = lean_ctor_get(x_988, 6); -x_1002 = lean_ctor_get(x_988, 7); -x_1003 = lean_ctor_get(x_988, 8); -x_1004 = lean_ctor_get(x_988, 9); -x_1005 = lean_ctor_get(x_988, 10); -x_1006 = lean_ctor_get(x_988, 11); -lean_inc(x_1006); +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; +x_994 = lean_ctor_get(x_987, 0); +x_995 = lean_ctor_get(x_987, 1); +x_996 = lean_ctor_get(x_987, 2); +x_997 = lean_ctor_get(x_987, 3); +x_998 = lean_ctor_get(x_987, 4); +x_999 = lean_ctor_get(x_987, 5); +x_1000 = lean_ctor_get(x_987, 6); +x_1001 = lean_ctor_get(x_987, 7); +x_1002 = lean_ctor_get(x_987, 8); +x_1003 = lean_ctor_get(x_987, 9); +x_1004 = lean_ctor_get(x_987, 10); +x_1005 = lean_ctor_get(x_987, 11); lean_inc(x_1005); lean_inc(x_1004); lean_inc(x_1003); @@ -8344,85 +8366,86 @@ lean_inc(x_998); lean_inc(x_997); lean_inc(x_996); lean_inc(x_995); -lean_dec(x_988); -lean_inc(x_983); -x_1007 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_996, x_973, x_983); -x_1008 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_1008, 0, x_995); -lean_ctor_set(x_1008, 1, x_1007); -lean_ctor_set(x_1008, 2, x_997); -lean_ctor_set(x_1008, 3, x_998); -lean_ctor_set(x_1008, 4, x_999); -lean_ctor_set(x_1008, 5, x_1000); -lean_ctor_set(x_1008, 6, x_1001); -lean_ctor_set(x_1008, 7, x_1002); -lean_ctor_set(x_1008, 8, x_1003); -lean_ctor_set(x_1008, 9, x_1004); -lean_ctor_set(x_1008, 10, x_1005); -lean_ctor_set(x_1008, 11, x_1006); -x_1009 = lean_st_ref_set(x_3, x_1008, x_989); -x_1010 = lean_ctor_get(x_1009, 1); -lean_inc(x_1010); -lean_dec(x_1009); -x_25 = x_983; -x_26 = x_1010; +lean_inc(x_994); +lean_dec(x_987); +lean_inc(x_982); +x_1006 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_995, x_972, x_982); +x_1007 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_1007, 0, x_994); +lean_ctor_set(x_1007, 1, x_1006); +lean_ctor_set(x_1007, 2, x_996); +lean_ctor_set(x_1007, 3, x_997); +lean_ctor_set(x_1007, 4, x_998); +lean_ctor_set(x_1007, 5, x_999); +lean_ctor_set(x_1007, 6, x_1000); +lean_ctor_set(x_1007, 7, x_1001); +lean_ctor_set(x_1007, 8, x_1002); +lean_ctor_set(x_1007, 9, x_1003); +lean_ctor_set(x_1007, 10, x_1004); +lean_ctor_set(x_1007, 11, x_1005); +x_1008 = lean_st_ref_set(x_3, x_1007, x_988); +x_1009 = lean_ctor_get(x_1008, 1); +lean_inc(x_1009); +lean_dec(x_1008); +x_25 = x_982; +x_26 = x_1009; goto block_41; } } else { -uint8_t x_1011; -lean_dec(x_973); +uint8_t x_1010; +lean_dec(x_972); lean_dec(x_7); lean_dec(x_1); -x_1011 = !lean_is_exclusive(x_982); -if (x_1011 == 0) +x_1010 = !lean_is_exclusive(x_981); +if (x_1010 == 0) { -return x_982; +return x_981; } else { -lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; -x_1012 = lean_ctor_get(x_982, 0); -x_1013 = lean_ctor_get(x_982, 1); -lean_inc(x_1013); +lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; +x_1011 = lean_ctor_get(x_981, 0); +x_1012 = lean_ctor_get(x_981, 1); lean_inc(x_1012); -lean_dec(x_982); -x_1014 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1014, 0, x_1012); -lean_ctor_set(x_1014, 1, x_1013); -return x_1014; +lean_inc(x_1011); +lean_dec(x_981); +x_1013 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1013, 0, x_1011); +lean_ctor_set(x_1013, 1, x_1012); +return x_1013; } } } else { -lean_object* x_1015; -lean_dec(x_973); +lean_object* x_1014; +lean_dec(x_972); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_1015 = lean_ctor_get(x_981, 0); -lean_inc(x_1015); -lean_dec(x_981); -x_25 = x_1015; -x_26 = x_979; +x_1014 = lean_ctor_get(x_980, 0); +lean_inc(x_1014); +lean_dec(x_980); +x_25 = x_1014; +x_26 = x_978; goto block_41; } } } default: { -lean_object* x_1023; +lean_object* x_1022; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_1023 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1023, 0, x_1); -lean_ctor_set(x_1023, 1, x_8); -return x_1023; +x_1022 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1022, 0, x_1); +lean_ctor_set(x_1022, 1, x_8); +return x_1022; } } block_24: @@ -8540,41 +8563,44 @@ return x_3; lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; -x_6 = l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1(x_1, x_2, x_3, x_4, x_5); +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_1); +lean_dec(x_1); +x_7 = l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1(x_6, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -return x_6; +return x_7; } } lean_object* l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; -x_9 = l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); +lean_dec(x_2); +x_10 = l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__2(x_1, x_9, 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; +return x_10; } } lean_object* l_Lean_Meta_Closure_collectExprAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; -x_9 = l_Lean_Meta_Closure_collectExprAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); lean_dec(x_2); -return x_9; +x_10 = l_Lean_Meta_Closure_collectExprAux(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_10; } } -lean_object* l_Lean_Meta_Closure_collectExpr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_Closure_collectExpr(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) { _start: { lean_object* x_9; @@ -9246,11 +9272,12 @@ return x_160; lean_object* l_Lean_Meta_Closure_collectExpr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; -x_9 = l_Lean_Meta_Closure_collectExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); lean_dec(x_2); -return x_9; +x_10 = l_Lean_Meta_Closure_collectExpr(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_10; } } lean_object* l_Lean_Meta_Closure_pickNextToProcessAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -9636,7 +9663,7 @@ return x_95; } } } -lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f(lean_object* x_1) { +lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f(uint8_t x_1) { _start: { lean_object* x_2; @@ -9668,13 +9695,14 @@ return x_7; lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f___boxed(lean_object* x_1) { _start: { -lean_object* x_2; -x_2 = l_Lean_Meta_Closure_pickNextToProcess_x3f(x_1); +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); lean_dec(x_1); -return x_2; +x_3 = l_Lean_Meta_Closure_pickNextToProcess_x3f(x_2); +return x_3; } } -lean_object* l_Lean_Meta_Closure_pushFVarArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_Closure_pushFVarArg(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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -9787,18 +9815,19 @@ return x_42; lean_object* l_Lean_Meta_Closure_pushFVarArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; -x_9 = l_Lean_Meta_Closure_pushFVarArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); +lean_dec(x_2); +x_10 = l_Lean_Meta_Closure_pushFVarArg(x_1, x_9, 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; +return x_10; } } -lean_object* l_Lean_Meta_Closure_pushLocalDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Meta_Closure_pushLocalDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -9962,13 +9991,14 @@ return x_56; lean_object* l_Lean_Meta_Closure_pushLocalDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; lean_object* x_13; +uint8_t x_12; uint8_t x_13; lean_object* x_14; x_12 = lean_unbox(x_4); lean_dec(x_4); -x_13 = l_Lean_Meta_Closure_pushLocalDecl(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_6); +x_13 = lean_unbox(x_5); lean_dec(x_5); -return x_13; +x_14 = l_Lean_Meta_Closure_pushLocalDecl(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +return x_14; } } lean_object* l_Lean_Meta_Closure_process_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -10089,7 +10119,7 @@ goto _start; } } } -lean_object* l_Lean_Meta_Closure_process(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Meta_Closure_process(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -11022,11 +11052,12 @@ return x_8; lean_object* l_Lean_Meta_Closure_process___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; -x_8 = l_Lean_Meta_Closure_process(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_2); +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_1); lean_dec(x_1); -return x_8; +x_9 = l_Lean_Meta_Closure_process(x_8, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_9; } } lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_mkBinding___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { @@ -11423,7 +11454,7 @@ lean_dec(x_2); return x_3; } } -lean_object* l_Lean_Meta_Closure_mkValueTypeClosureAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Meta_Closure_mkValueTypeClosureAux(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -11939,11 +11970,12 @@ return x_114; lean_object* l_Lean_Meta_Closure_mkValueTypeClosureAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; -x_10 = l_Lean_Meta_Closure_mkValueTypeClosureAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_3); lean_dec(x_3); -return x_10; +x_11 = l_Lean_Meta_Closure_mkValueTypeClosureAux(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_11; } } lean_object* l_Lean_Meta_Closure_mkValueTypeClosure_match__1___rarg(lean_object* x_1, lean_object* x_2) { @@ -11998,7 +12030,7 @@ return x_4; lean_object* l_Lean_Meta_Closure_mkValueTypeClosure(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_9 = lean_st_ref_get(x_7, x_8); x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); @@ -12010,155 +12042,153 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = lean_box(x_3); lean_inc(x_7); -x_16 = l_Lean_Meta_Closure_mkValueTypeClosureAux(x_1, x_2, x_15, x_13, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_15); -if (lean_obj_tag(x_16) == 0) +x_15 = l_Lean_Meta_Closure_mkValueTypeClosureAux(x_1, x_2, x_3, x_13, x_4, x_5, x_6, x_7, x_14); +if (lean_obj_tag(x_15) == 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_16, 0); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_st_ref_get(x_7, x_18); +lean_dec(x_15); +x_18 = lean_st_ref_get(x_7, x_17); lean_dec(x_7); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_st_ref_get(x_13, x_20); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_st_ref_get(x_13, x_19); lean_dec(x_13); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 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; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_17, 0); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_16, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_16, 1); lean_inc(x_24); -x_25 = lean_ctor_get(x_17, 1); +lean_dec(x_16); +x_25 = lean_ctor_get(x_22, 5); lean_inc(x_25); -lean_dec(x_17); -x_26 = lean_ctor_get(x_23, 5); -lean_inc(x_26); -x_27 = l_Array_reverse___rarg(x_26); -x_28 = lean_ctor_get(x_23, 6); -lean_inc(x_28); -x_29 = l_Array_append___rarg(x_27, x_28); -lean_dec(x_28); -x_30 = lean_ctor_get(x_23, 7); -lean_inc(x_30); -x_31 = l_Array_reverse___rarg(x_30); -lean_inc(x_31); -x_32 = l_Lean_Meta_Closure_mkForall(x_31, x_24); -lean_dec(x_24); +x_26 = l_Array_reverse___rarg(x_25); +x_27 = lean_ctor_get(x_22, 6); +lean_inc(x_27); +x_28 = l_Array_append___rarg(x_26, x_27); +lean_dec(x_27); +x_29 = lean_ctor_get(x_22, 7); lean_inc(x_29); -x_33 = l_Lean_Meta_Closure_mkForall(x_29, x_32); -lean_dec(x_32); -x_34 = l_Lean_Meta_Closure_mkLambda(x_31, x_25); -lean_dec(x_25); -x_35 = l_Lean_Meta_Closure_mkLambda(x_29, x_34); -lean_dec(x_34); -x_36 = lean_ctor_get(x_23, 2); -lean_inc(x_36); -x_37 = lean_ctor_get(x_23, 4); -lean_inc(x_37); -x_38 = lean_ctor_get(x_23, 10); -lean_inc(x_38); -x_39 = l_Array_reverse___rarg(x_38); -x_40 = lean_ctor_get(x_23, 9); -lean_inc(x_40); +x_30 = l_Array_reverse___rarg(x_29); +lean_inc(x_30); +x_31 = l_Lean_Meta_Closure_mkForall(x_30, x_23); lean_dec(x_23); -x_41 = l_Array_append___rarg(x_39, x_40); -lean_dec(x_40); -x_42 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_42, 0, x_36); -lean_ctor_set(x_42, 1, x_33); -lean_ctor_set(x_42, 2, x_35); -lean_ctor_set(x_42, 3, x_37); -lean_ctor_set(x_42, 4, x_41); -lean_ctor_set(x_21, 0, x_42); -return x_21; +lean_inc(x_28); +x_32 = l_Lean_Meta_Closure_mkForall(x_28, x_31); +lean_dec(x_31); +x_33 = l_Lean_Meta_Closure_mkLambda(x_30, x_24); +lean_dec(x_24); +x_34 = l_Lean_Meta_Closure_mkLambda(x_28, x_33); +lean_dec(x_33); +x_35 = lean_ctor_get(x_22, 2); +lean_inc(x_35); +x_36 = lean_ctor_get(x_22, 4); +lean_inc(x_36); +x_37 = lean_ctor_get(x_22, 10); +lean_inc(x_37); +x_38 = l_Array_reverse___rarg(x_37); +x_39 = lean_ctor_get(x_22, 9); +lean_inc(x_39); +lean_dec(x_22); +x_40 = l_Array_append___rarg(x_38, x_39); +lean_dec(x_39); +x_41 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_41, 0, x_35); +lean_ctor_set(x_41, 1, x_32); +lean_ctor_set(x_41, 2, x_34); +lean_ctor_set(x_41, 3, x_36); +lean_ctor_set(x_41, 4, x_40); +lean_ctor_set(x_20, 0, x_41); +return x_20; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_43 = lean_ctor_get(x_21, 0); -x_44 = lean_ctor_get(x_21, 1); -lean_inc(x_44); +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; +x_42 = lean_ctor_get(x_20, 0); +x_43 = lean_ctor_get(x_20, 1); lean_inc(x_43); -lean_dec(x_21); -x_45 = lean_ctor_get(x_17, 0); +lean_inc(x_42); +lean_dec(x_20); +x_44 = lean_ctor_get(x_16, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_16, 1); lean_inc(x_45); -x_46 = lean_ctor_get(x_17, 1); +lean_dec(x_16); +x_46 = lean_ctor_get(x_42, 5); lean_inc(x_46); -lean_dec(x_17); -x_47 = lean_ctor_get(x_43, 5); -lean_inc(x_47); -x_48 = l_Array_reverse___rarg(x_47); -x_49 = lean_ctor_get(x_43, 6); -lean_inc(x_49); -x_50 = l_Array_append___rarg(x_48, x_49); -lean_dec(x_49); -x_51 = lean_ctor_get(x_43, 7); -lean_inc(x_51); -x_52 = l_Array_reverse___rarg(x_51); -lean_inc(x_52); -x_53 = l_Lean_Meta_Closure_mkForall(x_52, x_45); -lean_dec(x_45); +x_47 = l_Array_reverse___rarg(x_46); +x_48 = lean_ctor_get(x_42, 6); +lean_inc(x_48); +x_49 = l_Array_append___rarg(x_47, x_48); +lean_dec(x_48); +x_50 = lean_ctor_get(x_42, 7); lean_inc(x_50); -x_54 = l_Lean_Meta_Closure_mkForall(x_50, x_53); -lean_dec(x_53); -x_55 = l_Lean_Meta_Closure_mkLambda(x_52, x_46); -lean_dec(x_46); -x_56 = l_Lean_Meta_Closure_mkLambda(x_50, x_55); -lean_dec(x_55); -x_57 = lean_ctor_get(x_43, 2); +x_51 = l_Array_reverse___rarg(x_50); +lean_inc(x_51); +x_52 = l_Lean_Meta_Closure_mkForall(x_51, x_44); +lean_dec(x_44); +lean_inc(x_49); +x_53 = l_Lean_Meta_Closure_mkForall(x_49, x_52); +lean_dec(x_52); +x_54 = l_Lean_Meta_Closure_mkLambda(x_51, x_45); +lean_dec(x_45); +x_55 = l_Lean_Meta_Closure_mkLambda(x_49, x_54); +lean_dec(x_54); +x_56 = lean_ctor_get(x_42, 2); +lean_inc(x_56); +x_57 = lean_ctor_get(x_42, 4); lean_inc(x_57); -x_58 = lean_ctor_get(x_43, 4); +x_58 = lean_ctor_get(x_42, 10); lean_inc(x_58); -x_59 = lean_ctor_get(x_43, 10); -lean_inc(x_59); -x_60 = l_Array_reverse___rarg(x_59); -x_61 = lean_ctor_get(x_43, 9); -lean_inc(x_61); -lean_dec(x_43); -x_62 = l_Array_append___rarg(x_60, x_61); -lean_dec(x_61); -x_63 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_63, 0, x_57); -lean_ctor_set(x_63, 1, x_54); -lean_ctor_set(x_63, 2, x_56); -lean_ctor_set(x_63, 3, x_58); -lean_ctor_set(x_63, 4, x_62); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_44); -return x_64; +x_59 = l_Array_reverse___rarg(x_58); +x_60 = lean_ctor_get(x_42, 9); +lean_inc(x_60); +lean_dec(x_42); +x_61 = l_Array_append___rarg(x_59, x_60); +lean_dec(x_60); +x_62 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_62, 0, x_56); +lean_ctor_set(x_62, 1, x_53); +lean_ctor_set(x_62, 2, x_55); +lean_ctor_set(x_62, 3, x_57); +lean_ctor_set(x_62, 4, x_61); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_43); +return x_63; } } else { -uint8_t x_65; +uint8_t x_64; lean_dec(x_13); lean_dec(x_7); -x_65 = !lean_is_exclusive(x_16); -if (x_65 == 0) +x_64 = !lean_is_exclusive(x_15); +if (x_64 == 0) { -return x_16; +return x_15; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_16, 0); -x_67 = lean_ctor_get(x_16, 1); -lean_inc(x_67); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_15, 0); +x_66 = lean_ctor_get(x_15, 1); lean_inc(x_66); -lean_dec(x_16); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +lean_inc(x_65); +lean_dec(x_15); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } diff --git a/stage0/stdlib/Lean/Parser/Syntax.c b/stage0/stdlib/Lean/Parser/Syntax.c index 7d5f8e3d2a..070f31494b 100644 --- a/stage0/stdlib/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Lean/Parser/Syntax.c @@ -13946,15 +13946,13 @@ return x_4; static lean_object* _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_optPrecedence; -x_2 = lean_ctor_get(x_1, 1); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_mixfix___elambda__1___closed__12; -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; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_precedence___closed__8; +x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__12; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__14() { @@ -14028,161 +14026,155 @@ return x_3; lean_object* l_Lean_Parser_Command_mixfix___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; x_3 = l_Lean_Parser_Command_optNamedPrio; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); x_5 = l_Lean_Parser_Command_optNamedName; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); -x_7 = l_Lean_Parser_optPrecedence; +x_7 = l_Lean_Parser_Command_mixfix___elambda__1___closed__4; x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); -x_9 = l_Lean_Parser_Command_mixfix___elambda__1___closed__4; -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); lean_inc(x_2); lean_inc(x_1); -x_11 = l_Lean_Parser_tryAnti(x_1, x_2); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -lean_dec(x_10); -x_12 = lean_unsigned_to_nat(1024u); -x_13 = l_Lean_Parser_checkPrecFn(x_12, x_1, x_2); -x_14 = lean_ctor_get(x_13, 4); -lean_inc(x_14); -x_15 = lean_box(0); -x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_14, x_15); -lean_dec(x_14); -if (x_16 == 0) +x_9 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_9 == 0) { +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_dec(x_8); +x_10 = lean_unsigned_to_nat(1024u); +x_11 = l_Lean_Parser_checkPrecFn(x_10, x_1, x_2); +x_12 = lean_ctor_get(x_11, 4); +lean_inc(x_12); +x_13 = lean_box(0); +x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_13); +lean_dec(x_12); +if (x_14 == 0) +{ lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -return x_13; +return x_11; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; -x_17 = lean_ctor_get(x_13, 0); -lean_inc(x_17); -x_18 = lean_array_get_size(x_17); -lean_dec(x_17); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_11, 0); +lean_inc(x_15); +x_16 = lean_array_get_size(x_15); +lean_dec(x_15); lean_inc(x_1); -x_19 = l_Lean_Parser_Term_attrKind___elambda__1(x_1, x_13); -x_20 = lean_ctor_get(x_19, 4); -lean_inc(x_20); -x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_20, x_15); -lean_dec(x_20); -if (x_21 == 0) -{ -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -x_22 = x_19; -goto block_28; -} -else -{ -lean_object* x_29; lean_object* x_30; uint8_t x_31; -lean_inc(x_1); -x_29 = l_Lean_Parser_Command_mixfixKind___elambda__1(x_1, x_19); -x_30 = lean_ctor_get(x_29, 4); -lean_inc(x_30); -x_31 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_30, x_15); -lean_dec(x_30); -if (x_31 == 0) -{ -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -x_22 = x_29; -goto block_28; -} -else -{ -lean_object* x_32; lean_object* x_33; uint8_t x_34; -lean_inc(x_1); -x_32 = lean_apply_2(x_8, x_1, x_29); -x_33 = lean_ctor_get(x_32, 4); -lean_inc(x_33); -x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_33, x_15); -lean_dec(x_33); -if (x_34 == 0) +x_17 = l_Lean_Parser_Term_attrKind___elambda__1(x_1, x_11); +x_18 = lean_ctor_get(x_17, 4); +lean_inc(x_18); +x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_18, x_13); +lean_dec(x_18); +if (x_19 == 0) { lean_dec(x_6); lean_dec(x_4); -x_22 = x_32; -goto block_28; +x_20 = x_17; +goto block_26; } else { -lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_inc(x_1); -x_35 = lean_apply_2(x_6, x_1, x_32); -x_36 = lean_ctor_get(x_35, 4); -lean_inc(x_36); -x_37 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_36, x_15); -lean_dec(x_36); -if (x_37 == 0) +x_27 = l_Lean_Parser_Command_mixfixKind___elambda__1(x_1, x_17); +x_28 = lean_ctor_get(x_27, 4); +lean_inc(x_28); +x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_28, x_13); +lean_dec(x_28); +if (x_29 == 0) +{ +lean_dec(x_6); +lean_dec(x_4); +x_20 = x_27; +goto block_26; +} +else +{ +lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_inc(x_1); +x_30 = l_Lean_Parser_precedence___elambda__1(x_1, x_27); +x_31 = lean_ctor_get(x_30, 4); +lean_inc(x_31); +x_32 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_31, x_13); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_dec(x_6); +lean_dec(x_4); +x_20 = x_30; +goto block_26; +} +else +{ +lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_inc(x_1); +x_33 = lean_apply_2(x_6, x_1, x_30); +x_34 = lean_ctor_get(x_33, 4); +lean_inc(x_34); +x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_34, x_13); +lean_dec(x_34); +if (x_35 == 0) { lean_dec(x_4); -x_22 = x_35; -goto block_28; +x_20 = x_33; +goto block_26; } else { -lean_object* x_38; lean_object* x_39; uint8_t x_40; +lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_1); -x_38 = lean_apply_2(x_4, x_1, x_35); -x_39 = lean_ctor_get(x_38, 4); -lean_inc(x_39); -x_40 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_39, x_15); -lean_dec(x_39); -if (x_40 == 0) +x_36 = lean_apply_2(x_4, x_1, x_33); +x_37 = lean_ctor_get(x_36, 4); +lean_inc(x_37); +x_38 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_37, x_13); +lean_dec(x_37); +if (x_38 == 0) { -x_22 = x_38; -goto block_28; +x_20 = x_36; +goto block_26; } else { -lean_object* x_41; lean_object* x_42; uint8_t x_43; +lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_inc(x_1); -x_41 = l_Lean_Parser_strLit___elambda__1(x_1, x_38); -x_42 = lean_ctor_get(x_41, 4); -lean_inc(x_42); -x_43 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_42, x_15); -lean_dec(x_42); -if (x_43 == 0) +x_39 = l_Lean_Parser_strLit___elambda__1(x_1, x_36); +x_40 = lean_ctor_get(x_39, 4); +lean_inc(x_40); +x_41 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_40, x_13); +lean_dec(x_40); +if (x_41 == 0) { -x_22 = x_41; -goto block_28; +x_20 = x_39; +goto block_26; } else { -lean_object* x_44; lean_object* x_45; uint8_t x_46; +lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_inc(x_1); -x_44 = l_Lean_Parser_darrow___elambda__1(x_1, x_41); -x_45 = lean_ctor_get(x_44, 4); -lean_inc(x_45); -x_46 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_45, x_15); -lean_dec(x_45); -if (x_46 == 0) +x_42 = l_Lean_Parser_darrow___elambda__1(x_1, x_39); +x_43 = lean_ctor_get(x_42, 4); +lean_inc(x_43); +x_44 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_43, x_13); +lean_dec(x_43); +if (x_44 == 0) { -x_22 = x_44; -goto block_28; +x_20 = x_42; +goto block_26; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = l___regBuiltinParser_Lean_Parser_Term_stx_quot___closed__2; -x_48 = lean_unsigned_to_nat(0u); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = l___regBuiltinParser_Lean_Parser_Term_stx_quot___closed__2; +x_46 = lean_unsigned_to_nat(0u); lean_inc(x_1); -x_49 = l_Lean_Parser_categoryParser___elambda__1(x_47, x_48, x_1, x_44); -x_22 = x_49; -goto block_28; +x_47 = l_Lean_Parser_categoryParser___elambda__1(x_45, x_46, x_1, x_42); +x_20 = x_47; +goto block_26; } } } @@ -14190,40 +14182,39 @@ goto block_28; } } } -block_28: +block_26: { -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = l_Lean_Parser_Command_mixfix___elambda__1___closed__2; -x_24 = l_Lean_Parser_ParserState_mkNode(x_22, x_23, x_18); -x_25 = lean_ctor_get(x_24, 4); -lean_inc(x_25); -x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_25, x_15); -lean_dec(x_25); -if (x_26 == 0) +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_21 = l_Lean_Parser_Command_mixfix___elambda__1___closed__2; +x_22 = l_Lean_Parser_ParserState_mkNode(x_20, x_21, x_16); +x_23 = lean_ctor_get(x_22, 4); +lean_inc(x_23); +x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(x_23, x_13); +lean_dec(x_23); +if (x_24 == 0) { lean_dec(x_1); -return x_24; +return x_22; } else { -lean_object* x_27; -x_27 = l_Lean_Parser_setLhsPrecFn(x_12, x_1, x_24); +lean_object* x_25; +x_25 = l_Lean_Parser_setLhsPrecFn(x_10, x_1, x_22); lean_dec(x_1); -return x_27; +return x_25; } } } } else { -lean_object* x_50; uint8_t x_51; lean_object* x_52; -lean_dec(x_8); +lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_dec(x_6); lean_dec(x_4); -x_50 = l_Lean_Parser_Command_mixfix___elambda__1___closed__19; -x_51 = 1; -x_52 = l_Lean_Parser_orelseFnCore(x_10, x_50, x_51, x_1, x_2); -return x_52; +x_48 = l_Lean_Parser_Command_mixfix___elambda__1___closed__19; +x_49 = 1; +x_50 = l_Lean_Parser_orelseFnCore(x_8, x_48, x_49, x_1, x_2); +return x_50; } } } @@ -14301,7 +14292,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_optPrecedence; +x_1 = l_Lean_Parser_precedence; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Command_mixfix___closed__6; @@ -15031,7 +15022,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__12() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_cat_formatter___closed__3; +x_1 = l_Lean_Parser_optPrecedence_formatter___closed__1; x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__11; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -15722,7 +15713,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__1 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__3; +x_1 = l_Lean_Parser_optPrecedence_parenthesizer___closed__1; x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__11; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c index b4240025cb..8858471644 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c @@ -23,12 +23,12 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_ite(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer(lean_object*); uint8_t l_Lean_Syntax_isAntiquotSuffixSplice(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__3; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__1; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__3; size_t l_USize_add(size_t, size_t); static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1___closed__1; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__1; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__34; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoImmediateColon_parenthesizer___rarg(lean_object*); uint8_t l_Lean_Syntax_isTokenAntiquot(lean_object*); @@ -48,10 +48,10 @@ static lean_object* l_Lean_PrettyPrinter_parenthesize___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawIdentNoAntiquot_parenthesizer___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__25; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__3; lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_parenthesize___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__1; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__33; extern lean_object* l_Lean_nullKind; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbolNoAntiquot_parenthesizer(lean_object*, uint8_t, lean_object*); @@ -66,6 +66,7 @@ static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___ lean_object* l_Lean_PrettyPrinter_Parenthesizer_lookahead_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__15; lean_object* l_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalInsideQuot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -73,51 +74,47 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___bo lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___boxed(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__28; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__11; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__3; lean_object* l_Lean_Syntax_Traverser_up(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__1___boxed(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__46; static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__8; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__7; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__10; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__10; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__18; static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__7; lean_object* l_Lean_PrettyPrinter_parenthesize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__5; static lean_object* l_Lean_PrettyPrinter_parenthesizeCommand___closed__3; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__2; lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_parenthesize___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__30; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__7; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__15; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__14; lean_object* l_Lean_PrettyPrinter_Parenthesizer_Context_cat___default; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__29; lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___boxed(lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__4; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Level_PP_Result_quote___spec__1___boxed(lean_object*, lean_object*); lean_object* l_id___rarg___boxed(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3633_(lean_object*); +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3653_(lean_object*); static lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instCoeArrowParenthesizerParenthesizerParenthesizerAliasValue(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9___boxed(lean_object**); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__29; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__6; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalInsideQuot_parenthesizer___boxed(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__34; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -129,7 +126,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg(lean_objec static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__5; lean_object* l_Lean_PrettyPrinter_ParenthesizerM_orelse(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__13; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__48; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLineEq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_trailCat___default; @@ -138,15 +134,15 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer_ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__18; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2; lean_object* l_List_range(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__16; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__47; static lean_object* l_Lean_PrettyPrinter_mkCombinatorParenthesizerAttribute___closed__1; lean_object* l_Lean_PrettyPrinter_parenthesizeCommand(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__2(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_trailPrec___default; lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__8; @@ -155,8 +151,10 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkPrec_parenthesizer(lean_obj lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizeTerm(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___rarg(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__14; lean_object* l_Lean_PrettyPrinter_Parenthesizer_skip_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer___boxed(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedByCategoryToken_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_scientificLitNoAntiquot_parenthesizer___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_instOrElseParenthesizerM(lean_object*); @@ -164,7 +162,6 @@ lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_lookahead_parenthesizer___rarg(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__46; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__1; lean_object* l_Lean_Syntax_setHeadInfo(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -191,19 +188,18 @@ static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__11; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__13; static lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_dbgTraceState_parenthesizer___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__41; lean_object* l_Lean_PrettyPrinter_Parenthesizer_registerAlias(lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_PrettyPrinter_Parenthesizer_sepByNoAntiquot_parenthesizer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_manyNoAntiquot_parenthesizer___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbolNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__35; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2(lean_object*); @@ -213,19 +209,20 @@ static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___clos static lean_object* l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_skip_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__31; lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_manyNoAntiquot_parenthesizer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_pretty_printer_parenthesizer_interpret_parser_descr(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parserOfStack_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__44; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__3; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__1; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__1; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__39; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLinebreakBefore_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__2(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__27; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; @@ -234,6 +231,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_error_parenthesizer___rarg(lean_ lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___boxed(lean_object**); lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__5; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__17; static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__7___closed__1; lean_object* l_Lean_Syntax_Traverser_setCur(lean_object*, lean_object*); @@ -249,18 +247,23 @@ static lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsaf static lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__2; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__6; static lean_object* l_Lean_PrettyPrinter_parenthesizeCommand___closed__2; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__9; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__40; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__45; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__7___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___closed__1; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__2; lean_object* l_StateRefT_x27_lift(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__41; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__6; lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__23; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__1; @@ -277,14 +280,11 @@ static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenth lean_object* l_Lean_PrettyPrinter_Parenthesizer_ite___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__4___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__25; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__38; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__21; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__8; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__36; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__6; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__17; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__8; static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer(lean_object*); @@ -296,6 +296,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___bo static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_scientificLitNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__44; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withForbidden_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2(lean_object*); @@ -305,15 +306,15 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedByCategoryToken_paren lean_object* l_Lean_PrettyPrinter_Parenthesizer_scientificLitNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_incQuotDepth_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__39; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__7(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParserOfStack_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_manyNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__35; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__21; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__38; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__3(lean_object*); lean_object* l_ReaderT_instMonadFunctorReaderT___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__1; @@ -323,40 +324,36 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___boxe static lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__36; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__48; lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___boxed(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__13; static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__7; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbolNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutForbidden_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__31; lean_object* lean_st_mk_ref(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__45; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__13; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLinebreakBefore_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__4___boxed(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__47; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__27; lean_object* l_Lean_PrettyPrinter_Parenthesizer_liftCoreM(lean_object*); extern lean_object* l_Lean_Parser_maxPrec; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__11; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__9; lean_object* l_Lean_PrettyPrinter_Parenthesizer_sepBy1NoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__40; static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__1___closed__1; lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getValues___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__2; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__23; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLineEq_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___rarg(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__1; @@ -367,7 +364,6 @@ static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___clos static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__4(lean_object*); static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__4; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__19; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__9; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs___closed__1; @@ -382,7 +378,9 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_many1Unbox_parenthesizer(lean_ob static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__4; lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6(lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__32; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__3; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__10; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__10; @@ -391,6 +389,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_eoi_parenthesizer___boxed(lean_o lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__8; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_eoi_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); @@ -415,7 +414,6 @@ static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__2; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalInsideQuot_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___rarg(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM; @@ -431,13 +429,13 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__4(lean_ static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__15; static lean_object* l_Lean_PrettyPrinter_mkCombinatorParenthesizerAttribute___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__20; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__8___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__2(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -459,12 +457,11 @@ lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer static lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instCoeArrowParenthesizerArrowParenthesizerParenthesizerParenthesizerAliasValue(lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3246_(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310_(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3266_(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330_(lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__16; lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__32; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__10; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__19; lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer(lean_object*); uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute; @@ -475,6 +472,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedByCategoryToken_paren static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__4; static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); @@ -482,20 +480,19 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_dbgTraceState_parenthesizer___ra lean_object* l_Lean_PrettyPrinter_Parenthesizer_ite___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__6; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__4; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__1; lean_object* l_Lean_Syntax_getKind(lean_object*); uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__20; lean_object* l_Lean_Syntax_Traverser_right(lean_object*); lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_mkParenthesizerAttribute___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_addPrecCheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__11; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__43; -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___spec__1(lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__3; @@ -517,10 +514,12 @@ lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_instMonadQuota static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__5___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__33; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__2(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__10; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___closed__1; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__30; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -529,14 +528,17 @@ lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer( lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__3___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__12; +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__37; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__14; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__42; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__22; lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__1; lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -582,6 +584,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___ lean_object* lean_string_length(lean_object*); lean_object* l_Lean_indentD(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__7; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_contCat___default; @@ -597,9 +600,9 @@ lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__1(uint8_t, le lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__5; lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__26; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__3; lean_object* lean_nat_mod(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__28; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withForbidden_parenthesizer___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__1(lean_object*); static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__2; @@ -609,7 +612,6 @@ static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenth static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__3; lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___boxed(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__16; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -623,7 +625,6 @@ lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___closed__1; lean_object* l_Nat_min(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__42; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_backtrackExceptionId; @@ -632,12 +633,10 @@ lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute___lambda__1__ static lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__3; static lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGt_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__37; uint32_t lean_uint32_of_nat(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__7; lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__22; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1; lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___spec__1(lean_object*, lean_object*); @@ -653,14 +652,12 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer___boxe lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tokenWithAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parserOfStack_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__24; lean_object* lean_nat_to_int(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute___closed__1; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__7; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__5(lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__1; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); @@ -678,9 +675,11 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer___ lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer___rarg(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGt_parenthesizer___rarg(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__26; lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__43; lean_object* l_Lean_instMonadRef___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__5___closed__1; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__4; @@ -688,6 +687,7 @@ static lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute___closed__9; lean_object* lean_mk_antiquot_parenthesizer(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__5; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__24; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Attribute_Builtin_getId(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1820,7 +1820,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute_ _start: { lean_object* x_1; -x_1 = lean_mk_string("invalid [parenthesizer] argument, unknown parser category '"); +x_1 = lean_mk_string("invalid [categoryParenthesizer] argument, unknown parser category '"); return x_1; } } @@ -2009,7 +2009,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute_ _start: { lean_object* x_1; -x_1 = lean_mk_string("Register a parenthesizer for a syntax category.\n\n [parenthesizer cat] registers a declaration of type `Lean.PrettyPrinter.CategoryParenthesizer` for the category `cat`,\n which is used when parenthesizing calls of `categoryParser cat prec`. Implementations should call `maybeParenthesize`\n with the precedence and `cat`. If no category parenthesizer is registered, the category will never be parenthesized,\n but still be traversed for parenthesizing nested categories."); +x_1 = lean_mk_string("Register a parenthesizer for a syntax category.\n\n [categoryParenthesizer cat] registers a declaration of type `Lean.PrettyPrinter.CategoryParenthesizer` for the category `cat`,\n which is used when parenthesizing calls of `categoryParser cat prec`. Implementations should call `maybeParenthesize`\n with the precedence and `cat`. If no category parenthesizer is registered, the category will never be parenthesized,\n but still be traversed for parenthesizing nested categories."); return x_1; } } @@ -5948,7 +5948,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize__ _start: { lean_object* x_1; -x_1 = lean_mk_string("...precedences are {prec} >? {minPrec}"); +x_1 = lean_mk_string("...precedences are "); return x_1; } } @@ -5957,51 +5957,45 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__3; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); +x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__4; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string(" >? "); +return x_1; } } static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__6() { _start: { lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; x_1 = l_Lean_PrettyPrinter_parenthesizerAttribute___lambda__2___closed__2; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__6; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__5; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__7; -x_3 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__7; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__9() { @@ -6174,7 +6168,7 @@ return x_43; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_dec(x_2); x_56 = lean_ctor_get(x_26, 1); lean_inc(x_56); @@ -6187,45 +6181,45 @@ lean_dec(x_27); x_59 = lean_ctor_get(x_28, 0); lean_inc(x_59); lean_dec(x_28); -x_89 = lean_st_ref_get(x_20, x_56); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_90, 3); -lean_inc(x_91); -lean_dec(x_90); -x_92 = lean_ctor_get_uint8(x_91, sizeof(void*)*1); -lean_dec(x_91); -if (x_92 == 0) +x_99 = lean_st_ref_get(x_20, x_56); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_100, 3); +lean_inc(x_101); +lean_dec(x_100); +x_102 = lean_ctor_get_uint8(x_101, sizeof(void*)*1); +lean_dec(x_101); +if (x_102 == 0) { -lean_object* x_93; uint8_t x_94; -x_93 = lean_ctor_get(x_89, 1); -lean_inc(x_93); -lean_dec(x_89); -x_94 = 0; -x_60 = x_94; -x_61 = x_93; -goto block_88; +lean_object* x_103; uint8_t x_104; +x_103 = lean_ctor_get(x_99, 1); +lean_inc(x_103); +lean_dec(x_99); +x_104 = 0; +x_60 = x_104; +x_61 = x_103; +goto block_98; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; -x_95 = lean_ctor_get(x_89, 1); -lean_inc(x_95); -lean_dec(x_89); +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_105 = lean_ctor_get(x_99, 1); +lean_inc(x_105); +lean_dec(x_99); lean_inc(x_3); -x_96 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_3, x_17, x_18, x_19, x_20, x_95); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_unbox(x_97); -lean_dec(x_97); -x_60 = x_99; -x_61 = x_98; -goto block_88; +x_106 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(x_3, x_17, x_18, x_19, x_20, x_105); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = lean_unbox(x_107); +lean_dec(x_107); +x_60 = x_109; +x_61 = x_108; +goto block_98; } -block_88: +block_98: { if (x_60 == 0) { @@ -6241,79 +6235,104 @@ return x_63; } else { -if (x_13 == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_64 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__8; -lean_inc(x_3); -x_65 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_3, x_64, x_17, x_18, x_19, x_20, x_61); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_3, x_12, x_59, x_13, x_57, x_14, x_58, x_15, x_66, x_17, x_18, x_19, x_20, x_67); -lean_dec(x_66); -lean_dec(x_15); -lean_dec(x_58); -lean_dec(x_14); -lean_dec(x_57); -lean_dec(x_59); -return x_68; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_inc(x_58); -lean_inc(x_57); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_57); -lean_ctor_set(x_69, 1, x_58); -x_70 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_69); +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_inc(x_6); +x_64 = l_Std_fmt___at_Lean_Level_PP_Result_format___spec__2(x_6); +x_65 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__4; +x_67 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +x_68 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__6; +x_69 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +lean_inc(x_59); +x_70 = l_Std_fmt___at_Lean_Level_PP_Result_format___spec__2(x_59); x_71 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_71, 0, x_70); -x_72 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__10; -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -x_74 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__12; -x_75 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -lean_inc(x_15); -lean_inc(x_14); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_14); -lean_ctor_set(x_76, 1, x_15); -x_77 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_76); -x_78 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_78, 0, x_77); -x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_75); -lean_ctor_set(x_79, 1, x_78); -x_80 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; -x_81 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__5; -x_83 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); +x_72 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___closed__5; +x_74 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +if (x_13 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_75 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__8; +x_76 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); lean_inc(x_3); -x_84 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_3, x_83, x_17, x_18, x_19, x_20, x_61); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_3, x_12, x_59, x_13, x_57, x_14, x_58, x_15, x_85, x_17, x_18, x_19, x_20, x_86); -lean_dec(x_85); +x_77 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_3, x_76, x_17, x_18, x_19, x_20, x_61); +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_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_3, x_12, x_59, x_13, x_57, x_14, x_58, x_15, x_78, x_17, x_18, x_19, x_20, x_79); +lean_dec(x_78); lean_dec(x_15); lean_dec(x_58); lean_dec(x_14); lean_dec(x_57); lean_dec(x_59); -return x_87; +return x_80; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_inc(x_58); +lean_inc(x_57); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_57); +lean_ctor_set(x_81, 1, x_58); +x_82 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_81); +x_83 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_83, 0, x_82); +x_84 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__10; +x_85 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +x_86 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__10___closed__12; +x_87 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +lean_inc(x_15); +lean_inc(x_14); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_14); +lean_ctor_set(x_88, 1, x_15); +x_89 = l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(x_88); +x_90 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_90, 0, x_89); +x_91 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_91, 0, x_87); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_73); +x_93 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_93, 0, x_74); +lean_ctor_set(x_93, 1, x_92); +lean_inc(x_3); +x_94 = l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(x_3, x_93, x_17, x_18, x_19, x_20, x_61); +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 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_3, x_12, x_59, x_13, x_57, x_14, x_58, x_15, x_95, x_17, x_18, x_19, x_20, x_96); +lean_dec(x_95); +lean_dec(x_15); +lean_dec(x_58); +lean_dec(x_14); +lean_dec(x_57); +lean_dec(x_59); +return x_97; } } } @@ -6321,7 +6340,7 @@ return x_87; } else { -uint8_t x_100; +uint8_t x_110; lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); @@ -6337,23 +6356,23 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_100 = !lean_is_exclusive(x_22); -if (x_100 == 0) +x_110 = !lean_is_exclusive(x_22); +if (x_110 == 0) { return x_22; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_22, 0); -x_102 = lean_ctor_get(x_22, 1); -lean_inc(x_102); -lean_inc(x_101); +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_22, 0); +x_112 = lean_ctor_get(x_22, 1); +lean_inc(x_112); +lean_inc(x_111); lean_dec(x_22); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +return x_113; } } } @@ -11184,7 +11203,7 @@ x_10 = l_Lean_PrettyPrinter_Parenthesizer_ite___rarg(x_9, x_2, x_3, x_4, x_5, x_ return x_10; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3246_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3266_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -11229,7 +11248,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__1() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__1() { _start: { lean_object* x_1; @@ -11237,17 +11256,17 @@ x_1 = lean_mk_string("ws"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__1; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__3() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__3() { _start: { lean_object* x_1; @@ -11255,17 +11274,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkWsBefor return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__4() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__3; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__5() { _start: { lean_object* x_1; @@ -11273,17 +11292,17 @@ x_1 = lean_mk_string("noWs"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__5; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__7() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__7() { _start: { lean_object* x_1; @@ -11291,17 +11310,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBef return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__8() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__7; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__7; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__9() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__9() { _start: { lean_object* x_1; @@ -11309,17 +11328,17 @@ x_1 = lean_mk_string("linebreak"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__10() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__9; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__11() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__11() { _start: { lean_object* x_1; @@ -11327,17 +11346,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkLinebre return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__12() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__11; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__11; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__13() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__13() { _start: { lean_object* x_1; @@ -11345,17 +11364,17 @@ x_1 = lean_mk_string("colGt"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__14() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__13; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__15() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__15() { _start: { lean_object* x_1; @@ -11363,17 +11382,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkColGt_p return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__16() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__15; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__15; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__17() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__17() { _start: { lean_object* x_1; @@ -11381,17 +11400,17 @@ x_1 = lean_mk_string("colGe"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__18() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__17; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__19() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__19() { _start: { lean_object* x_1; @@ -11399,17 +11418,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkColGe_p return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__20() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__19; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__19; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__21() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__21() { _start: { lean_object* x_1; @@ -11417,17 +11436,17 @@ x_1 = lean_mk_string("lookahead"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__22() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__21; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__23() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__23() { _start: { lean_object* x_1; @@ -11435,17 +11454,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_lookahead_pa return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__24() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__23; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__23; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__25() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__25() { _start: { lean_object* x_1; @@ -11453,17 +11472,17 @@ x_1 = lean_mk_string("atomic"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__26() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__25; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__27() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__27() { _start: { lean_object* x_1; @@ -11471,17 +11490,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_atomic_paren return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__28() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__28() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__27; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__27; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__29() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__29() { _start: { lean_object* x_1; @@ -11489,17 +11508,17 @@ x_1 = lean_mk_string("notFollowedBy"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__30() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__29; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__29; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__31() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__31() { _start: { lean_object* x_1; @@ -11507,17 +11526,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_notFollowedB return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__32() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__32() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__31; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__31; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__33() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__33() { _start: { lean_object* x_1; @@ -11525,17 +11544,17 @@ x_1 = lean_mk_string("withPosition"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__34() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__33; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__33; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__35() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__35() { _start: { lean_object* x_1; @@ -11543,17 +11562,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__36() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__36() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__35; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__35; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__37() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__37() { _start: { lean_object* x_1; @@ -11561,17 +11580,17 @@ x_1 = lean_mk_string("interpolatedStr"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__38() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__37; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__37; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__39() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__39() { _start: { lean_object* x_1; @@ -11579,17 +11598,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_interpolated return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__40() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__39; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__39; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__41() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__41() { _start: { lean_object* x_1; @@ -11597,17 +11616,17 @@ x_1 = lean_mk_string("orelse"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__42() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__41; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__41; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__43() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__43() { _start: { lean_object* x_1; @@ -11615,17 +11634,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_paren return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__44() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__44() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__43; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__43; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__45() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__45() { _start: { lean_object* x_1; @@ -11633,17 +11652,17 @@ x_1 = lean_mk_string("andthen"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__46() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__46() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__45; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__45; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__47() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__47() { _start: { lean_object* x_1; @@ -11651,23 +11670,23 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_pare return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__48() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__48() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__47; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__47; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -x_3 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__2; -x_4 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__4; +x_3 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__2; +x_4 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__4; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -11675,8 +11694,8 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__6; -x_8 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__8; +x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__6; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__8; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_7, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -11684,8 +11703,8 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__10; -x_12 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__12; +x_11 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__10; +x_12 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__12; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_11, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -11693,8 +11712,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__14; -x_16 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__16; +x_15 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__14; +x_16 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__16; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -11702,8 +11721,8 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__18; -x_20 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__20; +x_19 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__18; +x_20 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__20; x_21 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_19, x_20, x_18); if (lean_obj_tag(x_21) == 0) { @@ -11711,8 +11730,8 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); -x_23 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__22; -x_24 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__24; +x_23 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__22; +x_24 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__24; x_25 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_23, x_24, x_22); if (lean_obj_tag(x_25) == 0) { @@ -11720,8 +11739,8 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__26; -x_28 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__28; +x_27 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__26; +x_28 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__28; x_29 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_27, x_28, x_26); if (lean_obj_tag(x_29) == 0) { @@ -11729,8 +11748,8 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); lean_dec(x_29); -x_31 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__30; -x_32 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__32; +x_31 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__30; +x_32 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__32; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_31, x_32, x_30); if (lean_obj_tag(x_33) == 0) { @@ -11738,8 +11757,8 @@ lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__34; -x_36 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__36; +x_35 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__34; +x_36 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__36; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -11747,8 +11766,8 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__38; -x_40 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__40; +x_39 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__38; +x_40 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__40; x_41 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_39, x_40, x_38); if (lean_obj_tag(x_41) == 0) { @@ -11756,8 +11775,8 @@ lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; x_42 = lean_ctor_get(x_41, 1); lean_inc(x_42); lean_dec(x_41); -x_43 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__42; -x_44 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__44; +x_43 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__42; +x_44 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__44; x_45 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_43, x_44, x_42); if (lean_obj_tag(x_45) == 0) { @@ -11765,8 +11784,8 @@ lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); lean_dec(x_45); -x_47 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__46; -x_48 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__48; +x_47 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__46; +x_48 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__48; x_49 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_47, x_48, x_46); return x_49; } @@ -12705,7 +12724,7 @@ x_6 = l_Lean_PrettyPrinter_parenthesize(x_5, x_1, x_2, x_3, x_4); return x_6; } } -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3633_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3653_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -13145,108 +13164,108 @@ l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1 = _ lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1); l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1); -res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3246_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3266_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef); lean_dec_ref(res); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__1(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__1); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__2(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__2); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__3 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__3(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__3); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__4 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__4(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__4); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__5 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__5(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__5); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__6 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__6(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__6); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__7 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__7(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__7); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__8 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__8(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__8); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__9 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__9(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__9); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__10 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__10(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__10); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__11 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__11(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__11); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__12 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__12(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__12); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__13 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__13(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__13); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__14 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__14(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__14); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__15 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__15(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__15); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__16 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__16(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__16); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__17 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__17(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__17); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__18 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__18(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__18); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__19 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__19(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__19); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__20 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__20(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__20); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__21 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__21(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__21); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__22 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__22(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__22); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__23 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__23(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__23); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__24 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__24(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__24); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__25 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__25(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__25); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__26 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__26(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__26); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__27 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__27(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__27); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__28 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__28(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__28); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__29 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__29(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__29); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__30 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__30(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__30); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__31 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__31(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__31); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__32 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__32(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__32); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__33 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__33(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__33); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__34 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__34(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__34); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__35 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__35(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__35); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__36 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__36(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__36); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__37 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__37(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__37); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__38 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__38(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__38); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__39 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__39(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__39); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__40 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__40(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__40); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__41 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__41(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__41); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__42 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__42(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__42); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__43 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__43(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__43); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__44 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__44(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__44); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__45 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__45(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__45); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__46 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__46(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__46); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__47 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__47(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__47); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__48 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__48(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310____closed__48); -res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3310_(lean_io_mk_world()); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__1); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__2); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__3 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__3); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__4 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__4); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__5 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__5); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__6 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__6); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__7 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__7); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__8 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__8); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__9 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__9); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__10 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__10); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__11 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__11); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__12 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__12(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__12); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__13 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__13(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__13); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__14 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__14(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__14); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__15 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__15(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__15); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__16 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__16(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__16); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__17 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__17(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__17); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__18 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__18(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__18); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__19 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__19(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__19); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__20 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__20(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__20); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__21 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__21(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__21); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__22 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__22(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__22); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__23 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__23(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__23); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__24 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__24(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__24); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__25 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__25(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__25); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__26 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__26(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__26); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__27 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__27(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__27); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__28 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__28(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__28); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__29 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__29(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__29); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__30 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__30(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__30); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__31 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__31(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__31); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__32 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__32(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__32); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__33 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__33(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__33); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__34 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__34(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__34); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__35 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__35(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__35); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__36 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__36(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__36); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__37 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__37(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__37); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__38 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__38(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__38); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__39 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__39(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__39); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__40 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__40(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__40); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__41 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__41(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__41); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__42 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__42(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__42); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__43 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__43(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__43); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__44 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__44(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__44); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__45 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__45(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__45); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__46 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__46(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__46); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__47 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__47(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__47); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__48 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__48(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330____closed__48); +res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3330_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_parenthesize___lambda__1___closed__1(); @@ -13265,7 +13284,7 @@ l_Lean_PrettyPrinter_parenthesizeCommand___closed__2 = _init_l_Lean_PrettyPrinte lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeCommand___closed__2); l_Lean_PrettyPrinter_parenthesizeCommand___closed__3 = _init_l_Lean_PrettyPrinter_parenthesizeCommand___closed__3(); lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeCommand___closed__3); -res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3633_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3653_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c b/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c index ad4931127e..6737bf93a0 100644 --- a/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c +++ b/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c @@ -17,78 +17,79 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___ lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_find_x3f___at_Lean_findDeclarationRangesCore_x3f___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__3; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1___boxed(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensRange(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__3___closed__1; -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__6; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1533_(lean_object*); extern lean_object* l_Lean_nullKind; -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__11(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_491____boxed(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHoverParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_559_(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoalParams____x40_Lean_Data_Lsp_Extra___hyg_299_(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__16; lean_object* l_List_map___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__1(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__14(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__1(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4___closed__1; extern lean_object* l_Lean_noConfusionExt; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__7; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__2(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleHover___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__3; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__24; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__8; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__7; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__2___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__10; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__2; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__11; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__2; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__22; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__1; lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__3(lean_object*, lean_object*, lean_object*); @@ -98,29 +99,34 @@ static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__3; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__16(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__18; lean_object* l_List_append___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__2; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__2(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4___closed__1; extern lean_object* l_Lean_declRangeExt; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__1; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__2; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__1; lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1(lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentHashMap_contains___at_Lean_Server_Requests_registerLspRequestHandler___spec__5(lean_object*, lean_object*); extern lean_object* l_instInhabitedNat; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__1(lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__4; +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__4(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__1; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainTermGoalParams____x40_Lean_Data_Lsp_Extra___hyg_488_(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___closed__1; @@ -130,45 +136,50 @@ static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__8; lean_object* l_Lean_FileMap_lspPosToUtf8Pos(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__4; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__11; lean_object* l_IO_sleep(uint32_t, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__9___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__9; uint8_t l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_491_(uint8_t, uint8_t); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__14; lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4___closed__1; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__15; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__1(lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642_(lean_object*); +lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955_(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_join___rarg(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__2(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_auxRecExt; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__5; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__5; +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__11___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__8(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___boxed(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__9(size_t, size_t, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__14; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__12; lean_object* l_Lean_FileMap_utf8PosToLspPos(lean_object*, lean_object*); extern lean_object* l_Lean_Server_Requests_requestHandlers; lean_object* l_Lean_Server_FileWorker_handleHover_match__2(lean_object*); @@ -177,38 +188,33 @@ lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__2(lean_object*) lean_object* lean_io_bind_task(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1(lean_object*); lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainTermGoal____x40_Lean_Data_Lsp_Extra___hyg_631_(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__3; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4___closed__1; lean_object* l_Lean_Elab_InfoTree_deepestNodes___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2(lean_object*, lean_object*, size_t, size_t); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__8; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__5; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__2; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2(lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__11(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__20(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__1(lean_object*); lean_object* l_Except_map___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_474_(lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonWaitForDiagnosticsParams____x40_Lean_Data_Lsp_Extra___hyg_57_(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_findInfo_x3f(lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__2; lean_object* l_Lean_Server_Snapshots_parseAhead(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__2(lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__4; uint8_t l_String_Range_contains(lean_object*, lean_object*); lean_object* l_Lean_Json_compress(lean_object*); @@ -216,246 +222,252 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__2; static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_692_(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3(size_t, size_t, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_SemanticTokenType_toNat(uint8_t); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_match__1(lean_object*); lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__2(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__2; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__1(lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__14(lean_object*); lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__20; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___closed__2; lean_object* l_Lean_Server_Requests_RequestM_mapTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_Range_toLspRange(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__10; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__10; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__24; lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__2___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__7; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3___closed__1; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__2; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__2(lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1903_(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_491__match__1(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4___closed__1; static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__3; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__16; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__2(lean_object*); lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__2(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__15; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__18; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDefinition___closed__1; +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__9___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___rarg___closed__1; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1781_(lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_handlePlainGoal___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* lean_task_map(lean_object*, lean_object*, lean_object*); lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__5; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1(lean_object*); -lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Server_Requests_RequestError_fileChanged; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__2(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__4(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__2(lean_object*); lean_object* lean_format_pretty(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__2(lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__20; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___closed__1; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__12; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__10; lean_object* l_Lean_SearchPath_findWithExt(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__2___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1706_(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_RequestM_asTask___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__8___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1(lean_object*); -lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint32_t lean_string_utf8_get(lean_object*, lean_object*); static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__3___closed__1; static lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__1(lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__4___boxed(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_443_(lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1084_(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__2; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentHighlight____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1040_(lean_object*); +lean_object* lean_local_ctx_pop(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__2; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__8(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__23; lean_object* l_Lean_Elab_Info_toElabInfo_x3f(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3___closed__1; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3___closed__1; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__4; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__1(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__9; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_374_(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___closed__1; -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Task_Priority_default; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__9; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__2; lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__20(lean_object*); lean_object* l_Lean_Elab_Info_range_x3f(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isRec___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__9___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword_match__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__2; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4___closed__1; static lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__1(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__15; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__23; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__12(size_t, size_t, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__3; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4___closed__1; lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__4; uint8_t l_Lean_Server_FileWorker_handleCompletion___lambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__13; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Char_isAlpha(uint32_t); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__5; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_329_(lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__4; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__2; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__9; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__8; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__12(size_t, size_t, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__7; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__1; static lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__2; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; lean_object* l_List_drop___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_instDecidableEqGoToKind___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isIdOrAtom_x3f(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__2(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__3(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__14; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__17; static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__6; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__12___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__8(lean_object*); lean_object* l_IO_AsyncList_updateFinishedPrefix___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover(lean_object*, lean_object*, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__1(lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__4; lean_object* l_List_redLength___rarg(lean_object*); -lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__6; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__10; static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___closed__2; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__3(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__1(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__1; static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___closed__3; lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__1(lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__1(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___boxed(lean_object*); lean_object* l_IO_AsyncList_finishedPrefix___rarg(lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__3___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition(uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__18(lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__21; -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__22(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9___closed__2; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__9; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__2(lean_object*); lean_object* l_Lean_Elab_Info_tailPos_x3f(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); lean_object* l_Lean_Syntax_getKind(lean_object*); @@ -464,25 +476,26 @@ lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__3(lean_object* lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__1; lean_object* lean_panic_fn(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__1(lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__16; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findDeclarationRanges_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__11; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNamesImp___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__1(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__22; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__2(lean_object*); lean_object* l_Lean_findDeclarationRanges_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__2; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); @@ -490,29 +503,28 @@ lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(lean_object*, lean_object* lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_shiftl(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__10(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__19; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__1; lean_object* l_Lean_Name_getPrefix(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_endPos(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__16(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__2; -lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4___closed__1; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_instDecidableEqGoToKind(uint8_t, uint8_t); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; lean_object* l_Lean_Expr_constName_x3f(lean_object*); lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_RequestM_readDoc(lean_object*, lean_object*); @@ -520,165 +532,168 @@ lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_String_instInhabitedRange; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__19; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3___closed__1; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_toFileUri(lean_object*); -lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__3(lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__6(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__7; lean_object* l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_491__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_allImportedModuleNames(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__11; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6(lean_object*); lean_object* l_Lean_Server_FileWorker_noHighlightKinds; lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__12; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__1(lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8(lean_object*, lean_object*); lean_object* l_Lean_Meta_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__2___closed__1; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__13; lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__6; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__6; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__2___boxed(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_initializing(lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___boxed(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__2; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__3; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__9; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__5; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__10___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__1; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__3(lean_object*); lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__6(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleHover___lambda__1(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__12___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__6; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4___closed__1; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_491__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__6; lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__1; static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__2; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___closed__1; lean_object* l_Lean_Elab_Info_pos_x3f(lean_object*); +lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__7; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__2(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__8; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__4; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__8; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__3(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__2; lean_object* l_Lean_Server_Requests_RequestM_withWaitFindSnap___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_lctx(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__7(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__17; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__1(lean_object*); lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__9(size_t, size_t, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__4(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__5; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__2; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__2; lean_object* lean_task_pure(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__1; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__2___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_Server_Requests_registerLspRequestHandler___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__11(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__2___boxed(lean_object*); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__1(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__1; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__13; +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__9(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__2; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__7___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2(lean_object*); lean_object* l_Lean_Syntax_reprint(lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__1(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__8; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__22(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__4(lean_object*); lean_object* l_List_getLast___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4___closed__1; -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__18(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__2; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__21; lean_object* l_List_getLastD___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__4___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_RequestM_bindTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__2(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentHighlightParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_919_(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__1(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -6503,25 +6518,46 @@ x_6 = lean_box(x_5); return x_6; } } -lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -if (lean_obj_tag(x_1) == 0) +switch (lean_obj_tag(x_1)) { +case 1: { -lean_object* x_4; +lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_4); lean_dec(x_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_3); x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_2(x_3, x_5, x_7); +return x_8; +} +case 4: +{ +lean_object* x_9; lean_object* x_10; uint64_t x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_4); +lean_dec(x_3); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +x_11 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_12 = lean_box_uint64(x_11); +x_13 = lean_apply_3(x_2, x_9, x_10, x_12); +return x_13; +} +default: +{ +lean_object* x_14; +lean_dec(x_3); +lean_dec(x_2); +x_14 = lean_apply_1(x_4, x_1); +return x_14; +} } } } @@ -6529,7 +6565,7 @@ lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1(lean_object* x_1 _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__1___rarg), 4, 0); return x_2; } } @@ -6566,6 +6602,36 @@ return x_2; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ if (lean_obj_tag(x_1) == 4) { lean_object* x_4; lean_object* x_5; @@ -6585,15 +6651,15 @@ return x_6; } } } -lean_object* l_Lean_Server_FileWorker_handleDefinition_match__3(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__4(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__3___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__4___rarg), 3, 0); return x_2; } } -lean_object* l_Lean_Server_FileWorker_handleDefinition_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -6615,15 +6681,15 @@ return x_6; } } } -lean_object* l_Lean_Server_FileWorker_handleDefinition_match__4(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__4___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__5___rarg), 3, 0); return x_2; } } -lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -6646,15 +6712,15 @@ return x_7; } } } -lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__5___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__6___rarg), 3, 0); return x_2; } } -lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -6697,15 +6763,153 @@ return x_10; } } } -lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__7(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__6___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__7___rarg), 3, 0); return x_2; } } -lean_object* l_Lean_Server_FileWorker_handleDefinition_match__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__8___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; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 3); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 1) +{ +uint8_t x_7; +x_7 = lean_ctor_get_uint8(x_4, sizeof(void*)*4); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_8 = lean_apply_1(x_3, 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; uint64_t x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_3); +lean_dec(x_1); +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_4, 2); +lean_inc(x_10); +lean_dec(x_4); +x_11 = lean_ctor_get(x_5, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_5, 1); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_ctor_get(x_6, 0); +lean_inc(x_13); +x_14 = lean_ctor_get_uint64(x_6, sizeof(void*)*1); +lean_dec(x_6); +x_15 = lean_box_uint64(x_14); +x_16 = lean_apply_6(x_2, x_13, x_15, x_11, x_12, x_9, x_10); +return x_16; +} +} +else +{ +lean_object* x_17; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_17 = lean_apply_1(x_3, x_1); +return x_17; +} +} +else +{ +lean_object* x_18; +lean_dec(x_2); +x_18 = lean_apply_1(x_3, x_1); +return x_18; +} +} +} +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__8(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__8___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__9(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__9___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Server_FileWorker_handleDefinition_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; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__10(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__10___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__11___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -6728,11 +6932,11 @@ return x_7; } } } -lean_object* l_Lean_Server_FileWorker_handleDefinition_match__7(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__11(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__7___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__11___rarg), 3, 0); return x_2; } } @@ -7070,507 +7274,507 @@ return x_25; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, size_t x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, size_t x_12, size_t x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; lean_object* x_17; uint8_t x_40; -x_40 = x_12 < x_11; -if (x_40 == 0) +lean_object* x_17; lean_object* x_18; uint8_t x_41; +x_41 = x_13 < x_12; +if (x_41 == 0) { -lean_object* x_41; lean_object* x_42; -lean_dec(x_14); -lean_dec(x_9); +lean_object* x_42; lean_object* x_43; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_41 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_41, 0, x_13); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_15); -return x_42; +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_14); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_16); +return x_43; } else { -lean_object* x_43; uint8_t x_44; -x_43 = lean_array_uget(x_10, x_12); -x_44 = !lean_is_exclusive(x_13); -if (x_44 == 0) +lean_object* x_44; uint8_t x_45; +x_44 = lean_array_uget(x_11, x_13); +x_45 = !lean_is_exclusive(x_14); +if (x_45 == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_13, 1); -x_46 = lean_ctor_get(x_13, 0); -lean_dec(x_46); -lean_inc(x_14); -lean_inc(x_45); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_14, 1); +x_47 = lean_ctor_get(x_14, 0); +lean_dec(x_47); +lean_inc(x_15); +lean_inc(x_46); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_47 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_45, x_14, x_15); -lean_dec(x_43); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); +x_48 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_44, x_46, x_15, x_16); +lean_dec(x_44); if (lean_obj_tag(x_48) == 0) { -lean_object* x_49; uint8_t x_50; -lean_free_object(x_13); -lean_dec(x_45); -x_49 = lean_ctor_get(x_47, 1); +lean_object* x_49; +x_49 = lean_ctor_get(x_48, 0); lean_inc(x_49); -lean_dec(x_47); -x_50 = !lean_is_exclusive(x_48); -if (x_50 == 0) +if (lean_obj_tag(x_49) == 0) { -x_16 = x_48; -x_17 = x_49; -goto block_39; -} -else -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_48, 0); -lean_inc(x_51); +lean_object* x_50; uint8_t x_51; +lean_free_object(x_14); +lean_dec(x_46); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); lean_dec(x_48); -x_52 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_52, 0, x_51); -x_16 = x_52; +x_51 = !lean_is_exclusive(x_49); +if (x_51 == 0) +{ x_17 = x_49; -goto block_39; +x_18 = x_50; +goto block_40; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 0); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_53, 0, x_52); +x_17 = x_53; +x_18 = x_50; +goto block_40; } } else { -uint8_t x_53; -x_53 = !lean_is_exclusive(x_48); -if (x_53 == 0) +uint8_t x_54; +x_54 = !lean_is_exclusive(x_49); +if (x_54 == 0) { -lean_object* x_54; -x_54 = lean_ctor_get(x_48, 0); -if (lean_obj_tag(x_54) == 0) +lean_object* x_55; +x_55 = lean_ctor_get(x_49, 0); +if (lean_obj_tag(x_55) == 0) { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_47, 1); -lean_inc(x_55); -lean_dec(x_47); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_13, 0, x_56); -x_57 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_57, 0, x_13); -lean_ctor_set(x_48, 0, x_57); -x_16 = x_48; -x_17 = x_55; -goto block_39; -} -else -{ -lean_object* x_58; uint8_t x_59; -lean_dec(x_45); -x_58 = lean_ctor_get(x_47, 1); -lean_inc(x_58); -lean_dec(x_47); -x_59 = !lean_is_exclusive(x_54); -if (x_59 == 0) -{ -lean_object* x_60; -x_60 = lean_ctor_get(x_54, 0); -lean_inc(x_9); -lean_ctor_set(x_13, 1, x_60); -lean_ctor_set(x_13, 0, x_9); -lean_ctor_set(x_54, 0, x_13); -x_16 = x_48; -x_17 = x_58; -goto block_39; -} -else -{ -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_54, 0); -lean_inc(x_61); -lean_dec(x_54); -lean_inc(x_9); -lean_ctor_set(x_13, 1, x_61); -lean_ctor_set(x_13, 0, x_9); -x_62 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_62, 0, x_13); -lean_ctor_set(x_48, 0, x_62); -x_16 = x_48; -x_17 = x_58; -goto block_39; -} -} -} -else -{ -lean_object* x_63; -x_63 = lean_ctor_get(x_48, 0); -lean_inc(x_63); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_48, 1); +lean_inc(x_56); lean_dec(x_48); -if (lean_obj_tag(x_63) == 0) +x_57 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_14, 0, x_57); +x_58 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_58, 0, x_14); +lean_ctor_set(x_49, 0, x_58); +x_17 = x_49; +x_18 = x_56; +goto block_40; +} +else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_64 = lean_ctor_get(x_47, 1); +lean_object* x_59; uint8_t x_60; +lean_dec(x_46); +x_59 = lean_ctor_get(x_48, 1); +lean_inc(x_59); +lean_dec(x_48); +x_60 = !lean_is_exclusive(x_55); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_55, 0); +lean_inc(x_10); +lean_ctor_set(x_14, 1, x_61); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_55, 0, x_14); +x_17 = x_49; +x_18 = x_59; +goto block_40; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_55, 0); +lean_inc(x_62); +lean_dec(x_55); +lean_inc(x_10); +lean_ctor_set(x_14, 1, x_62); +lean_ctor_set(x_14, 0, x_10); +x_63 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_63, 0, x_14); +lean_ctor_set(x_49, 0, x_63); +x_17 = x_49; +x_18 = x_59; +goto block_40; +} +} +} +else +{ +lean_object* x_64; +x_64 = lean_ctor_get(x_49, 0); lean_inc(x_64); -lean_dec(x_47); -x_65 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_13, 0, x_65); -x_66 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_66, 0, x_13); -x_67 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_67, 0, x_66); -x_16 = x_67; -x_17 = x_64; -goto block_39; -} -else +lean_dec(x_49); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -lean_dec(x_45); -x_68 = lean_ctor_get(x_47, 1); -lean_inc(x_68); -lean_dec(x_47); -x_69 = lean_ctor_get(x_63, 0); -lean_inc(x_69); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - x_70 = x_63; -} else { - lean_dec_ref(x_63); - x_70 = lean_box(0); -} -lean_inc(x_9); -lean_ctor_set(x_13, 1, x_69); -lean_ctor_set(x_13, 0, x_9); -if (lean_is_scalar(x_70)) { - x_71 = lean_alloc_ctor(1, 1, 0); -} else { - x_71 = x_70; -} -lean_ctor_set(x_71, 0, x_13); -x_72 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_72, 0, x_71); -x_16 = x_72; +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_65 = lean_ctor_get(x_48, 1); +lean_inc(x_65); +lean_dec(x_48); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_14, 0, x_66); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_14); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_67); x_17 = x_68; -goto block_39; +x_18 = x_65; +goto block_40; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_46); +x_69 = lean_ctor_get(x_48, 1); +lean_inc(x_69); +lean_dec(x_48); +x_70 = lean_ctor_get(x_64, 0); +lean_inc(x_70); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + x_71 = x_64; +} else { + lean_dec_ref(x_64); + x_71 = lean_box(0); +} +lean_inc(x_10); +lean_ctor_set(x_14, 1, x_70); +lean_ctor_set(x_14, 0, x_10); +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(1, 1, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_14); +x_73 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_73, 0, x_72); +x_17 = x_73; +x_18 = x_69; +goto block_40; } } } } else { -uint8_t x_73; -lean_free_object(x_13); -lean_dec(x_45); -lean_dec(x_14); -lean_dec(x_9); +uint8_t x_74; +lean_free_object(x_14); +lean_dec(x_46); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_73 = !lean_is_exclusive(x_47); -if (x_73 == 0) +x_74 = !lean_is_exclusive(x_48); +if (x_74 == 0) { -return x_47; +return x_48; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_47, 0); -x_75 = lean_ctor_get(x_47, 1); +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_48, 0); +x_76 = lean_ctor_get(x_48, 1); +lean_inc(x_76); lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_47); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; +lean_dec(x_48); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } } else { -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_13, 1); -lean_inc(x_77); -lean_dec(x_13); -lean_inc(x_14); -lean_inc(x_77); +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_14, 1); +lean_inc(x_78); +lean_dec(x_14); +lean_inc(x_15); +lean_inc(x_78); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_78 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_77, x_14, x_15); -lean_dec(x_43); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); +x_79 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_44, x_78, x_15, x_16); +lean_dec(x_44); if (lean_obj_tag(x_79) == 0) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -lean_dec(x_77); -x_80 = lean_ctor_get(x_78, 1); +lean_object* x_80; +x_80 = lean_ctor_get(x_79, 0); lean_inc(x_80); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_dec(x_78); -x_81 = lean_ctor_get(x_79, 0); +x_81 = lean_ctor_get(x_79, 1); lean_inc(x_81); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - x_82 = x_79; +lean_dec(x_79); +x_82 = lean_ctor_get(x_80, 0); +lean_inc(x_82); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + x_83 = x_80; } else { - lean_dec_ref(x_79); - x_82 = lean_box(0); + lean_dec_ref(x_80); + x_83 = lean_box(0); } -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(0, 1, 0); } else { - x_83 = x_82; + x_84 = x_83; } -lean_ctor_set(x_83, 0, x_81); -x_16 = x_83; -x_17 = x_80; -goto block_39; +lean_ctor_set(x_84, 0, x_82); +x_17 = x_84; +x_18 = x_81; +goto block_40; } else { -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_79, 0); -lean_inc(x_84); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - x_85 = x_79; +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_80, 0); +lean_inc(x_85); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + x_86 = x_80; } else { - lean_dec_ref(x_79); - x_85 = lean_box(0); + lean_dec_ref(x_80); + x_86 = lean_box(0); } -if (lean_obj_tag(x_84) == 0) +if (lean_obj_tag(x_85) == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_86 = lean_ctor_get(x_78, 1); -lean_inc(x_86); -lean_dec(x_78); -x_87 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_87, 0, x_84); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_77); -x_89 = lean_alloc_ctor(0, 1, 0); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_87 = lean_ctor_get(x_79, 1); +lean_inc(x_87); +lean_dec(x_79); +x_88 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_88, 0, x_85); +x_89 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_89, 0, x_88); -if (lean_is_scalar(x_85)) { - x_90 = lean_alloc_ctor(1, 1, 0); -} else { - x_90 = x_85; -} +lean_ctor_set(x_89, 1, x_78); +x_90 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_90, 0, x_89); -x_16 = x_90; -x_17 = x_86; -goto block_39; +if (lean_is_scalar(x_86)) { + x_91 = lean_alloc_ctor(1, 1, 0); +} else { + x_91 = x_86; +} +lean_ctor_set(x_91, 0, x_90); +x_17 = x_91; +x_18 = x_87; +goto block_40; } 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_dec(x_77); -x_91 = lean_ctor_get(x_78, 1); -lean_inc(x_91); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_dec(x_78); -x_92 = lean_ctor_get(x_84, 0); +x_92 = lean_ctor_get(x_79, 1); lean_inc(x_92); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - x_93 = x_84; +lean_dec(x_79); +x_93 = lean_ctor_get(x_85, 0); +lean_inc(x_93); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + x_94 = x_85; } else { - lean_dec_ref(x_84); - x_93 = lean_box(0); + lean_dec_ref(x_85); + x_94 = lean_box(0); } -lean_inc(x_9); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_9); -lean_ctor_set(x_94, 1, x_92); -if (lean_is_scalar(x_93)) { - x_95 = lean_alloc_ctor(1, 1, 0); -} else { - x_95 = x_93; -} -lean_ctor_set(x_95, 0, x_94); -if (lean_is_scalar(x_85)) { +lean_inc(x_10); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_10); +lean_ctor_set(x_95, 1, x_93); +if (lean_is_scalar(x_94)) { x_96 = lean_alloc_ctor(1, 1, 0); } else { - x_96 = x_85; + x_96 = x_94; } lean_ctor_set(x_96, 0, x_95); -x_16 = x_96; -x_17 = x_91; -goto block_39; +if (lean_is_scalar(x_86)) { + x_97 = lean_alloc_ctor(1, 1, 0); +} else { + x_97 = x_86; +} +lean_ctor_set(x_97, 0, x_96); +x_17 = x_97; +x_18 = x_92; +goto block_40; } } } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -lean_dec(x_77); -lean_dec(x_14); -lean_dec(x_9); +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_78); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_97 = lean_ctor_get(x_78, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_78, 1); +x_98 = lean_ctor_get(x_79, 0); lean_inc(x_98); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_99 = x_78; +x_99 = lean_ctor_get(x_79, 1); +lean_inc(x_99); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_100 = x_79; } else { - lean_dec_ref(x_78); - x_99 = lean_box(0); + lean_dec_ref(x_79); + x_100 = lean_box(0); } -if (lean_is_scalar(x_99)) { - x_100 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_100)) { + x_101 = lean_alloc_ctor(1, 2, 0); } else { - x_100 = x_99; + x_101 = x_100; } -lean_ctor_set(x_100, 0, x_97); -lean_ctor_set(x_100, 1, x_98); -return x_100; +lean_ctor_set(x_101, 0, x_98); +lean_ctor_set(x_101, 1, x_99); +return x_101; } } } -block_39: +block_40: { -if (lean_obj_tag(x_16) == 0) +if (lean_obj_tag(x_17) == 0) { -uint8_t x_18; -lean_dec(x_14); -lean_dec(x_9); +uint8_t x_19; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_18 = !lean_is_exclusive(x_16); -if (x_18 == 0) +x_19 = !lean_is_exclusive(x_17); +if (x_19 == 0) { -lean_object* x_19; -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_16); -lean_ctor_set(x_19, 1, x_17); -return x_19; +lean_object* x_20; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_18); +return x_20; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_16, 0); -lean_inc(x_20); -lean_dec(x_16); -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_20); -x_22 = lean_alloc_ctor(0, 2, 0); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_17, 0); +lean_inc(x_21); +lean_dec(x_17); +x_22 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_17); -return x_22; +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_18); +return x_23; } } else { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) +uint8_t x_24; +x_24 = !lean_is_exclusive(x_17); +if (x_24 == 0) { -lean_object* x_24; -x_24 = lean_ctor_get(x_16, 0); -if (lean_obj_tag(x_24) == 0) +lean_object* x_25; +x_25 = lean_ctor_get(x_17, 0); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_25; lean_object* x_26; -lean_dec(x_14); -lean_dec(x_9); +lean_object* x_26; lean_object* x_27; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -lean_dec(x_24); -lean_ctor_set(x_16, 0, x_25); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_16); -lean_ctor_set(x_26, 1, x_17); -return x_26; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +lean_dec(x_25); +lean_ctor_set(x_17, 0, x_26); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_17); +lean_ctor_set(x_27, 1, x_18); +return x_27; } else { -lean_object* x_27; size_t x_28; size_t x_29; -lean_free_object(x_16); -x_27 = lean_ctor_get(x_24, 0); -lean_inc(x_27); -lean_dec(x_24); -x_28 = 1; -x_29 = x_12 + x_28; -x_12 = x_29; -x_13 = x_27; -x_15 = x_17; +lean_object* x_28; size_t x_29; size_t x_30; +lean_free_object(x_17); +x_28 = lean_ctor_get(x_25, 0); +lean_inc(x_28); +lean_dec(x_25); +x_29 = 1; +x_30 = x_13 + x_29; +x_13 = x_30; +x_14 = x_28; +x_16 = x_18; goto _start; } } else { -lean_object* x_31; -x_31 = lean_ctor_get(x_16, 0); -lean_inc(x_31); -lean_dec(x_16); -if (lean_obj_tag(x_31) == 0) +lean_object* x_32; +x_32 = lean_ctor_get(x_17, 0); +lean_inc(x_32); +lean_dec(x_17); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_14); -lean_dec(x_9); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -x_34 = lean_alloc_ctor(0, 2, 0); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_17); -return x_34; +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_18); +return x_35; } else { -lean_object* x_35; size_t x_36; size_t x_37; -x_35 = lean_ctor_get(x_31, 0); -lean_inc(x_35); -lean_dec(x_31); -x_36 = 1; -x_37 = x_12 + x_36; -x_12 = x_37; -x_13 = x_35; -x_15 = x_17; +lean_object* x_36; size_t x_37; size_t x_38; +x_36 = lean_ctor_get(x_32, 0); +lean_inc(x_36); +lean_dec(x_32); +x_37 = 1; +x_38 = x_13 + x_37; +x_13 = x_38; +x_14 = x_36; +x_16 = x_18; goto _start; } } @@ -8593,1128 +8797,449 @@ lean_inc(x_38); x_41 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_4, x_38, x_40, x_11); if (lean_obj_tag(x_41) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); x_43 = lean_ctor_get(x_41, 1); lean_inc(x_43); lean_dec(x_41); -x_44 = l_Lean_Expr_constName_x3f(x_42); +x_44 = l_Lean_Expr_getAppFn(x_42); lean_dec(x_42); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; -lean_dec(x_38); -x_45 = lean_box(0); -x_46 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_45, x_10, x_43); -return x_46; -} -else -{ -uint8_t x_47; -lean_dec(x_2); -x_47 = !lean_is_exclusive(x_44); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_44, 0); -x_49 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed), 11, 6); -lean_closure_set(x_49, 0, x_48); -lean_closure_set(x_49, 1, x_5); -lean_closure_set(x_49, 2, x_1); -lean_closure_set(x_49, 3, x_6); -lean_closure_set(x_49, 4, x_7); -lean_closure_set(x_49, 5, x_8); -x_50 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_4, x_38, x_49, x_43); -lean_dec(x_4); -if (lean_obj_tag(x_50) == 0) -{ -uint8_t x_51; -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_52 = lean_ctor_get(x_50, 0); -lean_ctor_set(x_44, 0, x_52); -x_53 = lean_box(0); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_44); -lean_ctor_set(x_54, 1, x_53); -x_55 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_55, 0, x_54); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_50, 0, x_56); -return x_50; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_57 = lean_ctor_get(x_50, 0); -x_58 = lean_ctor_get(x_50, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_50); -lean_ctor_set(x_44, 0, x_57); -x_59 = lean_box(0); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_44); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_62 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_62, 0, x_61); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_58); -return x_63; -} -} -else -{ -uint8_t x_64; -lean_free_object(x_44); -x_64 = !lean_is_exclusive(x_50); -if (x_64 == 0) -{ -return x_50; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_50, 0); -x_66 = lean_ctor_get(x_50, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_50); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; -} -} -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_44, 0); -lean_inc(x_68); +x_45 = l_Lean_Expr_constName_x3f(x_44); lean_dec(x_44); -x_69 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed), 11, 6); -lean_closure_set(x_69, 0, x_68); -lean_closure_set(x_69, 1, x_5); -lean_closure_set(x_69, 2, x_1); -lean_closure_set(x_69, 3, x_6); -lean_closure_set(x_69, 4, x_7); -lean_closure_set(x_69, 5, x_8); -x_70 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_4, x_38, x_69, x_43); -lean_dec(x_4); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_73 = x_70; -} else { - lean_dec_ref(x_70); - x_73 = lean_box(0); -} -x_74 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_74, 0, x_71); -x_75 = lean_box(0); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -x_77 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_77, 0, x_76); -x_78 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_78, 0, x_77); -if (lean_is_scalar(x_73)) { - x_79 = lean_alloc_ctor(0, 2, 0); -} else { - x_79 = x_73; -} -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_72); -return x_79; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_80 = lean_ctor_get(x_70, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_70, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_82 = x_70; -} else { - lean_dec_ref(x_70); - x_82 = lean_box(0); -} -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(1, 2, 0); -} else { - x_83 = x_82; -} -lean_ctor_set(x_83, 0, x_80); -lean_ctor_set(x_83, 1, x_81); -return x_83; -} -} -} -} -else -{ -uint8_t x_84; -lean_dec(x_38); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_84 = !lean_is_exclusive(x_41); -if (x_84 == 0) -{ -return x_41; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_41, 0); -x_86 = lean_ctor_get(x_41, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_41); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -return x_87; -} -} -} -} -else -{ -lean_object* x_88; lean_object* x_89; -x_88 = lean_box(0); -x_89 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_88, x_10, x_11); -return x_89; -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Expr_constName_x3f(x_8); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_13 = lean_box(0); -x_14 = lean_apply_3(x_1, x_13, x_10, x_11); -return x_14; -} -else -{ -uint8_t x_15; -lean_dec(x_10); -lean_dec(x_1); -x_15 = !lean_is_exclusive(x_12); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_12, 0); -x_17 = l_Lean_Elab_Info_lctx(x_2); -x_18 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed), 11, 6); -lean_closure_set(x_18, 0, x_16); -lean_closure_set(x_18, 1, x_3); -lean_closure_set(x_18, 2, x_2); -lean_closure_set(x_18, 3, x_4); -lean_closure_set(x_18, 4, x_5); -lean_closure_set(x_18, 5, x_6); -x_19 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_7, x_17, x_18, x_11); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_19, 0); -lean_ctor_set(x_12, 0, x_21); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_12); -lean_ctor_set(x_23, 1, x_22); -x_24 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_19, 0, x_25); -return x_19; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_26 = lean_ctor_get(x_19, 0); -x_27 = lean_ctor_get(x_19, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_19); -lean_ctor_set(x_12, 0, x_26); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_12); -lean_ctor_set(x_29, 1, x_28); -x_30 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_27); -return x_32; -} -} -else -{ -uint8_t x_33; -lean_free_object(x_12); -x_33 = !lean_is_exclusive(x_19); -if (x_33 == 0) -{ -return x_19; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_19, 0); -x_35 = lean_ctor_get(x_19, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_19); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_12, 0); -lean_inc(x_37); -lean_dec(x_12); -x_38 = l_Lean_Elab_Info_lctx(x_2); -x_39 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed), 11, 6); -lean_closure_set(x_39, 0, x_37); -lean_closure_set(x_39, 1, x_3); -lean_closure_set(x_39, 2, x_2); -lean_closure_set(x_39, 3, x_4); -lean_closure_set(x_39, 4, x_5); -lean_closure_set(x_39, 5, x_6); -x_40 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_7, x_38, x_39, x_11); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_43 = x_40; -} else { - lean_dec_ref(x_40); - x_43 = lean_box(0); -} -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_41); -x_45 = lean_box(0); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -x_47 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_47, 0, x_46); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_47); -if (lean_is_scalar(x_43)) { - x_49 = lean_alloc_ctor(0, 2, 0); -} else { - x_49 = x_43; -} -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_42); -return x_49; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_50 = lean_ctor_get(x_40, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_40, 1); -lean_inc(x_51); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_52 = x_40; -} else { - lean_dec_ref(x_40); - 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; -} -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; lean_object* x_16; uint8_t x_39; -x_39 = x_11 < x_10; -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_12); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_14); -return x_41; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_81; -x_42 = lean_array_uget(x_9, x_11); -x_43 = lean_ctor_get(x_12, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_12)) { - lean_ctor_release(x_12, 0); - lean_ctor_release(x_12, 1); - x_44 = x_12; -} else { - lean_dec_ref(x_12); - x_44 = lean_box(0); -} -lean_inc(x_5); -x_81 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(x_42, x_5); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -lean_inc(x_7); -x_82 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_82, 0, x_7); -x_83 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_83, 0, x_82); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_14); -x_45 = x_84; -goto block_80; -} -else -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_81, 0); -lean_inc(x_85); -lean_dec(x_81); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -if (lean_obj_tag(x_86) == 1) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; uint8_t x_93; -x_87 = lean_ctor_get(x_85, 0); -lean_inc(x_87); -lean_dec(x_85); -x_88 = lean_ctor_get(x_86, 0); -lean_inc(x_88); -x_89 = lean_box(x_1); -lean_inc(x_2); -lean_inc(x_3); -lean_inc(x_4); -lean_inc(x_6); -lean_inc(x_87); -lean_inc(x_7); -lean_inc(x_86); -x_90 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7___boxed), 11, 8); -lean_closure_set(x_90, 0, x_86); -lean_closure_set(x_90, 1, x_7); -lean_closure_set(x_90, 2, x_89); -lean_closure_set(x_90, 3, x_87); -lean_closure_set(x_90, 4, x_6); -lean_closure_set(x_90, 5, x_4); -lean_closure_set(x_90, 6, x_3); -lean_closure_set(x_90, 7, x_2); -x_91 = lean_ctor_get(x_88, 3); -lean_inc(x_91); -lean_dec(x_88); -x_92 = 2; -x_93 = l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_491_(x_1, x_92); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; -x_94 = lean_box(0); -lean_inc(x_13); -lean_inc(x_2); -lean_inc(x_3); -lean_inc(x_4); -lean_inc(x_6); -x_95 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8(x_90, x_86, x_6, x_4, x_3, x_2, x_87, x_91, x_94, x_13, x_14); -lean_dec(x_91); -lean_dec(x_87); -x_45 = x_95; -goto block_80; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = l_Lean_Elab_Info_lctx(x_86); -x_97 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6), 6, 1); -lean_closure_set(x_97, 0, x_91); -x_98 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_87, x_96, x_97, x_14); -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -lean_dec(x_98); -x_101 = lean_box(0); -lean_inc(x_13); -lean_inc(x_2); -lean_inc(x_3); -lean_inc(x_4); -lean_inc(x_6); -x_102 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8(x_90, x_86, x_6, x_4, x_3, x_2, x_87, x_99, x_101, x_13, x_100); -lean_dec(x_99); -lean_dec(x_87); -x_45 = x_102; -goto block_80; -} -else -{ -uint8_t x_103; -lean_dec(x_90); -lean_dec(x_87); -lean_dec(x_86); -x_103 = !lean_is_exclusive(x_98); -if (x_103 == 0) -{ -x_45 = x_98; -goto block_80; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_98, 0); -x_105 = lean_ctor_get(x_98, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_98); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -x_45 = x_106; -goto block_80; -} -} -} -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_85, 0); -lean_inc(x_107); -lean_dec(x_85); -x_108 = lean_box(0); -lean_inc(x_2); -lean_inc(x_3); -lean_inc(x_4); -lean_inc(x_6); -lean_inc(x_7); -x_109 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7(x_86, x_7, x_1, x_107, x_6, x_4, x_3, x_2, x_108, x_13, x_14); -x_45 = x_109; -goto block_80; -} -} -block_80: -{ if (lean_obj_tag(x_45) == 0) { -lean_object* x_46; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -if (lean_obj_tag(x_46) == 0) +lean_object* x_46; lean_object* x_47; +lean_dec(x_38); +x_46 = lean_box(0); +x_47 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_46, x_10, x_43); +return x_47; +} +else { -lean_object* x_47; uint8_t x_48; -lean_dec(x_44); -lean_dec(x_43); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = !lean_is_exclusive(x_46); +uint8_t x_48; +lean_dec(x_2); +x_48 = !lean_is_exclusive(x_45); if (x_48 == 0) { -x_15 = x_46; -x_16 = x_47; -goto block_38; -} -else +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_45, 0); +x_50 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed), 11, 6); +lean_closure_set(x_50, 0, x_49); +lean_closure_set(x_50, 1, x_5); +lean_closure_set(x_50, 2, x_1); +lean_closure_set(x_50, 3, x_6); +lean_closure_set(x_50, 4, x_7); +lean_closure_set(x_50, 5, x_8); +x_51 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_4, x_38, x_50, x_43); +lean_dec(x_4); +if (lean_obj_tag(x_51) == 0) { -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_46, 0); -lean_inc(x_49); -lean_dec(x_46); -x_50 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_50, 0, x_49); -x_15 = x_50; -x_16 = x_47; -goto block_38; -} -} -else +uint8_t x_52; +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) { -uint8_t x_51; -x_51 = !lean_is_exclusive(x_46); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_46, 0); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_53 = lean_ctor_get(x_45, 1); -lean_inc(x_53); -lean_dec(x_45); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_52); -if (lean_is_scalar(x_44)) { - x_55 = lean_alloc_ctor(0, 2, 0); -} else { - x_55 = x_44; -} -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_43); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_53 = lean_ctor_get(x_51, 0); +lean_ctor_set(x_45, 0, x_53); +x_54 = lean_box(0); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_45); +lean_ctor_set(x_55, 1, x_54); x_56 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_46, 0, x_56); -x_15 = x_46; -x_16 = x_53; -goto block_38; +x_57 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_51, 0, x_57); +return x_51; } else { -lean_object* x_57; uint8_t x_58; -lean_dec(x_43); -x_57 = lean_ctor_get(x_45, 1); -lean_inc(x_57); -lean_dec(x_45); -x_58 = !lean_is_exclusive(x_52); -if (x_58 == 0) -{ -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_52, 0); -lean_inc(x_8); -if (lean_is_scalar(x_44)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_44; -} -lean_ctor_set(x_60, 0, x_8); -lean_ctor_set(x_60, 1, x_59); -lean_ctor_set(x_52, 0, x_60); -x_15 = x_46; -x_16 = x_57; -goto block_38; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_52, 0); -lean_inc(x_61); -lean_dec(x_52); -lean_inc(x_8); -if (lean_is_scalar(x_44)) { - x_62 = lean_alloc_ctor(0, 2, 0); -} else { - x_62 = x_44; -} -lean_ctor_set(x_62, 0, x_8); -lean_ctor_set(x_62, 1, x_61); +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_58 = lean_ctor_get(x_51, 0); +x_59 = lean_ctor_get(x_51, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_51); +lean_ctor_set(x_45, 0, x_58); +x_60 = lean_box(0); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_45); +lean_ctor_set(x_61, 1, x_60); +x_62 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_62, 0, x_61); x_63 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_46, 0, x_63); -x_15 = x_46; -x_16 = x_57; -goto block_38; +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_59); +return x_64; +} +} +else +{ +uint8_t x_65; +lean_free_object(x_45); +x_65 = !lean_is_exclusive(x_51); +if (x_65 == 0) +{ +return x_51; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_51, 0); +x_67 = lean_ctor_get(x_51, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_51); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } else { -lean_object* x_64; -x_64 = lean_ctor_get(x_46, 0); -lean_inc(x_64); -lean_dec(x_46); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_65 = lean_ctor_get(x_45, 1); -lean_inc(x_65); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_45, 0); +lean_inc(x_69); lean_dec(x_45); -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_64); -if (lean_is_scalar(x_44)) { - x_67 = lean_alloc_ctor(0, 2, 0); -} else { - x_67 = x_44; -} -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_43); -x_68 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_68, 0, x_67); -x_69 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_69, 0, x_68); -x_15 = x_69; -x_16 = x_65; -goto block_38; -} -else +x_70 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed), 11, 6); +lean_closure_set(x_70, 0, x_69); +lean_closure_set(x_70, 1, x_5); +lean_closure_set(x_70, 2, x_1); +lean_closure_set(x_70, 3, x_6); +lean_closure_set(x_70, 4, x_7); +lean_closure_set(x_70, 5, x_8); +x_71 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_4, x_38, x_70, x_43); +lean_dec(x_4); +if (lean_obj_tag(x_71) == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -lean_dec(x_43); -x_70 = lean_ctor_get(x_45, 1); -lean_inc(x_70); -lean_dec(x_45); -x_71 = lean_ctor_get(x_64, 0); -lean_inc(x_71); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - x_72 = x_64; +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_74 = x_71; } else { - lean_dec_ref(x_64); - x_72 = lean_box(0); + lean_dec_ref(x_71); + x_74 = lean_box(0); } -lean_inc(x_8); -if (lean_is_scalar(x_44)) { - x_73 = lean_alloc_ctor(0, 2, 0); -} else { - x_73 = x_44; -} -lean_ctor_set(x_73, 0, x_8); -lean_ctor_set(x_73, 1, x_71); -if (lean_is_scalar(x_72)) { - x_74 = lean_alloc_ctor(1, 1, 0); -} else { - x_74 = x_72; -} -lean_ctor_set(x_74, 0, x_73); x_75 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_75, 0, x_74); -x_15 = x_75; -x_16 = x_70; -goto block_38; +lean_ctor_set(x_75, 0, x_72); +x_76 = lean_box(0); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +x_78 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_79 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_79, 0, x_78); +if (lean_is_scalar(x_74)) { + x_80 = lean_alloc_ctor(0, 2, 0); +} else { + x_80 = x_74; +} +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_73); +return x_80; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_ctor_get(x_71, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_71, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_83 = x_71; +} else { + lean_dec_ref(x_71); + x_83 = lean_box(0); +} +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(1, 2, 0); +} else { + x_84 = x_83; +} +lean_ctor_set(x_84, 0, x_81); +lean_ctor_set(x_84, 1, x_82); +return x_84; } } } } else { -uint8_t x_76; -lean_dec(x_44); -lean_dec(x_43); -lean_dec(x_13); +uint8_t x_85; +lean_dec(x_38); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_76 = !lean_is_exclusive(x_45); -if (x_76 == 0) +lean_dec(x_1); +x_85 = !lean_is_exclusive(x_41); +if (x_85 == 0) { -return x_45; +return x_41; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_45, 0); -x_78 = lean_ctor_get(x_45, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_45); -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_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_41, 0); +x_87 = lean_ctor_get(x_41, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_41); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; } } } } -block_38: +else { -if (lean_obj_tag(x_15) == 0) +lean_object* x_89; lean_object* x_90; +x_89 = lean_box(0); +x_90 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_89, x_10, x_11); +return x_90; +} +} +} +uint8_t l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8(lean_object* x_1, lean_object* x_2) { +_start: { -uint8_t x_17; -lean_dec(x_13); +if (lean_obj_tag(x_2) == 1) +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_3, 3); +if (lean_obj_tag(x_4) == 1) +{ +uint8_t x_5; +x_5 = lean_ctor_get_uint8(x_3, sizeof(void*)*4); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = 0; +return x_6; +} +else +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_ctor_get(x_4, 0); +x_8 = lean_name_eq(x_7, x_1); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = 0; +return x_9; +} +} +else +{ +uint8_t x_10; +x_10 = 0; +return x_10; +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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) { +_start: +{ +lean_object* x_7; +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +switch (lean_obj_tag(x_10)) { +case 1: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_12); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_1); +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec(x_10); +x_15 = l_Lean_Elab_Info_lctx(x_2); +x_16 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8___boxed), 2, 1); +lean_closure_set(x_16, 0, x_14); +x_17 = l_Lean_Elab_InfoTree_findInfo_x3f(x_16, x_4); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) +x_18 = lean_box(0); +x_19 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___boxed), 7, 2); +lean_closure_set(x_19, 0, x_3); +lean_closure_set(x_19, 1, x_18); +x_20 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_5, x_15, x_19, x_13); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_18; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_15); -lean_ctor_set(x_18, 1, x_16); -return x_18; +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_18); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_20, 0, x_26); +return x_20; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 0); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_16); -return x_21; -} -} -else -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_15); -if (x_22 == 0) -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_15, 0); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -lean_dec(x_23); -lean_ctor_set(x_15, 0, x_24); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_15); -lean_ctor_set(x_25, 1, x_16); -return x_25; -} -else -{ -lean_object* x_26; size_t x_27; size_t x_28; -lean_free_object(x_15); -x_26 = lean_ctor_get(x_23, 0); -lean_inc(x_26); -lean_dec(x_23); -x_27 = 1; -x_28 = x_11 + x_27; -x_11 = x_28; -x_12 = x_26; -x_14 = x_16; -goto _start; -} -} -else -{ -lean_object* x_30; -x_30 = lean_ctor_get(x_15, 0); -lean_inc(x_30); -lean_dec(x_15); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -lean_dec(x_30); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_27 = lean_ctor_get(x_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, 1, 0); +lean_ctor_set(x_29, 0, x_27); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_18); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_30); x_32 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_32, 0, x_31); x_33 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_16); +lean_ctor_set(x_33, 1, x_28); return x_33; } -else -{ -lean_object* x_34; size_t x_35; size_t x_36; -x_34 = lean_ctor_get(x_30, 0); -lean_inc(x_34); -lean_dec(x_30); -x_35 = 1; -x_36 = x_11 + x_35; -x_11 = x_36; -x_12 = x_34; -x_14 = x_16; -goto _start; -} -} -} -} -} -} -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_10); -x_16 = lean_array_get_size(x_13); -x_17 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_18 = 0; -lean_inc(x_11); -x_19 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_13, x_17, x_18, x_15, x_11, x_12); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -lean_dec(x_11); -x_21 = !lean_is_exclusive(x_19); -if (x_21 == 0) -{ -lean_object* x_22; uint8_t x_23; -x_22 = lean_ctor_get(x_19, 0); -lean_dec(x_22); -x_23 = !lean_is_exclusive(x_20); -if (x_23 == 0) -{ -return x_19; } else { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_20, 0); -lean_inc(x_24); -lean_dec(x_20); -x_25 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_19, 0, x_25); -return x_19; -} +uint8_t x_34; +x_34 = !lean_is_exclusive(x_20); +if (x_34 == 0) +{ +return x_20; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_19, 1); -lean_inc(x_26); -lean_dec(x_19); -x_27 = lean_ctor_get(x_20, 0); -lean_inc(x_27); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - x_28 = x_20; -} else { - lean_dec_ref(x_20); - x_28 = lean_box(0); -} -if (lean_is_scalar(x_28)) { - x_29 = lean_alloc_ctor(0, 1, 0); -} else { - x_29 = x_28; -} -lean_ctor_set(x_29, 0, x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_26); -return x_30; -} -} -else -{ -uint8_t x_31; -x_31 = !lean_is_exclusive(x_20); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_20, 0); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_free_object(x_20); -x_34 = lean_ctor_get(x_19, 1); -lean_inc(x_34); -lean_dec(x_19); -x_35 = lean_ctor_get(x_32, 1); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_20, 0); +x_36 = lean_ctor_get(x_20, 1); +lean_inc(x_36); lean_inc(x_35); -lean_dec(x_32); -x_36 = lean_box(0); -x_37 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_35, x_36, x_11, x_34); -lean_dec(x_11); +lean_dec(x_20); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); return x_37; } +} +} else { uint8_t x_38; -lean_dec(x_32); -lean_dec(x_11); -x_38 = !lean_is_exclusive(x_19); +x_38 = !lean_is_exclusive(x_17); if (x_38 == 0) { lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_19, 0); +x_39 = lean_ctor_get(x_17, 0); +x_40 = l_Lean_Elab_Info_range_x3f(x_39); lean_dec(x_39); -x_40 = lean_ctor_get(x_33, 0); -lean_inc(x_40); -lean_dec(x_33); -lean_ctor_set(x_20, 0, x_40); -return x_19; -} -else +if (lean_obj_tag(x_40) == 0) { lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_19, 1); -lean_inc(x_41); -lean_dec(x_19); -x_42 = lean_ctor_get(x_33, 0); -lean_inc(x_42); -lean_dec(x_33); -lean_ctor_set(x_20, 0, x_42); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_20); -lean_ctor_set(x_43, 1, x_41); +lean_dec(x_6); +lean_dec(x_2); +x_41 = lean_box(0); +x_42 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___boxed), 7, 2); +lean_closure_set(x_42, 0, x_3); +lean_closure_set(x_42, 1, x_41); +x_43 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_5, x_15, x_42, x_13); +if (lean_obj_tag(x_43) == 0) +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_43, 0); +lean_ctor_set(x_17, 0, x_45); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_17); +lean_ctor_set(x_46, 1, x_41); +x_47 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_43, 0, x_48); return x_43; } -} -} else { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_20, 0); -lean_inc(x_44); -lean_dec(x_20); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_46 = lean_ctor_get(x_19, 1); -lean_inc(x_46); -lean_dec(x_19); -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_dec(x_44); -x_48 = lean_box(0); -x_49 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_47, x_48, x_11, x_46); -lean_dec(x_11); -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_dec(x_44); -lean_dec(x_11); -x_50 = lean_ctor_get(x_19, 1); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_49 = lean_ctor_get(x_43, 0); +x_50 = lean_ctor_get(x_43, 1); lean_inc(x_50); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - x_51 = x_19; -} else { - lean_dec_ref(x_19); - x_51 = lean_box(0); -} -x_52 = lean_ctor_get(x_45, 0); -lean_inc(x_52); -lean_dec(x_45); +lean_inc(x_49); +lean_dec(x_43); +lean_ctor_set(x_17, 0, x_49); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_17); +lean_ctor_set(x_51, 1, x_41); +x_52 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_52, 0, x_51); x_53 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_53, 0, x_52); -if (lean_is_scalar(x_51)) { - x_54 = lean_alloc_ctor(0, 2, 0); -} else { - x_54 = x_51; -} +x_54 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_50); return x_54; } } -} -} else { uint8_t x_55; -lean_dec(x_11); -x_55 = !lean_is_exclusive(x_19); +lean_free_object(x_17); +x_55 = !lean_is_exclusive(x_43); if (x_55 == 0) { -return x_19; +return x_43; } else { lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_19, 0); -x_57 = lean_ctor_get(x_19, 1); +x_56 = lean_ctor_get(x_43, 0); +x_57 = lean_ctor_get(x_43, 1); lean_inc(x_57); lean_inc(x_56); -lean_dec(x_19); +lean_dec(x_43); x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_56); lean_ctor_set(x_58, 1, x_57); @@ -9724,641 +9249,96 @@ return x_58; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; size_t x_63; size_t x_64; lean_object* x_65; -x_59 = lean_ctor_get(x_9, 0); -x_60 = lean_box(0); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_10); -x_62 = lean_array_get_size(x_59); -x_63 = lean_usize_of_nat(x_62); -lean_dec(x_62); -x_64 = 0; -lean_inc(x_11); -x_65 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_60, x_59, x_63, x_64, x_61, x_11, x_12); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_66; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -if (lean_obj_tag(x_66) == 0) -{ -uint8_t x_67; -lean_dec(x_11); -x_67 = !lean_is_exclusive(x_65); -if (x_67 == 0) -{ -lean_object* x_68; uint8_t x_69; -x_68 = lean_ctor_get(x_65, 0); -lean_dec(x_68); -x_69 = !lean_is_exclusive(x_66); -if (x_69 == 0) -{ -return x_65; -} -else -{ -lean_object* x_70; lean_object* x_71; -x_70 = lean_ctor_get(x_66, 0); -lean_inc(x_70); -lean_dec(x_66); -x_71 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_65, 0, x_71); -return x_65; -} -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_72 = lean_ctor_get(x_65, 1); -lean_inc(x_72); -lean_dec(x_65); -x_73 = lean_ctor_get(x_66, 0); -lean_inc(x_73); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - x_74 = x_66; -} else { - lean_dec_ref(x_66); - x_74 = lean_box(0); -} -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(0, 1, 0); -} else { - x_75 = x_74; -} -lean_ctor_set(x_75, 0, x_73); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_72); -return x_76; -} -} -else -{ -uint8_t x_77; -x_77 = !lean_is_exclusive(x_66); -if (x_77 == 0) -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_66, 0); -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -lean_free_object(x_66); -x_80 = lean_ctor_get(x_65, 1); -lean_inc(x_80); -lean_dec(x_65); -x_81 = lean_ctor_get(x_78, 1); -lean_inc(x_81); -lean_dec(x_78); -x_82 = lean_box(0); -x_83 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_81, x_82, x_11, x_80); -lean_dec(x_11); -return x_83; -} -else -{ -uint8_t x_84; -lean_dec(x_78); -lean_dec(x_11); -x_84 = !lean_is_exclusive(x_65); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_65, 0); -lean_dec(x_85); -x_86 = lean_ctor_get(x_79, 0); -lean_inc(x_86); -lean_dec(x_79); -lean_ctor_set(x_66, 0, x_86); -return x_65; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_65, 1); -lean_inc(x_87); -lean_dec(x_65); -x_88 = lean_ctor_get(x_79, 0); -lean_inc(x_88); -lean_dec(x_79); -lean_ctor_set(x_66, 0, x_88); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_66); -lean_ctor_set(x_89, 1, x_87); -return x_89; -} -} -} -else -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_ctor_get(x_66, 0); -lean_inc(x_90); -lean_dec(x_66); -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -if (lean_obj_tag(x_91) == 0) -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_65, 1); -lean_inc(x_92); -lean_dec(x_65); -x_93 = lean_ctor_get(x_90, 1); -lean_inc(x_93); -lean_dec(x_90); -x_94 = lean_box(0); -x_95 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_93, x_94, x_11, x_92); -lean_dec(x_11); -return x_95; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -lean_dec(x_90); -lean_dec(x_11); -x_96 = lean_ctor_get(x_65, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_97 = x_65; -} else { - lean_dec_ref(x_65); - x_97 = lean_box(0); -} -x_98 = lean_ctor_get(x_91, 0); -lean_inc(x_98); -lean_dec(x_91); -x_99 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_99, 0, x_98); -if (lean_is_scalar(x_97)) { - x_100 = lean_alloc_ctor(0, 2, 0); -} else { - x_100 = x_97; -} -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_96); -return x_100; -} -} -} -} -else -{ -uint8_t x_101; -lean_dec(x_11); -x_101 = !lean_is_exclusive(x_65); -if (x_101 == 0) -{ -return x_65; -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_65, 0); -x_103 = lean_ctor_get(x_65, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_65); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; -} -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; lean_object* x_16; uint8_t x_39; -x_39 = x_11 < x_10; -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +uint8_t x_59; +lean_free_object(x_17); lean_dec(x_3); +x_59 = !lean_is_exclusive(x_40); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_40, 0); +x_61 = l_String_Range_toLspRange(x_6, x_60); +lean_dec(x_60); +x_62 = l_Lean_Elab_Info_range_x3f(x_2); lean_dec(x_2); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_12); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_14); -return x_41; -} -else +if (lean_obj_tag(x_62) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_88; -x_42 = lean_array_uget(x_9, x_11); -x_43 = lean_ctor_get(x_12, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_12)) { - lean_ctor_release(x_12, 0); - lean_ctor_release(x_12, 1); - x_44 = x_12; -} else { - lean_dec_ref(x_12); - x_44 = lean_box(0); -} -lean_inc(x_5); -x_88 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(x_42, x_5); -if (lean_obj_tag(x_88) == 0) -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_inc(x_7); -x_89 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_89, 0, x_7); -x_90 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_90, 0, 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_14); -x_45 = x_91; -goto block_87; -} -else -{ -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_88, 0); -lean_inc(x_92); -lean_dec(x_88); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -if (lean_obj_tag(x_93) == 1) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; uint8_t x_100; -x_94 = lean_ctor_get(x_92, 0); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_ctor_get(x_93, 0); -lean_inc(x_95); -x_96 = lean_box(x_1); -lean_inc(x_2); -lean_inc(x_3); -lean_inc(x_4); -lean_inc(x_6); -lean_inc(x_94); -lean_inc(x_7); -lean_inc(x_93); -x_97 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7___boxed), 11, 8); -lean_closure_set(x_97, 0, x_93); -lean_closure_set(x_97, 1, x_7); -lean_closure_set(x_97, 2, x_96); -lean_closure_set(x_97, 3, x_94); -lean_closure_set(x_97, 4, x_6); -lean_closure_set(x_97, 5, x_4); -lean_closure_set(x_97, 6, x_3); -lean_closure_set(x_97, 7, x_2); -x_98 = lean_ctor_get(x_95, 3); -lean_inc(x_98); -lean_dec(x_95); -x_99 = 2; -x_100 = l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_491_(x_1, x_99); -if (x_100 == 0) -{ -lean_object* x_101; lean_object* x_102; -x_101 = lean_box(0); -lean_inc(x_13); -lean_inc(x_2); -lean_inc(x_3); -lean_inc(x_4); -lean_inc(x_6); -x_102 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8(x_97, x_93, x_6, x_4, x_3, x_2, x_94, x_98, x_101, x_13, x_14); -lean_dec(x_98); -lean_dec(x_94); -x_45 = x_102; -goto block_87; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = l_Lean_Elab_Info_lctx(x_93); -x_104 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6), 6, 1); -lean_closure_set(x_104, 0, x_98); -x_105 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_94, x_103, x_104, x_14); -if (lean_obj_tag(x_105) == 0) -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = lean_box(0); -lean_inc(x_13); -lean_inc(x_2); -lean_inc(x_3); -lean_inc(x_4); -lean_inc(x_6); -x_109 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8(x_97, x_93, x_6, x_4, x_3, x_2, x_94, x_106, x_108, x_13, x_107); -lean_dec(x_106); -lean_dec(x_94); -x_45 = x_109; -goto block_87; -} -else -{ -uint8_t x_110; -lean_dec(x_97); -lean_dec(x_94); -lean_dec(x_93); -x_110 = !lean_is_exclusive(x_105); -if (x_110 == 0) -{ -x_45 = x_105; -goto block_87; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_105, 0); -x_112 = lean_ctor_get(x_105, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_105); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -x_45 = x_113; -goto block_87; -} -} -} -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_92, 0); -lean_inc(x_114); -lean_dec(x_92); -x_115 = lean_box(0); -lean_inc(x_2); -lean_inc(x_3); -lean_inc(x_4); -lean_inc(x_6); -lean_inc(x_7); -x_116 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7(x_93, x_7, x_1, x_114, x_6, x_4, x_3, x_2, x_115, x_13, x_14); -x_45 = x_116; -goto block_87; -} -} -block_87: -{ -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; uint8_t x_48; -lean_dec(x_44); -lean_dec(x_43); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = !lean_is_exclusive(x_46); -if (x_48 == 0) -{ -x_15 = x_46; -x_16 = x_47; -goto block_38; -} -else -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_46, 0); -lean_inc(x_49); -lean_dec(x_46); -x_50 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_50, 0, x_49); -x_15 = x_50; -x_16 = x_47; -goto block_38; -} -} -else -{ -uint8_t x_51; -x_51 = !lean_is_exclusive(x_46); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_46, 0); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; uint8_t x_54; -x_53 = lean_ctor_get(x_45, 1); -lean_inc(x_53); -lean_dec(x_45); -x_54 = !lean_is_exclusive(x_52); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_52, 0); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_55); -if (lean_is_scalar(x_44)) { - x_57 = lean_alloc_ctor(0, 2, 0); -} else { - x_57 = x_44; -} -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_43); -lean_ctor_set(x_52, 0, x_57); -x_15 = x_46; -x_16 = x_53; -goto block_38; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_52, 0); -lean_inc(x_58); -lean_dec(x_52); -x_59 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_59, 0, x_58); -if (lean_is_scalar(x_44)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_44; -} -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_43); -x_61 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_46, 0, x_61); -x_15 = x_46; -x_16 = x_53; -goto block_38; -} -} -else -{ -lean_object* x_62; uint8_t x_63; -lean_dec(x_43); -x_62 = lean_ctor_get(x_45, 1); -lean_inc(x_62); -lean_dec(x_45); -x_63 = !lean_is_exclusive(x_52); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_52, 0); -lean_inc(x_8); -if (lean_is_scalar(x_44)) { - x_65 = lean_alloc_ctor(0, 2, 0); -} else { - x_65 = x_44; -} -lean_ctor_set(x_65, 0, x_8); -lean_ctor_set(x_65, 1, x_64); -lean_ctor_set(x_52, 0, x_65); -x_15 = x_46; -x_16 = x_62; -goto block_38; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_52, 0); -lean_inc(x_66); -lean_dec(x_52); -lean_inc(x_8); -if (lean_is_scalar(x_44)) { - x_67 = lean_alloc_ctor(0, 2, 0); -} else { - x_67 = x_44; -} -lean_ctor_set(x_67, 0, x_8); -lean_ctor_set(x_67, 1, x_66); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_46, 0, x_68); -x_15 = x_46; -x_16 = x_62; -goto block_38; -} -} -} -else -{ -lean_object* x_69; -x_69 = lean_ctor_get(x_46, 0); -lean_inc(x_69); -lean_dec(x_46); +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_dec(x_6); +x_63 = lean_ctor_get(x_7, 0); +x_64 = lean_box(0); +lean_inc(x_61); +lean_inc(x_63); +x_65 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +lean_ctor_set(x_65, 2, x_61); +lean_ctor_set(x_65, 3, x_61); +x_66 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +x_67 = lean_array_push(x_66, x_65); +x_68 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9___boxed), 6, 1); +lean_closure_set(x_68, 0, x_67); +x_69 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_5, x_15, x_68, x_13); if (lean_obj_tag(x_69) == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_70 = lean_ctor_get(x_45, 1); -lean_inc(x_70); -lean_dec(x_45); +uint8_t x_70; +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; x_71 = lean_ctor_get(x_69, 0); -lean_inc(x_71); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - x_72 = x_69; -} else { - lean_dec_ref(x_69); - x_72 = lean_box(0); -} -x_73 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_73, 0, x_71); -if (lean_is_scalar(x_44)) { - x_74 = lean_alloc_ctor(0, 2, 0); -} else { - x_74 = x_44; -} +lean_ctor_set(x_40, 0, x_71); +x_72 = lean_box(0); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_40); +lean_ctor_set(x_73, 1, x_72); +x_74 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_43); -if (lean_is_scalar(x_72)) { - x_75 = lean_alloc_ctor(0, 1, 0); -} else { - x_75 = x_72; -} +x_75 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_75, 0, x_74); -x_76 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_76, 0, x_75); -x_15 = x_76; -x_16 = x_70; -goto block_38; +lean_ctor_set(x_69, 0, x_75); +return x_69; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -lean_dec(x_43); -x_77 = lean_ctor_get(x_45, 1); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_76 = lean_ctor_get(x_69, 0); +x_77 = lean_ctor_get(x_69, 1); lean_inc(x_77); -lean_dec(x_45); -x_78 = lean_ctor_get(x_69, 0); -lean_inc(x_78); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - x_79 = x_69; -} else { - lean_dec_ref(x_69); - x_79 = lean_box(0); -} -lean_inc(x_8); -if (lean_is_scalar(x_44)) { - x_80 = lean_alloc_ctor(0, 2, 0); -} else { - x_80 = x_44; -} -lean_ctor_set(x_80, 0, x_8); -lean_ctor_set(x_80, 1, x_78); -if (lean_is_scalar(x_79)) { - x_81 = lean_alloc_ctor(1, 1, 0); -} else { - x_81 = x_79; -} +lean_inc(x_76); +lean_dec(x_69); +lean_ctor_set(x_40, 0, x_76); +x_78 = lean_box(0); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_40); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_80, 0, x_79); +x_81 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_81, 0, x_80); -x_82 = lean_alloc_ctor(1, 1, 0); +x_82 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_82, 0, x_81); -x_15 = x_82; -x_16 = x_77; -goto block_38; -} -} +lean_ctor_set(x_82, 1, x_77); +return x_82; } } else { uint8_t x_83; -lean_dec(x_44); -lean_dec(x_43); -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_83 = !lean_is_exclusive(x_45); +lean_free_object(x_40); +x_83 = !lean_is_exclusive(x_69); if (x_83 == 0) { -return x_45; +return x_69; } else { lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_45, 0); -x_85 = lean_ctor_get(x_45, 1); +x_84 = lean_ctor_get(x_69, 0); +x_85 = lean_ctor_get(x_69, 1); lean_inc(x_85); lean_inc(x_84); -lean_dec(x_45); +lean_dec(x_69); x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_84); lean_ctor_set(x_86, 1, x_85); @@ -10366,446 +9346,1202 @@ return x_86; } } } -} -block_38: +else { -if (lean_obj_tag(x_15) == 0) +uint8_t x_87; +x_87 = !lean_is_exclusive(x_62); +if (x_87 == 0) { -uint8_t x_17; -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); +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_88 = lean_ctor_get(x_7, 0); +x_89 = lean_ctor_get(x_62, 0); +x_90 = l_String_Range_toLspRange(x_6, x_89); +lean_dec(x_89); +lean_dec(x_6); +lean_ctor_set(x_62, 0, x_90); +lean_inc(x_61); +lean_inc(x_88); +x_91 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_91, 0, x_62); +lean_ctor_set(x_91, 1, x_88); +lean_ctor_set(x_91, 2, x_61); +lean_ctor_set(x_91, 3, x_61); +x_92 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +x_93 = lean_array_push(x_92, x_91); +x_94 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9___boxed), 6, 1); +lean_closure_set(x_94, 0, x_93); +x_95 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_5, x_15, x_94, x_13); +if (lean_obj_tag(x_95) == 0) +{ +uint8_t x_96; +x_96 = !lean_is_exclusive(x_95); +if (x_96 == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_97 = lean_ctor_get(x_95, 0); +lean_ctor_set(x_40, 0, x_97); +x_98 = lean_box(0); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_40); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_100, 0, x_99); +x_101 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_95, 0, x_101); +return x_95; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_102 = lean_ctor_get(x_95, 0); +x_103 = lean_ctor_get(x_95, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_95); +lean_ctor_set(x_40, 0, x_102); +x_104 = lean_box(0); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_40); +lean_ctor_set(x_105, 1, x_104); +x_106 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_106, 0, x_105); +x_107 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_107, 0, x_106); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_103); +return x_108; +} +} +else +{ +uint8_t x_109; +lean_free_object(x_40); +x_109 = !lean_is_exclusive(x_95); +if (x_109 == 0) +{ +return x_95; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_95, 0); +x_111 = lean_ctor_get(x_95, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_95); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +return x_112; +} +} +} +else +{ +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_113 = lean_ctor_get(x_7, 0); +x_114 = lean_ctor_get(x_62, 0); +lean_inc(x_114); +lean_dec(x_62); +x_115 = l_String_Range_toLspRange(x_6, x_114); +lean_dec(x_114); +lean_dec(x_6); +x_116 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_116, 0, x_115); +lean_inc(x_61); +lean_inc(x_113); +x_117 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_113); +lean_ctor_set(x_117, 2, x_61); +lean_ctor_set(x_117, 3, x_61); +x_118 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +x_119 = lean_array_push(x_118, x_117); +x_120 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9___boxed), 6, 1); +lean_closure_set(x_120, 0, x_119); +x_121 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_5, x_15, x_120, x_13); +if (lean_obj_tag(x_121) == 0) +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_124 = x_121; +} else { + lean_dec_ref(x_121); + x_124 = lean_box(0); +} +lean_ctor_set(x_40, 0, x_122); +x_125 = lean_box(0); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_40); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_127, 0, x_126); +x_128 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_128, 0, x_127); +if (lean_is_scalar(x_124)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_124; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_123); +return x_129; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_free_object(x_40); +x_130 = lean_ctor_get(x_121, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_121, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_132 = x_121; +} else { + lean_dec_ref(x_121); + x_132 = lean_box(0); +} +if (lean_is_scalar(x_132)) { + x_133 = lean_alloc_ctor(1, 2, 0); +} else { + x_133 = x_132; +} +lean_ctor_set(x_133, 0, x_130); +lean_ctor_set(x_133, 1, x_131); +return x_133; +} +} +} +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_40, 0); +lean_inc(x_134); +lean_dec(x_40); +x_135 = l_String_Range_toLspRange(x_6, x_134); +lean_dec(x_134); +x_136 = l_Lean_Elab_Info_range_x3f(x_2); +lean_dec(x_2); +if (lean_obj_tag(x_136) == 0) +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +lean_dec(x_6); +x_137 = lean_ctor_get(x_7, 0); +x_138 = lean_box(0); +lean_inc(x_135); +lean_inc(x_137); +x_139 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_137); +lean_ctor_set(x_139, 2, x_135); +lean_ctor_set(x_139, 3, x_135); +x_140 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +x_141 = lean_array_push(x_140, x_139); +x_142 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9___boxed), 6, 1); +lean_closure_set(x_142, 0, x_141); +x_143 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_5, x_15, x_142, x_13); +if (lean_obj_tag(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_object* x_151; lean_object* x_152; +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_143, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + x_146 = x_143; +} else { + lean_dec_ref(x_143); + x_146 = lean_box(0); +} +x_147 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_147, 0, x_144); +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(0, 1, 0); +lean_ctor_set(x_150, 0, x_149); +x_151 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_151, 0, x_150); +if (lean_is_scalar(x_146)) { + x_152 = lean_alloc_ctor(0, 2, 0); +} else { + x_152 = x_146; +} +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_145); +return x_152; +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_153 = lean_ctor_get(x_143, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_143, 1); +lean_inc(x_154); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + x_155 = x_143; +} else { + lean_dec_ref(x_143); + x_155 = lean_box(0); +} +if (lean_is_scalar(x_155)) { + x_156 = lean_alloc_ctor(1, 2, 0); +} else { + x_156 = x_155; +} +lean_ctor_set(x_156, 0, x_153); +lean_ctor_set(x_156, 1, x_154); +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; +x_157 = lean_ctor_get(x_7, 0); +x_158 = lean_ctor_get(x_136, 0); +lean_inc(x_158); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + x_159 = x_136; +} else { + lean_dec_ref(x_136); + x_159 = lean_box(0); +} +x_160 = l_String_Range_toLspRange(x_6, x_158); +lean_dec(x_158); +lean_dec(x_6); +if (lean_is_scalar(x_159)) { + x_161 = lean_alloc_ctor(1, 1, 0); +} else { + x_161 = x_159; +} +lean_ctor_set(x_161, 0, x_160); +lean_inc(x_135); +lean_inc(x_157); +x_162 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_157); +lean_ctor_set(x_162, 2, x_135); +lean_ctor_set(x_162, 3, x_135); +x_163 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +x_164 = lean_array_push(x_163, x_162); +x_165 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9___boxed), 6, 1); +lean_closure_set(x_165, 0, x_164); +x_166 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_5, x_15, x_165, x_13); +if (lean_obj_tag(x_166) == 0) +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_167 = lean_ctor_get(x_166, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_166, 1); +lean_inc(x_168); +if (lean_is_exclusive(x_166)) { + lean_ctor_release(x_166, 0); + lean_ctor_release(x_166, 1); + x_169 = x_166; +} else { + lean_dec_ref(x_166); + x_169 = lean_box(0); +} +x_170 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_170, 0, x_167); +x_171 = lean_box(0); +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +x_173 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_173, 0, x_172); +x_174 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_174, 0, x_173); +if (lean_is_scalar(x_169)) { + x_175 = lean_alloc_ctor(0, 2, 0); +} else { + x_175 = x_169; +} +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_168); +return x_175; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_176 = lean_ctor_get(x_166, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_166, 1); +lean_inc(x_177); +if (lean_is_exclusive(x_166)) { + lean_ctor_release(x_166, 0); + lean_ctor_release(x_166, 1); + x_178 = x_166; +} else { + lean_dec_ref(x_166); + x_178 = lean_box(0); +} +if (lean_is_scalar(x_178)) { + x_179 = lean_alloc_ctor(1, 2, 0); +} else { + x_179 = x_178; +} +lean_ctor_set(x_179, 0, x_176); +lean_ctor_set(x_179, 1, x_177); +return x_179; +} +} +} +} +} +else +{ +lean_object* x_180; lean_object* x_181; +x_180 = lean_ctor_get(x_17, 0); +lean_inc(x_180); +lean_dec(x_17); +x_181 = l_Lean_Elab_Info_range_x3f(x_180); +lean_dec(x_180); +if (lean_obj_tag(x_181) == 0) +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_6); +lean_dec(x_2); +x_182 = lean_box(0); +x_183 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___boxed), 7, 2); +lean_closure_set(x_183, 0, x_3); +lean_closure_set(x_183, 1, x_182); +x_184 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_5, x_15, x_183, x_13); +if (lean_obj_tag(x_184) == 0) +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_187 = x_184; +} else { + lean_dec_ref(x_184); + x_187 = lean_box(0); +} +x_188 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_188, 0, x_185); +x_189 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_182); +x_190 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_190, 0, x_189); +x_191 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_191, 0, x_190); +if (lean_is_scalar(x_187)) { + x_192 = lean_alloc_ctor(0, 2, 0); +} else { + x_192 = x_187; +} +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_186); +return x_192; +} +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_193 = lean_ctor_get(x_184, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_184, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_195 = x_184; +} else { + lean_dec_ref(x_184); + x_195 = lean_box(0); +} +if (lean_is_scalar(x_195)) { + x_196 = lean_alloc_ctor(1, 2, 0); +} else { + x_196 = x_195; +} +lean_ctor_set(x_196, 0, x_193); +lean_ctor_set(x_196, 1, x_194); +return x_196; +} +} +else +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_3); +x_197 = lean_ctor_get(x_181, 0); +lean_inc(x_197); +if (lean_is_exclusive(x_181)) { + lean_ctor_release(x_181, 0); + x_198 = x_181; +} else { + lean_dec_ref(x_181); + x_198 = lean_box(0); +} +x_199 = l_String_Range_toLspRange(x_6, x_197); +lean_dec(x_197); +x_200 = l_Lean_Elab_Info_range_x3f(x_2); +lean_dec(x_2); +if (lean_obj_tag(x_200) == 0) +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +lean_dec(x_6); +x_201 = lean_ctor_get(x_7, 0); +x_202 = lean_box(0); +lean_inc(x_199); +lean_inc(x_201); +x_203 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_201); +lean_ctor_set(x_203, 2, x_199); +lean_ctor_set(x_203, 3, x_199); +x_204 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +x_205 = lean_array_push(x_204, x_203); +x_206 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9___boxed), 6, 1); +lean_closure_set(x_206, 0, x_205); +x_207 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_5, x_15, x_206, x_13); +if (lean_obj_tag(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; +x_208 = lean_ctor_get(x_207, 0); +lean_inc(x_208); +x_209 = lean_ctor_get(x_207, 1); +lean_inc(x_209); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + x_210 = x_207; +} else { + lean_dec_ref(x_207); + x_210 = lean_box(0); +} +if (lean_is_scalar(x_198)) { + x_211 = lean_alloc_ctor(1, 1, 0); +} else { + x_211 = x_198; +} +lean_ctor_set(x_211, 0, x_208); +x_212 = lean_box(0); +x_213 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_213, 0, x_211); +lean_ctor_set(x_213, 1, x_212); +x_214 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_214, 0, x_213); +x_215 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_215, 0, x_214); +if (lean_is_scalar(x_210)) { + x_216 = lean_alloc_ctor(0, 2, 0); +} else { + x_216 = x_210; +} +lean_ctor_set(x_216, 0, x_215); +lean_ctor_set(x_216, 1, x_209); +return x_216; +} +else +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +lean_dec(x_198); +x_217 = lean_ctor_get(x_207, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_207, 1); +lean_inc(x_218); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + x_219 = x_207; +} else { + lean_dec_ref(x_207); + x_219 = lean_box(0); +} +if (lean_is_scalar(x_219)) { + x_220 = lean_alloc_ctor(1, 2, 0); +} else { + x_220 = x_219; +} +lean_ctor_set(x_220, 0, x_217); +lean_ctor_set(x_220, 1, x_218); +return x_220; +} +} +else +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_221 = lean_ctor_get(x_7, 0); +x_222 = lean_ctor_get(x_200, 0); +lean_inc(x_222); +if (lean_is_exclusive(x_200)) { + lean_ctor_release(x_200, 0); + x_223 = x_200; +} else { + lean_dec_ref(x_200); + x_223 = lean_box(0); +} +x_224 = l_String_Range_toLspRange(x_6, x_222); +lean_dec(x_222); +lean_dec(x_6); +if (lean_is_scalar(x_223)) { + x_225 = lean_alloc_ctor(1, 1, 0); +} else { + x_225 = x_223; +} +lean_ctor_set(x_225, 0, x_224); +lean_inc(x_199); +lean_inc(x_221); +x_226 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_221); +lean_ctor_set(x_226, 2, x_199); +lean_ctor_set(x_226, 3, x_199); +x_227 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +x_228 = lean_array_push(x_227, x_226); +x_229 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9___boxed), 6, 1); +lean_closure_set(x_229, 0, x_228); +x_230 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_5, x_15, x_229, x_13); +if (lean_obj_tag(x_230) == 0) +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_230, 1); +lean_inc(x_232); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_233 = x_230; +} else { + lean_dec_ref(x_230); + x_233 = lean_box(0); +} +if (lean_is_scalar(x_198)) { + x_234 = lean_alloc_ctor(1, 1, 0); +} else { + x_234 = x_198; +} +lean_ctor_set(x_234, 0, x_231); +x_235 = lean_box(0); +x_236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_236, 0, x_234); +lean_ctor_set(x_236, 1, x_235); +x_237 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_237, 0, x_236); +x_238 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_238, 0, x_237); +if (lean_is_scalar(x_233)) { + x_239 = lean_alloc_ctor(0, 2, 0); +} else { + x_239 = x_233; +} +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_232); +return x_239; +} +else +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +lean_dec(x_198); +x_240 = lean_ctor_get(x_230, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_230, 1); +lean_inc(x_241); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_242 = x_230; +} else { + lean_dec_ref(x_230); + x_242 = lean_box(0); +} +if (lean_is_scalar(x_242)) { + x_243 = lean_alloc_ctor(1, 2, 0); +} else { + x_243 = x_242; +} +lean_ctor_set(x_243, 0, x_240); +lean_ctor_set(x_243, 1, x_241); +return x_243; +} +} +} +} +} +} +case 4: +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; +lean_dec(x_12); +lean_dec(x_4); +lean_dec(x_1); +x_244 = lean_ctor_get(x_10, 0); +lean_inc(x_244); +lean_dec(x_10); +x_245 = l_Lean_Elab_Info_lctx(x_2); +x_246 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed), 11, 6); +lean_closure_set(x_246, 0, x_244); +lean_closure_set(x_246, 1, x_3); +lean_closure_set(x_246, 2, x_2); +lean_closure_set(x_246, 3, x_6); +lean_closure_set(x_246, 4, x_8); +lean_closure_set(x_246, 5, x_9); +x_247 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_5, x_245, x_246, x_13); +if (lean_obj_tag(x_247) == 0) +{ +uint8_t x_248; +x_248 = !lean_is_exclusive(x_247); +if (x_248 == 0) +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_249 = lean_ctor_get(x_247, 0); +x_250 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_250, 0, x_249); +x_251 = lean_box(0); +x_252 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_252, 0, x_250); +lean_ctor_set(x_252, 1, x_251); +x_253 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_253, 0, x_252); +x_254 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_254, 0, x_253); +lean_ctor_set(x_247, 0, x_254); +return x_247; +} +else +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_255 = lean_ctor_get(x_247, 0); +x_256 = lean_ctor_get(x_247, 1); +lean_inc(x_256); +lean_inc(x_255); +lean_dec(x_247); +x_257 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_257, 0, x_255); +x_258 = lean_box(0); +x_259 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_259, 0, x_257); +lean_ctor_set(x_259, 1, x_258); +x_260 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_260, 0, x_259); +x_261 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_261, 0, x_260); +x_262 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_256); +return x_262; +} +} +else +{ +uint8_t x_263; +x_263 = !lean_is_exclusive(x_247); +if (x_263 == 0) +{ +return x_247; +} +else +{ +lean_object* x_264; lean_object* x_265; lean_object* x_266; +x_264 = lean_ctor_get(x_247, 0); +x_265 = lean_ctor_get(x_247, 1); +lean_inc(x_265); +lean_inc(x_264); +lean_dec(x_247); +x_266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_264); +lean_ctor_set(x_266, 1, x_265); +return x_266; +} +} +} +default: +{ +lean_object* x_267; lean_object* x_268; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) +x_267 = lean_box(0); +x_268 = lean_apply_3(x_1, x_267, x_12, x_13); +return x_268; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: { -lean_object* x_18; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_15); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_object* x_7; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_7 = l_Lean_Meta_inferType(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_Lean_Meta_instantiateMVars(x_8, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = l_Lean_Expr_getAppFn(x_12); +lean_dec(x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_10); +x_16 = l_Lean_Expr_getAppFn(x_14); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +return x_10; } else { lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 0); +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_16); +lean_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); return x_21; } } +} else { uint8_t x_22; -x_22 = !lean_is_exclusive(x_15); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_22 = !lean_is_exclusive(x_7); if (x_22 == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_15, 0); -if (lean_obj_tag(x_23) == 0) +return x_7; +} +else { -lean_object* x_24; lean_object* x_25; -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_24 = lean_ctor_get(x_23, 0); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_7, 0); +x_24 = lean_ctor_get(x_7, 1); lean_inc(x_24); -lean_dec(x_23); -lean_ctor_set(x_15, 0, x_24); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_15); -lean_ctor_set(x_25, 1, x_16); +lean_inc(x_23); +lean_dec(x_7); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); return x_25; } -else -{ -lean_object* x_26; size_t x_27; size_t x_28; -lean_free_object(x_15); -x_26 = lean_ctor_get(x_23, 0); -lean_inc(x_26); -lean_dec(x_23); -x_27 = 1; -x_28 = x_11 + x_27; -x_11 = x_28; -x_12 = x_26; -x_14 = x_16; -goto _start; } } -else +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, size_t x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: { -lean_object* x_30; -x_30 = lean_ctor_get(x_15, 0); -lean_inc(x_30); -lean_dec(x_15); -if (lean_obj_tag(x_30) == 0) +lean_object* x_16; lean_object* x_17; uint8_t x_40; +x_40 = x_12 < x_11; +if (x_40 == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_13); +lean_object* x_41; lean_object* x_42; +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_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_16); -return x_33; +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_13); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_15); +return x_42; } else { -lean_object* x_34; size_t x_35; size_t x_36; -x_34 = lean_ctor_get(x_30, 0); -lean_inc(x_34); -lean_dec(x_30); -x_35 = 1; -x_36 = x_11 + x_35; -x_11 = x_36; -x_12 = x_34; -x_14 = x_16; -goto _start; +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_82; +x_43 = lean_array_uget(x_10, x_12); +x_44 = lean_ctor_get(x_13, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + x_45 = x_13; +} else { + lean_dec_ref(x_13); + x_45 = lean_box(0); } -} -} -} -} -} -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); +lean_inc(x_43); +x_82 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(x_43, x_6); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_43); +lean_inc(x_8); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_8); +x_84 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_84, 0, 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_15); +x_46 = x_85; +goto block_81; +} +else +{ +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_82, 0); +lean_inc(x_86); +lean_dec(x_82); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +if (lean_obj_tag(x_87) == 1) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; uint8_t x_94; +x_88 = lean_ctor_get(x_86, 0); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_ctor_get(x_87, 0); +lean_inc(x_89); +x_90 = lean_box(x_1); lean_inc(x_3); -lean_inc(x_2); -x_13 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_12, x_9, x_10, x_11); -lean_dec(x_9); -if (lean_obj_tag(x_13) == 0) +lean_inc(x_4); +lean_inc(x_5); +lean_inc(x_7); +lean_inc(x_88); +lean_inc(x_8); +lean_inc(x_87); +x_91 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7___boxed), 11, 8); +lean_closure_set(x_91, 0, x_87); +lean_closure_set(x_91, 1, x_8); +lean_closure_set(x_91, 2, x_90); +lean_closure_set(x_91, 3, x_88); +lean_closure_set(x_91, 4, x_7); +lean_closure_set(x_91, 5, x_5); +lean_closure_set(x_91, 6, x_4); +lean_closure_set(x_91, 7, x_3); +x_92 = lean_ctor_get(x_89, 3); +lean_inc(x_92); +lean_dec(x_89); +x_93 = 2; +x_94 = l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_491_(x_1, x_93); +if (x_94 == 0) { -lean_object* x_14; -x_14 = lean_ctor_get(x_13, 0); +lean_object* x_95; lean_object* x_96; +x_95 = lean_box(0); lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -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); -lean_dec(x_16); -x_17 = !lean_is_exclusive(x_14); -if (x_17 == 0) -{ -return x_13; +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_5); +lean_inc(x_7); +x_96 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__10(x_91, x_87, x_7, x_43, x_88, x_5, x_2, x_4, x_3, x_92, x_95, x_14, x_15); +lean_dec(x_88); +x_46 = x_96; +goto block_81; } else { -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_14, 0); -lean_inc(x_18); -lean_dec(x_14); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_13, 0, x_19); -return x_13; +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = l_Lean_Elab_Info_lctx(x_87); +x_98 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__11), 6, 1); +lean_closure_set(x_98, 0, x_92); +x_99 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_88, x_97, x_98, x_15); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = lean_box(0); +lean_inc(x_14); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_5); +lean_inc(x_7); +x_103 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__10(x_91, x_87, x_7, x_43, x_88, x_5, x_2, x_4, x_3, x_100, x_102, x_14, x_101); +lean_dec(x_88); +x_46 = x_103; +goto block_81; +} +else +{ +uint8_t x_104; +lean_dec(x_91); +lean_dec(x_88); +lean_dec(x_87); +lean_dec(x_43); +x_104 = !lean_is_exclusive(x_99); +if (x_104 == 0) +{ +x_46 = x_99; +goto block_81; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_99, 0); +x_106 = lean_ctor_get(x_99, 1); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_99); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +x_46 = x_107; +goto block_81; +} +} } } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_13, 1); -lean_inc(x_20); -lean_dec(x_13); -x_21 = lean_ctor_get(x_14, 0); -lean_inc(x_21); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - x_22 = x_14; -} else { - lean_dec_ref(x_14); - x_22 = lean_box(0); -} -if (lean_is_scalar(x_22)) { - x_23 = lean_alloc_ctor(0, 1, 0); -} else { - x_23 = x_22; -} -lean_ctor_set(x_23, 0, x_21); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_20); -return x_24; +lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_43); +x_108 = lean_ctor_get(x_86, 0); +lean_inc(x_108); +lean_dec(x_86); +x_109 = lean_box(0); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_5); +lean_inc(x_7); +lean_inc(x_8); +x_110 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7(x_87, x_8, x_1, x_108, x_7, x_5, x_4, x_3, x_109, x_14, x_15); +x_46 = x_110; +goto block_81; } } -else +block_81: { -uint8_t x_25; -x_25 = !lean_is_exclusive(x_14); -if (x_25 == 0) +if (lean_obj_tag(x_46) == 0) { -lean_object* x_26; -x_26 = lean_ctor_get(x_14, 0); -if (lean_obj_tag(x_26) == 0) +lean_object* x_47; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +if (lean_obj_tag(x_47) == 0) { -uint8_t x_27; -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_27 = !lean_is_exclusive(x_13); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_13, 0); -lean_dec(x_28); -x_29 = lean_ctor_get(x_26, 0); -lean_inc(x_29); -lean_dec(x_26); -lean_ctor_set(x_14, 0, x_29); -return x_13; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_13, 1); -lean_inc(x_30); -lean_dec(x_13); -x_31 = lean_ctor_get(x_26, 0); -lean_inc(x_31); -lean_dec(x_26); -lean_ctor_set(x_14, 0, x_31); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_14); -lean_ctor_set(x_32, 1, x_30); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; -lean_free_object(x_14); -x_33 = lean_ctor_get(x_13, 1); -lean_inc(x_33); -lean_dec(x_13); -x_34 = lean_ctor_get(x_26, 0); -lean_inc(x_34); -lean_dec(x_26); -x_35 = lean_ctor_get(x_8, 1); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -x_38 = lean_array_get_size(x_35); -x_39 = lean_usize_of_nat(x_38); -lean_dec(x_38); -x_40 = 0; -lean_inc(x_10); -x_41 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_36, x_35, x_39, x_40, x_37, x_10, x_33); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -if (lean_obj_tag(x_42) == 0) -{ -uint8_t x_43; -lean_dec(x_10); -x_43 = !lean_is_exclusive(x_41); -if (x_43 == 0) -{ -lean_object* x_44; uint8_t x_45; -x_44 = lean_ctor_get(x_41, 0); +lean_object* x_48; uint8_t x_49; +lean_dec(x_45); lean_dec(x_44); -x_45 = !lean_is_exclusive(x_42); -if (x_45 == 0) -{ -return x_41; -} -else -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_42, 0); -lean_inc(x_46); -lean_dec(x_42); -x_47 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_41, 0, x_47); -return x_41; -} -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_48 = lean_ctor_get(x_41, 1); +x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); -lean_dec(x_41); -x_49 = lean_ctor_get(x_42, 0); -lean_inc(x_49); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - x_50 = x_42; -} else { - lean_dec_ref(x_42); - x_50 = lean_box(0); +lean_dec(x_46); +x_49 = !lean_is_exclusive(x_47); +if (x_49 == 0) +{ +x_16 = x_47; +x_17 = x_48; +goto block_39; } -if (lean_is_scalar(x_50)) { - x_51 = lean_alloc_ctor(0, 1, 0); -} else { - x_51 = x_50; -} -lean_ctor_set(x_51, 0, x_49); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_48); -return x_52; +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_47, 0); +lean_inc(x_50); +lean_dec(x_47); +x_51 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_51, 0, x_50); +x_16 = x_51; +x_17 = x_48; +goto block_39; } } else { -uint8_t x_53; -x_53 = !lean_is_exclusive(x_42); -if (x_53 == 0) +uint8_t x_52; +x_52 = !lean_is_exclusive(x_47); +if (x_52 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_42, 0); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -if (lean_obj_tag(x_55) == 0) +lean_object* x_53; +x_53 = lean_ctor_get(x_47, 0); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_free_object(x_42); -x_56 = lean_ctor_get(x_41, 1); -lean_inc(x_56); -lean_dec(x_41); -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_58 = lean_box(0); -x_59 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_57, x_58, x_10, x_56); -lean_dec(x_10); -return x_59; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_54 = lean_ctor_get(x_46, 1); +lean_inc(x_54); +lean_dec(x_46); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_53); +if (lean_is_scalar(x_45)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_45; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_44); +x_57 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_47, 0, x_57); +x_16 = x_47; +x_17 = x_54; +goto block_39; } else { -uint8_t x_60; -lean_dec(x_54); -lean_dec(x_10); -x_60 = !lean_is_exclusive(x_41); -if (x_60 == 0) +lean_object* x_58; uint8_t x_59; +lean_dec(x_44); +x_58 = lean_ctor_get(x_46, 1); +lean_inc(x_58); +lean_dec(x_46); +x_59 = !lean_is_exclusive(x_53); +if (x_59 == 0) { -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_41, 0); -lean_dec(x_61); -x_62 = lean_ctor_get(x_55, 0); +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_53, 0); +lean_inc(x_9); +if (lean_is_scalar(x_45)) { + x_61 = lean_alloc_ctor(0, 2, 0); +} else { + x_61 = x_45; +} +lean_ctor_set(x_61, 0, x_9); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set(x_53, 0, x_61); +x_16 = x_47; +x_17 = x_58; +goto block_39; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_53, 0); lean_inc(x_62); -lean_dec(x_55); -lean_ctor_set(x_42, 0, x_62); -return x_41; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_41, 1); -lean_inc(x_63); -lean_dec(x_41); -x_64 = lean_ctor_get(x_55, 0); -lean_inc(x_64); -lean_dec(x_55); -lean_ctor_set(x_42, 0, x_64); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_42); -lean_ctor_set(x_65, 1, x_63); -return x_65; -} -} -} -else -{ -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_42, 0); -lean_inc(x_66); -lean_dec(x_42); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -if (lean_obj_tag(x_67) == 0) -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_68 = lean_ctor_get(x_41, 1); -lean_inc(x_68); -lean_dec(x_41); -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = lean_box(0); -x_71 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_69, x_70, x_10, x_68); -lean_dec(x_10); -return x_71; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -lean_dec(x_66); -lean_dec(x_10); -x_72 = lean_ctor_get(x_41, 1); -lean_inc(x_72); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_73 = x_41; +lean_dec(x_53); +lean_inc(x_9); +if (lean_is_scalar(x_45)) { + x_63 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_41); + x_63 = x_45; +} +lean_ctor_set(x_63, 0, x_9); +lean_ctor_set(x_63, 1, x_62); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_47, 0, x_64); +x_16 = x_47; +x_17 = x_58; +goto block_39; +} +} +} +else +{ +lean_object* x_65; +x_65 = lean_ctor_get(x_47, 0); +lean_inc(x_65); +lean_dec(x_47); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_66 = lean_ctor_get(x_46, 1); +lean_inc(x_66); +lean_dec(x_46); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_65); +if (lean_is_scalar(x_45)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_45; +} +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_44); +x_69 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_16 = x_70; +x_17 = x_66; +goto block_39; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_44); +x_71 = lean_ctor_get(x_46, 1); +lean_inc(x_71); +lean_dec(x_46); +x_72 = lean_ctor_get(x_65, 0); +lean_inc(x_72); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + x_73 = x_65; +} else { + lean_dec_ref(x_65); x_73 = lean_box(0); } -x_74 = lean_ctor_get(x_67, 0); -lean_inc(x_74); -lean_dec(x_67); -x_75 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_75, 0, x_74); -if (lean_is_scalar(x_73)) { - x_76 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_9); +if (lean_is_scalar(x_45)) { + x_74 = lean_alloc_ctor(0, 2, 0); } else { - x_76 = x_73; + x_74 = x_45; } +lean_ctor_set(x_74, 0, x_9); +lean_ctor_set(x_74, 1, x_72); +if (lean_is_scalar(x_73)) { + x_75 = lean_alloc_ctor(1, 1, 0); +} else { + x_75 = x_73; +} +lean_ctor_set(x_75, 0, x_74); +x_76 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_72); -return x_76; +x_16 = x_76; +x_17 = x_71; +goto block_39; } } } @@ -10813,20 +10549,29 @@ return x_76; else { uint8_t x_77; -lean_dec(x_10); -x_77 = !lean_is_exclusive(x_41); +lean_dec(x_45); +lean_dec(x_44); +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); +x_77 = !lean_is_exclusive(x_46); if (x_77 == 0) { -return x_41; +return x_46; } else { lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_41, 0); -x_79 = lean_ctor_get(x_41, 1); +x_78 = lean_ctor_get(x_46, 0); +x_79 = lean_ctor_get(x_46, 1); lean_inc(x_79); lean_inc(x_78); -lean_dec(x_41); +lean_dec(x_46); x_80 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); @@ -10835,244 +10580,1129 @@ return x_80; } } } -else +block_39: { -lean_object* x_81; -x_81 = lean_ctor_get(x_14, 0); -lean_inc(x_81); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_18; lean_dec(x_14); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_82 = lean_ctor_get(x_13, 1); -lean_inc(x_82); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - lean_ctor_release(x_13, 1); - x_83 = x_13; -} else { - lean_dec_ref(x_13); - x_83 = lean_box(0); -} -x_84 = lean_ctor_get(x_81, 0); -lean_inc(x_84); -lean_dec(x_81); -x_85 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_85, 0, x_84); -if (lean_is_scalar(x_83)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_83; -} -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_82); -return x_86; +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +return x_19; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; size_t x_93; size_t x_94; lean_object* x_95; -x_87 = lean_ctor_get(x_13, 1); -lean_inc(x_87); -lean_dec(x_13); -x_88 = lean_ctor_get(x_81, 0); -lean_inc(x_88); -lean_dec(x_81); -x_89 = lean_ctor_get(x_8, 1); -x_90 = lean_box(0); -x_91 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_88); -x_92 = lean_array_get_size(x_89); -x_93 = lean_usize_of_nat(x_92); -lean_dec(x_92); -x_94 = 0; -lean_inc(x_10); -x_95 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_90, x_89, x_93, x_94, x_91, x_10, x_87); -if (lean_obj_tag(x_95) == 0) +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_16, 0); +lean_inc(x_20); +lean_dec(x_16); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +return x_22; +} +} +else { -lean_object* x_96; -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -if (lean_obj_tag(x_96) == 0) +uint8_t x_23; +x_23 = !lean_is_exclusive(x_16); +if (x_23 == 0) { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_10); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_98 = x_95; +lean_object* x_24; +x_24 = lean_ctor_get(x_16, 0); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; +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); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +lean_ctor_set(x_16, 0, x_25); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_16); +lean_ctor_set(x_26, 1, x_17); +return x_26; +} +else +{ +lean_object* x_27; size_t x_28; size_t x_29; +lean_free_object(x_16); +x_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +lean_dec(x_24); +x_28 = 1; +x_29 = x_12 + x_28; +x_12 = x_29; +x_13 = x_27; +x_15 = x_17; +goto _start; +} +} +else +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_16, 0); +lean_inc(x_31); +lean_dec(x_16); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +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); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_17); +return x_34; +} +else +{ +lean_object* x_35; size_t x_36; size_t x_37; +x_35 = lean_ctor_get(x_31, 0); +lean_inc(x_35); +lean_dec(x_31); +x_36 = 1; +x_37 = x_12 + x_36; +x_12 = x_37; +x_13 = x_35; +x_15 = x_17; +goto _start; +} +} +} +} +} +} +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_11); +x_17 = lean_array_get_size(x_14); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = 0; +lean_inc(x_12); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15, x_14, x_18, x_19, x_16, x_12, x_13); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +lean_dec(x_12); +x_22 = !lean_is_exclusive(x_20); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_ctor_get(x_20, 0); +lean_dec(x_23); +x_24 = !lean_is_exclusive(x_21); +if (x_24 == 0) +{ +return x_20; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_21, 0); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_20, 0, x_26); +return x_20; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_ctor_get(x_20, 1); +lean_inc(x_27); +lean_dec(x_20); +x_28 = lean_ctor_get(x_21, 0); +lean_inc(x_28); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + x_29 = x_21; } else { - lean_dec_ref(x_95); + lean_dec_ref(x_21); + x_29 = lean_box(0); +} +if (lean_is_scalar(x_29)) { + x_30 = lean_alloc_ctor(0, 1, 0); +} else { + x_30 = x_29; +} +lean_ctor_set(x_30, 0, x_28); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_27); +return x_31; +} +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_21); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_21, 0); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_free_object(x_21); +x_35 = lean_ctor_get(x_20, 1); +lean_inc(x_35); +lean_dec(x_20); +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_box(0); +x_38 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_36, x_37, x_12, x_35); +lean_dec(x_12); +return x_38; +} +else +{ +uint8_t x_39; +lean_dec(x_33); +lean_dec(x_12); +x_39 = !lean_is_exclusive(x_20); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_20, 0); +lean_dec(x_40); +x_41 = lean_ctor_get(x_34, 0); +lean_inc(x_41); +lean_dec(x_34); +lean_ctor_set(x_21, 0, x_41); +return x_20; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_20, 1); +lean_inc(x_42); +lean_dec(x_20); +x_43 = lean_ctor_get(x_34, 0); +lean_inc(x_43); +lean_dec(x_34); +lean_ctor_set(x_21, 0, x_43); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_21); +lean_ctor_set(x_44, 1, x_42); +return x_44; +} +} +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_21, 0); +lean_inc(x_45); +lean_dec(x_21); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_ctor_get(x_20, 1); +lean_inc(x_47); +lean_dec(x_20); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_box(0); +x_50 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_48, x_49, x_12, x_47); +lean_dec(x_12); +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_dec(x_45); +lean_dec(x_12); +x_51 = lean_ctor_get(x_20, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_52 = x_20; +} else { + lean_dec_ref(x_20); + x_52 = lean_box(0); +} +x_53 = lean_ctor_get(x_46, 0); +lean_inc(x_53); +lean_dec(x_46); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_53); +if (lean_is_scalar(x_52)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_52; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_51); +return x_55; +} +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_12); +x_56 = !lean_is_exclusive(x_20); +if (x_56 == 0) +{ +return x_20; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_20, 0); +x_58 = lean_ctor_get(x_20, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_20); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; size_t x_64; size_t x_65; lean_object* x_66; +x_60 = lean_ctor_get(x_10, 0); +x_61 = lean_box(0); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_11); +x_63 = lean_array_get_size(x_60); +x_64 = lean_usize_of_nat(x_63); +lean_dec(x_63); +x_65 = 0; +lean_inc(x_12); +x_66 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_61, x_60, x_64, x_65, x_62, x_12, x_13); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +if (lean_obj_tag(x_67) == 0) +{ +uint8_t x_68; +lean_dec(x_12); +x_68 = !lean_is_exclusive(x_66); +if (x_68 == 0) +{ +lean_object* x_69; uint8_t x_70; +x_69 = lean_ctor_get(x_66, 0); +lean_dec(x_69); +x_70 = !lean_is_exclusive(x_67); +if (x_70 == 0) +{ +return x_66; +} +else +{ +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_67, 0); +lean_inc(x_71); +lean_dec(x_67); +x_72 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_66, 0, x_72); +return x_66; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_73 = lean_ctor_get(x_66, 1); +lean_inc(x_73); +lean_dec(x_66); +x_74 = lean_ctor_get(x_67, 0); +lean_inc(x_74); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + x_75 = x_67; +} else { + lean_dec_ref(x_67); + x_75 = lean_box(0); +} +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(0, 1, 0); +} else { + x_76 = x_75; +} +lean_ctor_set(x_76, 0, x_74); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_73); +return x_77; +} +} +else +{ +uint8_t x_78; +x_78 = !lean_is_exclusive(x_67); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_67, 0); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_free_object(x_67); +x_81 = lean_ctor_get(x_66, 1); +lean_inc(x_81); +lean_dec(x_66); +x_82 = lean_ctor_get(x_79, 1); +lean_inc(x_82); +lean_dec(x_79); +x_83 = lean_box(0); +x_84 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_82, x_83, x_12, x_81); +lean_dec(x_12); +return x_84; +} +else +{ +uint8_t x_85; +lean_dec(x_79); +lean_dec(x_12); +x_85 = !lean_is_exclusive(x_66); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_66, 0); +lean_dec(x_86); +x_87 = lean_ctor_get(x_80, 0); +lean_inc(x_87); +lean_dec(x_80); +lean_ctor_set(x_67, 0, x_87); +return x_66; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_66, 1); +lean_inc(x_88); +lean_dec(x_66); +x_89 = lean_ctor_get(x_80, 0); +lean_inc(x_89); +lean_dec(x_80); +lean_ctor_set(x_67, 0, x_89); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_67); +lean_ctor_set(x_90, 1, x_88); +return x_90; +} +} +} +else +{ +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_67, 0); +lean_inc(x_91); +lean_dec(x_67); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_93 = lean_ctor_get(x_66, 1); +lean_inc(x_93); +lean_dec(x_66); +x_94 = lean_ctor_get(x_91, 1); +lean_inc(x_94); +lean_dec(x_91); +x_95 = lean_box(0); +x_96 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_94, x_95, x_12, x_93); +lean_dec(x_12); +return x_96; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_91); +lean_dec(x_12); +x_97 = lean_ctor_get(x_66, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_98 = x_66; +} else { + lean_dec_ref(x_66); x_98 = lean_box(0); } -x_99 = lean_ctor_get(x_96, 0); +x_99 = lean_ctor_get(x_92, 0); lean_inc(x_99); -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - x_100 = x_96; -} else { - lean_dec_ref(x_96); - x_100 = lean_box(0); -} -if (lean_is_scalar(x_100)) { - x_101 = lean_alloc_ctor(0, 1, 0); -} else { - x_101 = x_100; -} -lean_ctor_set(x_101, 0, x_99); +lean_dec(x_92); +x_100 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_100, 0, x_99); if (lean_is_scalar(x_98)) { - x_102 = lean_alloc_ctor(0, 2, 0); + x_101 = lean_alloc_ctor(0, 2, 0); } else { - x_102 = x_98; + x_101 = x_98; } -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_97); -return x_102; +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_97); +return x_101; +} +} +} +} +else +{ +uint8_t x_102; +lean_dec(x_12); +x_102 = !lean_is_exclusive(x_66); +if (x_102 == 0) +{ +return x_66; } else { lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_96, 0); +x_103 = lean_ctor_get(x_66, 0); +x_104 = lean_ctor_get(x_66, 1); +lean_inc(x_104); lean_inc(x_103); -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - x_104 = x_96; -} else { - lean_dec_ref(x_96); - x_104 = lean_box(0); +lean_dec(x_66); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +return x_105; } -x_105 = lean_ctor_get(x_103, 0); -lean_inc(x_105); -if (lean_obj_tag(x_105) == 0) +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, size_t x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: { -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -lean_dec(x_104); -x_106 = lean_ctor_get(x_95, 1); -lean_inc(x_106); -lean_dec(x_95); -x_107 = lean_ctor_get(x_103, 1); -lean_inc(x_107); -lean_dec(x_103); -x_108 = lean_box(0); -x_109 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_107, x_108, x_10, x_106); -lean_dec(x_10); -return x_109; -} -else +lean_object* x_16; lean_object* x_17; uint8_t x_40; +x_40 = x_12 < x_11; +if (x_40 == 0) { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -lean_dec(x_103); -lean_dec(x_10); -x_110 = lean_ctor_get(x_95, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_111 = x_95; -} else { - lean_dec_ref(x_95); - x_111 = lean_box(0); -} -x_112 = lean_ctor_get(x_105, 0); -lean_inc(x_112); -lean_dec(x_105); -if (lean_is_scalar(x_104)) { - x_113 = lean_alloc_ctor(1, 1, 0); -} else { - x_113 = x_104; -} -lean_ctor_set(x_113, 0, x_112); -if (lean_is_scalar(x_111)) { - x_114 = lean_alloc_ctor(0, 2, 0); -} else { - x_114 = x_111; -} -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_110); -return x_114; -} -} -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -lean_dec(x_10); -x_115 = lean_ctor_get(x_95, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_95, 1); -lean_inc(x_116); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_117 = x_95; -} else { - lean_dec_ref(x_95); - x_117 = lean_box(0); -} -if (lean_is_scalar(x_117)) { - x_118 = lean_alloc_ctor(1, 2, 0); -} else { - x_118 = x_117; -} -lean_ctor_set(x_118, 0, x_115); -lean_ctor_set(x_118, 1, x_116); -return x_118; -} -} -} -} -} -else -{ -uint8_t x_119; -lean_dec(x_10); +lean_object* x_41; lean_object* x_42; +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_119 = !lean_is_exclusive(x_13); -if (x_119 == 0) -{ -return x_13; +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_13); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_15); +return x_42; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_120 = lean_ctor_get(x_13, 0); -x_121 = lean_ctor_get(x_13, 1); -lean_inc(x_121); -lean_inc(x_120); -lean_dec(x_13); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_120); -lean_ctor_set(x_122, 1, x_121); -return x_122; +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_89; +x_43 = lean_array_uget(x_10, x_12); +x_44 = lean_ctor_get(x_13, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + x_45 = x_13; +} else { + lean_dec_ref(x_13); + x_45 = lean_box(0); +} +lean_inc(x_6); +lean_inc(x_43); +x_89 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(x_43, x_6); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_43); +lean_inc(x_8); +x_90 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_90, 0, x_8); +x_91 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_91, 0, x_90); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_15); +x_46 = x_92; +goto block_88; +} +else +{ +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_89, 0); +lean_inc(x_93); +lean_dec(x_89); +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +if (lean_obj_tag(x_94) == 1) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; uint8_t x_101; +x_95 = lean_ctor_get(x_93, 0); +lean_inc(x_95); +lean_dec(x_93); +x_96 = lean_ctor_get(x_94, 0); +lean_inc(x_96); +x_97 = lean_box(x_1); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_5); +lean_inc(x_7); +lean_inc(x_95); +lean_inc(x_8); +lean_inc(x_94); +x_98 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7___boxed), 11, 8); +lean_closure_set(x_98, 0, x_94); +lean_closure_set(x_98, 1, x_8); +lean_closure_set(x_98, 2, x_97); +lean_closure_set(x_98, 3, x_95); +lean_closure_set(x_98, 4, x_7); +lean_closure_set(x_98, 5, x_5); +lean_closure_set(x_98, 6, x_4); +lean_closure_set(x_98, 7, x_3); +x_99 = lean_ctor_get(x_96, 3); +lean_inc(x_99); +lean_dec(x_96); +x_100 = 2; +x_101 = l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_491_(x_1, x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; +x_102 = lean_box(0); +lean_inc(x_14); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_5); +lean_inc(x_7); +x_103 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__10(x_98, x_94, x_7, x_43, x_95, x_5, x_2, x_4, x_3, x_99, x_102, x_14, x_15); +lean_dec(x_95); +x_46 = x_103; +goto block_88; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = l_Lean_Elab_Info_lctx(x_94); +x_105 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__11), 6, 1); +lean_closure_set(x_105, 0, x_99); +x_106 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_95, x_104, x_105, x_15); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = lean_box(0); +lean_inc(x_14); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_5); +lean_inc(x_7); +x_110 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__10(x_98, x_94, x_7, x_43, x_95, x_5, x_2, x_4, x_3, x_107, x_109, x_14, x_108); +lean_dec(x_95); +x_46 = x_110; +goto block_88; +} +else +{ +uint8_t x_111; +lean_dec(x_98); +lean_dec(x_95); +lean_dec(x_94); +lean_dec(x_43); +x_111 = !lean_is_exclusive(x_106); +if (x_111 == 0) +{ +x_46 = x_106; +goto block_88; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_106, 0); +x_113 = lean_ctor_get(x_106, 1); +lean_inc(x_113); +lean_inc(x_112); +lean_dec(x_106); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +x_46 = x_114; +goto block_88; } } } } -lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_43); +x_115 = lean_ctor_get(x_93, 0); +lean_inc(x_115); +lean_dec(x_93); +x_116 = lean_box(0); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_5); +lean_inc(x_7); +lean_inc(x_8); +x_117 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7(x_94, x_8, x_1, x_115, x_7, x_5, x_4, x_3, x_116, x_14, x_15); +x_46 = x_117; +goto block_88; +} +} +block_88: +{ +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_45); +lean_dec(x_44); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = !lean_is_exclusive(x_47); +if (x_49 == 0) +{ +x_16 = x_47; +x_17 = x_48; +goto block_39; +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_47, 0); +lean_inc(x_50); +lean_dec(x_47); +x_51 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_51, 0, x_50); +x_16 = x_51; +x_17 = x_48; +goto block_39; +} +} +else +{ +uint8_t x_52; +x_52 = !lean_is_exclusive(x_47); +if (x_52 == 0) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_47, 0); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_46, 1); +lean_inc(x_54); +lean_dec(x_46); +x_55 = !lean_is_exclusive(x_53); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_53, 0); +x_57 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_57, 0, x_56); +if (lean_is_scalar(x_45)) { + x_58 = lean_alloc_ctor(0, 2, 0); +} else { + x_58 = x_45; +} +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_44); +lean_ctor_set(x_53, 0, x_58); +x_16 = x_47; +x_17 = x_54; +goto block_39; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_53, 0); +lean_inc(x_59); +lean_dec(x_53); +x_60 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_60, 0, x_59); +if (lean_is_scalar(x_45)) { + x_61 = lean_alloc_ctor(0, 2, 0); +} else { + x_61 = x_45; +} +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_44); +x_62 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_47, 0, x_62); +x_16 = x_47; +x_17 = x_54; +goto block_39; +} +} +else +{ +lean_object* x_63; uint8_t x_64; +lean_dec(x_44); +x_63 = lean_ctor_get(x_46, 1); +lean_inc(x_63); +lean_dec(x_46); +x_64 = !lean_is_exclusive(x_53); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_53, 0); +lean_inc(x_9); +if (lean_is_scalar(x_45)) { + x_66 = lean_alloc_ctor(0, 2, 0); +} else { + x_66 = x_45; +} +lean_ctor_set(x_66, 0, x_9); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_53, 0, x_66); +x_16 = x_47; +x_17 = x_63; +goto block_39; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_53, 0); +lean_inc(x_67); +lean_dec(x_53); +lean_inc(x_9); +if (lean_is_scalar(x_45)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_45; +} +lean_ctor_set(x_68, 0, x_9); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_47, 0, x_69); +x_16 = x_47; +x_17 = x_63; +goto block_39; +} +} +} +else +{ +lean_object* x_70; +x_70 = lean_ctor_get(x_47, 0); +lean_inc(x_70); +lean_dec(x_47); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_71 = lean_ctor_get(x_46, 1); +lean_inc(x_71); +lean_dec(x_46); +x_72 = lean_ctor_get(x_70, 0); +lean_inc(x_72); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + x_73 = x_70; +} else { + lean_dec_ref(x_70); + x_73 = lean_box(0); +} +x_74 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_74, 0, x_72); +if (lean_is_scalar(x_45)) { + x_75 = lean_alloc_ctor(0, 2, 0); +} else { + x_75 = x_45; +} +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_44); +if (lean_is_scalar(x_73)) { + x_76 = lean_alloc_ctor(0, 1, 0); +} else { + x_76 = x_73; +} +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_77, 0, x_76); +x_16 = x_77; +x_17 = x_71; +goto block_39; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_dec(x_44); +x_78 = lean_ctor_get(x_46, 1); +lean_inc(x_78); +lean_dec(x_46); +x_79 = lean_ctor_get(x_70, 0); +lean_inc(x_79); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + x_80 = x_70; +} else { + lean_dec_ref(x_70); + x_80 = lean_box(0); +} +lean_inc(x_9); +if (lean_is_scalar(x_45)) { + x_81 = lean_alloc_ctor(0, 2, 0); +} else { + x_81 = x_45; +} +lean_ctor_set(x_81, 0, x_9); +lean_ctor_set(x_81, 1, x_79); +if (lean_is_scalar(x_80)) { + x_82 = lean_alloc_ctor(1, 1, 0); +} else { + x_82 = x_80; +} +lean_ctor_set(x_82, 0, x_81); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_82); +x_16 = x_83; +x_17 = x_78; +goto block_39; +} +} +} +} +else +{ +uint8_t x_84; +lean_dec(x_45); +lean_dec(x_44); +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); +x_84 = !lean_is_exclusive(x_46); +if (x_84 == 0) +{ +return x_46; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_46, 0); +x_86 = lean_ctor_get(x_46, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_46); +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; +} +} +} +} +block_39: +{ +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_18; +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); +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_16, 0); +lean_inc(x_20); +lean_dec(x_16); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_16); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_16, 0); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; +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); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +lean_ctor_set(x_16, 0, x_25); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_16); +lean_ctor_set(x_26, 1, x_17); +return x_26; +} +else +{ +lean_object* x_27; size_t x_28; size_t x_29; +lean_free_object(x_16); +x_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +lean_dec(x_24); +x_28 = 1; +x_29 = x_12 + x_28; +x_12 = x_29; +x_13 = x_27; +x_15 = x_17; +goto _start; +} +} +else +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_16, 0); +lean_inc(x_31); +lean_dec(x_16); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +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); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_17); +return x_34; +} +else +{ +lean_object* x_35; size_t x_36; size_t x_37; +x_35 = lean_ctor_get(x_31, 0); +lean_inc(x_35); +lean_dec(x_31); +x_36 = 1; +x_37 = x_12 + x_36; +x_12 = x_37; +x_13 = x_35; +x_15 = x_17; +goto _start; +} +} +} +} +} +} +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_7, 3); -x_11 = lean_ctor_get(x_10, 7); -x_12 = lean_ctor_get(x_11, 1); -x_13 = l_Lean_Server_FileWorker_handleCompletion___lambda__2___closed__1; +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_inc(x_10); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); -x_14 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_12, x_13, x_8, x_9); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_14 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_13, x_10, x_11, x_12); +lean_dec(x_10); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; @@ -11081,8 +11711,13 @@ lean_inc(x_15); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; +lean_dec(x_11); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); x_16 = !lean_is_exclusive(x_14); if (x_16 == 0) { @@ -11139,131 +11774,693 @@ uint8_t x_26; x_26 = !lean_is_exclusive(x_15); if (x_26 == 0) { -lean_object* x_27; lean_object* x_28; +lean_object* x_27; x_27 = lean_ctor_get(x_15, 0); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -lean_dec(x_27); -if (lean_obj_tag(x_28) == 0) +if (lean_obj_tag(x_27) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_free_object(x_15); -x_29 = lean_ctor_get(x_14, 1); -lean_inc(x_29); -lean_dec(x_14); -x_30 = lean_box(0); -x_31 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_6, x_30, x_8, x_29); -lean_dec(x_8); -return x_31; -} -else -{ -uint8_t x_32; +uint8_t x_28; +lean_dec(x_11); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); -x_32 = !lean_is_exclusive(x_14); -if (x_32 == 0) +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_28 = !lean_is_exclusive(x_14); +if (x_28 == 0) { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_14, 0); -lean_dec(x_33); -x_34 = lean_ctor_get(x_28, 0); -lean_inc(x_34); -lean_dec(x_28); -lean_ctor_set(x_15, 0, x_34); +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_14, 0); +lean_dec(x_29); +x_30 = lean_ctor_get(x_27, 0); +lean_inc(x_30); +lean_dec(x_27); +lean_ctor_set(x_15, 0, x_30); return x_14; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_14, 1); -lean_inc(x_35); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_14, 1); +lean_inc(x_31); lean_dec(x_14); -x_36 = lean_ctor_get(x_28, 0); -lean_inc(x_36); -lean_dec(x_28); -lean_ctor_set(x_15, 0, x_36); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_15); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} +x_32 = lean_ctor_get(x_27, 0); +lean_inc(x_32); +lean_dec(x_27); +lean_ctor_set(x_15, 0, x_32); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_15); +lean_ctor_set(x_33, 1, x_31); +return x_33; } } else { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_15, 0); -lean_inc(x_38); -lean_dec(x_15); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -lean_dec(x_38); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_14, 1); -lean_inc(x_40); +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_free_object(x_15); +x_34 = lean_ctor_get(x_14, 1); +lean_inc(x_34); lean_dec(x_14); -x_41 = lean_box(0); -x_42 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_6, x_41, x_8, x_40); -lean_dec(x_8); +x_35 = lean_ctor_get(x_27, 0); +lean_inc(x_35); +lean_dec(x_27); +x_36 = lean_ctor_get(x_9, 1); +x_37 = lean_box(0); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +x_39 = lean_array_get_size(x_36); +x_40 = lean_usize_of_nat(x_39); +lean_dec(x_39); +x_41 = 0; +lean_inc(x_11); +x_42 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_37, x_36, x_40, x_41, x_38, x_11, x_34); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +uint8_t x_44; +lean_dec(x_11); +x_44 = !lean_is_exclusive(x_42); +if (x_44 == 0) +{ +lean_object* x_45; uint8_t x_46; +x_45 = lean_ctor_get(x_42, 0); +lean_dec(x_45); +x_46 = !lean_is_exclusive(x_43); +if (x_46 == 0) +{ return x_42; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -lean_dec(x_8); -lean_dec(x_6); -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); +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_43, 0); +lean_inc(x_47); +lean_dec(x_43); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_42, 0, x_48); +return x_42; } -x_45 = lean_ctor_get(x_39, 0); -lean_inc(x_45); -lean_dec(x_39); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_45); -if (lean_is_scalar(x_44)) { - x_47 = lean_alloc_ctor(0, 2, 0); -} else { - x_47 = x_44; } -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_43); -return x_47; +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_42, 1); +lean_inc(x_49); +lean_dec(x_42); +x_50 = lean_ctor_get(x_43, 0); +lean_inc(x_50); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + x_51 = x_43; +} else { + lean_dec_ref(x_43); + x_51 = lean_box(0); +} +if (lean_is_scalar(x_51)) { + x_52 = lean_alloc_ctor(0, 1, 0); +} else { + x_52 = x_51; +} +lean_ctor_set(x_52, 0, x_50); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_49); +return x_53; +} +} +else +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_43); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_43, 0); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_free_object(x_43); +x_57 = lean_ctor_get(x_42, 1); +lean_inc(x_57); +lean_dec(x_42); +x_58 = lean_ctor_get(x_55, 1); +lean_inc(x_58); +lean_dec(x_55); +x_59 = lean_box(0); +x_60 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_58, x_59, x_11, x_57); +lean_dec(x_11); +return x_60; +} +else +{ +uint8_t x_61; +lean_dec(x_55); +lean_dec(x_11); +x_61 = !lean_is_exclusive(x_42); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_42, 0); +lean_dec(x_62); +x_63 = lean_ctor_get(x_56, 0); +lean_inc(x_63); +lean_dec(x_56); +lean_ctor_set(x_43, 0, x_63); +return x_42; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_42, 1); +lean_inc(x_64); +lean_dec(x_42); +x_65 = lean_ctor_get(x_56, 0); +lean_inc(x_65); +lean_dec(x_56); +lean_ctor_set(x_43, 0, x_65); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_43); +lean_ctor_set(x_66, 1, x_64); +return x_66; +} +} +} +else +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_43, 0); +lean_inc(x_67); +lean_dec(x_43); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_69 = lean_ctor_get(x_42, 1); +lean_inc(x_69); +lean_dec(x_42); +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +x_71 = lean_box(0); +x_72 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_70, x_71, x_11, x_69); +lean_dec(x_11); +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_dec(x_67); +lean_dec(x_11); +x_73 = lean_ctor_get(x_42, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_74 = x_42; +} else { + lean_dec_ref(x_42); + x_74 = lean_box(0); +} +x_75 = lean_ctor_get(x_68, 0); +lean_inc(x_75); +lean_dec(x_68); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_75); +if (lean_is_scalar(x_74)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_74; +} +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_73); +return x_77; } } } } else { -uint8_t x_48; +uint8_t x_78; +lean_dec(x_11); +x_78 = !lean_is_exclusive(x_42); +if (x_78 == 0) +{ +return x_42; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_42, 0); +x_80 = lean_ctor_get(x_42, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_42); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +} +else +{ +lean_object* x_82; +x_82 = lean_ctor_get(x_15, 0); +lean_inc(x_82); +lean_dec(x_15); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec(x_11); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); -x_48 = !lean_is_exclusive(x_14); -if (x_48 == 0) +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_83 = lean_ctor_get(x_14, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + x_84 = x_14; +} else { + lean_dec_ref(x_14); + x_84 = lean_box(0); +} +x_85 = lean_ctor_get(x_82, 0); +lean_inc(x_85); +lean_dec(x_82); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_85); +if (lean_is_scalar(x_84)) { + x_87 = lean_alloc_ctor(0, 2, 0); +} else { + x_87 = x_84; +} +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_83); +return x_87; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; size_t x_94; size_t x_95; lean_object* x_96; +x_88 = lean_ctor_get(x_14, 1); +lean_inc(x_88); +lean_dec(x_14); +x_89 = lean_ctor_get(x_82, 0); +lean_inc(x_89); +lean_dec(x_82); +x_90 = lean_ctor_get(x_9, 1); +x_91 = lean_box(0); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_89); +x_93 = lean_array_get_size(x_90); +x_94 = lean_usize_of_nat(x_93); +lean_dec(x_93); +x_95 = 0; +lean_inc(x_11); +x_96 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_91, x_90, x_94, x_95, x_92, x_11, x_88); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +if (lean_obj_tag(x_97) == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_11); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_99 = x_96; +} else { + lean_dec_ref(x_96); + x_99 = lean_box(0); +} +x_100 = lean_ctor_get(x_97, 0); +lean_inc(x_100); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + x_101 = x_97; +} else { + lean_dec_ref(x_97); + x_101 = lean_box(0); +} +if (lean_is_scalar(x_101)) { + x_102 = lean_alloc_ctor(0, 1, 0); +} else { + x_102 = x_101; +} +lean_ctor_set(x_102, 0, x_100); +if (lean_is_scalar(x_99)) { + x_103 = lean_alloc_ctor(0, 2, 0); +} else { + x_103 = x_99; +} +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_98); +return x_103; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_97, 0); +lean_inc(x_104); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + x_105 = x_97; +} else { + lean_dec_ref(x_97); + x_105 = lean_box(0); +} +x_106 = lean_ctor_get(x_104, 0); +lean_inc(x_106); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_105); +x_107 = lean_ctor_get(x_96, 1); +lean_inc(x_107); +lean_dec(x_96); +x_108 = lean_ctor_get(x_104, 1); +lean_inc(x_108); +lean_dec(x_104); +x_109 = lean_box(0); +x_110 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_108, x_109, x_11, x_107); +lean_dec(x_11); +return x_110; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_104); +lean_dec(x_11); +x_111 = lean_ctor_get(x_96, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_112 = x_96; +} else { + lean_dec_ref(x_96); + x_112 = lean_box(0); +} +x_113 = lean_ctor_get(x_106, 0); +lean_inc(x_113); +lean_dec(x_106); +if (lean_is_scalar(x_105)) { + x_114 = lean_alloc_ctor(1, 1, 0); +} else { + x_114 = x_105; +} +lean_ctor_set(x_114, 0, x_113); +if (lean_is_scalar(x_112)) { + x_115 = lean_alloc_ctor(0, 2, 0); +} else { + x_115 = x_112; +} +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_111); +return x_115; +} +} +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_dec(x_11); +x_116 = lean_ctor_get(x_96, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_96, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_118 = x_96; +} else { + lean_dec_ref(x_96); + x_118 = lean_box(0); +} +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(1, 2, 0); +} else { + x_119 = x_118; +} +lean_ctor_set(x_119, 0, x_116); +lean_ctor_set(x_119, 1, x_117); +return x_119; +} +} +} +} +} +else +{ +uint8_t x_120; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_120 = !lean_is_exclusive(x_14); +if (x_120 == 0) { return x_14; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_14, 0); -x_50 = lean_ctor_get(x_14, 1); -lean_inc(x_50); -lean_inc(x_49); +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_14, 0); +x_122 = lean_ctor_get(x_14, 1); +lean_inc(x_122); +lean_inc(x_121); lean_dec(x_14); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +} +} +lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_8, 3); +x_12 = lean_ctor_get(x_11, 7); +x_13 = lean_ctor_get(x_12, 1); +x_14 = l_Lean_Server_FileWorker_handleCompletion___lambda__2___closed__1; +lean_inc(x_9); +lean_inc(x_7); +x_15 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_14, x_13, x_14, x_9, x_10); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +lean_dec(x_9); +lean_dec(x_7); +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_15, 0); +lean_dec(x_18); +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +return x_15; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_16, 0); +lean_inc(x_20); +lean_dec(x_16); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_15, 0, x_21); +return x_15; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_15, 1); +lean_inc(x_22); +lean_dec(x_15); +x_23 = lean_ctor_get(x_16, 0); +lean_inc(x_23); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + x_24 = x_16; +} else { + lean_dec_ref(x_16); + x_24 = lean_box(0); +} +if (lean_is_scalar(x_24)) { + x_25 = lean_alloc_ctor(0, 1, 0); +} else { + x_25 = x_24; +} +lean_ctor_set(x_25, 0, x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_22); +return x_26; +} +} +else +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_16); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_16, 0); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +lean_dec(x_28); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_free_object(x_16); +x_30 = lean_ctor_get(x_15, 1); +lean_inc(x_30); +lean_dec(x_15); +x_31 = lean_box(0); +x_32 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_7, x_31, x_9, x_30); +lean_dec(x_9); +return x_32; +} +else +{ +uint8_t x_33; +lean_dec(x_9); +lean_dec(x_7); +x_33 = !lean_is_exclusive(x_15); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_15, 0); +lean_dec(x_34); +x_35 = lean_ctor_get(x_29, 0); +lean_inc(x_35); +lean_dec(x_29); +lean_ctor_set(x_16, 0, x_35); +return x_15; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_15, 1); +lean_inc(x_36); +lean_dec(x_15); +x_37 = lean_ctor_get(x_29, 0); +lean_inc(x_37); +lean_dec(x_29); +lean_ctor_set(x_16, 0, x_37); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_16); +lean_ctor_set(x_38, 1, x_36); +return x_38; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_16, 0); +lean_inc(x_39); +lean_dec(x_16); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +lean_dec(x_39); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_15, 1); +lean_inc(x_41); +lean_dec(x_15); +x_42 = lean_box(0); +x_43 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_7, x_42, x_9, x_41); +lean_dec(x_9); +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_dec(x_9); +lean_dec(x_7); +x_44 = lean_ctor_get(x_15, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + x_45 = x_15; +} else { + lean_dec_ref(x_15); + x_45 = lean_box(0); +} +x_46 = lean_ctor_get(x_40, 0); +lean_inc(x_46); +lean_dec(x_40); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_46); +if (lean_is_scalar(x_45)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_45; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_44); +return x_48; +} +} +} +} +else +{ +uint8_t x_49; +lean_dec(x_9); +lean_dec(x_7); +x_49 = !lean_is_exclusive(x_15); +if (x_49 == 0) +{ +return x_15; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_15, 0); +x_51 = lean_ctor_get(x_15, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_15); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } @@ -11297,7 +12494,6 @@ x_10 = lean_ctor_get(x_9, 2); lean_inc(x_10); x_11 = lean_ctor_get(x_2, 1); lean_inc(x_11); -lean_dec(x_2); x_12 = l_Lean_FileMap_lspPosToUtf8Pos(x_10, x_11); lean_inc(x_12); x_13 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleHover___lambda__1___boxed), 2, 1); @@ -11305,13 +12501,14 @@ lean_closure_set(x_13, 0, x_12); x_14 = l_Lean_Server_FileWorker_handleCompletion___closed__1; x_15 = lean_box(x_1); lean_inc(x_3); -x_16 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition___lambda__1___boxed), 9, 6); +x_16 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition___lambda__1___boxed), 10, 7); lean_closure_set(x_16, 0, x_15); -lean_closure_set(x_16, 1, x_3); -lean_closure_set(x_16, 2, x_9); -lean_closure_set(x_16, 3, x_10); -lean_closure_set(x_16, 4, x_12); -lean_closure_set(x_16, 5, x_14); +lean_closure_set(x_16, 1, x_2); +lean_closure_set(x_16, 2, x_3); +lean_closure_set(x_16, 3, x_9); +lean_closure_set(x_16, 4, x_10); +lean_closure_set(x_16, 5, x_12); +lean_closure_set(x_16, 6, x_14); x_17 = l_Lean_Server_FileWorker_handleDefinition___closed__1; x_18 = l_Lean_Server_Requests_RequestM_withWaitFindSnap___rarg(x_8, x_13, x_17, x_16, x_3, x_7); return x_18; @@ -11353,20 +12550,21 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; -x_16 = lean_unbox(x_1); +uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_17 = lean_unbox(x_1); lean_dec(x_1); -x_17 = lean_unbox_usize(x_11); -lean_dec(x_11); x_18 = lean_unbox_usize(x_12); lean_dec(x_12); -x_19 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17, x_18, x_13, x_14, x_15); -lean_dec(x_10); -lean_dec(x_8); -return x_19; +x_19 = lean_unbox_usize(x_13); +lean_dec(x_13); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18, x_19, x_14, x_15, x_16); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_2); +return x_20; } } lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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) { @@ -11448,79 +12646,107 @@ lean_dec(x_9); return x_13; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8___boxed(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_12; -x_12 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -return x_12; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_15 = lean_unbox(x_1); +uint8_t x_3; lean_object* x_4; +x_3 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_5); +return x_14; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_16 = lean_unbox(x_1); lean_dec(x_1); -x_16 = lean_unbox_usize(x_10); -lean_dec(x_10); x_17 = lean_unbox_usize(x_11); lean_dec(x_11); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16, x_17, x_12, x_13, x_14); +x_18 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_19 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17, x_18, x_13, x_14, x_15); +lean_dec(x_10); +lean_dec(x_2); +return x_19; +} +} +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_1); +lean_dec(x_1); +x_15 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_10); lean_dec(x_9); -return x_18; +lean_dec(x_2); +return x_15; } } -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_16 = lean_unbox(x_1); +lean_dec(x_1); +x_17 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_18 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_19 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17, x_18, x_13, x_14, x_15); +lean_dec(x_10); +lean_dec(x_2); +return x_19; +} +} +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_1); lean_dec(x_1); -x_14 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_2); return x_14; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_15 = lean_unbox(x_1); +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_1); lean_dec(x_1); -x_16 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_17 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16, x_17, x_12, x_13, x_14); -lean_dec(x_9); -return x_18; -} -} -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_1); -lean_dec(x_1); -x_13 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Server_FileWorker_handleDefinition___lambda__1(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); -return x_13; -} -} -lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Server_FileWorker_handleDefinition___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -return x_11; +lean_dec(x_2); +return x_12; } } lean_object* l_Lean_Server_FileWorker_handleDefinition___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -15547,36 +16773,6 @@ return x_4; else { lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -} -} -lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; -lean_dec(x_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); x_6 = lean_ctor_get(x_5, 1); @@ -15606,15 +16802,15 @@ return x_10; } } } -lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__2(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal_match__2___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal_match__1___rarg), 3, 0); return x_2; } } -lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -15637,11 +16833,11 @@ return x_7; } } } -lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__3(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal_match__3___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal_match__2___rarg), 3, 0); return x_2; } } @@ -16144,233 +17340,73 @@ lean_inc(x_10); x_11 = lean_ctor_get(x_8, 1); lean_inc(x_11); lean_dec(x_8); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); x_12 = l_Lean_Meta_instantiateMVars(x_10, x_3, x_4, x_5, x_6, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_13); -x_16 = 0; -x_17 = lean_box(0); -lean_inc(x_3); -x_18 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_15, x_16, x_17, x_3, x_4, x_5, x_6, x_14); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_Expr_mvarId_x21(x_19); -lean_dec(x_19); -x_22 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___boxed), 6, 1); -lean_closure_set(x_22, 0, x_21); -x_23 = 1; -x_24 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_22, x_23, x_3, x_4, x_5, x_6, x_20); -return x_24; -} -else -{ -uint8_t x_25; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_25 = !lean_is_exclusive(x_12); -if (x_25 == 0) -{ return x_12; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_12, 0); -x_27 = lean_ctor_get(x_12, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_12); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -else -{ -lean_object* x_29; uint8_t x_30; -x_29 = lean_ctor_get(x_8, 1); -lean_inc(x_29); +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); lean_dec(x_8); -x_30 = !lean_is_exclusive(x_9); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_9, 0); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_32 = l_Lean_Meta_instantiateMVars(x_31, x_3, x_4, x_5, x_6, x_29); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -lean_ctor_set(x_9, 0, x_33); -x_35 = 0; -x_36 = lean_box(0); -lean_inc(x_3); -x_37 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_9, x_35, x_36, x_3, x_4, x_5, x_6, x_34); -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_Expr_mvarId_x21(x_38); -lean_dec(x_38); -x_41 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___boxed), 6, 1); -lean_closure_set(x_41, 0, x_40); -x_42 = 1; -x_43 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_41, x_42, x_3, x_4, x_5, x_6, x_39); -return x_43; -} -else -{ -uint8_t x_44; -lean_free_object(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_44 = !lean_is_exclusive(x_32); -if (x_44 == 0) -{ -return x_32; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_32, 0); -x_46 = lean_ctor_get(x_32, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_32); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -} -else -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_9, 0); -lean_inc(x_48); +x_14 = lean_ctor_get(x_9, 0); +lean_inc(x_14); lean_dec(x_9); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_49 = l_Lean_Meta_instantiateMVars(x_48, x_3, x_4, x_5, x_6, x_29); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_50); -x_53 = 0; -x_54 = lean_box(0); -lean_inc(x_3); -x_55 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_52, x_53, x_54, x_3, x_4, x_5, x_6, x_51); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = l_Lean_Expr_mvarId_x21(x_56); -lean_dec(x_56); -x_59 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___boxed), 6, 1); -lean_closure_set(x_59, 0, x_58); -x_60 = 1; -x_61 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_59, x_60, x_3, x_4, x_5, x_6, x_57); -return x_61; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_62 = lean_ctor_get(x_49, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_49, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - x_64 = x_49; -} else { - lean_dec_ref(x_49); - x_64 = lean_box(0); -} -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(1, 2, 0); -} else { - x_65 = x_64; -} -lean_ctor_set(x_65, 0, x_62); -lean_ctor_set(x_65, 1, x_63); -return x_65; -} -} +x_15 = l_Lean_Meta_instantiateMVars(x_14, x_3, x_4, x_5, x_6, x_13); +return x_15; } } else { -uint8_t x_66; +uint8_t x_16; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_66 = !lean_is_exclusive(x_8); -if (x_66 == 0) +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) { return x_8; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_8, 0); -x_68 = lean_ctor_get(x_8, 1); -lean_inc(x_68); -lean_inc(x_67); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_8, 0); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_inc(x_17); lean_dec(x_8); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; } } } } +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_7 = 0; +x_8 = lean_box(0); +lean_inc(x_2); +x_9 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_1, x_7, x_8, x_2, x_3, x_4, x_5, x_6); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Expr_mvarId_x21(x_10); +lean_dec(x_10); +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___boxed), 6, 1); +lean_closure_set(x_13, 0, x_12); +x_14 = 1; +x_15 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_13, x_14, x_2, x_3, x_4, x_5, x_11); +return x_15; +} +} lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___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, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -16420,315 +17456,386 @@ goto block_60; } else { -uint8_t x_64; -x_64 = !lean_is_exclusive(x_61); -if (x_64 == 0) -{ -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_61, 0); -x_66 = lean_ctor_get(x_65, 1); +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_64 = lean_ctor_get(x_61, 0); +lean_inc(x_64); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + x_65 = x_61; +} else { + lean_dec_ref(x_61); + x_65 = lean_box(0); +} +x_66 = lean_ctor_get(x_64, 0); lean_inc(x_66); -if (lean_obj_tag(x_66) == 1) -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_67 = lean_ctor_get(x_65, 0); +x_67 = lean_ctor_get(x_64, 1); lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_ctor_get(x_66, 0); -lean_inc(x_68); -x_69 = l_Lean_Elab_Info_lctx(x_66); -x_70 = lean_ctor_get(x_68, 3); -lean_inc(x_70); -x_71 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1), 7, 2); -lean_closure_set(x_71, 0, x_70); -lean_closure_set(x_71, 1, x_68); -x_72 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_67, x_69, x_71, x_11); +lean_dec(x_64); +if (lean_obj_tag(x_67) == 1) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_121 = lean_ctor_get(x_67, 0); +lean_inc(x_121); +x_122 = l_Lean_Elab_Info_lctx(x_67); +x_123 = lean_ctor_get(x_121, 3); +lean_inc(x_123); +lean_inc(x_121); +x_124 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1), 7, 2); +lean_closure_set(x_124, 0, x_123); +lean_closure_set(x_124, 1, x_121); +lean_inc(x_122); +x_125 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_66, x_122, x_124, x_11); +if (lean_obj_tag(x_125) == 0) +{ +lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_128 = lean_ctor_get_uint8(x_121, sizeof(void*)*4); +lean_dec(x_121); +x_129 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_129, 0, x_126); +x_130 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__2), 6, 1); +lean_closure_set(x_130, 0, x_129); +if (x_128 == 0) +{ +lean_object* x_131; +x_131 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_66, x_122, x_130, x_127); +lean_dec(x_66); +if (lean_obj_tag(x_131) == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +lean_dec(x_131); +x_134 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_134, 0, x_132); +x_68 = x_134; +x_69 = x_133; +goto block_120; +} +else +{ +uint8_t x_135; lean_dec(x_67); +lean_dec(x_65); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_135 = !lean_is_exclusive(x_131); +if (x_135 == 0) +{ +return x_131; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_131, 0); +x_137 = lean_ctor_get(x_131, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_131); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +return x_138; +} +} +} +else +{ +lean_object* x_139; lean_object* x_140; +x_139 = lean_local_ctx_pop(x_122); +x_140 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_66, x_139, x_130, x_127); +lean_dec(x_66); +if (lean_obj_tag(x_140) == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_140, 1); +lean_inc(x_142); +lean_dec(x_140); +x_143 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_143, 0, x_141); +x_68 = x_143; +x_69 = x_142; +goto block_120; +} +else +{ +uint8_t x_144; +lean_dec(x_67); +lean_dec(x_65); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_144 = !lean_is_exclusive(x_140); +if (x_144 == 0) +{ +return x_140; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_145 = lean_ctor_get(x_140, 0); +x_146 = lean_ctor_get(x_140, 1); +lean_inc(x_146); +lean_inc(x_145); +lean_dec(x_140); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_145); +lean_ctor_set(x_147, 1, x_146); +return x_147; +} +} +} +} +else +{ +uint8_t x_148; +lean_dec(x_122); +lean_dec(x_121); +lean_dec(x_67); +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_148 = !lean_is_exclusive(x_125); +if (x_148 == 0) +{ +return x_125; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_149 = lean_ctor_get(x_125, 0); +x_150 = lean_ctor_get(x_125, 1); +lean_inc(x_150); +lean_inc(x_149); +lean_dec(x_125); +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +return x_151; +} +} +} +else +{ +lean_object* x_152; lean_object* x_153; +lean_dec(x_67); +lean_dec(x_66); +lean_dec(x_65); +lean_inc(x_4); +x_152 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_152, 0, x_4); +x_153 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_153, 0, x_152); +x_37 = x_153; +x_38 = x_11; +goto block_60; +} +block_120: +{ +uint8_t x_70; +x_70 = !lean_is_exclusive(x_68); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_68, 0); +x_72 = l_Lean_Elab_Info_range_x3f(x_67); +lean_dec(x_67); +x_73 = l_Std_Format_defWidth; +x_74 = lean_format_pretty(x_71, x_73); if (lean_obj_tag(x_72) == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = l_Lean_Elab_Info_range_x3f(x_66); -lean_dec(x_66); -x_76 = l_Std_Format_defWidth; -x_77 = lean_format_pretty(x_73, x_76); -if (lean_obj_tag(x_75) == 0) -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_inc_n(x_2, 2); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_2); -lean_ctor_set(x_78, 1, x_2); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -lean_ctor_set(x_61, 0, x_79); -x_80 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_80, 0, x_61); -x_81 = lean_box(0); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -x_83 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_83, 0, x_82); -x_84 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_84, 0, x_83); -x_37 = x_84; -x_38 = x_74; +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_2); +lean_ctor_set(x_75, 1, x_2); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +if (lean_is_scalar(x_65)) { + x_77 = lean_alloc_ctor(1, 1, 0); +} else { + x_77 = x_65; +} +lean_ctor_set(x_77, 0, x_76); +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_79 = lean_box(0); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_68, 0, x_81); +x_37 = x_68; +x_38 = x_69; goto block_60; } else { -uint8_t x_85; -x_85 = !lean_is_exclusive(x_75); -if (x_85 == 0) +uint8_t x_82; +x_82 = !lean_is_exclusive(x_72); +if (x_82 == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_86 = lean_ctor_get(x_75, 0); -x_87 = l_String_Range_toLspRange(x_1, x_86); -lean_dec(x_86); +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_83 = lean_ctor_get(x_72, 0); +x_84 = l_String_Range_toLspRange(x_1, x_83); +lean_dec(x_83); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_74); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set(x_72, 0, x_85); +if (lean_is_scalar(x_65)) { + x_86 = lean_alloc_ctor(1, 1, 0); +} else { + x_86 = x_65; +} +lean_ctor_set(x_86, 0, x_72); +x_87 = lean_box(0); x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_77); +lean_ctor_set(x_88, 0, x_86); lean_ctor_set(x_88, 1, x_87); -lean_ctor_set(x_75, 0, x_88); -lean_ctor_set(x_61, 0, x_75); -x_89 = lean_box(0); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_61); -lean_ctor_set(x_90, 1, x_89); -x_91 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_91, 0, x_90); -x_92 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_92, 0, x_91); -x_37 = x_92; -x_38 = x_74; +x_89 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_68, 0, x_89); +x_37 = x_68; +x_38 = x_69; goto block_60; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_93 = lean_ctor_get(x_75, 0); -lean_inc(x_93); -lean_dec(x_75); -x_94 = l_String_Range_toLspRange(x_1, x_93); -lean_dec(x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_77); -lean_ctor_set(x_95, 1, x_94); -x_96 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_61, 0, x_96); -x_97 = lean_box(0); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_61); -lean_ctor_set(x_98, 1, x_97); -x_99 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_99, 0, x_98); -x_100 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_100, 0, x_99); -x_37 = x_100; -x_38 = x_74; -goto block_60; -} -} -} -else -{ -uint8_t x_101; -lean_dec(x_66); -lean_free_object(x_61); -lean_dec(x_36); -lean_dec(x_35); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_101 = !lean_is_exclusive(x_72); -if (x_101 == 0) -{ -return x_72; -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_72, 0); -x_103 = lean_ctor_get(x_72, 1); -lean_inc(x_103); -lean_inc(x_102); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_90 = lean_ctor_get(x_72, 0); +lean_inc(x_90); lean_dec(x_72); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; +x_91 = l_String_Range_toLspRange(x_1, x_90); +lean_dec(x_90); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_74); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_93, 0, x_92); +if (lean_is_scalar(x_65)) { + x_94 = lean_alloc_ctor(1, 1, 0); +} else { + x_94 = x_65; } -} -} -else -{ -lean_object* x_105; lean_object* x_106; -lean_dec(x_66); -lean_free_object(x_61); -lean_dec(x_65); -lean_inc(x_4); -x_105 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_105, 0, x_4); -x_106 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_106, 0, x_105); -x_37 = x_106; -x_38 = x_11; +lean_ctor_set(x_94, 0, x_93); +x_95 = lean_box(0); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_68, 0, x_97); +x_37 = x_68; +x_38 = x_69; goto block_60; } } +} else { -lean_object* x_107; lean_object* x_108; -x_107 = lean_ctor_get(x_61, 0); -lean_inc(x_107); -lean_dec(x_61); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -if (lean_obj_tag(x_108) == 1) +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_98 = lean_ctor_get(x_68, 0); +lean_inc(x_98); +lean_dec(x_68); +x_99 = l_Lean_Elab_Info_range_x3f(x_67); +lean_dec(x_67); +x_100 = l_Std_Format_defWidth; +x_101 = lean_format_pretty(x_98, x_100); +if (lean_obj_tag(x_99) == 0) { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_109 = lean_ctor_get(x_107, 0); -lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_ctor_get(x_108, 0); -lean_inc(x_110); -x_111 = l_Lean_Elab_Info_lctx(x_108); -x_112 = lean_ctor_get(x_110, 3); -lean_inc(x_112); -x_113 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1), 7, 2); -lean_closure_set(x_113, 0, x_112); -lean_closure_set(x_113, 1, x_110); -x_114 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_109, x_111, x_113, x_11); -lean_dec(x_109); -if (lean_obj_tag(x_114) == 0) -{ -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_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -lean_dec(x_114); -x_117 = l_Lean_Elab_Info_range_x3f(x_108); -lean_dec(x_108); -x_118 = l_Std_Format_defWidth; -x_119 = lean_format_pretty(x_115, x_118); -if (lean_obj_tag(x_117) == 0) -{ -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_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_inc_n(x_2, 2); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_2); -lean_ctor_set(x_120, 1, x_2); -x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -x_122 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_122, 0, x_121); -x_123 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_123, 0, x_122); -x_124 = lean_box(0); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_126, 0, x_125); -x_127 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_127, 0, x_126); -x_37 = x_127; -x_38 = x_116; +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_2); +lean_ctor_set(x_102, 1, x_2); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +if (lean_is_scalar(x_65)) { + x_104 = lean_alloc_ctor(1, 1, 0); +} else { + x_104 = x_65; +} +lean_ctor_set(x_104, 0, x_103); +x_105 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_105, 0, x_104); +x_106 = lean_box(0); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +x_108 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_108, 0, x_107); +x_109 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_109, 0, x_108); +x_37 = x_109; +x_38 = x_69; goto block_60; } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_128 = lean_ctor_get(x_117, 0); -lean_inc(x_128); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - x_129 = x_117; +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_110 = lean_ctor_get(x_99, 0); +lean_inc(x_110); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + x_111 = x_99; } else { - lean_dec_ref(x_117); - x_129 = lean_box(0); + lean_dec_ref(x_99); + x_111 = lean_box(0); } -x_130 = l_String_Range_toLspRange(x_1, x_128); -lean_dec(x_128); -x_131 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_131, 0, x_119); -lean_ctor_set(x_131, 1, x_130); -if (lean_is_scalar(x_129)) { - x_132 = lean_alloc_ctor(1, 1, 0); +x_112 = l_String_Range_toLspRange(x_1, x_110); +lean_dec(x_110); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_101); +lean_ctor_set(x_113, 1, x_112); +if (lean_is_scalar(x_111)) { + x_114 = lean_alloc_ctor(1, 1, 0); } else { - x_132 = x_129; + x_114 = x_111; } -lean_ctor_set(x_132, 0, x_131); -x_133 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_133, 0, x_132); -x_134 = lean_box(0); -x_135 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_134); -x_136 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_136, 0, x_135); -x_137 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_137, 0, x_136); -x_37 = x_137; -x_38 = x_116; +lean_ctor_set(x_114, 0, x_113); +if (lean_is_scalar(x_65)) { + x_115 = lean_alloc_ctor(1, 1, 0); +} else { + x_115 = x_65; +} +lean_ctor_set(x_115, 0, x_114); +x_116 = lean_box(0); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_115); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_118, 0, x_117); +x_119 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_119, 0, x_118); +x_37 = x_119; +x_38 = x_69; goto block_60; } } -else -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -lean_dec(x_108); -lean_dec(x_36); -lean_dec(x_35); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_138 = lean_ctor_get(x_114, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_114, 1); -lean_inc(x_139); -if (lean_is_exclusive(x_114)) { - lean_ctor_release(x_114, 0); - lean_ctor_release(x_114, 1); - x_140 = x_114; -} else { - lean_dec_ref(x_114); - x_140 = lean_box(0); -} -if (lean_is_scalar(x_140)) { - x_141 = lean_alloc_ctor(1, 2, 0); -} else { - x_141 = x_140; -} -lean_ctor_set(x_141, 0, x_138); -lean_ctor_set(x_141, 1, x_139); -return x_141; -} -} -else -{ -lean_object* x_142; lean_object* x_143; -lean_dec(x_108); -lean_dec(x_107); -lean_inc(x_4); -x_142 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_142, 0, x_4); -x_143 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_143, 0, x_142); -x_37 = x_143; -x_38 = x_11; -goto block_60; -} } } block_60: @@ -17404,315 +18511,386 @@ goto block_67; } else { -uint8_t x_71; -x_71 = !lean_is_exclusive(x_68); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_68, 0); -x_73 = lean_ctor_get(x_72, 1); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_71 = lean_ctor_get(x_68, 0); +lean_inc(x_71); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + x_72 = x_68; +} else { + lean_dec_ref(x_68); + x_72 = lean_box(0); +} +x_73 = lean_ctor_get(x_71, 0); lean_inc(x_73); -if (lean_obj_tag(x_73) == 1) -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_74 = lean_ctor_get(x_72, 0); +x_74 = lean_ctor_get(x_71, 1); lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_ctor_get(x_73, 0); -lean_inc(x_75); -x_76 = l_Lean_Elab_Info_lctx(x_73); -x_77 = lean_ctor_get(x_75, 3); -lean_inc(x_77); -x_78 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1), 7, 2); -lean_closure_set(x_78, 0, x_77); -lean_closure_set(x_78, 1, x_75); -x_79 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_74, x_76, x_78, x_11); +lean_dec(x_71); +if (lean_obj_tag(x_74) == 1) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_128 = lean_ctor_get(x_74, 0); +lean_inc(x_128); +x_129 = l_Lean_Elab_Info_lctx(x_74); +x_130 = lean_ctor_get(x_128, 3); +lean_inc(x_130); +lean_inc(x_128); +x_131 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1), 7, 2); +lean_closure_set(x_131, 0, x_130); +lean_closure_set(x_131, 1, x_128); +lean_inc(x_129); +x_132 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_73, x_129, x_131, x_11); +if (lean_obj_tag(x_132) == 0) +{ +lean_object* x_133; lean_object* x_134; uint8_t x_135; lean_object* x_136; lean_object* x_137; +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_ctor_get_uint8(x_128, sizeof(void*)*4); +lean_dec(x_128); +x_136 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_136, 0, x_133); +x_137 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__2), 6, 1); +lean_closure_set(x_137, 0, x_136); +if (x_135 == 0) +{ +lean_object* x_138; +x_138 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_73, x_129, x_137, x_134); +lean_dec(x_73); +if (lean_obj_tag(x_138) == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_138, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_138, 1); +lean_inc(x_140); +lean_dec(x_138); +x_141 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_141, 0, x_139); +x_75 = x_141; +x_76 = x_140; +goto block_127; +} +else +{ +uint8_t x_142; lean_dec(x_74); +lean_dec(x_72); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_138); +if (x_142 == 0) +{ +return x_138; +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_138, 0); +x_144 = lean_ctor_get(x_138, 1); +lean_inc(x_144); +lean_inc(x_143); +lean_dec(x_138); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +} +else +{ +lean_object* x_146; lean_object* x_147; +x_146 = lean_local_ctx_pop(x_129); +x_147 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_73, x_146, x_137, x_134); +lean_dec(x_73); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_150 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_150, 0, x_148); +x_75 = x_150; +x_76 = x_149; +goto block_127; +} +else +{ +uint8_t x_151; +lean_dec(x_74); +lean_dec(x_72); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_151 = !lean_is_exclusive(x_147); +if (x_151 == 0) +{ +return x_147; +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_147, 0); +x_153 = lean_ctor_get(x_147, 1); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_147); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +return x_154; +} +} +} +} +else +{ +uint8_t x_155; +lean_dec(x_129); +lean_dec(x_128); +lean_dec(x_74); +lean_dec(x_73); +lean_dec(x_72); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_155 = !lean_is_exclusive(x_132); +if (x_155 == 0) +{ +return x_132; +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_156 = lean_ctor_get(x_132, 0); +x_157 = lean_ctor_get(x_132, 1); +lean_inc(x_157); +lean_inc(x_156); +lean_dec(x_132); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_156); +lean_ctor_set(x_158, 1, x_157); +return x_158; +} +} +} +else +{ +lean_object* x_159; lean_object* x_160; +lean_dec(x_74); +lean_dec(x_73); +lean_dec(x_72); +lean_inc(x_4); +x_159 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_159, 0, x_4); +x_160 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_160, 0, x_159); +x_37 = x_160; +x_38 = x_11; +goto block_67; +} +block_127: +{ +uint8_t x_77; +x_77 = !lean_is_exclusive(x_75); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_78 = lean_ctor_get(x_75, 0); +x_79 = l_Lean_Elab_Info_range_x3f(x_74); +lean_dec(x_74); +x_80 = l_Std_Format_defWidth; +x_81 = lean_format_pretty(x_78, x_80); if (lean_obj_tag(x_79) == 0) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = l_Lean_Elab_Info_range_x3f(x_73); -lean_dec(x_73); -x_83 = l_Std_Format_defWidth; -x_84 = lean_format_pretty(x_80, x_83); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_inc_n(x_2, 2); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_2); -lean_ctor_set(x_85, 1, x_2); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -lean_ctor_set(x_68, 0, x_86); -x_87 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_87, 0, x_68); -x_88 = lean_box(0); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_90, 0, x_89); -x_91 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_91, 0, x_90); -x_37 = x_91; -x_38 = x_81; +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_2); +lean_ctor_set(x_82, 1, x_2); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +if (lean_is_scalar(x_72)) { + x_84 = lean_alloc_ctor(1, 1, 0); +} else { + x_84 = x_72; +} +lean_ctor_set(x_84, 0, x_83); +x_85 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_85, 0, x_84); +x_86 = lean_box(0); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +x_88 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_75, 0, x_88); +x_37 = x_75; +x_38 = x_76; goto block_67; } else { -uint8_t x_92; -x_92 = !lean_is_exclusive(x_82); -if (x_92 == 0) +uint8_t x_89; +x_89 = !lean_is_exclusive(x_79); +if (x_89 == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_93 = lean_ctor_get(x_82, 0); -x_94 = l_String_Range_toLspRange(x_1, x_93); -lean_dec(x_93); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_90 = lean_ctor_get(x_79, 0); +x_91 = l_String_Range_toLspRange(x_1, x_90); +lean_dec(x_90); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_81); +lean_ctor_set(x_92, 1, x_91); +lean_ctor_set(x_79, 0, x_92); +if (lean_is_scalar(x_72)) { + x_93 = lean_alloc_ctor(1, 1, 0); +} else { + x_93 = x_72; +} +lean_ctor_set(x_93, 0, x_79); +x_94 = lean_box(0); x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_84); +lean_ctor_set(x_95, 0, x_93); lean_ctor_set(x_95, 1, x_94); -lean_ctor_set(x_82, 0, x_95); -lean_ctor_set(x_68, 0, x_82); -x_96 = lean_box(0); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_68); -lean_ctor_set(x_97, 1, x_96); -x_98 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_98, 0, x_97); -x_99 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_99, 0, x_98); -x_37 = x_99; -x_38 = x_81; +x_96 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_75, 0, x_96); +x_37 = x_75; +x_38 = x_76; goto block_67; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_100 = lean_ctor_get(x_82, 0); -lean_inc(x_100); -lean_dec(x_82); -x_101 = l_String_Range_toLspRange(x_1, x_100); -lean_dec(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_84); -lean_ctor_set(x_102, 1, x_101); -x_103 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_68, 0, x_103); -x_104 = lean_box(0); -x_105 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_105, 0, x_68); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_106, 0, x_105); -x_107 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_107, 0, x_106); -x_37 = x_107; -x_38 = x_81; -goto block_67; -} -} -} -else -{ -uint8_t x_108; -lean_dec(x_73); -lean_free_object(x_68); -lean_dec(x_36); -lean_dec(x_35); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_108 = !lean_is_exclusive(x_79); -if (x_108 == 0) -{ -return x_79; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_79, 0); -x_110 = lean_ctor_get(x_79, 1); -lean_inc(x_110); -lean_inc(x_109); +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_97 = lean_ctor_get(x_79, 0); +lean_inc(x_97); lean_dec(x_79); -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; +x_98 = l_String_Range_toLspRange(x_1, x_97); +lean_dec(x_97); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_81); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_100, 0, x_99); +if (lean_is_scalar(x_72)) { + x_101 = lean_alloc_ctor(1, 1, 0); +} else { + x_101 = x_72; } -} -} -else -{ -lean_object* x_112; lean_object* x_113; -lean_dec(x_73); -lean_free_object(x_68); -lean_dec(x_72); -lean_inc(x_4); -x_112 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_112, 0, x_4); -x_113 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_113, 0, x_112); -x_37 = x_113; -x_38 = x_11; +lean_ctor_set(x_101, 0, x_100); +x_102 = lean_box(0); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_75, 0, x_104); +x_37 = x_75; +x_38 = x_76; goto block_67; } } +} else { -lean_object* x_114; lean_object* x_115; -x_114 = lean_ctor_get(x_68, 0); -lean_inc(x_114); -lean_dec(x_68); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -if (lean_obj_tag(x_115) == 1) +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_105 = lean_ctor_get(x_75, 0); +lean_inc(x_105); +lean_dec(x_75); +x_106 = l_Lean_Elab_Info_range_x3f(x_74); +lean_dec(x_74); +x_107 = l_Std_Format_defWidth; +x_108 = lean_format_pretty(x_105, x_107); +if (lean_obj_tag(x_106) == 0) { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_116 = lean_ctor_get(x_114, 0); -lean_inc(x_116); -lean_dec(x_114); -x_117 = lean_ctor_get(x_115, 0); -lean_inc(x_117); -x_118 = l_Lean_Elab_Info_lctx(x_115); -x_119 = lean_ctor_get(x_117, 3); -lean_inc(x_119); -x_120 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1), 7, 2); -lean_closure_set(x_120, 0, x_119); -lean_closure_set(x_120, 1, x_117); -x_121 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_116, x_118, x_120, x_11); -lean_dec(x_116); -if (lean_obj_tag(x_121) == 0) -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = l_Lean_Elab_Info_range_x3f(x_115); -lean_dec(x_115); -x_125 = l_Std_Format_defWidth; -x_126 = lean_format_pretty(x_122, x_125); -if (lean_obj_tag(x_124) == 0) -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_object* x_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_inc_n(x_2, 2); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_2); -lean_ctor_set(x_127, 1, x_2); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -x_129 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_129, 0, x_128); -x_130 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_130, 0, x_129); -x_131 = lean_box(0); -x_132 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -x_133 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_133, 0, x_132); -x_134 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_134, 0, x_133); -x_37 = x_134; -x_38 = x_123; +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_2); +lean_ctor_set(x_109, 1, x_2); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +if (lean_is_scalar(x_72)) { + x_111 = lean_alloc_ctor(1, 1, 0); +} else { + x_111 = x_72; +} +lean_ctor_set(x_111, 0, x_110); +x_112 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_112, 0, x_111); +x_113 = lean_box(0); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +x_115 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_115, 0, x_114); +x_116 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_116, 0, x_115); +x_37 = x_116; +x_38 = x_76; goto block_67; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_135 = lean_ctor_get(x_124, 0); -lean_inc(x_135); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - x_136 = x_124; +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_117 = lean_ctor_get(x_106, 0); +lean_inc(x_117); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + x_118 = x_106; } else { - lean_dec_ref(x_124); - x_136 = lean_box(0); + lean_dec_ref(x_106); + x_118 = lean_box(0); } -x_137 = l_String_Range_toLspRange(x_1, x_135); -lean_dec(x_135); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_126); -lean_ctor_set(x_138, 1, x_137); -if (lean_is_scalar(x_136)) { - x_139 = lean_alloc_ctor(1, 1, 0); +x_119 = l_String_Range_toLspRange(x_1, x_117); +lean_dec(x_117); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_108); +lean_ctor_set(x_120, 1, x_119); +if (lean_is_scalar(x_118)) { + x_121 = lean_alloc_ctor(1, 1, 0); } else { - x_139 = x_136; + x_121 = x_118; } -lean_ctor_set(x_139, 0, x_138); -x_140 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_140, 0, x_139); -x_141 = lean_box(0); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_143, 0, x_142); -x_144 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_144, 0, x_143); -x_37 = x_144; -x_38 = x_123; +lean_ctor_set(x_121, 0, x_120); +if (lean_is_scalar(x_72)) { + x_122 = lean_alloc_ctor(1, 1, 0); +} else { + x_122 = x_72; +} +lean_ctor_set(x_122, 0, x_121); +x_123 = lean_box(0); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_125, 0, x_124); +x_126 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_126, 0, x_125); +x_37 = x_126; +x_38 = x_76; goto block_67; } } -else -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -lean_dec(x_115); -lean_dec(x_36); -lean_dec(x_35); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_145 = lean_ctor_get(x_121, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_121, 1); -lean_inc(x_146); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - lean_ctor_release(x_121, 1); - x_147 = x_121; -} else { - lean_dec_ref(x_121); - x_147 = lean_box(0); -} -if (lean_is_scalar(x_147)) { - x_148 = lean_alloc_ctor(1, 2, 0); -} else { - x_148 = x_147; -} -lean_ctor_set(x_148, 0, x_145); -lean_ctor_set(x_148, 1, x_146); -return x_148; -} -} -else -{ -lean_object* x_149; lean_object* x_150; -lean_dec(x_115); -lean_dec(x_114); -lean_inc(x_4); -x_149 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_149, 0, x_4); -x_150 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_150, 0, x_149); -x_37 = x_150; -x_38 = x_11; -goto block_67; -} } } block_67: @@ -29990,7 +31168,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1() { _start: { lean_object* x_1; @@ -29998,7 +31176,7 @@ x_1 = lean_mk_string("Cannot parse request params: "); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2() { _start: { lean_object* x_1; @@ -30006,7 +31184,7 @@ x_1 = lean_mk_string("\n"); return x_1; } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2(lean_object* x_1) { _start: { lean_object* x_2; @@ -30020,10 +31198,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -30043,10 +31221,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -30083,11 +31261,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -30137,7 +31315,7 @@ return x_11; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -30146,37 +31324,37 @@ x_2 = l_Lean_Json_mkObj(x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__2___closed__1; +x_2 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__2___closed__1; return x_2; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__2___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__2___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -30284,7 +31462,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -30296,7 +31474,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -30320,7 +31498,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -30361,19 +31539,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -30382,7 +31560,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -30408,7 +31586,7 @@ return x_17; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -30416,7 +31594,7 @@ x_1 = lean_mk_string("Failed to register LSP request handler for '"); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2() { _start: { lean_object* x_1; @@ -30424,7 +31602,7 @@ x_1 = lean_mk_string("': already registered"); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -30442,17 +31620,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -30474,17 +31652,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -30496,7 +31674,7 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1() { _start: { lean_object* x_1; @@ -30504,7 +31682,7 @@ x_1 = lean_mk_string("': only possible during initialization"); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -30526,10 +31704,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -30543,10 +31721,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -30563,7 +31741,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -30593,7 +31771,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__4(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__4(lean_object* x_1) { _start: { lean_object* x_2; @@ -30607,10 +31785,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -30630,10 +31808,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -30670,11 +31848,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__4(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__4(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -30724,7 +31902,7 @@ return x_11; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -30732,21 +31910,21 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__L return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__4(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__4(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -30854,7 +32032,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -30866,7 +32044,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -30890,7 +32068,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -30931,19 +32109,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -30952,7 +32130,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -30978,7 +32156,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -30996,17 +32174,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -31028,17 +32206,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -31050,7 +32228,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -31072,10 +32250,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -31089,10 +32267,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -31109,7 +32287,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__4(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } @@ -31139,7 +32317,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__6(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__6(lean_object* x_1) { _start: { lean_object* x_2; @@ -31153,10 +32331,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -31176,10 +32354,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -31216,11 +32394,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__6(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__6(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -31270,7 +32448,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -31290,29 +32468,29 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__6(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__6(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -31420,7 +32598,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -31432,7 +32610,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -31456,7 +32634,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -31497,19 +32675,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -31518,7 +32696,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -31544,7 +32722,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -31562,17 +32740,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -31594,17 +32772,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -31616,7 +32794,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -31638,10 +32816,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -31655,10 +32833,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -31675,7 +32853,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -31705,7 +32883,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__8(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__8(lean_object* x_1) { _start: { lean_object* x_2; @@ -31719,10 +32897,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -31742,10 +32920,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -31782,7 +32960,7 @@ return x_29; } } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__9(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__9(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -31811,11 +32989,11 @@ goto _start; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__8(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__8(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -31865,7 +33043,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -31874,36 +33052,36 @@ x_3 = lean_usize_of_nat(x_2); lean_dec(x_2); x_4 = 0; x_5 = x_1; -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__9(x_3, x_4, x_5); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__9(x_3, x_4, x_5); x_7 = x_6; x_8 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_8, 0, x_7); return x_8; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__8(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__8(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -32011,7 +33189,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -32023,7 +33201,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -32047,7 +33225,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -32088,19 +33266,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -32109,7 +33287,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -32135,7 +33313,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -32153,17 +33331,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -32185,17 +33363,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -32207,7 +33385,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -32229,10 +33407,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -32246,10 +33424,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -32266,7 +33444,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -32296,7 +33474,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__11(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__11(lean_object* x_1) { _start: { lean_object* x_2; @@ -32310,10 +33488,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -32333,10 +33511,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -32373,7 +33551,7 @@ return x_29; } } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__12(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__12(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -32402,11 +33580,11 @@ goto _start; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__11(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__11(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -32456,7 +33634,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -32465,36 +33643,36 @@ x_3 = lean_usize_of_nat(x_2); lean_dec(x_2); x_4 = 0; x_5 = x_1; -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__12(x_3, x_4, x_5); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__12(x_3, x_4, x_5); x_7 = x_6; x_8 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_8, 0, x_7); return x_8; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__11(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__11(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -32602,7 +33780,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -32614,7 +33792,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -32638,7 +33816,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -32679,19 +33857,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -32700,7 +33878,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -32726,7 +33904,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -32744,17 +33922,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -32776,17 +33954,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -32798,7 +33976,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -32820,10 +33998,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -32837,10 +34015,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -32857,7 +34035,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -32887,7 +34065,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__14(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__14(lean_object* x_1) { _start: { lean_object* x_2; @@ -32901,10 +34079,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -32924,10 +34102,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -32964,11 +34142,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__14(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__14(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -33009,7 +34187,7 @@ return x_8; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -33025,29 +34203,29 @@ lean_ctor_set(x_8, 0, x_7); return x_8; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__14(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__14(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -33155,7 +34333,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -33167,7 +34345,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -33191,7 +34369,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -33232,19 +34410,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -33253,7 +34431,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -33279,7 +34457,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -33297,17 +34475,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -33329,17 +34507,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -33351,7 +34529,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -33373,10 +34551,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -33390,10 +34568,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -33410,7 +34588,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -33440,7 +34618,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__16(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__16(lean_object* x_1) { _start: { lean_object* x_2; @@ -33454,10 +34632,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -33477,10 +34655,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -33517,11 +34695,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__16(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__16(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -33562,7 +34740,7 @@ return x_8; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -33570,21 +34748,21 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__L return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__16(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__16(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -33692,7 +34870,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -33704,7 +34882,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -33728,7 +34906,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -33769,19 +34947,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -33790,7 +34968,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -33816,7 +34994,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -33834,17 +35012,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -33866,17 +35044,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -33888,7 +35066,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -33910,10 +35088,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -33927,10 +35105,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -33947,7 +35125,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__4(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } @@ -33977,7 +35155,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__18(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__18(lean_object* x_1) { _start: { lean_object* x_2; @@ -33991,10 +35169,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -34014,10 +35192,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -34054,11 +35232,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__18(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__18(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -34108,11 +35286,11 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__18(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__18(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -34220,7 +35398,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -34232,7 +35410,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -34256,7 +35434,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -34297,19 +35475,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__2), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -34318,7 +35496,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -34344,7 +35522,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -34362,17 +35540,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -34394,17 +35572,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -34416,7 +35594,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -34438,10 +35616,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -34455,10 +35633,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -34475,7 +35653,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__4(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } @@ -34505,7 +35683,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__20(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__20(lean_object* x_1) { _start: { lean_object* x_2; @@ -34519,10 +35697,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -34542,10 +35720,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -34582,11 +35760,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__20(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__20(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -34636,7 +35814,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -34656,29 +35834,29 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__20(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__20(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -34786,7 +35964,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -34798,7 +35976,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -34822,7 +36000,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -34863,19 +36041,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -34884,7 +36062,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -34910,7 +36088,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -34928,17 +36106,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -34960,17 +36138,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -34982,7 +36160,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -35004,10 +36182,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -35021,10 +36199,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -35041,7 +36219,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -35071,7 +36249,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__22(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__22(lean_object* x_1) { _start: { lean_object* x_2; @@ -35085,10 +36263,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -35108,10 +36286,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -35148,11 +36326,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__22(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__22(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -35202,7 +36380,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -35222,29 +36400,29 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__22(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__22(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -35352,7 +36530,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -35364,7 +36542,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -35388,7 +36566,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -35429,19 +36607,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -35450,7 +36628,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -35476,7 +36654,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -35494,17 +36672,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -35526,17 +36704,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -35548,7 +36726,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -35570,10 +36748,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -35587,10 +36765,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -35607,7 +36785,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -35637,7 +36815,7 @@ return x_27; } } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__1() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__1() { _start: { lean_object* x_1; @@ -35645,7 +36823,7 @@ x_1 = lean_mk_string("textDocument/waitForDiagnostics"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__2() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__2() { _start: { lean_object* x_1; @@ -35653,7 +36831,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleWaitForDiagnosti return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__3() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__3() { _start: { lean_object* x_1; @@ -35661,7 +36839,7 @@ x_1 = lean_mk_string("textDocument/completion"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__4() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__4() { _start: { lean_object* x_1; @@ -35669,7 +36847,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleCompletion), 3, return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__5() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__5() { _start: { lean_object* x_1; @@ -35677,7 +36855,7 @@ x_1 = lean_mk_string("textDocument/hover"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__6() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__6() { _start: { lean_object* x_1; @@ -35685,7 +36863,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleHover), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__7() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__7() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -35696,7 +36874,7 @@ lean_closure_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__8() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__8() { _start: { lean_object* x_1; @@ -35704,7 +36882,7 @@ x_1 = lean_mk_string("textDocument/declaration"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__9() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__9() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -35715,7 +36893,7 @@ lean_closure_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__10() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__10() { _start: { lean_object* x_1; @@ -35723,7 +36901,7 @@ x_1 = lean_mk_string("textDocument/definition"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__11() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__11() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -35734,7 +36912,7 @@ lean_closure_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__12() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__12() { _start: { lean_object* x_1; @@ -35742,7 +36920,7 @@ x_1 = lean_mk_string("textDocument/typeDefinition"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__13() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__13() { _start: { lean_object* x_1; @@ -35750,7 +36928,7 @@ x_1 = lean_mk_string("textDocument/documentHighlight"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__14() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__14() { _start: { lean_object* x_1; @@ -35758,7 +36936,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentHighligh return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__15() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__15() { _start: { lean_object* x_1; @@ -35766,7 +36944,7 @@ x_1 = lean_mk_string("textDocument/documentSymbol"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__16() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__16() { _start: { lean_object* x_1; @@ -35774,7 +36952,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol__ return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__17() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__17() { _start: { lean_object* x_1; @@ -35782,7 +36960,7 @@ x_1 = lean_mk_string("textDocument/semanticTokens/full"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__18() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__18() { _start: { lean_object* x_1; @@ -35790,7 +36968,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokensFu return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__19() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__19() { _start: { lean_object* x_1; @@ -35798,7 +36976,7 @@ x_1 = lean_mk_string("textDocument/semanticTokens/range"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__20() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__20() { _start: { lean_object* x_1; @@ -35806,7 +36984,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokensRa return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__21() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__21() { _start: { lean_object* x_1; @@ -35814,7 +36992,7 @@ x_1 = lean_mk_string("$/lean/plainGoal"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__22() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__22() { _start: { lean_object* x_1; @@ -35822,7 +37000,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainGoal), 3, 0 return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__23() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__23() { _start: { lean_object* x_1; @@ -35830,7 +37008,7 @@ x_1 = lean_mk_string("$/lean/plainTermGoal"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__24() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__24() { _start: { lean_object* x_1; @@ -35838,112 +37016,112 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal), return x_1; } } -lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642_(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__1; -x_3 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__2; -x_4 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1(x_2, x_3, x_1); +x_2 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__1; +x_3 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__2; +x_4 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); -x_6 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__3; -x_7 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__4; -x_8 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3(x_6, x_7, x_5); +x_6 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__3; +x_7 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__4; +x_8 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3(x_6, x_7, x_5); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); lean_dec(x_8); -x_10 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__5; -x_11 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__6; -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5(x_10, x_11, x_9); +x_10 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__5; +x_11 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__6; +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5(x_10, x_11, x_9); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); -x_14 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__8; -x_15 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__7; -x_16 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7(x_14, x_15, x_13); +x_14 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__8; +x_15 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__7; +x_16 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7(x_14, x_15, x_13); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); -x_18 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__10; -x_19 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__9; -x_20 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7(x_18, x_19, x_17); +x_18 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__10; +x_19 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__9; +x_20 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7(x_18, x_19, x_17); if (lean_obj_tag(x_20) == 0) { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__12; -x_23 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__11; -x_24 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7(x_22, x_23, x_21); +x_22 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__12; +x_23 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__11; +x_24 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7(x_22, x_23, x_21); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); -x_26 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__13; -x_27 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__14; -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10(x_26, x_27, x_25); +x_26 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__13; +x_27 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__14; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10(x_26, x_27, x_25); if (lean_obj_tag(x_28) == 0) { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; x_29 = lean_ctor_get(x_28, 1); lean_inc(x_29); lean_dec(x_28); -x_30 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__15; -x_31 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__16; -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13(x_30, x_31, x_29); +x_30 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__15; +x_31 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__16; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13(x_30, x_31, x_29); if (lean_obj_tag(x_32) == 0) { lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); -x_34 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__17; -x_35 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__18; -x_36 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15(x_34, x_35, x_33); +x_34 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__17; +x_35 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__18; +x_36 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15(x_34, x_35, x_33); if (lean_obj_tag(x_36) == 0) { lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; x_37 = lean_ctor_get(x_36, 1); lean_inc(x_37); lean_dec(x_36); -x_38 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__19; -x_39 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__20; -x_40 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17(x_38, x_39, x_37); +x_38 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__19; +x_39 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__20; +x_40 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17(x_38, x_39, x_37); if (lean_obj_tag(x_40) == 0) { lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); -x_42 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__21; -x_43 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__22; -x_44 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19(x_42, x_43, x_41); +x_42 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__21; +x_43 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__22; +x_44 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19(x_42, x_43, x_41); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; x_45 = lean_ctor_get(x_44, 1); lean_inc(x_45); lean_dec(x_44); -x_46 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__23; -x_47 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__24; -x_48 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21(x_46, x_47, x_45); +x_46 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__23; +x_47 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__24; +x_48 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21(x_46, x_47, x_45); return x_48; } else @@ -36200,70 +37378,70 @@ return x_92; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__2___boxed(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__2___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__2(x_1); +x_2 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__2(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -36271,29 +37449,29 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__9(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__9(x_4, x_5, x_3); return x_6; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -36301,114 +37479,114 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__12(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__12(x_4, x_5, x_3); return x_6; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -36642,123 +37820,123 @@ l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2 = _ini lean_mark_persistent(l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2); l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1 = _init_l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1); -l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__1); -l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2 = _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__2___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__2___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___lambda__5___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__1___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__2___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__3___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__5___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__7___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__10___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__13___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__2___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__15___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__17___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__19___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____spec__21___lambda__4___closed__1); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__1 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__1); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__2 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__2); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__3 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__3); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__4 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__4); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__5 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__5(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__5); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__6 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__6(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__6); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__7 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__7(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__7); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__8 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__8(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__8); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__9 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__9(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__9); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__10 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__10(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__10); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__11 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__11(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__11); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__12 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__12(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__12); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__13 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__13(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__13); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__14 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__14(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__14); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__15 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__15(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__15); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__16 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__16(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__16); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__17 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__17(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__17); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__18 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__18(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__18); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__19 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__19(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__19); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__20 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__20(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__20); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__21 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__21(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__21); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__22 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__22(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__22); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__23 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__23(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__23); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__24 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__24(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642____closed__24); -res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6642_(lean_io_mk_world()); +l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__1); +l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2 = _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__2___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__2___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___lambda__5___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__1___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__2___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__3___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__5___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__7___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__10___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__13___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__2___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__15___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__17___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__19___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____spec__21___lambda__4___closed__1); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__1 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__1); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__2 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__2); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__3 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__3); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__4 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__4); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__5 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__5(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__5); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__6 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__6(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__6); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__7 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__7(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__7); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__8 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__8(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__8); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__9 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__9(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__9); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__10 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__10(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__10); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__11 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__11(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__11); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__12 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__12(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__12); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__13 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__13(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__13); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__14 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__14(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__14); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__15 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__15(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__15); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__16 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__16(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__16); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__17 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__17(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__17); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__18 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__18(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__18); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__19 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__19(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__19); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__20 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__20(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__20); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__21 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__21(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__21); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__22 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__22(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__22); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__23 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__23(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__23); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__24 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__24(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955____closed__24); +res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6955_(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/Syntax.c b/stage0/stdlib/Lean/Syntax.c index 7823bd2ecb..cdc1e9621e 100644 --- a/stage0/stdlib/Lean/Syntax.c +++ b/stage0/stdlib/Lean/Syntax.c @@ -30,6 +30,7 @@ lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_instForI uint8_t l_Lean_Syntax_isTokenAntiquot(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_instForInTopDownSyntax___spec__2___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Syntax_getQuotContent___closed__2; +lean_object* lean_erase_macro_scopes(lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotSpliceNode___closed__4; static lean_object* l_Lean_Syntax_isQuot_match__1___rarg___closed__2; static lean_object* l_Lean_Syntax_mkAntiquotNode___closed__3; @@ -58,6 +59,7 @@ lean_object* l_Lean_Syntax_antiquotSuffixSplice_x3f(lean_object*); lean_object* l_Lean_Syntax_mkAntiquotNode_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goRight___rarg(lean_object*); lean_object* l_Lean_Syntax_getIdAt(lean_object*, lean_object*); +lean_object* l_List_foldl___at_Lean_Syntax_identComponents___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_rewriteBottomUpM___at_Lean_Syntax_rewriteBottomUp___spec__1(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_SyntaxNode_withArgs_match__1(lean_object*); @@ -71,6 +73,7 @@ lean_object* l___private_Lean_Syntax_0__Lean_Syntax_updateInfo_match__1(lean_obj static lean_object* l_Lean_Syntax_getAtomVal_x21___closed__2; static lean_object* l_Lean_Syntax_isAntiquot_match__1___rarg___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_getCur(lean_object*); +lean_object* l_Lean_Syntax_identComponents_match__3(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goRight(lean_object*); static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_hasMissing___spec__1___closed__1; lean_object* l_Lean_Syntax_isAntiquot_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -79,6 +82,7 @@ static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_h lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkAntiquotSpliceNode(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Syntax_identComponents___closed__7; lean_object* l_Lean_Syntax_isQuot_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_instForInTopDownSyntax___spec__2___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Lean_Syntax_getAtomVal_x21___boxed(lean_object*); @@ -96,11 +100,15 @@ static lean_object* l_Lean_Syntax_MonadTraverser_goRight___rarg___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setAtomVal(lean_object*, lean_object*); lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_zipWith___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkAntiquotNode_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getAntiquotTerm(lean_object*); lean_object* l_Lean_SyntaxNode_getArg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_hasMissing___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_identComponents_nameComps(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_identComponents___boxed(lean_object*, lean_object*); +lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l_Lean_Syntax_reprint_reprintLeaf___closed__1; lean_object* l_Lean_Syntax_replaceM_match__1(lean_object*); lean_object* l_Lean_SourceInfo_updateTrailing_match__1(lean_object*); @@ -116,6 +124,7 @@ uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Syntax_MonadTraverser_goDown(lean_object*); lean_object* l_Lean_Syntax_reprint_reprintLeaf___boxed(lean_object*, lean_object*); lean_object* l_Array_back_x3f___rarg(lean_object*); +lean_object* l_List_foldl___at_Lean_Syntax_identComponents_nameComps___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkAntiquotNode(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailWithPos_match__1(lean_object*); lean_object* l___private_Lean_Syntax_0__Lean_Syntax_updateLeadingAux_match__1(lean_object*); @@ -128,7 +137,9 @@ lean_object* l_Lean_SyntaxNode_getKind(lean_object*); lean_object* l_Lean_SyntaxNode_getArgs(lean_object*); lean_object* l_Lean_Syntax_rewriteBottomUp(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_hasMissing___closed__3; +static lean_object* l_Lean_Syntax_identComponents___closed__2; lean_object* l_Lean_Syntax_ifNode(lean_object*); +lean_object* l_Lean_Syntax_identComponents_match__1(lean_object*); lean_object* l_Lean_Syntax_Traverser_setCur(lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur___rarg___lambda__1(lean_object*); static lean_object* l_Lean_Syntax_antiquotKind_x3f___closed__1; @@ -151,18 +162,22 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_instForInTopDownSyntax___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_updateTrailing(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Syntax_identComponents___closed__1; lean_object* l_Lean_Syntax_mkAntiquotSpliceNode___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Syntax_reprint_reprintLeaf___closed__2; +lean_object* l_List_zip___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___rarg___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_replaceM_match__2(lean_object*); lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_instForInTopDownSyntax___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getIdx(lean_object*); +static lean_object* l_Lean_Syntax_identComponents___closed__8; lean_object* l_Array_mapMUnsafe_map___at_Lean_Syntax_updateLeading___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotSpliceNode___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___rarg(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goDown___rarg(lean_object*, lean_object*); lean_object* l_Lean_SyntaxNode_getKind_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_identComponents_nameComps_match__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Syntax_updateLeading___spec__2(size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailWithPos_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_unreachIsNodeMissing(lean_object*, lean_object*); @@ -173,8 +188,10 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_updateLeading(lean_object*); lean_object* l_Lean_Syntax_hasMissing_match__1(lean_object*); lean_object* l___private_Lean_Syntax_0__Lean_Syntax_chooseNiceTrailStop(lean_object*); +static lean_object* l_Lean_Syntax_identComponents___closed__5; static lean_object* l_Lean_Syntax_isQuot_match__1___rarg___closed__4; lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_identComponents(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotNode___closed__14; lean_object* l_Lean_Syntax_reprint_reprintLeaf(lean_object*, lean_object*); lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop_match__1(lean_object*, lean_object*); @@ -185,15 +202,19 @@ lean_object* l_Lean_Syntax_replaceM_match__1___rarg(lean_object*, lean_object*, static lean_object* l_Lean_Syntax_mkAntiquotNode___closed__15; lean_object* l_Lean_Syntax_antiquotSuffixSplice_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_hasMissing___spec__1(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_identComponents_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_setCur___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getAtomVal_x21_match__1(lean_object*); lean_object* l_Lean_Syntax_antiquotSuffixSplice_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_reprint___spec__2___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotNode___closed__5; +static lean_object* l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__3; +static lean_object* l_Lean_Syntax_identComponents___closed__4; lean_object* l_Lean_Syntax_antiquotSpliceKind_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_setAtomVal_match__1(lean_object*); lean_object* l___private_Lean_Syntax_0__Lean_Syntax_updateInfo_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotSpliceNode___closed__3; +static lean_object* l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_setCur(lean_object*); static lean_object* l_Lean_Syntax_MonadTraverser_goLeft___rarg___closed__1; lean_object* l_Lean_SyntaxNode_modifyArgs(lean_object*, lean_object*); @@ -209,8 +230,12 @@ lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_hasMissi uint8_t l_Lean_Syntax_hasMissing___lambda__1(lean_object*); lean_object* l_Lean_Syntax_instForInTopDownSyntax_match__1(lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotNode___closed__19; +static lean_object* l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__2; +static lean_object* l_Lean_Syntax_identComponents___closed__9; static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_reprint___spec__2___closed__1; lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_reprint___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_List_map___at_Lean_Syntax_identComponents___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_splitNameLit(lean_object*); lean_object* l_Lean_Syntax_instForInTopDownSyntax___rarg___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotSpliceNode___closed__6; static lean_object* l_Lean_Syntax_getAtomVal_x21___closed__3; @@ -221,6 +246,7 @@ lean_object* l_Lean_Syntax_MonadTraverser_goUp(lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotNode___closed__9; uint8_t l_Lean_Syntax_isAntiquot(lean_object*); lean_object* l_Lean_Syntax_ifNode___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_identComponents_nameComps___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotNode___closed__17; static lean_object* l_Lean_Syntax_mkAntiquotSpliceNode___closed__5; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2___boxed(lean_object*); @@ -233,6 +259,7 @@ lean_object* l_Lean_Syntax_Traverser_fromSyntax(lean_object*); lean_object* l_Lean_unreachIsNodeAtom(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkAntiquotNode___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_replaceM_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_List_drop___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotNode___closed__1; uint8_t l_Lean_Syntax_isMissing(lean_object*); lean_object* l_Lean_Syntax_replaceM___at_Lean_Syntax_updateLeading___spec__1(lean_object*, lean_object*); @@ -245,24 +272,32 @@ lean_object* l_Lean_Syntax_instForInTopDownSyntax___rarg(lean_object*, lean_obje static lean_object* l_Lean_Syntax_mkAntiquotNode___closed__8; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Lean_Syntax_Traverser_down(lean_object*, lean_object*); +lean_object* l_List_foldl___at_Lean_Syntax_identComponents___spec__2(lean_object*, lean_object*); lean_object* l_Lean_SyntaxNode_withArgs_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_updateTrailing_match__1(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getIdx___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_updateTrailing(lean_object*, lean_object*); lean_object* l_Lean_Syntax_rewriteBottomUpM___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_identComponents_match__2(lean_object*); static lean_object* l_Lean_Syntax_getQuotContent___closed__3; +uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_asNode___closed__1; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); +lean_object* l_List_map___at_Lean_Syntax_identComponents___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getAntiquotSpliceSuffix(lean_object*); +lean_object* l_List_map___at_Lean_Syntax_identComponents___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_right(lean_object*); lean_object* l_Lean_SyntaxNode_withArgs___rarg(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_identComponents_match__2___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_identComponents_nameComps_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_topDown(lean_object*, uint8_t); static lean_object* l_Lean_Syntax_MonadTraverser_goUp___rarg___closed__1; lean_object* l_Lean_unreachIsNodeAtom___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Syntax_identComponents___closed__3; lean_object* l___private_Lean_Syntax_0__Lean_Syntax_updateLeadingAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotNode___closed__2; lean_object* l_Lean_Syntax_MonadTraverser_getIdx___rarg(lean_object*, lean_object*); @@ -294,6 +329,7 @@ lean_object* lean_array_pop(lean_object*); lean_object* l_Lean_Syntax_isAntiquotSuffixSplice___boxed(lean_object*); lean_object* l_Lean_Syntax_ifNode_match__1(lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_identComponents_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___private_Lean_Syntax_0__Lean_Syntax_updateLeadingAux(lean_object*, lean_object*); lean_object* l_Lean_mkListNode(lean_object*); @@ -305,6 +341,7 @@ static lean_object* l_Lean_Syntax_hasMissing___closed__2; static lean_object* l_Lean_Syntax_mkAntiquotNode___closed__6; lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Syntax_getTailWithPos___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_updateTrailing_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_List_map___at_Lean_Syntax_identComponents___spec__3(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isEscapedAntiquot(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_setCur___rarg___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_hasMissing___closed__1; @@ -312,6 +349,7 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkAntiquotSpliceNode___closed__7; lean_object* l_Lean_Syntax_isAntiquot___boxed(lean_object*); lean_object* l_Lean_Syntax_replaceM___at_Lean_Syntax_updateLeading___spec__1___boxed__const__1; +lean_object* l_List_take___rarg(lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_getPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Syntax_asNode(lean_object*); lean_object* l_Lean_Syntax_antiquotSpliceKind_x3f(lean_object*); @@ -319,10 +357,13 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_reprint___spec__3___boxed lean_object* l_Lean_unreachIsNodeIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getAtomVal_x21(lean_object*); +lean_object* l_Nat_min(lean_object*, lean_object*); lean_object* l_Lean_Syntax_antiquotSuffixSplice_x3f_match__1(lean_object*); lean_object* l_Lean_Syntax_ifNodeKind___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); +static lean_object* l_Lean_Syntax_identComponents___closed__6; lean_object* l_Lean_SyntaxNode_getKind_match__1(lean_object*); lean_object* l_Lean_Syntax_Traverser_left(lean_object*); lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_instForInTopDownSyntax___spec__1___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); @@ -331,6 +372,7 @@ lean_object* l_Lean_Syntax_getAntiquotSpliceSuffix___boxed(lean_object*); lean_object* l_Lean_Syntax_isQuot___boxed(lean_object*); lean_object* l_Lean_Syntax_modifyArgs(lean_object*, lean_object*); lean_object* l_Lean_SyntaxNode_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Name_components(lean_object*); lean_object* l_Lean_Syntax_antiquotKind_x3f(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Syntax_rewriteBottomUp___spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Syntax_rewriteBottomUp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -2769,6 +2811,1014 @@ lean_dec(x_1); return x_4; } } +lean_object* l_Lean_Syntax_identComponents_nameComps_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Syntax_identComponents_nameComps_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_identComponents_nameComps_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_identComponents_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Syntax_identComponents_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_identComponents_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_identComponents_match__2___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Syntax_identComponents_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_identComponents_match__2___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_identComponents_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 3) +{ +lean_object* x_5; +lean_dec(x_4); +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_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 2); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 3); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_5, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +x_11 = lean_ctor_get(x_5, 2); +lean_inc(x_11); +x_12 = lean_ctor_get(x_5, 3); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_apply_7(x_2, x_9, x_10, x_11, x_12, x_6, x_7, x_8); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_2); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +x_15 = lean_ctor_get(x_1, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_1, 3); +lean_inc(x_16); +lean_dec(x_1); +x_17 = lean_apply_4(x_3, x_5, x_14, x_15, x_16); +return x_17; +} +} +else +{ +lean_object* x_18; +lean_dec(x_3); +lean_dec(x_2); +x_18 = lean_apply_1(x_4, x_1); +return x_18; +} +} +} +lean_object* l_Lean_Syntax_identComponents_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_identComponents_match__3___rarg), 4, 0); +return x_2; +} +} +lean_object* l_List_foldl___at_Lean_Syntax_identComponents_nameComps___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l_Lean_Name_append(x_1, x_3); +lean_dec(x_1); +x_1 = x_5; +x_2 = x_4; +goto _start; +} +} +} +lean_object* l_Lean_Syntax_identComponents_nameComps(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = l_Lean_Name_components(x_1); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 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_4 = lean_ctor_get(x_2, 0); +x_5 = l_Lean_Name_components(x_1); +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_List_lengthAux___rarg(x_5, x_6); +x_8 = lean_nat_sub(x_7, x_4); +lean_dec(x_7); +lean_inc(x_5); +x_9 = l_List_take___rarg(x_8, x_5); +x_10 = lean_box(0); +x_11 = l_List_foldl___at_Lean_Syntax_identComponents_nameComps___spec__1(x_10, x_9); +x_12 = l_List_drop___rarg(x_8, x_5); +lean_dec(x_5); +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; +} +} +} +lean_object* l_Lean_Syntax_identComponents_nameComps___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Syntax_identComponents_nameComps(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +static lean_object* _init_l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__2; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_List_map___at_Lean_Syntax_identComponents___spec__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_dec(x_4); +lean_dec(x_2); +x_6 = lean_box(0); +return x_6; +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +lean_inc(x_4); +lean_inc(x_2); +x_10 = l_List_map___at_Lean_Syntax_identComponents___spec__1(x_1, x_2, x_3, x_4, x_9); +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_8, 1); +lean_inc(x_12); +lean_dec(x_8); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 1); +x_15 = lean_nat_sub(x_13, x_14); +lean_dec(x_13); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_eq(x_15, x_16); +x_18 = lean_ctor_get(x_12, 2); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 2); +x_20 = lean_nat_dec_eq(x_18, x_19); +lean_dec(x_18); +x_21 = lean_nat_add(x_3, x_15); +lean_dec(x_15); +x_22 = lean_box(0); +if (x_17 == 0) +{ +lean_dec(x_2); +if (x_20 == 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_dec(x_4); +x_23 = lean_ctor_get(x_12, 1); +lean_inc(x_23); +x_24 = lean_ctor_get(x_12, 2); +lean_inc(x_24); +x_25 = lean_nat_sub(x_24, x_23); +lean_dec(x_23); +lean_dec(x_24); +x_26 = lean_nat_add(x_21, x_25); +lean_dec(x_25); +x_27 = l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__3; +x_28 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 2, x_27); +lean_ctor_set(x_28, 3, x_26); +x_29 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_12); +lean_ctor_set(x_29, 2, x_11); +lean_ctor_set(x_29, 3, x_22); +lean_ctor_set(x_5, 1, x_10); +lean_ctor_set(x_5, 0, x_29); +return x_5; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_30 = lean_ctor_get(x_12, 1); +lean_inc(x_30); +x_31 = lean_ctor_get(x_12, 2); +lean_inc(x_31); +x_32 = lean_nat_sub(x_31, x_30); +lean_dec(x_30); +lean_dec(x_31); +x_33 = lean_nat_add(x_21, x_32); +lean_dec(x_32); +x_34 = l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__3; +x_35 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_21); +lean_ctor_set(x_35, 2, x_4); +lean_ctor_set(x_35, 3, x_33); +x_36 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_12); +lean_ctor_set(x_36, 2, x_11); +lean_ctor_set(x_36, 3, x_22); +lean_ctor_set(x_5, 1, x_10); +lean_ctor_set(x_5, 0, x_36); +return x_5; +} +} +else +{ +if (x_20 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_4); +x_37 = lean_ctor_get(x_12, 1); +lean_inc(x_37); +x_38 = lean_ctor_get(x_12, 2); +lean_inc(x_38); +x_39 = lean_nat_sub(x_38, x_37); +lean_dec(x_37); +lean_dec(x_38); +x_40 = lean_nat_add(x_21, x_39); +lean_dec(x_39); +x_41 = l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__3; +x_42 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_42, 0, x_2); +lean_ctor_set(x_42, 1, x_21); +lean_ctor_set(x_42, 2, x_41); +lean_ctor_set(x_42, 3, x_40); +x_43 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_12); +lean_ctor_set(x_43, 2, x_11); +lean_ctor_set(x_43, 3, x_22); +lean_ctor_set(x_5, 1, x_10); +lean_ctor_set(x_5, 0, x_43); +return x_5; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_44 = lean_ctor_get(x_12, 1); +lean_inc(x_44); +x_45 = lean_ctor_get(x_12, 2); +lean_inc(x_45); +x_46 = lean_nat_sub(x_45, x_44); +lean_dec(x_44); +lean_dec(x_45); +x_47 = lean_nat_add(x_21, x_46); +lean_dec(x_46); +x_48 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_48, 0, x_2); +lean_ctor_set(x_48, 1, x_21); +lean_ctor_set(x_48, 2, x_4); +lean_ctor_set(x_48, 3, x_47); +x_49 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_12); +lean_ctor_set(x_49, 2, x_11); +lean_ctor_set(x_49, 3, x_22); +lean_ctor_set(x_5, 1, x_10); +lean_ctor_set(x_5, 0, x_49); +return x_5; +} +} +} +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; uint8_t x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; +x_50 = lean_ctor_get(x_5, 0); +x_51 = lean_ctor_get(x_5, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_5); +lean_inc(x_4); +lean_inc(x_2); +x_52 = l_List_map___at_Lean_Syntax_identComponents___spec__1(x_1, x_2, x_3, x_4, x_51); +x_53 = lean_ctor_get(x_50, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_50, 1); +lean_inc(x_54); +lean_dec(x_50); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +x_56 = lean_ctor_get(x_1, 1); +x_57 = lean_nat_sub(x_55, x_56); +lean_dec(x_55); +x_58 = lean_unsigned_to_nat(0u); +x_59 = lean_nat_dec_eq(x_57, x_58); +x_60 = lean_ctor_get(x_54, 2); +lean_inc(x_60); +x_61 = lean_ctor_get(x_1, 2); +x_62 = lean_nat_dec_eq(x_60, x_61); +lean_dec(x_60); +x_63 = lean_nat_add(x_3, x_57); +lean_dec(x_57); +x_64 = lean_box(0); +if (x_59 == 0) +{ +lean_dec(x_2); +if (x_62 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_4); +x_65 = lean_ctor_get(x_54, 1); +lean_inc(x_65); +x_66 = lean_ctor_get(x_54, 2); +lean_inc(x_66); +x_67 = lean_nat_sub(x_66, x_65); +lean_dec(x_65); +lean_dec(x_66); +x_68 = lean_nat_add(x_63, x_67); +lean_dec(x_67); +x_69 = l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__3; +x_70 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_63); +lean_ctor_set(x_70, 2, x_69); +lean_ctor_set(x_70, 3, x_68); +x_71 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_54); +lean_ctor_set(x_71, 2, x_53); +lean_ctor_set(x_71, 3, x_64); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_52); +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; lean_object* x_79; lean_object* x_80; +x_73 = lean_ctor_get(x_54, 1); +lean_inc(x_73); +x_74 = lean_ctor_get(x_54, 2); +lean_inc(x_74); +x_75 = lean_nat_sub(x_74, x_73); +lean_dec(x_73); +lean_dec(x_74); +x_76 = lean_nat_add(x_63, x_75); +lean_dec(x_75); +x_77 = l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__3; +x_78 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_63); +lean_ctor_set(x_78, 2, x_4); +lean_ctor_set(x_78, 3, x_76); +x_79 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_54); +lean_ctor_set(x_79, 2, x_53); +lean_ctor_set(x_79, 3, x_64); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_52); +return x_80; +} +} +else +{ +if (x_62 == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_dec(x_4); +x_81 = lean_ctor_get(x_54, 1); +lean_inc(x_81); +x_82 = lean_ctor_get(x_54, 2); +lean_inc(x_82); +x_83 = lean_nat_sub(x_82, x_81); +lean_dec(x_81); +lean_dec(x_82); +x_84 = lean_nat_add(x_63, x_83); +lean_dec(x_83); +x_85 = l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__3; +x_86 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_86, 0, x_2); +lean_ctor_set(x_86, 1, x_63); +lean_ctor_set(x_86, 2, x_85); +lean_ctor_set(x_86, 3, x_84); +x_87 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_54); +lean_ctor_set(x_87, 2, x_53); +lean_ctor_set(x_87, 3, x_64); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_52); +return x_88; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_89 = lean_ctor_get(x_54, 1); +lean_inc(x_89); +x_90 = lean_ctor_get(x_54, 2); +lean_inc(x_90); +x_91 = lean_nat_sub(x_90, x_89); +lean_dec(x_89); +lean_dec(x_90); +x_92 = lean_nat_add(x_63, x_91); +lean_dec(x_91); +x_93 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_93, 0, x_2); +lean_ctor_set(x_93, 1, x_63); +lean_ctor_set(x_93, 2, x_4); +lean_ctor_set(x_93, 3, x_92); +x_94 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_54); +lean_ctor_set(x_94, 2, x_53); +lean_ctor_set(x_94, 3, x_64); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_52); +return x_95; +} +} +} +} +} +} +lean_object* l_List_foldl___at_Lean_Syntax_identComponents___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = lean_ctor_get(x_3, 1); +x_6 = lean_ctor_get(x_3, 2); +x_7 = lean_nat_sub(x_6, x_5); +x_8 = lean_nat_add(x_1, x_7); +lean_dec(x_7); +lean_dec(x_1); +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_8, x_9); +lean_dec(x_8); +x_1 = x_10; +x_2 = x_4; +goto _start; +} +} +} +lean_object* l_List_map___at_Lean_Syntax_identComponents___spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +x_7 = 1; +lean_inc(x_5); +x_8 = l_Lean_Name_toString(x_5, x_7); +x_9 = lean_string_utf8_byte_size(x_8); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_11, 0, x_8); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set(x_11, 2, x_9); +x_12 = lean_box(0); +lean_inc(x_1); +x_13 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 1, x_11); +lean_ctor_set(x_13, 2, x_5); +lean_ctor_set(x_13, 3, x_12); +x_14 = l_List_map___at_Lean_Syntax_identComponents___spec__3(x_1, x_6); +lean_ctor_set(x_2, 1, x_14); +lean_ctor_set(x_2, 0, x_13); +return x_2; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +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 = 1; +lean_inc(x_15); +x_18 = l_Lean_Name_toString(x_15, x_17); +x_19 = lean_string_utf8_byte_size(x_18); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_21, 2, x_19); +x_22 = lean_box(0); +lean_inc(x_1); +x_23 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_23, 0, x_1); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_23, 2, x_15); +lean_ctor_set(x_23, 3, x_22); +x_24 = l_List_map___at_Lean_Syntax_identComponents___spec__3(x_1, x_16); +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_Lean_Syntax_identComponents___spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +x_7 = 1; +lean_inc(x_5); +x_8 = l_Lean_Name_toString(x_5, x_7); +x_9 = lean_string_utf8_byte_size(x_8); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_11, 0, x_8); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set(x_11, 2, x_9); +x_12 = lean_box(0); +lean_inc(x_1); +x_13 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 1, x_11); +lean_ctor_set(x_13, 2, x_5); +lean_ctor_set(x_13, 3, x_12); +x_14 = l_List_map___at_Lean_Syntax_identComponents___spec__4(x_1, x_6); +lean_ctor_set(x_2, 1, x_14); +lean_ctor_set(x_2, 0, x_13); +return x_2; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +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 = 1; +lean_inc(x_15); +x_18 = l_Lean_Name_toString(x_15, x_17); +x_19 = lean_string_utf8_byte_size(x_18); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_21, 2, x_19); +x_22 = lean_box(0); +lean_inc(x_1); +x_23 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_23, 0, x_1); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_23, 2, x_15); +lean_ctor_set(x_23, 3, x_22); +x_24 = l_List_map___at_Lean_Syntax_identComponents___spec__4(x_1, x_16); +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; +} +} +} +} +static lean_object* _init_l_Lean_Syntax_identComponents___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Syntax.identComponents"); +return x_1; +} +} +static lean_object* _init_l_Lean_Syntax_identComponents___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unreachable code has been reached"); +return x_1; +} +} +static lean_object* _init_l_Lean_Syntax_identComponents___closed__3() { +_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_getAtomVal_x21___closed__1; +x_2 = l_Lean_Syntax_identComponents___closed__1; +x_3 = lean_unsigned_to_nat(208u); +x_4 = lean_unsigned_to_nat(9u); +x_5 = l_Lean_Syntax_identComponents___closed__2; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Syntax_identComponents___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("assertion violation: "); +return x_1; +} +} +static lean_object* _init_l_Lean_Syntax_identComponents___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("nameComps.length == rawComps.length\n "); +return x_1; +} +} +static lean_object* _init_l_Lean_Syntax_identComponents___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Syntax_identComponents___closed__4; +x_2 = l_Lean_Syntax_identComponents___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Syntax_identComponents___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Syntax_getAtomVal_x21___closed__1; +x_2 = l_Lean_Syntax_identComponents___closed__1; +x_3 = lean_unsigned_to_nat(195u); +x_4 = lean_unsigned_to_nat(4u); +x_5 = l_Lean_Syntax_identComponents___closed__6; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Syntax_identComponents___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_List_zip___rarg___lambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Syntax_identComponents___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +return x_3; +} +} +lean_object* l_Lean_Syntax_identComponents(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 3) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +switch (lean_obj_tag(x_3)) { +case 0: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 2); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_3, 2); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_erase_macro_scopes(x_5); +x_10 = l_Lean_Syntax_identComponents_nameComps(x_9, x_2); +lean_inc(x_4); +x_11 = l_Lean_Syntax_splitNameLit(x_4); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_List_lengthAux___rarg(x_10, x_12); +if (lean_obj_tag(x_2) == 0) +{ +x_14 = x_11; +goto block_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_24 = lean_ctor_get(x_2, 0); +x_25 = l_List_lengthAux___rarg(x_11, x_12); +x_26 = lean_nat_sub(x_25, x_24); +lean_dec(x_25); +lean_inc(x_11); +x_27 = l_List_take___rarg(x_26, x_11); +x_28 = l_List_foldl___at_Lean_Syntax_identComponents___spec__2(x_12, x_27); +lean_dec(x_27); +x_29 = lean_unsigned_to_nat(1u); +x_30 = lean_nat_sub(x_28, x_29); +lean_dec(x_28); +x_31 = l_List_drop___rarg(x_26, x_11); +lean_dec(x_11); +x_32 = lean_ctor_get(x_4, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_4, 1); +lean_inc(x_33); +x_34 = lean_ctor_get(x_4, 2); +lean_inc(x_34); +x_35 = lean_nat_dec_le(x_30, x_12); +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; +x_36 = lean_nat_add(x_33, x_12); +x_37 = l_Nat_min(x_34, x_36); +lean_dec(x_36); +x_38 = lean_nat_add(x_33, x_30); +lean_dec(x_30); +lean_dec(x_33); +x_39 = l_Nat_min(x_34, x_38); +lean_dec(x_38); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_40, 0, x_32); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_39); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_31); +x_14 = x_41; +goto block_23; +} +else +{ +lean_object* x_42; lean_object* x_43; +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_30); +x_42 = l_Lean_Syntax_identComponents___closed__9; +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_31); +x_14 = x_43; +goto block_23; +} +} +block_23: +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_List_lengthAux___rarg(x_14, x_12); +x_16 = lean_nat_dec_eq(x_13, x_15); +lean_dec(x_15); +lean_dec(x_13); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_17 = lean_box(0); +x_18 = l_Lean_Syntax_identComponents___closed__7; +x_19 = lean_panic_fn(x_17, x_18); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = l_Lean_Syntax_identComponents___closed__8; +x_21 = l_List_zipWith___rarg(x_20, x_10, x_14); +x_22 = l_List_map___at_Lean_Syntax_identComponents___spec__1(x_4, x_6, x_7, x_8, x_21); +lean_dec(x_7); +lean_dec(x_4); +return x_22; +} +} +} +case 1: +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_1, 2); +lean_inc(x_44); +lean_dec(x_1); +x_45 = lean_erase_macro_scopes(x_44); +x_46 = l_Lean_Syntax_identComponents_nameComps(x_45, x_2); +x_47 = l_List_map___at_Lean_Syntax_identComponents___spec__3(x_3, x_46); +return x_47; +} +default: +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_1, 2); +lean_inc(x_48); +lean_dec(x_1); +x_49 = lean_erase_macro_scopes(x_48); +x_50 = l_Lean_Syntax_identComponents_nameComps(x_49, x_2); +x_51 = l_List_map___at_Lean_Syntax_identComponents___spec__4(x_3, x_50); +return x_51; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_1); +x_52 = lean_box(0); +x_53 = l_Lean_Syntax_identComponents___closed__3; +x_54 = lean_panic_fn(x_52, x_53); +return x_54; +} +} +} +lean_object* l_List_map___at_Lean_Syntax_identComponents___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_List_map___at_Lean_Syntax_identComponents___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_List_foldl___at_Lean_Syntax_identComponents___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_List_foldl___at_Lean_Syntax_identComponents___spec__2(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l_Lean_Syntax_identComponents___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Syntax_identComponents(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} lean_object* l_Lean_Syntax_topDown(lean_object* x_1, uint8_t x_2) { _start: { @@ -3736,14 +4786,6 @@ static lean_object* _init_l_Lean_Syntax_reprint_reprintLeaf___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string(""); -return x_1; -} -} -static lean_object* _init_l_Lean_Syntax_reprint_reprintLeaf___closed__2() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string(" "); return x_1; } @@ -3760,7 +4802,7 @@ x_5 = lean_ctor_get(x_3, 0); x_6 = lean_ctor_get(x_3, 1); x_7 = lean_ctor_get(x_3, 2); x_8 = lean_string_utf8_extract(x_5, x_6, x_7); -x_9 = l_Lean_Syntax_reprint_reprintLeaf___closed__1; +x_9 = l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__1; x_10 = lean_string_append(x_9, x_8); lean_dec(x_8); x_11 = lean_string_append(x_10, x_9); @@ -3778,7 +4820,7 @@ return x_19; else { lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = l_Lean_Syntax_reprint_reprintLeaf___closed__2; +x_20 = l_Lean_Syntax_reprint_reprintLeaf___closed__1; x_21 = lean_string_append(x_20, x_2); x_22 = lean_string_append(x_21, x_20); return x_22; @@ -4371,7 +5413,7 @@ _start: { uint8_t x_2; lean_object* x_3; lean_object* x_4; x_2 = 1; -x_3 = l_Lean_Syntax_reprint_reprintLeaf___closed__1; +x_3 = l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__1; x_4 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_reprint___spec__2(x_2, x_1, x_3); if (lean_obj_tag(x_4) == 0) { @@ -8719,10 +9761,32 @@ l_Lean_Syntax_asNode___closed__2 = _init_l_Lean_Syntax_asNode___closed__2(); lean_mark_persistent(l_Lean_Syntax_asNode___closed__2); l_Lean_Syntax_replaceM___at_Lean_Syntax_updateLeading___spec__1___boxed__const__1 = _init_l_Lean_Syntax_replaceM___at_Lean_Syntax_updateLeading___spec__1___boxed__const__1(); lean_mark_persistent(l_Lean_Syntax_replaceM___at_Lean_Syntax_updateLeading___spec__1___boxed__const__1); +l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__1 = _init_l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__1(); +lean_mark_persistent(l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__1); +l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__2 = _init_l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__2(); +lean_mark_persistent(l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__2); +l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__3 = _init_l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__3(); +lean_mark_persistent(l_List_map___at_Lean_Syntax_identComponents___spec__1___closed__3); +l_Lean_Syntax_identComponents___closed__1 = _init_l_Lean_Syntax_identComponents___closed__1(); +lean_mark_persistent(l_Lean_Syntax_identComponents___closed__1); +l_Lean_Syntax_identComponents___closed__2 = _init_l_Lean_Syntax_identComponents___closed__2(); +lean_mark_persistent(l_Lean_Syntax_identComponents___closed__2); +l_Lean_Syntax_identComponents___closed__3 = _init_l_Lean_Syntax_identComponents___closed__3(); +lean_mark_persistent(l_Lean_Syntax_identComponents___closed__3); +l_Lean_Syntax_identComponents___closed__4 = _init_l_Lean_Syntax_identComponents___closed__4(); +lean_mark_persistent(l_Lean_Syntax_identComponents___closed__4); +l_Lean_Syntax_identComponents___closed__5 = _init_l_Lean_Syntax_identComponents___closed__5(); +lean_mark_persistent(l_Lean_Syntax_identComponents___closed__5); +l_Lean_Syntax_identComponents___closed__6 = _init_l_Lean_Syntax_identComponents___closed__6(); +lean_mark_persistent(l_Lean_Syntax_identComponents___closed__6); +l_Lean_Syntax_identComponents___closed__7 = _init_l_Lean_Syntax_identComponents___closed__7(); +lean_mark_persistent(l_Lean_Syntax_identComponents___closed__7); +l_Lean_Syntax_identComponents___closed__8 = _init_l_Lean_Syntax_identComponents___closed__8(); +lean_mark_persistent(l_Lean_Syntax_identComponents___closed__8); +l_Lean_Syntax_identComponents___closed__9 = _init_l_Lean_Syntax_identComponents___closed__9(); +lean_mark_persistent(l_Lean_Syntax_identComponents___closed__9); l_Lean_Syntax_reprint_reprintLeaf___closed__1 = _init_l_Lean_Syntax_reprint_reprintLeaf___closed__1(); lean_mark_persistent(l_Lean_Syntax_reprint_reprintLeaf___closed__1); -l_Lean_Syntax_reprint_reprintLeaf___closed__2 = _init_l_Lean_Syntax_reprint_reprintLeaf___closed__2(); -lean_mark_persistent(l_Lean_Syntax_reprint_reprintLeaf___closed__2); l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_reprint___spec__2___closed__1 = _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_reprint___spec__2___closed__1(); lean_mark_persistent(l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_reprint___spec__2___closed__1); l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_hasMissing___spec__1___closed__1 = _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Syntax_hasMissing___spec__1___closed__1();