From 687ce2fe67aeae805fe598a7571a5fcb7f3db17b Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Tue, 30 Mar 2021 13:32:06 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Data/Repr.lean | 2 + stage0/src/Init/Meta.lean | 5 + stage0/src/Init/Prelude.lean | 2 +- stage0/src/Lean/Elab/Binders.lean | 24 +- stage0/src/Lean/Elab/InfoTree.lean | 10 + stage0/src/Lean/Elab/Match.lean | 23 +- stage0/src/Lean/Elab/Tactic/Basic.lean | 30 +- stage0/src/Lean/Server/FileWorker.lean | 23 +- stage0/src/Lean/Server/InfoUtils.lean | 55 +- stage0/stdlib/Init/Data/Repr.c | 489 +++ stage0/stdlib/Init/Meta.c | 481 ++- stage0/stdlib/Init/Prelude.c | 65 +- stage0/stdlib/Lean/Compiler/IR/Format.c | 14 +- stage0/stdlib/Lean/Data/Format.c | 8 +- stage0/stdlib/Lean/Data/Lsp/Diagnostics.c | 4 +- .../stdlib/Lean/Data/Lsp/LanguageFeatures.c | 49 +- stage0/stdlib/Lean/Data/Lsp/TextSync.c | 24 +- stage0/stdlib/Lean/Data/Position.c | 18 +- stage0/stdlib/Lean/Data/Trie.c | 16 +- stage0/stdlib/Lean/Declaration.c | 104 +- stage0/stdlib/Lean/DeclarationRange.c | 28 +- stage0/stdlib/Lean/Elab/Binders.c | 1827 ++++----- stage0/stdlib/Lean/Elab/InfoTree.c | 522 ++- stage0/stdlib/Lean/Elab/Match.c | 792 ++-- stage0/stdlib/Lean/Elab/Quotation.c | 6 +- stage0/stdlib/Lean/Elab/StructInst.c | 4 +- stage0/stdlib/Lean/Elab/Tactic/Basic.c | 942 +++-- stage0/stdlib/Lean/Elab/Tactic/Match.c | 4 +- stage0/stdlib/Lean/Environment.c | 4 +- stage0/stdlib/Lean/Expr.c | 4 +- stage0/stdlib/Lean/Message.c | 12 +- stage0/stdlib/Lean/Meta/AppBuilder.c | 4 +- stage0/stdlib/Lean/Meta/PPGoal.c | 6 +- stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c | 32 +- .../Lean/Meta/Tactic/Simp/CongrLemmas.c | 38 +- stage0/stdlib/Lean/Meta/TransparencyMode.c | 150 +- stage0/stdlib/Lean/Parser/Tactic.c | 12 +- stage0/stdlib/Lean/Parser/Term.c | 4 +- .../Lean/PrettyPrinter/Delaborator/Basic.c | 4 +- stage0/stdlib/Lean/ReducibilityAttrs.c | 8 +- stage0/stdlib/Lean/Server/FileWorker.c | 3544 +++++++++-------- stage0/stdlib/Lean/Server/InfoUtils.c | 1455 ++----- 42 files changed, 5741 insertions(+), 5107 deletions(-) diff --git a/stage0/src/Init/Data/Repr.lean b/stage0/src/Init/Data/Repr.lean index 7c35f6e7e4..ec662a76c4 100644 --- a/stage0/src/Init/Data/Repr.lean +++ b/stage0/src/Init/Data/Repr.lean @@ -244,3 +244,5 @@ instance : ReprAtom UInt16 := ⟨⟩ instance : ReprAtom UInt32 := ⟨⟩ instance : ReprAtom UInt64 := ⟨⟩ instance : ReprAtom USize := ⟨⟩ + +deriving instance Repr for Lean.SourceInfo diff --git a/stage0/src/Init/Meta.lean b/stage0/src/Init/Meta.lean index bf1f28d811..7aba0ef4c1 100644 --- a/stage0/src/Init/Meta.lean +++ b/stage0/src/Init/Meta.lean @@ -166,6 +166,11 @@ partial def getTailInfo? : Syntax → Option SourceInfo def getTailInfo (stx : Syntax) : SourceInfo := stx.getTailInfo?.getD SourceInfo.none +def getTrailingSize (stx : Syntax) : Nat := + match stx.getTailInfo? with + | some (SourceInfo.original (trailing := trailing) ..) => trailing.bsize + | _ => 0 + @[specialize] private partial def updateLast {α} [Inhabited α] (a : Array α) (f : α → Option α) (i : Nat) : Option (Array α) := if i == 0 then none diff --git a/stage0/src/Init/Prelude.lean b/stage0/src/Init/Prelude.lean index 90aa08709c..beaf59bb4f 100644 --- a/stage0/src/Init/Prelude.lean +++ b/stage0/src/Init/Prelude.lean @@ -1764,7 +1764,7 @@ partial def getTailPos? (stx : Syntax) (originalOnly := false) : Option String.P | node _ args, _ => let rec loop (i : Nat) : Option String.Pos := match decide (Less i args.size) with - | true => match getTailPos? (args.get! ((args.size.sub i).sub 1)) with + | true => match getTailPos? (args.get! ((args.size.sub i).sub 1)) originalOnly with | some info => some info | none => loop (hAdd i 1) | false => none diff --git a/stage0/src/Lean/Elab/Binders.lean b/stage0/src/Lean/Elab/Binders.lean index 2262b51276..8aabee0a0b 100644 --- a/stage0/src/Lean/Elab/Binders.lean +++ b/stage0/src/Lean/Elab/Binders.lean @@ -391,7 +391,8 @@ private def expandMatchAltsIntoMatchAux (matchAlts : Syntax) (matchTactic : Bool `(match $[$discrs:term],* with $matchAlts:matchAlts) | n+1, discrs => withFreshMacroScope do let x ← `(x) - let body ← expandMatchAltsIntoMatchAux matchAlts matchTactic n (discrs.push x) + let d ← `(@$x:ident) -- See comment below + let body ← expandMatchAltsIntoMatchAux matchAlts matchTactic n (discrs.push d) if matchTactic then `(tactic| intro $x:term; $body:tactic) else @@ -407,17 +408,31 @@ private def expandMatchAltsIntoMatchAux (matchAlts : Syntax) (matchTactic : Bool expands into (for tactic == false) ``` fun x_1 x_2 => - match x_1, x_2 with + match @x_1, @x_2 with | 0, true => alt_1 | i, _ => alt_2 ``` and (for tactic == true) ``` intro x_1; intro x_2; - match x_1, x_2 with + match @x_1, @x_2 with | 0, true => alt_1 | i, _ => alt_2 ``` + + Remark: we add `@` to make sure we don't consume implicit arguments, and to make the behavior consistent with `fun`. + Example: + ``` + inductive T : Type 1 := + | mkT : (forall {a : Type}, a -> a) -> T + + def makeT (f : forall {a : Type}, a -> a) : T := + mkT f + + def makeT' : (forall {a : Type}, a -> a) -> T + | f => mkT f + ``` + The two definitions should be elaborated without errors and be equivalent. -/ def expandMatchAltsIntoMatch (ref : Syntax) (matchAlts : Syntax) (tactic := false) : MacroM Syntax := withRef ref <| expandMatchAltsIntoMatchAux matchAlts tactic (getMatchAltsNumPatterns matchAlts) #[] @@ -466,7 +481,8 @@ def expandMatchAltsWhereDecls (matchAltsWhereDecls : Syntax) : MacroM Syntax := expandWhereDeclsOpt whereDeclsOpt matchStx | n+1 => withFreshMacroScope do let x ← `(x) - let body ← loop n (discrs.push x) + let d ← `(@$x:ident) -- See comment at `expandMatchAltsIntoMatch` + let body ← loop n (discrs.push d) `(@fun $x => $body) loop (getMatchAltsNumPatterns matchAlts) #[] diff --git a/stage0/src/Lean/Elab/InfoTree.lean b/stage0/src/Lean/Elab/InfoTree.lean index 7c29e2fa79..4b55314acd 100644 --- a/stage0/src/Lean/Elab/InfoTree.lean +++ b/stage0/src/Lean/Elab/InfoTree.lean @@ -76,6 +76,16 @@ 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 := + match t with + | context _ t => findInfo? p t + | node i ts => + if p i then + some t + else + ts.findSome? (findInfo? p) + | _ => none + structure InfoState where enabled : Bool := false assignment : PersistentHashMap MVarId InfoTree := {} -- map from holeId to InfoTree diff --git a/stage0/src/Lean/Elab/Match.lean b/stage0/src/Lean/Elab/Match.lean index aff8b3e912..370e2ce6d9 100644 --- a/stage0/src/Lean/Elab/Match.lean +++ b/stage0/src/Lean/Elab/Match.lean @@ -34,10 +34,6 @@ private def expandSimpleMatch (stx discr lhsVar rhs : Syntax) (expectedType? : O let newStx ← `(let $lhsVar := $discr; $rhs) withMacroExpansion stx newStx <| elabTerm newStx expectedType? -private def expandSimpleMatchWithType (stx discr lhsVar type rhs : Syntax) (expectedType? : Option Expr) : TermElabM Expr := do - let newStx ← `(let $lhsVar : $type := $discr; $rhs) - withMacroExpansion stx newStx <| elabTerm newStx expectedType? - private def elabDiscrsWitMatchType (discrStxs : Array Syntax) (matchType : Expr) (expectedType : Expr) : TermElabM (Array Expr × Bool) := do let mut discrs := #[] let mut i := 0 @@ -68,10 +64,19 @@ private def mkUserNameFor (e : Expr) : TermElabM Name := do def isAuxDiscrName (n : Name) : Bool := n.hasMacroScopes && n.eraseMacroScopes == `_discr +/- We treat `@x` as atomic to avoid unnecessary extra local declarations from being + inserted into the local context. Recall that `expandMatchAltsIntoMatch` uses `@` modifier. + Thus this is kind of discriminant is quite common. -/ +def isAtomicDiscr? (discr : Syntax) : TermElabM (Option Expr) := do + match discr with + | `($x:ident) => isLocalIdent? x + | `(@$x:ident) => isLocalIdent? x + | _ => return none + -- See expandNonAtomicDiscrs? private def elabAtomicDiscr (discr : Syntax) : TermElabM Expr := do let term := discr[1] - match (← isLocalIdent? term) with + match (← isAtomicDiscr? term) with | some e@(Expr.fvar fvarId _) => let localDecl ← getLocalDecl fvarId if !isAuxDiscrName localDecl.userName then @@ -959,7 +964,7 @@ private def expandNonAtomicDiscrs? (matchStx : Syntax) : TermElabM (Option Synta let matchOptType := getMatchOptType matchStx; if matchOptType.isNone then do let discrs := getDiscrs matchStx; - let allLocal ← discrs.allM fun discr => Option.isSome <$> isLocalIdent? discr[1] + let allLocal ← discrs.allM fun discr => Option.isSome <$> isAtomicDiscr? discr[1] if allLocal then return none else @@ -981,7 +986,7 @@ private def expandNonAtomicDiscrs? (matchStx : Syntax) : TermElabM (Option Synta let discrNew := discr.setArg 1 d; let r ← loop discrs (discrsNew.push discrNew) foundFVars `(let _discr := $term; $r) - match (← isLocalIdent? term) with + match (← isAtomicDiscr? term) with | some x => if x.isFVar then loop discrs (discrsNew.push discr) (foundFVars.insert x.fvarId!) else addAux | none => addAux return some (← loop discrs.toList #[] {}) @@ -1001,7 +1006,7 @@ private def tryPostponeIfDiscrTypeIsMVar (matchStx : Syntax) : TermElabM Unit := let discrs := getDiscrs matchStx for discr in discrs do let term := discr[1] - match (← isLocalIdent? term) with + match (← isAtomicDiscr? term) with | none => throwErrorAt discr "unexpected discriminant" -- see `expandNonAtomicDiscrs? | some d => let dType ← inferType d @@ -1077,8 +1082,6 @@ where match stx with | `(match $discr:term with | $y:ident => $rhs:term) => if (← isPatternVar y) then expandSimpleMatch stx discr y rhs expectedType? else elabMatchDefault stx expectedType? - | `(match $discr:term : $type with | $y:ident => $rhs:term) => - if (← isPatternVar y) then expandSimpleMatchWithType stx discr y type rhs expectedType? else elabMatchDefault stx expectedType? | _ => elabMatchDefault stx expectedType? where elabMatchDefault (stx : Syntax) (expectedType? : Option Expr) : TermElabM Expr := do diff --git a/stage0/src/Lean/Elab/Tactic/Basic.lean b/stage0/src/Lean/Elab/Tactic/Basic.lean index 10bd1cea16..614a8bdfff 100644 --- a/stage0/src/Lean/Elab/Tactic/Basic.lean +++ b/stage0/src/Lean/Elab/Tactic/Basic.lean @@ -169,6 +169,17 @@ mutual end +/- + Save the current tactic state for a token `stx`. + This method is a no-op if `stx` has no position information. + We use this method to save the tactic state at punctuation such as `;` +-/ +def saveTacticInfoForToken (stx : Syntax) : TacticM Unit := do + unless stx.getPos?.isNone do + let mctxBefore ← getMCtx + let goalsBefore ← getGoals + withInfoContext (pure ()) (mkTacticInfo mctxBefore goalsBefore stx) + /- Elaborate `x` with `stx` on the macro stack -/ @[inline] def withMacroExpansion {α} (beforeStx afterStx : Syntax) (x : TacticM α) : TacticM α := @@ -342,17 +353,28 @@ def tagUntaggedGoals (parentTag : Name) (newSuffix : Name) (newGoals : List MVar idx := idx + 1 pure mctx -@[builtinTactic seq1] def evalSeq1 : Tactic := fun stx => - stx[0].getSepArgs.forM evalTactic +@[builtinTactic seq1] def evalSeq1 : Tactic := fun stx => do + let args := stx[0].getArgs + for i in [:args.size] do + if i % 2 == 0 then + evalTactic args[i] + else + saveTacticInfoForToken args[i] -- add `TacticInfo` node for `;` @[builtinTactic paren] def evalParen : Tactic := fun stx => evalTactic stx[1] +/- Evaluate `many (group (tactic >> optional ";")) -/ +private def evalManyTacticOptSemi (stx : Syntax) : TacticM Unit := do + stx.forArgsM fun seqElem => do + evalTactic seqElem[0] + saveTacticInfoForToken seqElem[1] -- add TacticInfo node for `;` + @[builtinTactic tacticSeq1Indented] def evalTacticSeq1Indented : Tactic := fun stx => - stx[0].forArgsM fun seqElem => evalTactic seqElem[0] + evalManyTacticOptSemi stx[0] @[builtinTactic tacticSeqBracketed] def evalTacticSeqBracketed : Tactic := fun stx => - withRef stx[2] <| focusAndDone <| stx[1].forArgsM fun seqElem => evalTactic seqElem[0] + withRef stx[2] <| focusAndDone <| evalManyTacticOptSemi stx[1] @[builtinTactic Parser.Tactic.focus] def evalFocus : Tactic := fun stx => focus <| evalTactic stx[1] diff --git a/stage0/src/Lean/Server/FileWorker.lean b/stage0/src/Lean/Server/FileWorker.lean index b2275a3e96..e0234e5bd6 100644 --- a/stage0/src/Lean/Server/FileWorker.lean +++ b/stage0/src/Lean/Server/FileWorker.lean @@ -430,9 +430,11 @@ section RequestHandling withWaitFindSnap doc (fun s => s.endPos > hoverPos) (notFoundX := return none) fun snap => do for t in snap.toCmdState.infoState.trees do - if let some (ci, ti) := t.goalsAt? hoverPos then - let ci := { ci with mctx := ti.mctxAfter } - let goals ← ci.runMetaM {} <| ti.goalsAfter.mapM (fun g => Meta.withPPInaccessibleNames (Meta.ppGoal g)) + if let rs@(_ :: _) := t.goalsAt? hoverPos then + let goals ← List.join <$> rs.mapM fun { ctxInfo := ci, tacticInfo := ti, useAfter := useAfter } => + let ci := if useAfter then { ci with mctx := ti.mctxAfter } else { ci with mctx := ti.mctxBefore } + let goals := if useAfter then ti.goalsAfter else ti.goalsBefore + ci.runMetaM {} <| goals.mapM (fun g => Meta.withPPInaccessibleNames (Meta.ppGoal g)) let md := if goals.isEmpty then "no goals" @@ -574,13 +576,14 @@ section RequestHandling highlightId (stx : Syntax) : ReaderT SemanticTokensContext (StateT SemanticTokensState IO) _ := do if let (some pos, some tailPos) := (stx.getPos?, stx.getTailPos?) then for t in (← read).infoState.trees do - for (ci, i) in t.deepestNodes (fun i => match i.pos? with - | some ipos => pos <= ipos && ipos < tailPos - | _ => false) do - if let Elab.Info.ofTermInfo ti := i then - match ti.expr with - | Expr.fvar .. => addToken ti.stx SemanticTokenType.variable - | _ => if ti.stx.getPos?.get! > pos then addToken ti.stx SemanticTokenType.property + for ti in t.deepestNodes (fun + | _, i@(Elab.Info.ofTermInfo ti) => match i.pos? with + | some ipos => if pos <= ipos && ipos < tailPos then some ti else none + | _ => none + | _, _ => none) do + match ti.expr with + | Expr.fvar .. => addToken ti.stx SemanticTokenType.variable + | _ => if ti.stx.getPos?.get! > pos then addToken ti.stx SemanticTokenType.property highlightKeyword stx := do if let Syntax.atom info val := stx then if val.bsize > 0 && val[0].isAlpha then diff --git a/stage0/src/Lean/Server/InfoUtils.lean b/stage0/src/Lean/Server/InfoUtils.lean index 98acdc394c..eaa0facdb7 100644 --- a/stage0/src/Lean/Server/InfoUtils.lean +++ b/stage0/src/Lean/Server/InfoUtils.lean @@ -13,7 +13,7 @@ namespace Lean.Elab /-- For every branch, find the deepest node in that branch matching `p` with a surrounding context (the innermost one) and return all of them. -/ -partial def InfoTree.deepestNodes (p : Info → Bool) : InfoTree → List (ContextInfo × Info) := +partial def InfoTree.deepestNodes (p : ContextInfo → Info → Option α) : InfoTree → List α := go none where go ctx? | context ctx t => go ctx t @@ -22,9 +22,11 @@ where go ctx? let ccs := cs.map (go ctx?) let cs := ccs.join if !cs.isEmpty then cs - else match ctx?, p i with - | some ctx, true => [(ctx, i)] - | _, _ => [] + else match ctx? with + | some ctx => match p ctx i with + | some a => [a] + | _ => [] + | _ => [] | _ => [] def Info.stx : Info → Syntax @@ -41,7 +43,7 @@ def Info.tailPos? (i : Info) : Option String.Pos := i.stx.getTailPos? (originalOnly := true) def InfoTree.smallestInfo? (p : Info → Bool) (t : InfoTree) : Option (ContextInfo × Info) := - let ts := t.deepestNodes p + let ts := t.deepestNodes fun ctx i => if p i then some (ctx, i) else none let infos := ts.map fun (ci, i) => let diff := i.tailPos?.get! - i.pos?.get! @@ -103,27 +105,28 @@ def Info.fmtHover? (ci : ContextInfo) (i : Info) : IO (Option Format) := do | _ => return none -/-- Return a flattened list of smallest-in-span tactic info nodes, sorted by position. -/ -partial def InfoTree.smallestTacticStates (t : InfoTree) : Array (String.Pos × ContextInfo × TacticInfo) := - let ts := tacticLeaves t - let ts := ts.filterMap fun - | (ci, i@(Info.ofTacticInfo ti)) => some (i.pos?.get!, ci, ti) - | _ => none - ts.toArray.qsort fun a b => a.1 < b.1 -where tacticLeaves t := - t.deepestNodes fun - | i@(Info.ofTacticInfo _) => i.pos?.isSome ∧ i.tailPos?.isSome - | _ => false +structure GoalsAtResult where + ctxInfo : ContextInfo + tacticInfo : TacticInfo + useAfter : Bool -partial def InfoTree.goalsAt? (t : InfoTree) (hoverPos : String.Pos) : Option (ContextInfo × TacticInfo) := - let ts := t.smallestTacticStates - -- The extent of a tactic state is (pos, pos of next tactic) - let extents := ts.mapIdx fun i (p, _, ti) => - (p, if h : (i.val+1) < ts.size then - ts.get ⟨i.val+1, h⟩ |>.1 - else - ti.stx.getTailPos?.get!) - let idx? := extents.findIdx? fun (p, tp) => p ≤ hoverPos ∧ hoverPos < tp - idx?.map fun idx => ts.get! idx |> fun (_, ci, ti) => (ci, ti) +/- + Try to retrieve `TacticInfo` for `hoverPos`. + We retrieve the `TacticInfo` `info`, if there is a node of the form `node (ofTacticInfo info) children` s.t. + - If `hoverPos <= headPos && hoverPos < endPos + getTrailingSize` and + - None of the `children` can provide satisfy the condition above. That is, for composite tactics such as + `induction`, we always give preference for information stored in nested (children) tactics. + + Moreover, we instruct the LSP server to use the state after the tactic execution If hoverPos >= endPos +-/ +partial def InfoTree.goalsAt? (t : InfoTree) (hoverPos : String.Pos) : List GoalsAtResult := do + t.deepestNodes fun + | ctx, i@(Info.ofTacticInfo ti) => OptionM.run do + let (some pos, some tailPos) ← pure (i.pos?, i.tailPos?) + | failure + let trailSize := i.stx.getTrailingSize + guard <| pos ≤ hoverPos ∧ hoverPos < tailPos + trailSize + return { ctxInfo := ctx, tacticInfo := ti, useAfter := hoverPos >= tailPos } + | _, _ => none end Lean.Elab diff --git a/stage0/stdlib/Init/Data/Repr.c b/stage0/stdlib/Init/Data/Repr.c index f131e4ed3f..b578ca46fc 100644 --- a/stage0/stdlib/Init/Data/Repr.c +++ b/stage0/stdlib/Init/Data/Repr.c @@ -25,6 +25,7 @@ lean_object* l_instReprIterator(lean_object*, lean_object*); lean_object* l_instReprPUnit___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1346____closed__7; lean_object* l_instReprOption___rarg___closed__1; +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__13; lean_object* l_instReprOption___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_instReprSigma___rarg___closed__2; @@ -40,6 +41,7 @@ extern lean_object* l_Std_Format_defWidth; lean_object* l_instReprProd(lean_object*, lean_object*); lean_object* l_Char_repr(uint32_t); lean_object* l_instReprDecidable___rarg___closed__3; +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__5; lean_object* l_instReprProd___rarg___closed__2; lean_object* l_instReprChar(uint32_t, lean_object*); lean_object* l_instReprProd___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -48,6 +50,7 @@ extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; lean_object* l_instReprPUnit___boxed(lean_object*, lean_object*); lean_object* l_Nat_toSuperDigitsAux_match__1(lean_object*); lean_object* l_instReprSigma___rarg___closed__1; +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__7; lean_object* l_instReprUSize(size_t, lean_object*); lean_object* l_instReprNat(lean_object*, lean_object*); lean_object* l_instReprBool___closed__1; @@ -70,7 +73,9 @@ extern lean_object* l_Std_Format_sbracket___closed__4; lean_object* l_Std_Format_joinSep___at_instReprProd___spec__1(lean_object*, lean_object*); lean_object* l_String_quote___closed__1; lean_object* l_String_quote___boxed(lean_object*); +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348_(lean_object*, lean_object*); extern lean_object* l_Std_Format_paren___closed__2; +lean_object* l_instReprSourceInfo; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_instReprProd___rarg___closed__1; lean_object* l_instReprDecidable___rarg___closed__4; @@ -78,15 +83,18 @@ lean_object* l_instReprBool___closed__2; lean_object* l_String_quote___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_instReprId___rarg___boxed(lean_object*); lean_object* l_Std_Format_joinSep___at_instReprList___spec__1(lean_object*); +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instReprAtomNat; lean_object* l_instReprSum___rarg___closed__2; lean_object* l_String_quote___closed__3; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_instReprBool_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_instReprAtomUInt16; +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__3; lean_object* l_instReprBool___closed__4; lean_object* l_Char_quoteCore___closed__1; lean_object* l_Char_quoteCore___boxed(lean_object*); +extern lean_object* l_Int_Int_pow___closed__1; lean_object* l_instReprOption___rarg___closed__3; lean_object* l_instReprDecidable_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_reprStr___rarg(lean_object*, lean_object*); @@ -100,6 +108,7 @@ lean_object* l_instReprDecidable(lean_object*); lean_object* l_instReprFin___boxed(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_reprArg___rarg(lean_object*, lean_object*); +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__10; lean_object* l_instReprTuple(lean_object*); lean_object* l_instReprSubstring___boxed(lean_object*, lean_object*); lean_object* l_instReprString(lean_object*, lean_object*); @@ -113,6 +122,8 @@ lean_object* l_instReprIterator___closed__1; lean_object* l_instReprList___rarg___closed__1; lean_object* l_instReprIterator___boxed(lean_object*, lean_object*); lean_object* l_Std_Format_joinSep___at_instReprList___spec__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348__match__1(lean_object*); +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__12; lean_object* l_instReprInt(lean_object*, lean_object*); lean_object* l_repr___rarg(lean_object*, lean_object*); lean_object* l_instReprAtomUSize; @@ -163,7 +174,9 @@ lean_object* l_instReprSubstring(lean_object*, lean_object*); lean_object* l_instReprDecidable_match__1(lean_object*, lean_object*); lean_object* l_Char_quoteCore___closed__3; lean_object* l_instReprULift___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__11; extern lean_object* l_term_x2d_____closed__3; +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__9; uint8_t l_UInt32_decEq(uint32_t, uint32_t); extern lean_object* l_term_x5b___x5d___closed__5; lean_object* l_instReprString___boxed(lean_object*, lean_object*); @@ -204,8 +217,11 @@ lean_object* l_instReprULift___rarg___closed__2; lean_object* l_instReprSigma(lean_object*, lean_object*); lean_object* lean_uint64_to_nat(uint64_t); lean_object* l_instReprULift___rarg___closed__1; +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__1; lean_object* l_instReprDecidable_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instReprSigma___rarg___closed__4; +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__2; lean_object* lean_string_length(lean_object*); lean_object* l_instReprTupleProd_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_sbracket___closed__2; @@ -220,11 +236,14 @@ lean_object* l_instReprFin___rarg(lean_object*, lean_object*); lean_object* lean_uint16_to_nat(uint16_t); lean_object* l_repr(lean_object*); lean_object* lean_usize_to_nat(size_t); +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__6; lean_object* l_Nat_toDigitsCore_match__1(lean_object*); +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__8; lean_object* l_instReprOption___rarg___closed__4; lean_object* l_Char_quoteCore(uint32_t); lean_object* l_instReprOption(lean_object*); lean_object* l_instReprSigma___rarg___closed__6; +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____boxed(lean_object*, lean_object*); lean_object* l_instReprChar___boxed(lean_object*, lean_object*); lean_object* lean_uint32_to_nat(uint32_t); lean_object* l_instReprList__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -244,6 +263,7 @@ lean_object* l_instReprSum___rarg(lean_object*, lean_object*, lean_object*, lean lean_object* l_instReprOption_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_reprArg(lean_object*); lean_object* l_Repr_addAppParen(lean_object*, lean_object*); +lean_object* l_instReprSourceInfo___closed__1; lean_object* l_instReprNat___boxed(lean_object*, lean_object*); lean_object* l_repr___rarg(lean_object* x_1, lean_object* x_2) { _start: @@ -2962,6 +2982,445 @@ x_1 = lean_box(0); return x_1; } } +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348__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_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 2); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_apply_3(x_2, x_5, x_6, x_7); +return x_8; +} +case 1: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +lean_dec(x_2); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_apply_2(x_3, x_9, x_10); +return x_11; +} +default: +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_3); +lean_dec(x_2); +x_12 = lean_box(0); +x_13 = lean_apply_1(x_4, x_12); +return x_13; +} +} +} +} +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348__match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348__match__1___rarg), 4, 0); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.SourceInfo.original"); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____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_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____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_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____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_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.SourceInfo.synthetic"); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__5; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__6; +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_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.SourceInfo.none"); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__8; +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_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; +x_2 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__9; +x_3 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__11() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__10; +x_2 = 0; +x_3 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Int_Int_pow___closed__1; +x_2 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__9; +x_3 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__13() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__12; +x_2 = 0; +x_3 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348_(lean_object* x_1, lean_object* x_2) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; +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_unsigned_to_nat(1024u); +x_7 = lean_nat_dec_le(x_6, x_2); +x_8 = l_Nat_repr(x_4); +x_9 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_9, 0, x_8); +if (x_7 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_3, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_3, 2); +lean_inc(x_12); +lean_dec(x_3); +x_13 = lean_string_utf8_extract(x_10, x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_14 = l_String_quote(x_13); +lean_dec(x_13); +x_15 = l_instReprSubstring___closed__1; +x_16 = lean_string_append(x_14, x_15); +x_17 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__3; +x_19 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_box(1); +x_21 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_9); +x_23 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_20); +x_24 = lean_ctor_get(x_5, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_5, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_5, 2); +lean_inc(x_26); +lean_dec(x_5); +x_27 = lean_string_utf8_extract(x_24, x_25, x_26); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_24); +x_28 = l_String_quote(x_27); +lean_dec(x_27); +x_29 = lean_string_append(x_28, x_15); +x_30 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_31, 0, x_23); +lean_ctor_set(x_31, 1, x_30); +x_32 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; +x_33 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = 0; +x_35 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set_uint8(x_35, sizeof(void*)*1, x_34); +x_36 = l_Repr_addAppParen(x_35, x_2); +return x_36; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; 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; uint8_t x_61; lean_object* x_62; lean_object* x_63; +x_37 = lean_ctor_get(x_3, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_3, 1); +lean_inc(x_38); +x_39 = lean_ctor_get(x_3, 2); +lean_inc(x_39); +lean_dec(x_3); +x_40 = lean_string_utf8_extract(x_37, x_38, x_39); +lean_dec(x_39); +lean_dec(x_38); +lean_dec(x_37); +x_41 = l_String_quote(x_40); +lean_dec(x_40); +x_42 = l_instReprSubstring___closed__1; +x_43 = lean_string_append(x_41, x_42); +x_44 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__3; +x_46 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = lean_box(1); +x_48 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_9); +x_50 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_47); +x_51 = lean_ctor_get(x_5, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_5, 1); +lean_inc(x_52); +x_53 = lean_ctor_get(x_5, 2); +lean_inc(x_53); +lean_dec(x_5); +x_54 = lean_string_utf8_extract(x_51, x_52, x_53); +lean_dec(x_53); +lean_dec(x_52); +lean_dec(x_51); +x_55 = l_String_quote(x_54); +lean_dec(x_54); +x_56 = lean_string_append(x_55, x_42); +x_57 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_57, 0, x_56); +x_58 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_58, 0, x_50); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Int_Int_pow___closed__1; +x_60 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = 0; +x_62 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set_uint8(x_62, sizeof(void*)*1, x_61); +x_63 = l_Repr_addAppParen(x_62, x_2); +return x_63; +} +} +case 1: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_64 = lean_ctor_get(x_1, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_1, 1); +lean_inc(x_65); +lean_dec(x_1); +x_66 = lean_unsigned_to_nat(1024u); +x_67 = lean_nat_dec_le(x_66, x_2); +x_68 = l_Nat_repr(x_64); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__7; +x_71 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +x_72 = lean_box(1); +x_73 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Nat_repr(x_65); +x_75 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_75, 0, x_74); +x_76 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_75); +if (x_67 == 0) +{ +lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; +x_77 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; +x_78 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_76); +x_79 = 0; +x_80 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set_uint8(x_80, sizeof(void*)*1, x_79); +x_81 = l_Repr_addAppParen(x_80, x_2); +return x_81; +} +else +{ +lean_object* x_82; lean_object* x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; +x_82 = l_Int_Int_pow___closed__1; +x_83 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_76); +x_84 = 0; +x_85 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set_uint8(x_85, sizeof(void*)*1, x_84); +x_86 = l_Repr_addAppParen(x_85, x_2); +return x_86; +} +} +default: +{ +lean_object* x_87; uint8_t x_88; +x_87 = lean_unsigned_to_nat(1024u); +x_88 = lean_nat_dec_le(x_87, x_2); +if (x_88 == 0) +{ +lean_object* x_89; lean_object* x_90; +x_89 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__11; +x_90 = l_Repr_addAppParen(x_89, x_2); +return x_90; +} +else +{ +lean_object* x_91; lean_object* x_92; +x_91 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__13; +x_92 = l_Repr_addAppParen(x_91, x_2); +return x_92; +} +} +} +} +} +lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348_(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_instReprSourceInfo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_instReprSourceInfo() { +_start: +{ +lean_object* x_1; +x_1 = l_instReprSourceInfo___closed__1; +return x_1; +} +} lean_object* initialize_Init_Data_Format_Basic(lean_object*); lean_object* initialize_Init_Data_Int_Basic(lean_object*); lean_object* initialize_Init_Data_Nat_Div(lean_object*); @@ -3099,6 +3558,36 @@ l_instReprAtomUInt64 = _init_l_instReprAtomUInt64(); lean_mark_persistent(l_instReprAtomUInt64); l_instReprAtomUSize = _init_l_instReprAtomUSize(); lean_mark_persistent(l_instReprAtomUSize); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__1 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__1(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__1); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__2 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__2(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__2); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__3 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__3(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__3); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__5 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__5(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__5); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__6 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__6(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__6); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__7 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__7(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__7); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__8 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__8(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__8); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__9 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__9(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__9); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__10 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__10(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__10); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__11 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__11(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__11); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__12 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__12(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__12); +l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__13 = _init_l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__13(); +lean_mark_persistent(l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__13); +l_instReprSourceInfo___closed__1 = _init_l_instReprSourceInfo___closed__1(); +lean_mark_persistent(l_instReprSourceInfo___closed__1); +l_instReprSourceInfo = _init_l_instReprSourceInfo(); +lean_mark_persistent(l_instReprSourceInfo); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Meta.c b/stage0/stdlib/Init/Meta.c index a66e8bd5f1..dfc11a37cd 100644 --- a/stage0/stdlib/Init/Meta.c +++ b/stage0/stdlib/Init/Meta.c @@ -27,7 +27,6 @@ lean_object* l_Lean_Syntax_setInfo_match__1___rarg(lean_object*, lean_object*, l size_t l_USize_add(size_t, size_t); extern lean_object* l_Lean_fieldIdxKind; lean_object* l_Lean_Syntax_isNatLit_x3f___boxed(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__26; lean_object* l_Lean_Syntax_setTailInfoAux(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__5; extern lean_object* l_myMacro____x40_Init_Notation___hyg_14458____closed__14; @@ -38,6 +37,7 @@ lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterExp___boxed(lea lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); extern lean_object* l_instReprOption___rarg___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_Syntax_getTrailingSize(lean_object*); 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; @@ -48,6 +48,7 @@ extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); uint8_t l_USize_decEq(size_t, size_t); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6117____boxed(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); uint32_t l_Lean_idBeginEscape; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar_match__1(lean_object*); @@ -77,7 +78,6 @@ lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__7; uint8_t l_Lean_Meta_Simp_Config_ctorEq___default; 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*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__11; uint8_t l_Lean_Meta_Simp_Config_memoize___default; lean_object* l_Lean_Syntax_getHead_x3f(lean_object*); uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); @@ -97,6 +97,7 @@ lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_findAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_getHead_x3f___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l_Char_isDigit(uint32_t); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__26; extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; lean_object* l_Lean_Syntax_setTailInfo_match__1(lean_object*); lean_object* l_Lean_withHeadRefOnly___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -111,6 +112,7 @@ lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__5; extern lean_object* l_instReprBool___closed__1; lean_object* l_Lean_isIdRest___boxed(lean_object*); lean_object* l_Lean_instQuoteProd(lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__12; 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*); @@ -148,20 +150,19 @@ extern lean_object* l_instReprProd___rarg___closed__1; 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*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__12; extern lean_object* l_instReprBool___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_15378____closed__8; 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; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__11; 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*); lean_object* l_Lean_instQuoteBool___boxed(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*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__16; 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*); @@ -170,15 +171,19 @@ lean_object* l_Lean_Name_instReprName(lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); extern lean_object* l_instReprBool___closed__4; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__18; lean_object* l_Lean_termEval__prio_____closed__4; lean_object* l_Lean_Name_capitalize_match__1(lean_object*); lean_object* l_Lean_version_major___closed__1; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6082__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__3; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6117__match__1(lean_object*); lean_object* l_Lean_Syntax_isLit_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteSubstring___closed__1; lean_object* lean_string_utf8_next(lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__15; lean_object* l_Lean_termEval__prio_____closed__2; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getTrailingSize_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteSubstring___closed__2; lean_object* l_Lean_Syntax_isLit_x3f___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__8; @@ -205,8 +210,8 @@ lean_object* l_Lean_Syntax_isScientificLit_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_isIdent_match__1(lean_object*); 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*); lean_object* l_Lean_Syntax_isNatLit_x3f(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20; lean_object* l_Lean_version_major; lean_object* l_Lean_Name_appendAfter_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_instBEqSyntax; @@ -216,7 +221,6 @@ lean_object* l_Array_isEqvAux___at_Lean_Syntax_structEq___spec__1___boxed(lean_o lean_object* l_Lean_Syntax_setHeadInfoAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_instDecidableNot___rarg(uint8_t); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__10; 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*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13856____closed__8; @@ -240,6 +244,7 @@ lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux(lean_object*); lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind; lean_object* l_Lean_termEval__prio_____closed__6; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); lean_object* l_Array_getSepElems(lean_object*); lean_object* l_Lean_monadNameGeneratorLift___rarg(lean_object*, lean_object*); @@ -248,7 +253,8 @@ lean_object* l_Lean_Syntax_decodeQuotedChar_match__1___rarg(lean_object*, lean_o lean_object* l_Lean_Syntax_SepArray_getElems(lean_object*); lean_object* l_Lean_Syntax_structEq___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId___boxed(lean_object*); -uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6082_(lean_object*, lean_object*); +uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6117_(lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__7; 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*); @@ -260,8 +266,8 @@ lean_object* l_Lean_Syntax_SepArray_ofElems___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isNumericSubscript(uint32_t); lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__15; lean_object* l_Lean_Syntax_expandInterpolatedStrChunks_match__1(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__16; lean_object* l_Lean_Syntax_isScientificLit_x3f(lean_object*); lean_object* l_Lean_Name_toString(lean_object*); 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*); @@ -274,7 +280,6 @@ lean_object* l_Lean_mkIdentFromRef___rarg___lambda__1(lean_object*, lean_object* extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__14; lean_object* l_Lean_mkFreshId___rarg(lean_object*, lean_object*); lean_object* l_String_capitalize(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__3; lean_object* l_Lean_NameGenerator_next(lean_object*); lean_object* l_Lean_Syntax_decodeCharLit___boxed(lean_object*); lean_object* l_Lean_Syntax_decodeNatLitVal_x3f(lean_object*); @@ -283,7 +288,6 @@ lean_object* l_Lean_Syntax_SepArray_getElems___boxed(lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Syntax_getTailInfo_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_instReprBool___closed__3; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__18; lean_object* l_Lean_Name_appendAfter_match__1(lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__2; lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); @@ -304,9 +308,11 @@ lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar_matc lean_object* l_Lean_instQuoteSubstring(lean_object*); lean_object* l_Lean_Name_replacePrefix_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f_match__1(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20; lean_object* l_Lean_Syntax_getId(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*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__10; 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; lean_object* l_Lean_Syntax_instBEqSyntax___closed__1; @@ -316,12 +322,10 @@ lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at__ 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*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__7; lean_object* l_Lean_mkCIdent(lean_object*); lean_object* l_Lean_version_getIsRelease___boxed(lean_object*); extern lean_object* l_Lean_numLitKind___closed__2; lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__2; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24; extern lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__7; uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteName(lean_object*); @@ -329,10 +333,10 @@ lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isLit_x3f_match__1(lean_object*); lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterExp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__23; lean_object* l_Lean_Syntax_setTailInfoAux_match__1(lean_object*); lean_object* l_Lean_mkOptionalNode(lean_object*); lean_object* l___private_Init_Meta_0__Lean_version_getPatch___boxed(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__25; 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*); @@ -355,14 +359,14 @@ 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_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___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__21; lean_object* l_Lean_isNumericSubscript___boxed(lean_object*); lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_NameGenerator_mkChild(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__10; extern lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__13; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6082____boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isCharLit_x3f___boxed(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__13; size_t lean_usize_of_nat(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit(lean_object*); extern lean_object* l_term___x2b_x2b_____closed__2; @@ -382,21 +386,19 @@ lean_object* l_Lean_Syntax_decodeNatLitVal_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_decodeCharLit(lean_object*); uint8_t l_Lean_version_isRelease; lean_object* l_Lean_Syntax_decodeNatLitVal_x3f___closed__1; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__22; lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__1; uint8_t l_Char_isAlpha(uint32_t); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6117__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); 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*); extern lean_object* l_Lean_nullKind___closed__2; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__5; uint8_t l_Lean_isLetterLike(uint32_t); lean_object* l_Lean_evalPrec(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isStrLit_x3f___boxed(lean_object*); lean_object* l_Lean_mkCIdentFromRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_toNat_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__14; lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*); lean_object* l_Lean_instInhabitedNameGenerator___closed__1; lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef(lean_object*); @@ -406,26 +408,27 @@ lean_object* l_Lean_isLetterLike___boxed(lean_object*); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f___boxed(lean_object*); 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__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Array_mapSepElems___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_16165____closed__5; lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__2; 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*); 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*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__6; lean_object* l_Lean_Syntax_isLit_x3f_match__2(lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkApp___closed__1; uint8_t l_UInt32_decEq(uint32_t, uint32_t); lean_object* l_Lean_Name_instReprName___closed__1; +lean_object* l_Lean_Syntax_getTrailingSize_match__1(lean_object*); lean_object* l_Lean_Name_instReprName___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteName_match__1(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__23; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__25; uint8_t l_Lean_version_getIsRelease(lean_object*); lean_object* l_Lean_Name_appendAfter(lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6117__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_version_getMinor(lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__13; lean_object* l_Lean_Syntax_isIdent_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHole(lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -448,6 +451,7 @@ lean_object* l_String_quote(lean_object*); uint8_t l_Char_isAlphanum(uint32_t); lean_object* l_Lean_Meta_Simp_instReprConfig; lean_object* l_Lean_instInhabitedNameGenerator; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; lean_object* l_Lean_Syntax_getHead_x3f_match__1(lean_object*); 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*); @@ -459,7 +463,8 @@ lean_object* l_Array_filterSepElems(lean_object*, lean_object*); lean_object* l_Array_mapSepElemsM___at_Array_mapSepElems___spec__1(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux_match__1(lean_object*); lean_object* l_Lean_Name_appendBefore_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247_(lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__22; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282_(lean_object*, lean_object*); lean_object* l_Lean_mkSepArray_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_instQuoteSubstring___closed__4; lean_object* l_Lean_Name_replacePrefix___boxed(lean_object*, lean_object*, lean_object*); @@ -469,10 +474,12 @@ lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object*); lean_object* l_Lean_evalPrec___closed__1; lean_object* l_Lean_Name_toStringWithSep___closed__1; lean_object* l_Lean_NameGenerator_curr(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; lean_object* l_Lean_Syntax_SepArray_getElems___rarg___boxed(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__5; lean_object* l_Lean_Syntax_isNameLit_x3f___boxed(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__14; lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__6; lean_object* l_Lean_isIdBeginEscape___boxed(lean_object*); lean_object* l_Lean_withHeadRefOnly_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -480,12 +487,10 @@ lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__2___boxed(lean_object* lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1; lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__17; 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_reprConfig____x40_Init_Meta___hyg_6247____closed__8; 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; @@ -493,8 +498,7 @@ lean_object* l_Lean_termEval__prec_____closed__2; lean_object* l___private_Init_Meta_0__Lean_quoteName_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_Simp_Config_iota___default; lean_object* l_Lean_Syntax_setInfo(lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__1; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__19; lean_object* l___private_Init_Meta_0__Lean_quoteOption(lean_object*); lean_object* l_Lean_instQuoteNat(lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); @@ -526,14 +530,12 @@ uint8_t l_Lean_isIdFirst(uint32_t); lean_object* l_Lean_instQuoteName; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNone___boxed(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__2; lean_object* l_Lean_instQuoteBool_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isToken___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkCIdentFrom___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkCIdentFrom___closed__1; lean_object* l_Lean_Syntax_getTailInfo___boxed(lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__3; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6082__match__1(lean_object*); extern lean_object* l_prec_x28___x29___closed__7; lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_SepArray_instCoeTailSepArrayArraySyntax___boxed(lean_object*); @@ -550,9 +552,7 @@ uint8_t l_Lean_Meta_Simp_Config_beta___default; uint8_t l_List_beq___at_Lean_Syntax_structEq___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setTailInfoAux_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_prec_x28___x29___closed__3; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____boxed(lean_object*, lean_object*); lean_object* lean_mk_syntax_ident(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__21; lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_termEval__prec_____closed__1; @@ -560,6 +560,7 @@ lean_object* l_Lean_Syntax_toNat(lean_object*); lean_object* l_Lean_Name_appendBefore(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_version_getPatch(lean_object*); lean_object* l_Lean_mkOptionalNode___closed__2; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__9; lean_object* l_Lean_Syntax_getOptional_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar_match__1(lean_object*); lean_object* l_Lean_mkCIdentFrom___closed__2; @@ -571,7 +572,6 @@ lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___at_Array_filter lean_object* l_Lean_Meta_Simp_instBEqConfig___closed__1; lean_object* l_Lean_instQuoteProd___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1(lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__19; lean_object* l_Lean_termEval__prec_____closed__4; uint8_t l_Lean_Meta_Simp_Config_proj___default; lean_object* l_Lean_Syntax_instCoeArraySyntaxSepArray(lean_object*); @@ -581,22 +581,25 @@ lean_object* l_Lean_Syntax_decodeStrLitAux___boxed(lean_object*, lean_object*, l lean_object* l___private_Init_Meta_0__Lean_quoteList_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__17; lean_object* l_Lean_monadNameGeneratorLift___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_replacePrefix_match__1(lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5029_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4646_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4403_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4514_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4897_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4786_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5064_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4438_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4549_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4681_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4821_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4932_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__1; lean_object* l_Lean_Syntax_expandInterpolatedStr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSepArray___closed__1; extern lean_object* l_Lean_Parser_Syntax_subPrec___closed__2; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeBinLitAux___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_UInt32_decLe(uint32_t, uint32_t); 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*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; lean_object* l_Lean_instQuoteName___closed__1; lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); @@ -612,6 +615,8 @@ lean_object* l_Lean_Syntax_structEq_match__1(lean_object*); 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*); lean_object* l_Lean_termEval__prio_____closed__5; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__2; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__8; 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*); @@ -620,10 +625,11 @@ lean_object* l_Lean_Name_instToStringName___closed__1; 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_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6082__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____boxed(lean_object*, lean_object*); extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1; 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___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__1; lean_object* l_Lean_Option_hasQuote___rarg(lean_object*); extern lean_object* l_Lean_interpolatedStrLitKind; lean_object* l_Lean_termEval__prio_____closed__3; @@ -631,7 +637,6 @@ lean_object* l_Lean_Meta_Simp_instInhabitedConfig___closed__1; extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__8; 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); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; lean_object* l_Lean_Syntax_isIdent___boxed(lean_object*); lean_object* l_Lean_expandMacros_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); @@ -639,7 +644,6 @@ 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_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__9; uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l___private_Init_Meta_0__Lean_version_getMajor___boxed(lean_object* x_1) { _start: @@ -2943,6 +2947,107 @@ lean_dec(x_1); return x_2; } } +lean_object* l_Lean_Syntax_getTrailingSize_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; +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_dec(x_3); +lean_dec(x_1); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 2); +lean_inc(x_8); +lean_dec(x_5); +x_9 = lean_apply_3(x_2, x_6, x_7, x_8); +return x_9; +} +else +{ +lean_object* x_10; +lean_dec(x_5); +lean_dec(x_2); +x_10 = lean_apply_1(x_3, x_1); +return x_10; +} +} +} +} +lean_object* l_Lean_Syntax_getTrailingSize_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_getTrailingSize_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_getTrailingSize(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Syntax_getTailInfo_x3f(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_unsigned_to_nat(0u); +return x_3; +} +else +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +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, 2); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 2); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_nat_sub(x_7, x_6); +lean_dec(x_6); +lean_dec(x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_4); +x_9 = lean_unsigned_to_nat(0u); +return x_9; +} +} +} +} +lean_object* l_Lean_Syntax_getTrailingSize___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Syntax_getTrailingSize(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -9847,7 +9952,7 @@ return x_75; } } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4403_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4438_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -9982,7 +10087,7 @@ return x_40; } } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4514_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4549_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10201,7 +10306,7 @@ x_1 = l_Lean_termEval__prec_____closed__7; return x_1; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4646_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4681_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10622,7 +10727,7 @@ return x_75; } } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4786_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4821_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10757,7 +10862,7 @@ return x_40; } } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4897_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4932_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10976,7 +11081,7 @@ x_1 = l_Lean_termEval__prio_____closed__7; return x_1; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5029_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5064_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13173,7 +13278,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_6082__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_6117__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; 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; uint8_t x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 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; @@ -13228,24 +13333,24 @@ x_47 = lean_apply_m(x_3, 22, _aargs); } return x_47; } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6082__match__1(lean_object* x_1) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6117__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_6082__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_6117__match__1___rarg___boxed), 4, 0); return x_2; } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6082__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_6117__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_6082__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_6117__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_6082_(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6117_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t 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; uint8_t 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; lean_object* x_71; uint8_t x_77; @@ -13626,11 +13731,11 @@ goto block_70; } } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6082____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6117____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_6082_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6117_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -13641,7 +13746,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_6082____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6117____boxed), 2, 0); return x_1; } } @@ -13653,7 +13758,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_6247____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__1() { _start: { lean_object* x_1; @@ -13661,29 +13766,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_6247____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____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_6247____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____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_6247____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____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_6247____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____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_6247____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -13693,19 +13798,19 @@ 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_6247____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__5() { _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_6247____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__3; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; 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_6247____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__6() { _start: { lean_object* x_1; @@ -13713,17 +13818,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_6247____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__6; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__6; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__8() { _start: { lean_object* x_1; @@ -13731,17 +13836,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_6247____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__8; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__8; 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_6247____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__10() { _start: { lean_object* x_1; @@ -13749,17 +13854,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_6247____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__10; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____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_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__12() { _start: { lean_object* x_1; @@ -13767,17 +13872,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_6247____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__12; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__12; 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_6247____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__14() { _start: { lean_object* x_1; @@ -13785,17 +13890,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_6247____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__14; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__14; 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_6247____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__16() { _start: { lean_object* x_1; @@ -13803,17 +13908,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_6247____closed__17() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__16; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__16; 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_6247____closed__18() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__18() { _start: { lean_object* x_1; @@ -13821,17 +13926,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_6247____closed__19() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__19() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__18; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__18; 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_6247____closed__20() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20() { _start: { lean_object* x_1; @@ -13839,17 +13944,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_6247____closed__21() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20; 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_6247____closed__22() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__22() { _start: { lean_object* x_1; @@ -13857,17 +13962,17 @@ x_1 = lean_mk_string("ctorEq"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__23() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__23() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__22; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__22; 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_6247____closed__24() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24() { _start: { lean_object* x_1; @@ -13875,17 +13980,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_6247____closed__25() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__25() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24; 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_6247____closed__26() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -13894,16 +13999,16 @@ 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_6247____closed__27() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__26; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__26; 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_6247____closed__28() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -13913,7 +14018,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_6247____closed__29() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29() { _start: { lean_object* x_1; lean_object* x_2; @@ -13923,7 +14028,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_6247_(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282_(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; 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; uint8_t x_25; lean_object* x_26; @@ -13932,7 +14037,7 @@ 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_6247____closed__5; +x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__5; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -13944,11 +14049,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_6247____closed__7; +x_12 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__7; 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_6247____closed__4; +x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -13989,7 +14094,7 @@ lean_ctor_set(x_28, 1, x_8); x_29 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_10); -x_30 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__9; +x_30 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__9; x_31 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); @@ -14022,7 +14127,7 @@ lean_ctor_set(x_35, 1, x_8); x_36 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_10); -x_37 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__11; +x_37 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__11; x_38 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_38, 0, x_36); lean_ctor_set(x_38, 1, x_37); @@ -14055,7 +14160,7 @@ lean_ctor_set(x_42, 1, x_8); x_43 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_10); -x_44 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__13; +x_44 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__13; x_45 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); @@ -14088,7 +14193,7 @@ lean_ctor_set(x_49, 1, x_8); x_50 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_10); -x_51 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__15; +x_51 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__15; x_52 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); @@ -14121,7 +14226,7 @@ lean_ctor_set(x_56, 1, x_8); x_57 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_10); -x_58 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__17; +x_58 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__17; x_59 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_59, 0, x_57); lean_ctor_set(x_59, 1, x_58); @@ -14154,7 +14259,7 @@ lean_ctor_set(x_63, 1, x_8); x_64 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_64, 0, x_63); lean_ctor_set(x_64, 1, x_10); -x_65 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__19; +x_65 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__19; x_66 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_66, 0, x_64); lean_ctor_set(x_66, 1, x_65); @@ -14187,7 +14292,7 @@ lean_ctor_set(x_70, 1, x_8); x_71 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_10); -x_72 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__21; +x_72 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__21; x_73 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_73, 0, x_71); lean_ctor_set(x_73, 1, x_72); @@ -14220,7 +14325,7 @@ lean_ctor_set(x_77, 1, x_8); x_78 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_10); -x_79 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__23; +x_79 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__23; x_80 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); @@ -14240,7 +14345,7 @@ lean_ctor_set(x_84, 1, x_8); x_85 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_85, 0, x_84); lean_ctor_set(x_85, 1, x_10); -x_86 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__25; +x_86 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__25; x_87 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_87, 0, x_85); lean_ctor_set(x_87, 1, x_86); @@ -14253,15 +14358,15 @@ lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean x_89 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_89, 0, x_88); lean_ctor_set(x_89, 1, x_82); -x_90 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_90 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_91 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); -x_92 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_92 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_93 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_93, 0, x_91); lean_ctor_set(x_93, 1, x_92); -x_94 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_94 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_95 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_95, 0, x_94); lean_ctor_set(x_95, 1, x_93); @@ -14278,15 +14383,15 @@ x_98 = l_instReprBool___closed__4; x_99 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_99, 0, x_88); lean_ctor_set(x_99, 1, x_98); -x_100 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_100 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_101 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_101, 0, x_100); lean_ctor_set(x_101, 1, x_99); -x_102 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_102 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_103 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_103, 0, x_101); lean_ctor_set(x_103, 1, x_102); -x_104 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_104 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_105 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_103); @@ -14310,7 +14415,7 @@ lean_ctor_set(x_110, 1, x_8); x_111 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_111, 0, x_110); lean_ctor_set(x_111, 1, x_10); -x_112 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__25; +x_112 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__25; x_113 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_113, 0, x_111); lean_ctor_set(x_113, 1, x_112); @@ -14324,15 +14429,15 @@ x_115 = l_instReprBool___closed__2; x_116 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_116, 0, x_114); lean_ctor_set(x_116, 1, x_115); -x_117 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_117 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_118 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_118, 0, x_117); lean_ctor_set(x_118, 1, x_116); -x_119 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_119 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_120 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_120, 0, x_118); lean_ctor_set(x_120, 1, x_119); -x_121 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_121 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_122 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_122, 0, x_121); lean_ctor_set(x_122, 1, x_120); @@ -14348,15 +14453,15 @@ lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; x_125 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_125, 0, x_114); lean_ctor_set(x_125, 1, x_108); -x_126 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_126 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_127 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_127, 0, x_126); lean_ctor_set(x_127, 1, x_125); -x_128 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_128 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_129 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_129, 0, x_127); lean_ctor_set(x_129, 1, x_128); -x_130 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_130 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_131 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_131, 0, x_130); lean_ctor_set(x_131, 1, x_129); @@ -14377,11 +14482,11 @@ return x_133; } } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____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_6247_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -14390,7 +14495,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_6247____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____boxed), 2, 0); return x_1; } } @@ -14629,64 +14734,64 @@ 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_6247____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__1); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__2); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__3); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__5); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__6); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__7); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__8); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__9); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__10); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__11); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__12); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__13); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__14); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__15); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__16); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__17(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__17); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__18(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__18); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__19(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__19); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__21(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__21); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__22(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__22); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__23(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__23); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__25(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__25); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__26(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__26); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__1); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__2); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__3); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__5); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__6); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__7); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__8); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__9); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__10); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__11); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__12); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__13); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__14); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__15); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__16); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__17(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__17); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__18(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__18); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__19(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__19); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__21(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__21); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__22(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__22); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__23(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__23); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__25(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__25); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__26(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__26); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29); 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/Prelude.c b/stage0/stdlib/Init/Prelude.c index 9a5f4b9823..9b36a861fa 100644 --- a/stage0/stdlib/Init/Prelude.c +++ b/stage0/stdlib/Init/Prelude.c @@ -430,7 +430,7 @@ lean_object* l_UInt32_ofNatCore___boxed(lean_object*, lean_object*); lean_object* l_decEq(lean_object*); lean_object* l_or___boxed(lean_object*, lean_object*); lean_object* l_Lean_withRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getTailPos_x3f_loop___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getTailPos_x3f_loop___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Nat_pred(lean_object*); lean_object* l_instHAppend(lean_object*); lean_object* l_throwThe(lean_object*, lean_object*); @@ -455,7 +455,7 @@ lean_object* l_List_set___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_instMonadEStateM___closed__1; lean_object* l_Array_appendCore_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instDecidableOr(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getTailPos_x3f_loop(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getTailPos_x3f_loop(uint8_t, lean_object*, lean_object*); lean_object* l_Monad_seq___default(lean_object*); lean_object* l_Monad_seqLeft___default___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_instMonadLiftT__1___rarg___boxed(lean_object*); @@ -9169,46 +9169,45 @@ x_10 = l_Lean_Syntax_getTailPos_x3f_match__1___rarg(x_1, x_9, x_3, x_4, x_5, x_6 return x_10; } } -lean_object* l_Lean_Syntax_getTailPos_x3f_loop(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Syntax_getTailPos_x3f_loop(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_3; uint8_t x_4; -x_3 = lean_array_get_size(x_1); -x_4 = lean_nat_dec_lt(x_2, x_3); -if (x_4 == 0) +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +if (x_5 == 0) { -lean_object* x_5; +lean_object* x_6; +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_5 = lean_box(0); -return x_5; +x_6 = lean_box(0); +return x_6; } else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_6 = lean_nat_sub(x_3, x_2); -lean_dec(x_3); -x_7 = lean_unsigned_to_nat(1u); -x_8 = lean_nat_sub(x_6, x_7); -lean_dec(x_6); -x_9 = l_Lean_instInhabitedSyntax; -x_10 = lean_array_get(x_9, x_1, x_8); -lean_dec(x_8); -x_11 = 0; -x_12 = l_Lean_Syntax_getTailPos_x3f(x_10, x_11); -lean_dec(x_10); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_7 = lean_nat_sub(x_4, x_3); +lean_dec(x_4); +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_sub(x_7, x_8); +lean_dec(x_7); +x_10 = l_Lean_instInhabitedSyntax; +x_11 = lean_array_get(x_10, x_2, x_9); +lean_dec(x_9); +x_12 = l_Lean_Syntax_getTailPos_x3f(x_11, x_1); +lean_dec(x_11); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; -x_13 = lean_nat_add(x_2, x_7); -lean_dec(x_2); -x_2 = x_13; +x_13 = lean_nat_add(x_3, x_8); +lean_dec(x_3); +x_3 = x_13; goto _start; } else { uint8_t x_15; -lean_dec(x_2); +lean_dec(x_3); x_15 = !lean_is_exclusive(x_12); if (x_15 == 0) { @@ -9243,7 +9242,7 @@ case 1: lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_1, 1); x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getTailPos_x3f_loop(x_4, x_5); +x_6 = l_Lean_Syntax_getTailPos_x3f_loop(x_2, x_4, x_5); return x_6; } case 2: @@ -9337,13 +9336,15 @@ return x_28; } } } -lean_object* l_Lean_Syntax_getTailPos_x3f_loop___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Syntax_getTailPos_x3f_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_3; -x_3 = l_Lean_Syntax_getTailPos_x3f_loop(x_1, x_2); +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_1); lean_dec(x_1); -return x_3; +x_5 = l_Lean_Syntax_getTailPos_x3f_loop(x_4, x_2, x_3); +lean_dec(x_2); +return x_5; } } lean_object* l_Lean_Syntax_getTailPos_x3f___boxed(lean_object* x_1, lean_object* x_2) { diff --git a/stage0/stdlib/Lean/Compiler/IR/Format.c b/stage0/stdlib/Lean/Compiler/IR/Format.c index 0af9568ee7..2d9c03956a 100644 --- a/stage0/stdlib/Lean/Compiler/IR/Format.c +++ b/stage0/stdlib/Lean/Compiler/IR/Format.c @@ -192,7 +192,6 @@ lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___close lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(lean_object*); extern lean_object* l_instReprIterator___closed__3; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam(lean_object*); lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam_match__1(lean_object*); lean_object* l_Lean_IR_formatDecl___closed__4; @@ -218,6 +217,7 @@ lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed_ lean_object* l_Lean_IR_formatFnBodyHead___closed__4; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_IR_formatFnBodyHead___closed__9; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; lean_object* l_Lean_IR_formatAlt_match__1(lean_object*); lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1; lean_object* l_Lean_IR_formatFnBody_loop___closed__5; @@ -3588,7 +3588,7 @@ x_13 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_3); x_14 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_15 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_16 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); @@ -3681,7 +3681,7 @@ x_53 = l_Lean_IR_formatFnBodyHead___closed__9; x_54 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); -x_55 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_55 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_56 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); @@ -3789,7 +3789,7 @@ x_103 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_84); 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_6247____closed__4; +x_105 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_106 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_106, 0, x_104); lean_ctor_set(x_106, 1, x_105); @@ -4141,7 +4141,7 @@ x_15 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_4); 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___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_18 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); @@ -4291,7 +4291,7 @@ x_82 = l_Lean_IR_formatFnBodyHead___closed__9; x_83 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_83, 0, x_82); lean_ctor_set(x_83, 1, x_81); -x_84 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_84 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_85 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_85, 0, x_83); lean_ctor_set(x_85, 1, x_84); @@ -4427,7 +4427,7 @@ x_146 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_126); x_147 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_147, 0, x_145); lean_ctor_set(x_147, 1, x_146); -x_148 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_148 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_149 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_149, 0, x_147); lean_ctor_set(x_149, 1, x_148); diff --git a/stage0/stdlib/Lean/Data/Format.c b/stage0/stdlib/Lean/Data/Format.c index 6f918864f7..0bc5803ed7 100644 --- a/stage0/stdlib/Lean/Data/Format.c +++ b/stage0/stdlib/Lean/Data/Format.c @@ -72,7 +72,6 @@ lean_object* lean_nat_abs(lean_object*); lean_object* l_Lean_instToFormatDataValue_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Format_getUnicode___closed__1; lean_object* l_Std_Format_getUnicode___boxed(lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; lean_object* l_Std_Format_getUnicode___closed__2; lean_object* l_Lean_KVMap_findCore(lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_53____spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -84,6 +83,7 @@ extern lean_object* l_Std_Format_sbracket___closed__2; lean_object* l_Std_Format_getWidth___closed__1; lean_object* l_Std_Format_getWidth___boxed(lean_object*); lean_object* l_Lean_instToFormatProdNameDataValue(lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; lean_object* l_Std_Format_getWidth___closed__3; lean_object* l_Std_Format_initFn____x40_Lean_Data_Format___hyg_25____closed__1; static lean_object* _init_l_Std_Format_getWidth___closed__1() { @@ -865,7 +865,7 @@ x_4 = l_Lean_Name_toString___closed__1; x_5 = l_Lean_Name_toStringWithSep(x_4, x_2); x_6 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_6, 0, x_5); -x_7 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_7 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_8 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_8, 0, x_6); lean_ctor_set(x_8, 1, x_7); @@ -1018,7 +1018,7 @@ x_8 = l_Lean_Name_toString___closed__1; x_9 = l_Lean_Name_toStringWithSep(x_8, x_6); x_10 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_10, 0, x_9); -x_11 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_11 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____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); @@ -1156,7 +1156,7 @@ x_52 = l_Lean_Name_toString___closed__1; x_53 = l_Lean_Name_toStringWithSep(x_52, x_50); x_54 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_54, 0, x_53); -x_55 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_55 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_56 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); diff --git a/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c b/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c index 42f6ad094b..2f81da4596 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c +++ b/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c @@ -97,7 +97,6 @@ lean_object* l_Lean_Lsp_PublishDiagnosticsParams_version_x3f___default; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Lsp_msgToDiagnostic___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -extern lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_735____boxed(lean_object*); lean_object* l_Lean_Lsp_instBEqDiagnostic; @@ -212,6 +211,7 @@ lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticRela lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__6; lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_594____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_543____spec__4___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_367__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_735____spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instBEqDiagnosticRelatedInformation___closed__1; lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -830,7 +830,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__3() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c b/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c index e7c018f92c..11c9f50832 100644 --- a/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c +++ b/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c @@ -58,7 +58,6 @@ lean_object* l_Lean_Lsp_instToJsonDocumentSymbolAux___rarg(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_395____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__12; lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__6; -lean_object* l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__8; lean_object* l_Lean_Lsp_instToJsonDocumentSymbol; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_695____rarg___closed__2; lean_object* l_Lean_Json_getStr_x3f(lean_object*); @@ -235,6 +234,7 @@ lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__60; lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__47; extern lean_object* l_Lean_JsonNumber_toString___closed__1; lean_object* l_Lean_Lsp_instFromJsonSemanticTokensParams___closed__1; +extern lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__44; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_695____spec__2___rarg(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Lsp_instFromJsonSemanticTokensOptions; @@ -1210,17 +1210,8 @@ return x_2; static lean_object* _init_l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__3() { _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_Lean_Lsp_instToJsonDocumentHighlightKind___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1228,17 +1219,17 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__5() { +static lean_object* _init_l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__4; +x_1 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__3; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__6() { +static lean_object* _init_l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -1247,11 +1238,11 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__7() { +static lean_object* _init_l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__6; +x_1 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__5; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1259,11 +1250,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__8() { +static lean_object* _init_l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__7; +x_1 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__6; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -1282,13 +1273,13 @@ return x_2; case 1: { lean_object* x_3; -x_3 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__5; +x_3 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__4; return x_3; } default: { lean_object* x_4; -x_4 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__8; +x_4 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__7; return x_4; } } @@ -1344,7 +1335,7 @@ return x_9; case 1: { lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__5; +x_10 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__4; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_1); lean_ctor_set(x_11, 1, x_10); @@ -1356,7 +1347,7 @@ return x_12; default: { lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__8; +x_13 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__7; x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_1); lean_ctor_set(x_14, 1, x_13); @@ -3122,13 +3113,13 @@ return x_2; case 1: { lean_object* x_3; -x_3 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__5; +x_3 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__4; return x_3; } case 2: { lean_object* x_4; -x_4 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__8; +x_4 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__7; return x_4; } case 3: @@ -3481,14 +3472,14 @@ goto block_38; case 1: { lean_object* x_40; -x_40 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__5; +x_40 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__4; x_29 = x_40; goto block_38; } case 2: { lean_object* x_41; -x_41 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__8; +x_41 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__7; x_29 = x_41; goto block_38; } @@ -3864,14 +3855,14 @@ goto block_37; case 1: { lean_object* x_39; -x_39 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__5; +x_39 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__4; x_28 = x_39; goto block_37; } case 2: { lean_object* x_40; -x_40 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__8; +x_40 = l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__7; x_28 = x_40; goto block_37; } @@ -5367,8 +5358,6 @@ l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__6 = _init_l_Lean_Lsp_instTo lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__6); l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__7 = _init_l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__7(); lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__7); -l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__8 = _init_l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__8(); -lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__8); l_Lean_Lsp_DocumentHighlight_kind_x3f___default = _init_l_Lean_Lsp_DocumentHighlight_kind_x3f___default(); lean_mark_persistent(l_Lean_Lsp_DocumentHighlight_kind_x3f___default); l_Lean_Lsp_instToJsonDocumentHighlight___closed__1 = _init_l_Lean_Lsp_instToJsonDocumentHighlight___closed__1(); diff --git a/stage0/stdlib/Lean/Data/Lsp/TextSync.c b/stage0/stdlib/Lean/Data/Lsp/TextSync.c index 5e10d5de24..a98589363d 100644 --- a/stage0/stdlib/Lean/Data/Lsp/TextSync.c +++ b/stage0/stdlib/Lean/Data/Lsp/TextSync.c @@ -58,7 +58,6 @@ lean_object* l_Lean_Lsp_instToJsonDidCloseTextDocumentParams; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_481_(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_382____spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__7; lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncKind(uint8_t); lean_object* l_Lean_Lsp_instFromJsonDidOpenTextDocumentParams; extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1155____closed__2; @@ -108,6 +107,7 @@ lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__5; lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncOptions___closed__1; lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_1564____spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonDidOpenTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_64_(lean_object*); +extern lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; lean_object* l_Lean_Lsp_instFromJsonTextDocumentContentChangeEvent(lean_object*); lean_object* l_Lean_Lsp_instFromJsonTextDocumentSyncKind_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getBool_x3f(lean_object*); @@ -131,7 +131,6 @@ lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSy lean_object* l_Lean_Lsp_TextDocumentContentChangeEvent_hasToJson(lean_object*); lean_object* l_Lean_Lsp_TextDocumentChangeRegistrationOptions_documentSelector_x3f___default; lean_object* l_Lean_Lsp_instFromJsonSaveOptions; -lean_object* lean_nat_to_int(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_537____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_544____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1104____spec__1(lean_object*, lean_object*); @@ -427,17 +426,8 @@ return x_2; static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__5() { _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_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__5; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -445,11 +435,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__7() { +static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__6; +x_1 = l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__5; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -474,7 +464,7 @@ return x_3; default: { lean_object* x_4; -x_4 = l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__7; +x_4 = l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__6; return x_4; } } @@ -1692,7 +1682,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_change___closed__1; -x_2 = l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__7; +x_2 = l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__6; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -2092,8 +2082,6 @@ l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__5 = _init_l_Lean_Lsp_instToJ lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__5); l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__6 = _init_l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__6(); lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__6); -l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__7 = _init_l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__7(); -lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__7); l_Lean_Lsp_instToJsonDidOpenTextDocumentParams___closed__1 = _init_l_Lean_Lsp_instToJsonDidOpenTextDocumentParams___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonDidOpenTextDocumentParams___closed__1); l_Lean_Lsp_instToJsonDidOpenTextDocumentParams = _init_l_Lean_Lsp_instToJsonDidOpenTextDocumentParams(); diff --git a/stage0/stdlib/Lean/Data/Position.c b/stage0/stdlib/Lean/Data/Position.c index ee0b0f768b..681efaf23e 100644 --- a/stage0/stdlib/Lean/Data/Position.c +++ b/stage0/stdlib/Lean/Data/Position.c @@ -58,29 +58,30 @@ lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_ofString(lean_object*); lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_117____closed__2; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_117____closed__5; lean_object* l_Lean_FileMap_toPosition_toColumn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_instDecidableEqPosition(lean_object*, lean_object*); lean_object* l_Lean_Position_instToStringPosition(lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; lean_object* l_Lean_FileMap_toPosition_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_UInt32_decEq(uint32_t, uint32_t); extern lean_object* l_term_x5b___x5d___closed__5; lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_117____closed__6; uint8_t lean_nat_dec_le(lean_object*, lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; lean_object* l_Array_back___at_Lean_FileMap_toPosition___spec__1(lean_object*); lean_object* l_Array_back___at_Lean_FileMap_toPosition___spec__2___boxed(lean_object*); lean_object* l_Array_back___at_Lean_FileMap_toPosition___spec__2(lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; lean_object* l_Lean_instDecidableEqPosition___boxed(lean_object*, lean_object*); lean_object* l_Lean_instInhabitedFileMap___closed__1; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; lean_object* l_Lean_Position_instToFormatPosition(lean_object*); lean_object* l_Lean_Position_lt___closed__1; lean_object* l_Lean_Position_instToFormatPosition_match__1(lean_object*); lean_object* l_Lean_instInhabitedPosition___closed__1; extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_117_(lean_object*, lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_117____closed__4; extern lean_object* l_instReprSigma___rarg___closed__6; uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); @@ -88,7 +89,6 @@ lean_object* l_Lean_Position_lt___boxed(lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition___boxed(lean_object*, lean_object*); lean_object* l_Lean_Position_lt___closed__2; lean_object* l_Lean_instInhabitedFileMap; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; lean_object* l_Nat_decEq___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_String_toFileMap(lean_object*); @@ -225,7 +225,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_117____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -275,7 +275,7 @@ x_12 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Posi 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_6247____closed__4; +x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -288,15 +288,15 @@ lean_ctor_set(x_18, 0, x_17); x_19 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_19, 0, x_15); lean_ctor_set(x_19, 1, x_18); -x_20 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_20 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_21 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_21, 0, x_20); lean_ctor_set(x_21, 1, x_19); -x_22 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_22 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); -x_24 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_24 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_25 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); diff --git a/stage0/stdlib/Lean/Data/Trie.c b/stage0/stdlib/Lean/Data/Trie.c index fb6a89278c..19d20e1eef 100644 --- a/stage0/stdlib/Lean/Data/Trie.c +++ b/stage0/stdlib/Lean/Data/Trie.c @@ -20,7 +20,6 @@ lean_object* l_Lean_Parser_Trie_insert_insertEmpty(lean_object*); lean_object* l_Lean_Parser_Trie_find_x3f(lean_object*); lean_object* l_Lean_Parser_Trie_insert_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_Parser_Trie_insert_loop___spec__2___rarg(lean_object*, uint32_t, lean_object*); -lean_object* l_Std_RBNode_fold___at___private_Lean_Data_Trie_0__Lean_Parser_Trie_toStringAux___spec__1___rarg___closed__1; lean_object* l___private_Lean_Data_Trie_0__Lean_Parser_Trie_updtAcc_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_Parser_Trie_insert_loop___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Trie_insert_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -88,6 +87,7 @@ lean_object* l_Char_quote(uint32_t); lean_object* l_Std_RBNode_ins___at_Lean_Parser_Trie_insert_loop___spec__3(lean_object*); lean_object* l_Lean_Parser_Trie_find_x3f___rarg___boxed(lean_object*, lean_object*); lean_object* l_Std_RBNode_ins___at_Lean_Parser_Trie_insert_loop___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; lean_object* l_Std_RBNode_insert___at_Lean_Parser_Trie_insert_loop___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_ins___at_Lean_Parser_Trie_insert_loop___spec__3___rarg(lean_object*, uint32_t, lean_object*); lean_object* l_Std_RBNode_fold___at___private_Lean_Data_Trie_0__Lean_Parser_Trie_toStringAux___spec__1(lean_object*); @@ -96,7 +96,6 @@ lean_object* l_Std_RBNode_ins___at_Lean_Parser_Trie_insert_loop___spec__4(lean_o lean_object* l_Std_RBNode_insert___at_Lean_Parser_Trie_insert_loop___spec__5(lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_Parser_Trie_insert_loop___spec__2(lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); -lean_object* lean_nat_to_int(lean_object*); lean_object* l___private_Lean_Data_Trie_0__Lean_Parser_Trie_updtAcc___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Trie_find_x3f_loop___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Trie_insert(lean_object*); @@ -11052,15 +11051,6 @@ x_3 = lean_alloc_closure((void*)(l___private_Lean_Data_Trie_0__Lean_Parser_Trie_ return x_3; } } -static lean_object* _init_l_Std_RBNode_fold___at___private_Lean_Data_Trie_0__Lean_Parser_Trie_toStringAux___spec__1___rarg___closed__1() { -_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; -} -} lean_object* l_Std_RBNode_fold___at___private_Lean_Data_Trie_0__Lean_Parser_Trie_toStringAux___spec__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -11090,7 +11080,7 @@ x_11 = l___private_Lean_Data_Trie_0__Lean_Parser_Trie_toStringAux___rarg(x_5); x_12 = lean_box(1); x_13 = l_Std_Format_joinSep___at_instReprProd___spec__1(x_11, x_12); lean_dec(x_11); -x_14 = l_Std_RBNode_fold___at___private_Lean_Data_Trie_0__Lean_Parser_Trie_toStringAux___spec__1___rarg___closed__1; +x_14 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_15 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); @@ -11176,8 +11166,6 @@ l_Lean_Parser_Trie_empty___closed__1 = _init_l_Lean_Parser_Trie_empty___closed__ lean_mark_persistent(l_Lean_Parser_Trie_empty___closed__1); l_Lean_Parser_Trie_instEmptyCollectionTrie___closed__1 = _init_l_Lean_Parser_Trie_instEmptyCollectionTrie___closed__1(); lean_mark_persistent(l_Lean_Parser_Trie_instEmptyCollectionTrie___closed__1); -l_Std_RBNode_fold___at___private_Lean_Data_Trie_0__Lean_Parser_Trie_toStringAux___spec__1___rarg___closed__1 = _init_l_Std_RBNode_fold___at___private_Lean_Data_Trie_0__Lean_Parser_Trie_toStringAux___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_RBNode_fold___at___private_Lean_Data_Trie_0__Lean_Parser_Trie_toStringAux___spec__1___rarg___closed__1); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Declaration.c b/stage0/stdlib/Lean/Declaration.c index 9041e8246f..a94213870f 100644 --- a/stage0/stdlib/Lean/Declaration.c +++ b/stage0/stdlib/Lean/Declaration.c @@ -174,6 +174,7 @@ lean_object* l_Lean_ConstantInfo_isUnsafe_match__1(lean_object*); lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__14; lean_object* l_Lean_instInhabitedDeclaration; lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__5; +extern lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; lean_object* l_Lean_instInhabitedTheoremVal; lean_object* lean_mk_opaque_val(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_ConstantInfo_numLevelParams___boxed(lean_object*); @@ -181,7 +182,6 @@ lean_object* l_Lean_InductiveVal_nctors(lean_object*); lean_object* l_Lean_ReducibilityHints_lt_match__1(lean_object*); lean_object* l_List_foldlM___at_Lean_Declaration_forExprM___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_value_x21___closed__3; -lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__19; lean_object* l_Lean_Declaration_foldExprM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instInhabitedInductiveVal; lean_object* l_Lean_ConstantInfo_isCtor_match__1(lean_object*); @@ -211,7 +211,6 @@ lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Le lean_object* l_Lean_instInhabitedOpaqueVal___closed__1; lean_object* l_Lean_InductiveVal_isReflexiveEx___boxed(lean_object*); uint32_t lean_reducibility_hints_get_height(lean_object*); -lean_object* lean_nat_to_int(lean_object*); lean_object* l_Lean_mkInductiveValEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_isUnsafe___boxed(lean_object*); lean_object* l_Lean_ConstantInfo_type___boxed(lean_object*); @@ -814,17 +813,8 @@ return x_2; static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3() { _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_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -832,11 +822,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__5() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__4() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__4; +x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -844,7 +834,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__6() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -856,11 +846,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__7() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__6() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__6; +x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__5; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -868,7 +858,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__8() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__7() { _start: { lean_object* x_1; @@ -876,57 +866,57 @@ x_1 = lean_mk_string("Lean.DefinitionSafety.safe"); return x_1; } } -static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__9() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__8; +x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____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_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__10() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; -x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__9; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; +x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__8; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__10() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__9; +x_2 = 0; +x_3 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__11() { _start: { -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__10; -x_2 = 0; -x_3 = lean_alloc_ctor(5, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__12() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_Int_pow___closed__1; -x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__9; +x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__8; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__13() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__12() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__12; +x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__11; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -934,7 +924,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__14() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__13() { _start: { lean_object* x_1; @@ -942,33 +932,33 @@ x_1 = lean_mk_string("Lean.DefinitionSafety.partial"); return x_1; } } -static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__15() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__14; +x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____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_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__16() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; -x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__15; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; +x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__14; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__17() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__16() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__16; +x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__15; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -976,23 +966,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__18() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_Int_pow___closed__1; -x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__15; +x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__14; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__19() { +static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__18() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__18; +x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__17; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -1012,14 +1002,14 @@ x_4 = lean_nat_dec_le(x_3, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__5; +x_5 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__4; x_6 = l_Repr_addAppParen(x_5, x_2); return x_6; } else { lean_object* x_7; lean_object* x_8; -x_7 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__7; +x_7 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__6; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -1032,14 +1022,14 @@ x_10 = lean_nat_dec_le(x_9, x_2); if (x_10 == 0) { lean_object* x_11; lean_object* x_12; -x_11 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__11; +x_11 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__10; x_12 = l_Repr_addAppParen(x_11, x_2); return x_12; } else { lean_object* x_13; lean_object* x_14; -x_13 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__13; +x_13 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__12; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -1052,14 +1042,14 @@ x_16 = lean_nat_dec_le(x_15, x_2); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; -x_17 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__17; +x_17 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__16; x_18 = l_Repr_addAppParen(x_17, x_2); return x_18; } else { lean_object* x_19; lean_object* x_20; -x_19 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__19; +x_19 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__18; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -3570,8 +3560,6 @@ l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaratio lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__17); l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__18 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__18(); lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__18); -l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__19 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__19(); -lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__19); l_Lean_instReprDefinitionSafety___closed__1 = _init_l_Lean_instReprDefinitionSafety___closed__1(); lean_mark_persistent(l_Lean_instReprDefinitionSafety___closed__1); l_Lean_instReprDefinitionSafety = _init_l_Lean_instReprDefinitionSafety(); diff --git a/stage0/stdlib/Lean/DeclarationRange.c b/stage0/stdlib/Lean/DeclarationRange.c index 1d083e854a..bc5d1ded7d 100644 --- a/stage0/stdlib/Lean/DeclarationRange.c +++ b/stage0/stdlib/Lean/DeclarationRange.c @@ -91,7 +91,6 @@ lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____ lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_296____closed__1; lean_object* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_340____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_340____spec__3___closed__1; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; lean_object* l_Lean_declRangeExt___closed__1; size_t lean_usize_of_nat(lean_object*); lean_object* l___private_Lean_DeclarationRange_0__Lean_decEqDeclarationRange____x40_Lean_DeclarationRange___hyg_20____boxed(lean_object*, lean_object*); @@ -99,7 +98,6 @@ lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__2(lean_object*, l lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*); lean_object* l_Lean_findDeclarationRangesCore_x3f(lean_object*); lean_object* l_Array_binSearchAux___at_Lean_findDeclarationRangesCore_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_340____closed__2; extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; lean_object* l_List_redLength___rarg(lean_object*); @@ -115,6 +113,7 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_findDeclarationRangesCore_x3f___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_instReprDeclarationRanges; lean_object* l_Lean_declRangeExt___closed__5; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; lean_object* l_Lean_declRangeExt___closed__3; extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1; extern lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___closed__2; @@ -123,11 +122,11 @@ lean_object* l_Lean_isRec___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_340____spec__5(lean_object*, lean_object*); lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_296____closed__4; lean_object* l_Lean_instInhabitedDeclarationRanges; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; lean_object* l_Lean_Name_getPrefix(lean_object*); lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_205____closed__4; lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_340____spec__2___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_296____closed__5; lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_205____closed__1; @@ -142,12 +141,13 @@ extern lean_object* l_Lean_instInhabitedPosition___closed__1; lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_205_(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_117_(lean_object*, lean_object*); lean_object* l_Lean_declRangeExt___elambda__2___boxed(lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; lean_object* l_Lean_findDeclarationRangesCore_x3f___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instReprDeclarationRange___closed__1; lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_296____closed__6; lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_205____boxed(lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_296____closed__2; extern lean_object* l_Array_qsort_sort___at_Lean_mkMapDeclarationExtension___spec__1___rarg___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -322,7 +322,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_205____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -407,7 +407,7 @@ x_12 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lea 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_6247____closed__4; +x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -460,15 +460,15 @@ lean_ctor_set(x_35, 0, x_34); x_36 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_36, 0, x_32); lean_ctor_set(x_36, 1, x_35); -x_37 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_37 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_38 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); -x_39 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_39 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_40 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_40, 1, x_39); -x_41 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_41 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_42 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); @@ -558,7 +558,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_296____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -607,7 +607,7 @@ x_12 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Le 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_6247____closed__4; +x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -618,15 +618,15 @@ x_17 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lea x_18 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_18, 0, x_15); lean_ctor_set(x_18, 1, x_17); -x_19 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_19 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_20 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_21 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_22 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); -x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_24 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 5ec1124f5b..f23a3f2c91 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -219,7 +219,7 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(lea lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__5; -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5379_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5465_(lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__20; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20447____closed__2; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__8; @@ -19030,7 +19030,7 @@ x_11 = lean_nat_add(x_6, x_9); x_12 = !lean_is_exclusive(x_5); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 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_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; x_13 = lean_ctor_get(x_5, 1); x_14 = lean_ctor_get(x_5, 2); lean_dec(x_14); @@ -19052,393 +19052,415 @@ lean_ctor_set(x_22, 0, x_16); lean_ctor_set(x_22, 1, x_21); lean_ctor_set(x_22, 2, x_19); lean_ctor_set(x_22, 3, x_20); +x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_16165__expandListLit___spec__1(x_5, x_17); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Parser_Tactic_inductionAlt___closed__5; +x_27 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Array_empty___closed__1; +x_29 = lean_array_push(x_28, x_27); lean_inc(x_22); -x_23 = lean_array_push(x_4, x_22); +x_30 = lean_array_push(x_29, x_22); +x_31 = l_myMacro____x40_Init_NotationExtra___hyg_5662____closed__28; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_array_push(x_4, x_32); lean_inc(x_5); -x_24 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux(x_1, x_2, x_10, x_23, x_5, x_17); +x_34 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux(x_1, x_2, x_10, x_33, x_5, x_25); lean_dec(x_10); if (x_2 == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_5, x_26); +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_5, x_36); lean_dec(x_5); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_29 = lean_ctor_get(x_27, 0); -x_30 = l_Lean_Parser_Tactic_inductionAlt___closed__5; -lean_inc(x_29); -x_31 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_Array_empty___closed__1; -x_33 = lean_array_push(x_32, x_31); -x_34 = l_myMacro____x40_Init_Notation___hyg_13856____closed__9; -lean_inc(x_29); -x_35 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_35, 0, x_29); -lean_ctor_set(x_35, 1, x_34); -x_36 = lean_array_push(x_32, x_35); -x_37 = lean_array_push(x_32, x_22); -x_38 = l_Lean_nullKind___closed__2; -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -x_40 = lean_array_push(x_32, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_13856____closed__13; -x_42 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_42, 0, x_29); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_array_push(x_40, x_42); -x_44 = lean_array_push(x_43, x_25); -x_45 = l_myMacro____x40_Init_Notation___hyg_13856____closed__12; -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = lean_array_push(x_36, x_46); -x_48 = l_myMacro____x40_Init_Notation___hyg_13856____closed__10; -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = lean_array_push(x_33, x_49); -x_51 = l_myMacro____x40_Init_NotationExtra___hyg_5662____closed__28; -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -lean_ctor_set(x_27, 0, x_52); -return x_27; +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; +x_39 = lean_ctor_get(x_37, 0); +lean_inc(x_39); +x_40 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_26); +x_41 = lean_array_push(x_28, x_40); +x_42 = l_myMacro____x40_Init_Notation___hyg_13856____closed__9; +lean_inc(x_39); +x_43 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_43, 0, x_39); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_array_push(x_28, x_43); +x_45 = lean_array_push(x_28, x_22); +x_46 = l_Lean_nullKind___closed__2; +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = lean_array_push(x_28, x_47); +x_49 = l_myMacro____x40_Init_Notation___hyg_13856____closed__13; +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_39); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_array_push(x_48, x_50); +x_52 = lean_array_push(x_51, x_35); +x_53 = l_myMacro____x40_Init_Notation___hyg_13856____closed__12; +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_44, x_54); +x_56 = l_myMacro____x40_Init_Notation___hyg_13856____closed__10; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = lean_array_push(x_41, x_57); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_31); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_37, 0, x_59); +return x_37; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_53 = lean_ctor_get(x_27, 0); -x_54 = lean_ctor_get(x_27, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_27); -x_55 = l_Lean_Parser_Tactic_inductionAlt___closed__5; -lean_inc(x_53); -x_56 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_56, 0, x_53); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Array_empty___closed__1; -x_58 = lean_array_push(x_57, x_56); -x_59 = l_myMacro____x40_Init_Notation___hyg_13856____closed__9; -lean_inc(x_53); -x_60 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_60, 0, x_53); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_array_push(x_57, x_60); -x_62 = lean_array_push(x_57, x_22); -x_63 = l_Lean_nullKind___closed__2; -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -x_65 = lean_array_push(x_57, x_64); -x_66 = l_myMacro____x40_Init_Notation___hyg_13856____closed__13; -x_67 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_67, 0, x_53); -lean_ctor_set(x_67, 1, x_66); -x_68 = lean_array_push(x_65, x_67); -x_69 = lean_array_push(x_68, x_25); -x_70 = l_myMacro____x40_Init_Notation___hyg_13856____closed__12; -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -x_72 = lean_array_push(x_61, x_71); -x_73 = l_myMacro____x40_Init_Notation___hyg_13856____closed__10; -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -x_75 = lean_array_push(x_58, x_74); -x_76 = l_myMacro____x40_Init_NotationExtra___hyg_5662____closed__28; -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_54); -return x_78; +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_60 = lean_ctor_get(x_37, 0); +x_61 = lean_ctor_get(x_37, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_37); +lean_inc(x_60); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_26); +x_63 = lean_array_push(x_28, x_62); +x_64 = l_myMacro____x40_Init_Notation___hyg_13856____closed__9; +lean_inc(x_60); +x_65 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_65, 0, x_60); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_array_push(x_28, x_65); +x_67 = lean_array_push(x_28, x_22); +x_68 = l_Lean_nullKind___closed__2; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = lean_array_push(x_28, x_69); +x_71 = l_myMacro____x40_Init_Notation___hyg_13856____closed__13; +x_72 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_72, 0, x_60); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_array_push(x_70, x_72); +x_74 = lean_array_push(x_73, x_35); +x_75 = l_myMacro____x40_Init_Notation___hyg_13856____closed__12; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = lean_array_push(x_66, x_76); +x_78 = l_myMacro____x40_Init_Notation___hyg_13856____closed__10; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = lean_array_push(x_63, x_79); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_31); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_61); +return x_82; } } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_79 = lean_ctor_get(x_24, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_24, 1); -lean_inc(x_80); -lean_dec(x_24); -x_81 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_5, x_80); -lean_dec(x_5); -x_82 = !lean_is_exclusive(x_81); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_83 = lean_ctor_get(x_81, 0); -x_84 = l_Lean_Parser_Tactic_intro___closed__3; +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_83 = lean_ctor_get(x_34, 0); lean_inc(x_83); -x_85 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Array_empty___closed__1; -x_87 = lean_array_push(x_86, x_85); -x_88 = lean_array_push(x_86, x_22); -x_89 = l_Lean_nullKind___closed__2; -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -x_91 = lean_array_push(x_87, x_90); -x_92 = l_Lean_Parser_Tactic_intro___closed__4; +x_84 = lean_ctor_get(x_34, 1); +lean_inc(x_84); +lean_dec(x_34); +x_85 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_5, x_84); +lean_dec(x_5); +x_86 = !lean_is_exclusive(x_85); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_87 = lean_ctor_get(x_85, 0); +x_88 = l_Lean_Parser_Tactic_intro___closed__3; +lean_inc(x_87); +x_89 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_28, x_89); +x_91 = lean_array_push(x_28, x_22); +x_92 = l_Lean_nullKind___closed__2; x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); -x_94 = lean_array_push(x_86, x_93); -x_95 = l_myMacro____x40_Init_Notation___hyg_15947____closed__12; -x_96 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_96, 0, x_83); -lean_ctor_set(x_96, 1, x_95); -x_97 = lean_array_push(x_94, x_96); -x_98 = lean_array_push(x_97, x_79); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_89); +x_94 = lean_array_push(x_90, x_93); +x_95 = l_Lean_Parser_Tactic_intro___closed__4; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = lean_array_push(x_28, x_96); +x_98 = l_myMacro____x40_Init_Notation___hyg_15947____closed__12; +x_99 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_99, 0, x_87); lean_ctor_set(x_99, 1, x_98); -x_100 = lean_array_push(x_86, x_99); -x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17219____closed__2; +x_100 = lean_array_push(x_97, x_99); +x_101 = lean_array_push(x_100, x_83); x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -lean_ctor_set(x_81, 0, x_102); -return x_81; +lean_ctor_set(x_102, 0, x_92); +lean_ctor_set(x_102, 1, x_101); +x_103 = lean_array_push(x_28, x_102); +x_104 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17219____closed__2; +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_103); +lean_ctor_set(x_85, 0, x_105); +return x_85; } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_103 = lean_ctor_get(x_81, 0); -x_104 = lean_ctor_get(x_81, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_81); -x_105 = l_Lean_Parser_Tactic_intro___closed__3; -lean_inc(x_103); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_103); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Array_empty___closed__1; -x_108 = lean_array_push(x_107, x_106); -x_109 = lean_array_push(x_107, x_22); -x_110 = l_Lean_nullKind___closed__2; -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_109); -x_112 = lean_array_push(x_108, x_111); -x_113 = l_Lean_Parser_Tactic_intro___closed__4; -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_112); -x_115 = lean_array_push(x_107, x_114); -x_116 = l_myMacro____x40_Init_Notation___hyg_15947____closed__12; -x_117 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_117, 0, x_103); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_array_push(x_115, x_117); -x_119 = lean_array_push(x_118, x_79); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_110); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_array_push(x_107, x_120); -x_122 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17219____closed__2; -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_121); -x_124 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_104); -return x_124; +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_106 = lean_ctor_get(x_85, 0); +x_107 = lean_ctor_get(x_85, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_85); +x_108 = l_Lean_Parser_Tactic_intro___closed__3; +lean_inc(x_106); +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_106); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_array_push(x_28, x_109); +x_111 = lean_array_push(x_28, x_22); +x_112 = l_Lean_nullKind___closed__2; +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_111); +x_114 = lean_array_push(x_110, x_113); +x_115 = l_Lean_Parser_Tactic_intro___closed__4; +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_114); +x_117 = lean_array_push(x_28, x_116); +x_118 = l_myMacro____x40_Init_Notation___hyg_15947____closed__12; +x_119 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_119, 0, x_106); +lean_ctor_set(x_119, 1, x_118); +x_120 = lean_array_push(x_117, x_119); +x_121 = lean_array_push(x_120, x_83); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_112); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_28, x_122); +x_124 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17219____closed__2; +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_107); +return x_126; } } } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_125 = lean_ctor_get(x_5, 0); -x_126 = lean_ctor_get(x_5, 1); -x_127 = lean_ctor_get(x_5, 3); -x_128 = lean_ctor_get(x_5, 4); -x_129 = lean_ctor_get(x_5, 5); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_127 = lean_ctor_get(x_5, 0); +x_128 = lean_ctor_get(x_5, 1); +x_129 = lean_ctor_get(x_5, 3); +x_130 = lean_ctor_get(x_5, 4); +x_131 = lean_ctor_get(x_5, 5); +lean_inc(x_131); +lean_inc(x_130); lean_inc(x_129); lean_inc(x_128); lean_inc(x_127); -lean_inc(x_126); -lean_inc(x_125); lean_dec(x_5); lean_inc(x_6); -lean_inc(x_126); -x_130 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_130, 0, x_125); -lean_ctor_set(x_130, 1, x_126); -lean_ctor_set(x_130, 2, x_6); -lean_ctor_set(x_130, 3, x_127); -lean_ctor_set(x_130, 4, x_128); -lean_ctor_set(x_130, 5, x_129); -x_131 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_16165__expandListLit___spec__1(x_130, x_11); -x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_128); +x_132 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_132, 0, x_127); +lean_ctor_set(x_132, 1, x_128); +lean_ctor_set(x_132, 2, x_6); +lean_ctor_set(x_132, 3, x_129); +lean_ctor_set(x_132, 4, x_130); +lean_ctor_set(x_132, 5, x_131); +x_133 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_16165__expandListLit___spec__1(x_132, x_11); +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = l_Lean_Meta_mkArrow___closed__2; +x_137 = l_Lean_addMacroScope(x_128, x_136, x_6); +x_138 = lean_box(0); +x_139 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2; +x_140 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_140, 0, x_134); +lean_ctor_set(x_140, 1, x_139); +lean_ctor_set(x_140, 2, x_137); +lean_ctor_set(x_140, 3, x_138); +x_141 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_16165__expandListLit___spec__1(x_132, x_135); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +x_144 = l_Lean_Parser_Tactic_inductionAlt___closed__5; +x_145 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_145, 0, x_142); +lean_ctor_set(x_145, 1, x_144); +x_146 = l_Array_empty___closed__1; +x_147 = lean_array_push(x_146, x_145); +lean_inc(x_140); +x_148 = lean_array_push(x_147, x_140); +x_149 = l_myMacro____x40_Init_NotationExtra___hyg_5662____closed__28; +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_148); +x_151 = lean_array_push(x_4, x_150); lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -lean_dec(x_131); -x_134 = l_Lean_Meta_mkArrow___closed__2; -x_135 = l_Lean_addMacroScope(x_126, x_134, x_6); -x_136 = lean_box(0); -x_137 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2; -x_138 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_138, 0, x_132); -lean_ctor_set(x_138, 1, x_137); -lean_ctor_set(x_138, 2, x_135); -lean_ctor_set(x_138, 3, x_136); -lean_inc(x_138); -x_139 = lean_array_push(x_4, x_138); -lean_inc(x_130); -x_140 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux(x_1, x_2, x_10, x_139, x_130, x_133); +x_152 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux(x_1, x_2, x_10, x_151, x_132, x_143); lean_dec(x_10); if (x_2 == 0) { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); -lean_dec(x_140); -x_143 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_130, x_142); -lean_dec(x_130); -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; +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +lean_dec(x_152); +x_155 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_132, x_154); +lean_dec(x_132); +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_155)) { + lean_ctor_release(x_155, 0); + lean_ctor_release(x_155, 1); + x_158 = x_155; } else { - lean_dec_ref(x_143); - x_146 = lean_box(0); + lean_dec_ref(x_155); + x_158 = lean_box(0); } -x_147 = l_Lean_Parser_Tactic_inductionAlt___closed__5; -lean_inc(x_144); -x_148 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_148, 0, x_144); -lean_ctor_set(x_148, 1, x_147); -x_149 = l_Array_empty___closed__1; -x_150 = lean_array_push(x_149, x_148); -x_151 = l_myMacro____x40_Init_Notation___hyg_13856____closed__9; -lean_inc(x_144); -x_152 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_152, 0, x_144); -lean_ctor_set(x_152, 1, x_151); -x_153 = lean_array_push(x_149, x_152); -x_154 = lean_array_push(x_149, x_138); -x_155 = l_Lean_nullKind___closed__2; -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_154); -x_157 = lean_array_push(x_149, x_156); -x_158 = l_myMacro____x40_Init_Notation___hyg_13856____closed__13; +lean_inc(x_156); x_159 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_159, 0, x_144); -lean_ctor_set(x_159, 1, x_158); -x_160 = lean_array_push(x_157, x_159); -x_161 = lean_array_push(x_160, x_141); -x_162 = l_myMacro____x40_Init_Notation___hyg_13856____closed__12; -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_161); -x_164 = lean_array_push(x_153, x_163); -x_165 = l_myMacro____x40_Init_Notation___hyg_13856____closed__10; +lean_ctor_set(x_159, 0, x_156); +lean_ctor_set(x_159, 1, x_144); +x_160 = lean_array_push(x_146, x_159); +x_161 = l_myMacro____x40_Init_Notation___hyg_13856____closed__9; +lean_inc(x_156); +x_162 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_162, 0, x_156); +lean_ctor_set(x_162, 1, x_161); +x_163 = lean_array_push(x_146, x_162); +x_164 = lean_array_push(x_146, x_140); +x_165 = l_Lean_nullKind___closed__2; x_166 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_166, 0, x_165); lean_ctor_set(x_166, 1, x_164); -x_167 = lean_array_push(x_150, x_166); -x_168 = l_myMacro____x40_Init_NotationExtra___hyg_5662____closed__28; -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -if (lean_is_scalar(x_146)) { - x_170 = lean_alloc_ctor(0, 2, 0); +x_167 = lean_array_push(x_146, x_166); +x_168 = l_myMacro____x40_Init_Notation___hyg_13856____closed__13; +x_169 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_169, 0, x_156); +lean_ctor_set(x_169, 1, x_168); +x_170 = lean_array_push(x_167, x_169); +x_171 = lean_array_push(x_170, x_153); +x_172 = l_myMacro____x40_Init_Notation___hyg_13856____closed__12; +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_171); +x_174 = lean_array_push(x_163, x_173); +x_175 = l_myMacro____x40_Init_Notation___hyg_13856____closed__10; +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_174); +x_177 = lean_array_push(x_160, x_176); +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_149); +lean_ctor_set(x_178, 1, x_177); +if (lean_is_scalar(x_158)) { + x_179 = lean_alloc_ctor(0, 2, 0); } else { - x_170 = x_146; + x_179 = x_158; } -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_145); -return x_170; +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_157); +return x_179; } else { -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; 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; -x_171 = lean_ctor_get(x_140, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_140, 1); -lean_inc(x_172); -lean_dec(x_140); -x_173 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_130, x_172); -lean_dec(x_130); -x_174 = lean_ctor_get(x_173, 0); -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; +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_180 = lean_ctor_get(x_152, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_152, 1); +lean_inc(x_181); +lean_dec(x_152); +x_182 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_132, x_181); +lean_dec(x_132); +x_183 = lean_ctor_get(x_182, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_182, 1); +lean_inc(x_184); +if (lean_is_exclusive(x_182)) { + lean_ctor_release(x_182, 0); + lean_ctor_release(x_182, 1); + x_185 = x_182; } else { - lean_dec_ref(x_173); - x_176 = lean_box(0); + lean_dec_ref(x_182); + x_185 = lean_box(0); } -x_177 = l_Lean_Parser_Tactic_intro___closed__3; -lean_inc(x_174); -x_178 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_178, 0, x_174); -lean_ctor_set(x_178, 1, x_177); -x_179 = l_Array_empty___closed__1; -x_180 = lean_array_push(x_179, x_178); -x_181 = lean_array_push(x_179, x_138); -x_182 = l_Lean_nullKind___closed__2; -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_181); -x_184 = lean_array_push(x_180, x_183); -x_185 = l_Lean_Parser_Tactic_intro___closed__4; -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set(x_186, 1, x_184); -x_187 = lean_array_push(x_179, x_186); -x_188 = l_myMacro____x40_Init_Notation___hyg_15947____closed__12; -x_189 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_189, 0, x_174); -lean_ctor_set(x_189, 1, x_188); -x_190 = lean_array_push(x_187, x_189); -x_191 = lean_array_push(x_190, x_171); -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_182); -lean_ctor_set(x_192, 1, x_191); -x_193 = lean_array_push(x_179, x_192); -x_194 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17219____closed__2; -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_193); -if (lean_is_scalar(x_176)) { - x_196 = lean_alloc_ctor(0, 2, 0); +x_186 = l_Lean_Parser_Tactic_intro___closed__3; +lean_inc(x_183); +x_187 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_187, 0, x_183); +lean_ctor_set(x_187, 1, x_186); +x_188 = lean_array_push(x_146, x_187); +x_189 = lean_array_push(x_146, x_140); +x_190 = l_Lean_nullKind___closed__2; +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_189); +x_192 = lean_array_push(x_188, x_191); +x_193 = l_Lean_Parser_Tactic_intro___closed__4; +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_192); +x_195 = lean_array_push(x_146, x_194); +x_196 = l_myMacro____x40_Init_Notation___hyg_15947____closed__12; +x_197 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_197, 0, x_183); +lean_ctor_set(x_197, 1, x_196); +x_198 = lean_array_push(x_195, x_197); +x_199 = lean_array_push(x_198, x_180); +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_190); +lean_ctor_set(x_200, 1, x_199); +x_201 = lean_array_push(x_146, x_200); +x_202 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17219____closed__2; +x_203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_201); +if (lean_is_scalar(x_185)) { + x_204 = lean_alloc_ctor(0, 2, 0); } else { - x_196 = x_176; + x_204 = x_185; } -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_175); -return x_196; +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_184); +return x_204; } } } @@ -19446,204 +19468,204 @@ else { if (x_2 == 0) { -lean_object* x_197; uint8_t x_198; -x_197 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_5, x_6); +lean_object* x_205; uint8_t x_206; +x_205 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_5, x_6); lean_dec(x_5); -x_198 = !lean_is_exclusive(x_197); -if (x_198 == 0) +x_206 = !lean_is_exclusive(x_205); +if (x_206 == 0) { -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; size_t x_205; size_t x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_199 = lean_ctor_get(x_197, 0); -x_200 = l_myMacro____x40_Init_Notation___hyg_14458____closed__1; -lean_inc(x_199); -x_201 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_200); -x_202 = l_Array_empty___closed__1; -x_203 = lean_array_push(x_202, x_201); -x_204 = lean_array_get_size(x_4); -x_205 = lean_usize_of_nat(x_204); -lean_dec(x_204); -x_206 = 0; -x_207 = x_4; -x_208 = l_myMacro____x40_Init_Notation___hyg_2278____closed__2; -x_209 = l_Lean_nullKind___closed__2; -x_210 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__1(x_208, x_202, x_209, x_205, x_206, x_207); -x_211 = x_210; -x_212 = l_myMacro____x40_Init_NotationExtra___hyg_5201____closed__6; -x_213 = l_Lean_mkSepArray(x_211, x_212); -lean_dec(x_211); -x_214 = l_Array_appendCore___rarg(x_202, x_213); -lean_dec(x_213); -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_209); -lean_ctor_set(x_215, 1, x_214); -x_216 = lean_array_push(x_203, x_215); -x_217 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_218 = lean_array_push(x_216, x_217); -x_219 = l_myMacro____x40_Init_Notation___hyg_14458____closed__6; -x_220 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_220, 0, x_199); -lean_ctor_set(x_220, 1, x_219); -x_221 = lean_array_push(x_218, x_220); -x_222 = lean_array_push(x_221, x_1); -x_223 = l_myMacro____x40_Init_Notation___hyg_14458____closed__2; -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -lean_ctor_set(x_197, 0, x_224); -return x_197; -} -else -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; size_t x_232; size_t x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; -x_225 = lean_ctor_get(x_197, 0); -x_226 = lean_ctor_get(x_197, 1); -lean_inc(x_226); -lean_inc(x_225); -lean_dec(x_197); -x_227 = l_myMacro____x40_Init_Notation___hyg_14458____closed__1; -lean_inc(x_225); +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; size_t x_213; size_t x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_207 = lean_ctor_get(x_205, 0); +x_208 = l_myMacro____x40_Init_Notation___hyg_14458____closed__1; +lean_inc(x_207); +x_209 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_209, 0, x_207); +lean_ctor_set(x_209, 1, x_208); +x_210 = l_Array_empty___closed__1; +x_211 = lean_array_push(x_210, x_209); +x_212 = lean_array_get_size(x_4); +x_213 = lean_usize_of_nat(x_212); +lean_dec(x_212); +x_214 = 0; +x_215 = x_4; +x_216 = l_myMacro____x40_Init_Notation___hyg_2278____closed__2; +x_217 = l_Lean_nullKind___closed__2; +x_218 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__1(x_216, x_210, x_217, x_213, x_214, x_215); +x_219 = x_218; +x_220 = l_myMacro____x40_Init_NotationExtra___hyg_5201____closed__6; +x_221 = l_Lean_mkSepArray(x_219, x_220); +lean_dec(x_219); +x_222 = l_Array_appendCore___rarg(x_210, x_221); +lean_dec(x_221); +x_223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_223, 0, x_217); +lean_ctor_set(x_223, 1, x_222); +x_224 = lean_array_push(x_211, x_223); +x_225 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_226 = lean_array_push(x_224, x_225); +x_227 = l_myMacro____x40_Init_Notation___hyg_14458____closed__6; x_228 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_228, 0, x_225); +lean_ctor_set(x_228, 0, x_207); lean_ctor_set(x_228, 1, x_227); -x_229 = l_Array_empty___closed__1; -x_230 = lean_array_push(x_229, x_228); -x_231 = lean_array_get_size(x_4); -x_232 = lean_usize_of_nat(x_231); -lean_dec(x_231); -x_233 = 0; -x_234 = x_4; -x_235 = l_myMacro____x40_Init_Notation___hyg_2278____closed__2; -x_236 = l_Lean_nullKind___closed__2; -x_237 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__1(x_235, x_229, x_236, x_232, x_233, x_234); -x_238 = x_237; -x_239 = l_myMacro____x40_Init_NotationExtra___hyg_5201____closed__6; -x_240 = l_Lean_mkSepArray(x_238, x_239); -lean_dec(x_238); -x_241 = l_Array_appendCore___rarg(x_229, x_240); -lean_dec(x_240); -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_236); -lean_ctor_set(x_242, 1, x_241); -x_243 = lean_array_push(x_230, x_242); -x_244 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_245 = lean_array_push(x_243, x_244); -x_246 = l_myMacro____x40_Init_Notation___hyg_14458____closed__6; -x_247 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_247, 0, x_225); -lean_ctor_set(x_247, 1, x_246); -x_248 = lean_array_push(x_245, x_247); -x_249 = lean_array_push(x_248, x_1); -x_250 = l_myMacro____x40_Init_Notation___hyg_14458____closed__2; -x_251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_251, 0, x_250); -lean_ctor_set(x_251, 1, x_249); -x_252 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_226); -return x_252; +x_229 = lean_array_push(x_226, x_228); +x_230 = lean_array_push(x_229, x_1); +x_231 = l_myMacro____x40_Init_Notation___hyg_14458____closed__2; +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_231); +lean_ctor_set(x_232, 1, x_230); +lean_ctor_set(x_205, 0, x_232); +return x_205; +} +else +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; size_t x_240; size_t x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_233 = lean_ctor_get(x_205, 0); +x_234 = lean_ctor_get(x_205, 1); +lean_inc(x_234); +lean_inc(x_233); +lean_dec(x_205); +x_235 = l_myMacro____x40_Init_Notation___hyg_14458____closed__1; +lean_inc(x_233); +x_236 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_236, 0, x_233); +lean_ctor_set(x_236, 1, x_235); +x_237 = l_Array_empty___closed__1; +x_238 = lean_array_push(x_237, x_236); +x_239 = lean_array_get_size(x_4); +x_240 = lean_usize_of_nat(x_239); +lean_dec(x_239); +x_241 = 0; +x_242 = x_4; +x_243 = l_myMacro____x40_Init_Notation___hyg_2278____closed__2; +x_244 = l_Lean_nullKind___closed__2; +x_245 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__1(x_243, x_237, x_244, x_240, x_241, x_242); +x_246 = x_245; +x_247 = l_myMacro____x40_Init_NotationExtra___hyg_5201____closed__6; +x_248 = l_Lean_mkSepArray(x_246, x_247); +lean_dec(x_246); +x_249 = l_Array_appendCore___rarg(x_237, x_248); +lean_dec(x_248); +x_250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_250, 0, x_244); +lean_ctor_set(x_250, 1, x_249); +x_251 = lean_array_push(x_238, x_250); +x_252 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_253 = lean_array_push(x_251, x_252); +x_254 = l_myMacro____x40_Init_Notation___hyg_14458____closed__6; +x_255 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_255, 0, x_233); +lean_ctor_set(x_255, 1, x_254); +x_256 = lean_array_push(x_253, x_255); +x_257 = lean_array_push(x_256, x_1); +x_258 = l_myMacro____x40_Init_Notation___hyg_14458____closed__2; +x_259 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_257); +x_260 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_260, 1, x_234); +return x_260; } } else { -lean_object* x_253; uint8_t x_254; -x_253 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_5, x_6); +lean_object* x_261; uint8_t x_262; +x_261 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_5, x_6); lean_dec(x_5); -x_254 = !lean_is_exclusive(x_253); -if (x_254 == 0) +x_262 = !lean_is_exclusive(x_261); +if (x_262 == 0) { -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; size_t x_261; size_t x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; -x_255 = lean_ctor_get(x_253, 0); -x_256 = l_myMacro____x40_Init_Notation___hyg_14458____closed__1; -lean_inc(x_255); -x_257 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_257, 0, x_255); -lean_ctor_set(x_257, 1, x_256); -x_258 = l_Array_empty___closed__1; -x_259 = lean_array_push(x_258, x_257); -x_260 = lean_array_get_size(x_4); -x_261 = lean_usize_of_nat(x_260); -lean_dec(x_260); -x_262 = 0; -x_263 = x_4; -x_264 = l_Lean_Parser_Syntax_addPrec___closed__4; -x_265 = l_Lean_nullKind___closed__2; -x_266 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__2(x_264, x_258, x_265, x_261, x_262, x_263); -x_267 = x_266; -x_268 = l_myMacro____x40_Init_NotationExtra___hyg_5201____closed__6; -x_269 = l_Lean_mkSepArray(x_267, x_268); -lean_dec(x_267); -x_270 = l_Array_appendCore___rarg(x_258, x_269); -lean_dec(x_269); -x_271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_271, 0, x_265); -lean_ctor_set(x_271, 1, x_270); -x_272 = lean_array_push(x_259, x_271); -x_273 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_274 = lean_array_push(x_272, x_273); -x_275 = l_myMacro____x40_Init_Notation___hyg_14458____closed__6; -x_276 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_276, 0, x_255); -lean_ctor_set(x_276, 1, x_275); -x_277 = lean_array_push(x_274, x_276); -x_278 = lean_array_push(x_277, x_1); -x_279 = l_Lean_Parser_Tactic_match___elambda__1___closed__1; -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_278); -lean_ctor_set(x_253, 0, x_280); -return x_253; +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; size_t x_269; size_t x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; +x_263 = lean_ctor_get(x_261, 0); +x_264 = l_myMacro____x40_Init_Notation___hyg_14458____closed__1; +lean_inc(x_263); +x_265 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_265, 0, x_263); +lean_ctor_set(x_265, 1, x_264); +x_266 = l_Array_empty___closed__1; +x_267 = lean_array_push(x_266, x_265); +x_268 = lean_array_get_size(x_4); +x_269 = lean_usize_of_nat(x_268); +lean_dec(x_268); +x_270 = 0; +x_271 = x_4; +x_272 = l_Lean_Parser_Syntax_addPrec___closed__4; +x_273 = l_Lean_nullKind___closed__2; +x_274 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__2(x_272, x_266, x_273, x_269, x_270, x_271); +x_275 = x_274; +x_276 = l_myMacro____x40_Init_NotationExtra___hyg_5201____closed__6; +x_277 = l_Lean_mkSepArray(x_275, x_276); +lean_dec(x_275); +x_278 = l_Array_appendCore___rarg(x_266, x_277); +lean_dec(x_277); +x_279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_279, 0, x_273); +lean_ctor_set(x_279, 1, x_278); +x_280 = lean_array_push(x_267, x_279); +x_281 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_282 = lean_array_push(x_280, x_281); +x_283 = l_myMacro____x40_Init_Notation___hyg_14458____closed__6; +x_284 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_284, 0, x_263); +lean_ctor_set(x_284, 1, x_283); +x_285 = lean_array_push(x_282, x_284); +x_286 = lean_array_push(x_285, x_1); +x_287 = l_Lean_Parser_Tactic_match___elambda__1___closed__1; +x_288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_288, 0, x_287); +lean_ctor_set(x_288, 1, x_286); +lean_ctor_set(x_261, 0, x_288); +return x_261; } else { -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; size_t x_288; size_t x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; -x_281 = lean_ctor_get(x_253, 0); -x_282 = lean_ctor_get(x_253, 1); -lean_inc(x_282); -lean_inc(x_281); -lean_dec(x_253); -x_283 = l_myMacro____x40_Init_Notation___hyg_14458____closed__1; -lean_inc(x_281); -x_284 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_284, 0, x_281); -lean_ctor_set(x_284, 1, x_283); -x_285 = l_Array_empty___closed__1; -x_286 = lean_array_push(x_285, x_284); -x_287 = lean_array_get_size(x_4); -x_288 = lean_usize_of_nat(x_287); -lean_dec(x_287); -x_289 = 0; -x_290 = x_4; -x_291 = l_Lean_Parser_Syntax_addPrec___closed__4; -x_292 = l_Lean_nullKind___closed__2; -x_293 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__2(x_291, x_285, x_292, x_288, x_289, x_290); -x_294 = x_293; -x_295 = l_myMacro____x40_Init_NotationExtra___hyg_5201____closed__6; -x_296 = l_Lean_mkSepArray(x_294, x_295); -lean_dec(x_294); -x_297 = l_Array_appendCore___rarg(x_285, x_296); -lean_dec(x_296); -x_298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_298, 0, x_292); -lean_ctor_set(x_298, 1, x_297); -x_299 = lean_array_push(x_286, x_298); -x_300 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_301 = lean_array_push(x_299, x_300); -x_302 = l_myMacro____x40_Init_Notation___hyg_14458____closed__6; -x_303 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_303, 0, x_281); -lean_ctor_set(x_303, 1, x_302); -x_304 = lean_array_push(x_301, x_303); -x_305 = lean_array_push(x_304, x_1); -x_306 = l_Lean_Parser_Tactic_match___elambda__1___closed__1; -x_307 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_307, 0, x_306); -lean_ctor_set(x_307, 1, x_305); -x_308 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_308, 0, x_307); -lean_ctor_set(x_308, 1, x_282); -return x_308; +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; size_t x_296; size_t x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; +x_289 = lean_ctor_get(x_261, 0); +x_290 = lean_ctor_get(x_261, 1); +lean_inc(x_290); +lean_inc(x_289); +lean_dec(x_261); +x_291 = l_myMacro____x40_Init_Notation___hyg_14458____closed__1; +lean_inc(x_289); +x_292 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_292, 0, x_289); +lean_ctor_set(x_292, 1, x_291); +x_293 = l_Array_empty___closed__1; +x_294 = lean_array_push(x_293, x_292); +x_295 = lean_array_get_size(x_4); +x_296 = lean_usize_of_nat(x_295); +lean_dec(x_295); +x_297 = 0; +x_298 = x_4; +x_299 = l_Lean_Parser_Syntax_addPrec___closed__4; +x_300 = l_Lean_nullKind___closed__2; +x_301 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__2(x_299, x_293, x_300, x_296, x_297, x_298); +x_302 = x_301; +x_303 = l_myMacro____x40_Init_NotationExtra___hyg_5201____closed__6; +x_304 = l_Lean_mkSepArray(x_302, x_303); +lean_dec(x_302); +x_305 = l_Array_appendCore___rarg(x_293, x_304); +lean_dec(x_304); +x_306 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_306, 0, x_300); +lean_ctor_set(x_306, 1, x_305); +x_307 = lean_array_push(x_294, x_306); +x_308 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_309 = lean_array_push(x_307, x_308); +x_310 = l_myMacro____x40_Init_Notation___hyg_14458____closed__6; +x_311 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_311, 0, x_289); +lean_ctor_set(x_311, 1, x_310); +x_312 = lean_array_push(x_309, x_311); +x_313 = lean_array_push(x_312, x_1); +x_314 = l_Lean_Parser_Tactic_match___elambda__1___closed__1; +x_315 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_315, 0, x_314); +lean_ctor_set(x_315, 1, x_313); +x_316 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_316, 0, x_315); +lean_ctor_set(x_316, 1, x_290); +return x_316; } } } @@ -19908,7 +19930,7 @@ x_11 = lean_nat_add(x_6, x_9); x_12 = !lean_is_exclusive(x_5); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 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_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; x_13 = lean_ctor_get(x_5, 1); x_14 = lean_ctor_get(x_5, 2); lean_dec(x_14); @@ -19930,409 +19952,434 @@ lean_ctor_set(x_22, 0, x_16); lean_ctor_set(x_22, 1, x_21); lean_ctor_set(x_22, 2, x_19); lean_ctor_set(x_22, 3, x_20); -lean_inc(x_22); -x_23 = lean_array_push(x_4, x_22); -lean_inc(x_5); -x_24 = l_Lean_Elab_Term_expandMatchAltsWhereDecls_loop(x_1, x_2, x_10, x_23, x_5, x_17); -lean_dec(x_10); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_25 = lean_ctor_get(x_24, 0); +x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_16165__expandListLit___spec__1(x_5, x_17); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_5, x_26); +lean_dec(x_23); +x_26 = l_Lean_Parser_Tactic_inductionAlt___closed__5; +x_27 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Array_empty___closed__1; +x_29 = lean_array_push(x_28, x_27); +lean_inc(x_22); +x_30 = lean_array_push(x_29, x_22); +x_31 = l_myMacro____x40_Init_NotationExtra___hyg_5662____closed__28; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_array_push(x_4, x_32); +lean_inc(x_5); +x_34 = l_Lean_Elab_Term_expandMatchAltsWhereDecls_loop(x_1, x_2, x_10, x_33, x_5, x_25); +lean_dec(x_10); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_5, x_36); lean_dec(x_5); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_29 = lean_ctor_get(x_27, 0); -x_30 = l_Lean_Parser_Tactic_inductionAlt___closed__5; -lean_inc(x_29); -x_31 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_Array_empty___closed__1; -x_33 = lean_array_push(x_32, x_31); -x_34 = l_myMacro____x40_Init_Notation___hyg_13856____closed__9; -lean_inc(x_29); -x_35 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_35, 0, x_29); -lean_ctor_set(x_35, 1, x_34); -x_36 = lean_array_push(x_32, x_35); -x_37 = lean_array_push(x_32, x_22); -x_38 = l_Lean_nullKind___closed__2; -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -x_40 = lean_array_push(x_32, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_13856____closed__13; -x_42 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_42, 0, x_29); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_array_push(x_40, x_42); -x_44 = lean_array_push(x_43, x_25); -x_45 = l_myMacro____x40_Init_Notation___hyg_13856____closed__12; -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = lean_array_push(x_36, x_46); -x_48 = l_myMacro____x40_Init_Notation___hyg_13856____closed__10; -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = lean_array_push(x_33, x_49); -x_51 = l_myMacro____x40_Init_NotationExtra___hyg_5662____closed__28; -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -lean_ctor_set(x_27, 0, x_52); -return x_27; +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; +x_39 = lean_ctor_get(x_37, 0); +lean_inc(x_39); +x_40 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_26); +x_41 = lean_array_push(x_28, x_40); +x_42 = l_myMacro____x40_Init_Notation___hyg_13856____closed__9; +lean_inc(x_39); +x_43 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_43, 0, x_39); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_array_push(x_28, x_43); +x_45 = lean_array_push(x_28, x_22); +x_46 = l_Lean_nullKind___closed__2; +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = lean_array_push(x_28, x_47); +x_49 = l_myMacro____x40_Init_Notation___hyg_13856____closed__13; +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_39); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_array_push(x_48, x_50); +x_52 = lean_array_push(x_51, x_35); +x_53 = l_myMacro____x40_Init_Notation___hyg_13856____closed__12; +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_44, x_54); +x_56 = l_myMacro____x40_Init_Notation___hyg_13856____closed__10; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = lean_array_push(x_41, x_57); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_31); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_37, 0, x_59); +return x_37; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_53 = lean_ctor_get(x_27, 0); -x_54 = lean_ctor_get(x_27, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_27); -x_55 = l_Lean_Parser_Tactic_inductionAlt___closed__5; -lean_inc(x_53); -x_56 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_56, 0, x_53); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Array_empty___closed__1; -x_58 = lean_array_push(x_57, x_56); -x_59 = l_myMacro____x40_Init_Notation___hyg_13856____closed__9; -lean_inc(x_53); -x_60 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_60, 0, x_53); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_array_push(x_57, x_60); -x_62 = lean_array_push(x_57, x_22); -x_63 = l_Lean_nullKind___closed__2; -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -x_65 = lean_array_push(x_57, x_64); -x_66 = l_myMacro____x40_Init_Notation___hyg_13856____closed__13; -x_67 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_67, 0, x_53); -lean_ctor_set(x_67, 1, x_66); -x_68 = lean_array_push(x_65, x_67); -x_69 = lean_array_push(x_68, x_25); -x_70 = l_myMacro____x40_Init_Notation___hyg_13856____closed__12; -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -x_72 = lean_array_push(x_61, x_71); -x_73 = l_myMacro____x40_Init_Notation___hyg_13856____closed__10; -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -x_75 = lean_array_push(x_58, x_74); -x_76 = l_myMacro____x40_Init_NotationExtra___hyg_5662____closed__28; -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_54); -return x_78; -} -} -else -{ -uint8_t x_79; -lean_dec(x_22); -lean_dec(x_5); -x_79 = !lean_is_exclusive(x_24); -if (x_79 == 0) -{ -return x_24; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_24, 0); -x_81 = lean_ctor_get(x_24, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_24); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_60 = lean_ctor_get(x_37, 0); +x_61 = lean_ctor_get(x_37, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_37); +lean_inc(x_60); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_26); +x_63 = lean_array_push(x_28, x_62); +x_64 = l_myMacro____x40_Init_Notation___hyg_13856____closed__9; +lean_inc(x_60); +x_65 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_65, 0, x_60); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_array_push(x_28, x_65); +x_67 = lean_array_push(x_28, x_22); +x_68 = l_Lean_nullKind___closed__2; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = lean_array_push(x_28, x_69); +x_71 = l_myMacro____x40_Init_Notation___hyg_13856____closed__13; +x_72 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_72, 0, x_60); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_array_push(x_70, x_72); +x_74 = lean_array_push(x_73, x_35); +x_75 = l_myMacro____x40_Init_Notation___hyg_13856____closed__12; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = lean_array_push(x_66, x_76); +x_78 = l_myMacro____x40_Init_Notation___hyg_13856____closed__10; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = lean_array_push(x_63, x_79); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_31); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_61); return x_82; } } +else +{ +uint8_t x_83; +lean_dec(x_22); +lean_dec(x_5); +x_83 = !lean_is_exclusive(x_34); +if (x_83 == 0) +{ +return x_34; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_83 = lean_ctor_get(x_5, 0); -x_84 = lean_ctor_get(x_5, 1); -x_85 = lean_ctor_get(x_5, 3); -x_86 = lean_ctor_get(x_5, 4); -x_87 = lean_ctor_get(x_5, 5); -lean_inc(x_87); -lean_inc(x_86); +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_34, 0); +x_85 = lean_ctor_get(x_34, 1); lean_inc(x_85); lean_inc(x_84); -lean_inc(x_83); +lean_dec(x_34); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} +} +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_87 = lean_ctor_get(x_5, 0); +x_88 = lean_ctor_get(x_5, 1); +x_89 = lean_ctor_get(x_5, 3); +x_90 = lean_ctor_get(x_5, 4); +x_91 = lean_ctor_get(x_5, 5); +lean_inc(x_91); +lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_87); lean_dec(x_5); lean_inc(x_6); -lean_inc(x_84); -x_88 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_88, 0, x_83); -lean_ctor_set(x_88, 1, x_84); -lean_ctor_set(x_88, 2, x_6); -lean_ctor_set(x_88, 3, x_85); -lean_ctor_set(x_88, 4, x_86); -lean_ctor_set(x_88, 5, x_87); -x_89 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_16165__expandListLit___spec__1(x_88, x_11); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = l_Lean_Meta_mkArrow___closed__2; -x_93 = l_Lean_addMacroScope(x_84, x_92, x_6); -x_94 = lean_box(0); -x_95 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2; -x_96 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_96, 0, x_90); -lean_ctor_set(x_96, 1, x_95); -lean_ctor_set(x_96, 2, x_93); -lean_ctor_set(x_96, 3, x_94); -lean_inc(x_96); -x_97 = lean_array_push(x_4, x_96); lean_inc(x_88); -x_98 = l_Lean_Elab_Term_expandMatchAltsWhereDecls_loop(x_1, x_2, x_10, x_97, x_88, x_91); -lean_dec(x_10); -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -lean_dec(x_98); -x_101 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_88, x_100); -lean_dec(x_88); +x_92 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_92, 0, x_87); +lean_ctor_set(x_92, 1, x_88); +lean_ctor_set(x_92, 2, x_6); +lean_ctor_set(x_92, 3, x_89); +lean_ctor_set(x_92, 4, x_90); +lean_ctor_set(x_92, 5, x_91); +x_93 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_16165__expandListLit___spec__1(x_92, x_11); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = l_Lean_Meta_mkArrow___closed__2; +x_97 = l_Lean_addMacroScope(x_88, x_96, x_6); +x_98 = lean_box(0); +x_99 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2; +x_100 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_100, 0, x_94); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_100, 2, x_97); +lean_ctor_set(x_100, 3, x_98); +x_101 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_16165__expandListLit___spec__1(x_92, x_95); x_102 = lean_ctor_get(x_101, 0); lean_inc(x_102); x_103 = lean_ctor_get(x_101, 1); lean_inc(x_103); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_104 = x_101; -} else { - lean_dec_ref(x_101); - x_104 = lean_box(0); -} -x_105 = l_Lean_Parser_Tactic_inductionAlt___closed__5; -lean_inc(x_102); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_102); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Array_empty___closed__1; -x_108 = lean_array_push(x_107, x_106); -x_109 = l_myMacro____x40_Init_Notation___hyg_13856____closed__9; -lean_inc(x_102); -x_110 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_110, 0, x_102); -lean_ctor_set(x_110, 1, x_109); -x_111 = lean_array_push(x_107, x_110); -x_112 = lean_array_push(x_107, x_96); -x_113 = l_Lean_nullKind___closed__2; -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_112); -x_115 = lean_array_push(x_107, x_114); -x_116 = l_myMacro____x40_Init_Notation___hyg_13856____closed__13; -x_117 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_117, 0, x_102); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_array_push(x_115, x_117); -x_119 = lean_array_push(x_118, x_99); -x_120 = l_myMacro____x40_Init_Notation___hyg_13856____closed__12; -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = lean_array_push(x_111, x_121); -x_123 = l_myMacro____x40_Init_Notation___hyg_13856____closed__10; -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = lean_array_push(x_108, x_124); -x_126 = l_myMacro____x40_Init_NotationExtra___hyg_5662____closed__28; -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_125); -if (lean_is_scalar(x_104)) { - x_128 = lean_alloc_ctor(0, 2, 0); -} else { - x_128 = x_104; -} -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_103); -return x_128; -} -else +lean_dec(x_101); +x_104 = l_Lean_Parser_Tactic_inductionAlt___closed__5; +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_102); +lean_ctor_set(x_105, 1, x_104); +x_106 = l_Array_empty___closed__1; +x_107 = lean_array_push(x_106, x_105); +lean_inc(x_100); +x_108 = lean_array_push(x_107, x_100); +x_109 = l_myMacro____x40_Init_NotationExtra___hyg_5662____closed__28; +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +x_111 = lean_array_push(x_4, x_110); +lean_inc(x_92); +x_112 = l_Lean_Elab_Term_expandMatchAltsWhereDecls_loop(x_1, x_2, x_10, x_111, x_92, x_103); +lean_dec(x_10); +if (lean_obj_tag(x_112) == 0) { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -lean_dec(x_96); -lean_dec(x_88); -x_129 = lean_ctor_get(x_98, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_98, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_131 = x_98; +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_115 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_113____spec__1(x_92, x_114); +lean_dec(x_92); +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_118 = x_115; } else { - lean_dec_ref(x_98); - x_131 = lean_box(0); + lean_dec_ref(x_115); + x_118 = lean_box(0); } -if (lean_is_scalar(x_131)) { - x_132 = lean_alloc_ctor(1, 2, 0); -} else { - x_132 = x_131; -} -lean_ctor_set(x_132, 0, x_129); -lean_ctor_set(x_132, 1, x_130); -return x_132; -} -} -} -else -{ -lean_object* x_133; uint8_t x_134; -x_133 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_16165__expandListLit___spec__1(x_5, x_6); -x_134 = !lean_is_exclusive(x_133); -if (x_134 == 0) -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; size_t x_142; size_t x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; -x_135 = lean_ctor_get(x_133, 0); -x_136 = lean_ctor_get(x_133, 1); -x_137 = l_myMacro____x40_Init_Notation___hyg_14458____closed__1; -lean_inc(x_135); -x_138 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_138, 0, x_135); +lean_inc(x_116); +x_119 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_119, 0, x_116); +lean_ctor_set(x_119, 1, x_104); +x_120 = lean_array_push(x_106, x_119); +x_121 = l_myMacro____x40_Init_Notation___hyg_13856____closed__9; +lean_inc(x_116); +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_116); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_106, x_122); +x_124 = lean_array_push(x_106, x_100); +x_125 = l_Lean_nullKind___closed__2; +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_124); +x_127 = lean_array_push(x_106, x_126); +x_128 = l_myMacro____x40_Init_Notation___hyg_13856____closed__13; +x_129 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_129, 0, x_116); +lean_ctor_set(x_129, 1, x_128); +x_130 = lean_array_push(x_127, x_129); +x_131 = lean_array_push(x_130, x_113); +x_132 = l_myMacro____x40_Init_Notation___hyg_13856____closed__12; +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = lean_array_push(x_123, x_133); +x_135 = l_myMacro____x40_Init_Notation___hyg_13856____closed__10; +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +x_137 = lean_array_push(x_120, x_136); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_109); lean_ctor_set(x_138, 1, x_137); -x_139 = l_Array_empty___closed__1; -x_140 = lean_array_push(x_139, x_138); -x_141 = lean_array_get_size(x_4); -x_142 = lean_usize_of_nat(x_141); -lean_dec(x_141); -x_143 = 0; -x_144 = x_4; -x_145 = l_myMacro____x40_Init_Notation___hyg_2278____closed__2; -x_146 = l_Lean_nullKind___closed__2; -x_147 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecls_loop___spec__1(x_145, x_139, x_146, x_142, x_143, x_144); -x_148 = x_147; -x_149 = l_myMacro____x40_Init_NotationExtra___hyg_5201____closed__6; -x_150 = l_Lean_mkSepArray(x_148, x_149); -lean_dec(x_148); -x_151 = l_Array_appendCore___rarg(x_139, x_150); -lean_dec(x_150); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_146); -lean_ctor_set(x_152, 1, x_151); -x_153 = lean_array_push(x_140, x_152); -x_154 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_155 = lean_array_push(x_153, x_154); -x_156 = l_myMacro____x40_Init_Notation___hyg_14458____closed__6; -x_157 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_157, 0, x_135); -lean_ctor_set(x_157, 1, x_156); -x_158 = lean_array_push(x_155, x_157); -x_159 = lean_array_push(x_158, x_1); -x_160 = l_myMacro____x40_Init_Notation___hyg_14458____closed__2; -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_159); -x_162 = l_Lean_Syntax_isNone(x_2); -if (x_162 == 0) +if (lean_is_scalar(x_118)) { + x_139 = lean_alloc_ctor(0, 2, 0); +} else { + x_139 = x_118; +} +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_117); +return x_139; +} +else { -lean_object* x_163; -lean_free_object(x_133); -x_163 = l_Lean_Elab_Term_expandWhereDeclsOpt(x_2, x_161, x_5, x_136); -return x_163; +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +lean_dec(x_100); +lean_dec(x_92); +x_140 = lean_ctor_get(x_112, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_112, 1); +lean_inc(x_141); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_142 = x_112; +} else { + lean_dec_ref(x_112); + x_142 = lean_box(0); +} +if (lean_is_scalar(x_142)) { + x_143 = lean_alloc_ctor(1, 2, 0); +} else { + x_143 = x_142; +} +lean_ctor_set(x_143, 0, x_140); +lean_ctor_set(x_143, 1, x_141); +return x_143; +} +} +} +else +{ +lean_object* x_144; uint8_t x_145; +x_144 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_myMacro____x40_Init_Notation___hyg_16165__expandListLit___spec__1(x_5, x_6); +x_145 = !lean_is_exclusive(x_144); +if (x_145 == 0) +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; size_t x_153; size_t x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; +x_146 = lean_ctor_get(x_144, 0); +x_147 = lean_ctor_get(x_144, 1); +x_148 = l_myMacro____x40_Init_Notation___hyg_14458____closed__1; +lean_inc(x_146); +x_149 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_149, 0, x_146); +lean_ctor_set(x_149, 1, x_148); +x_150 = l_Array_empty___closed__1; +x_151 = lean_array_push(x_150, x_149); +x_152 = lean_array_get_size(x_4); +x_153 = lean_usize_of_nat(x_152); +lean_dec(x_152); +x_154 = 0; +x_155 = x_4; +x_156 = l_myMacro____x40_Init_Notation___hyg_2278____closed__2; +x_157 = l_Lean_nullKind___closed__2; +x_158 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecls_loop___spec__1(x_156, x_150, x_157, x_153, x_154, x_155); +x_159 = x_158; +x_160 = l_myMacro____x40_Init_NotationExtra___hyg_5201____closed__6; +x_161 = l_Lean_mkSepArray(x_159, x_160); +lean_dec(x_159); +x_162 = l_Array_appendCore___rarg(x_150, x_161); +lean_dec(x_161); +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_157); +lean_ctor_set(x_163, 1, x_162); +x_164 = lean_array_push(x_151, x_163); +x_165 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_166 = lean_array_push(x_164, x_165); +x_167 = l_myMacro____x40_Init_Notation___hyg_14458____closed__6; +x_168 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_168, 0, x_146); +lean_ctor_set(x_168, 1, x_167); +x_169 = lean_array_push(x_166, x_168); +x_170 = lean_array_push(x_169, x_1); +x_171 = l_myMacro____x40_Init_Notation___hyg_14458____closed__2; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = l_Lean_Syntax_isNone(x_2); +if (x_173 == 0) +{ +lean_object* x_174; +lean_free_object(x_144); +x_174 = l_Lean_Elab_Term_expandWhereDeclsOpt(x_2, x_172, x_5, x_147); +return x_174; } else { lean_dec(x_5); -lean_ctor_set(x_133, 0, x_161); -return x_133; +lean_ctor_set(x_144, 0, x_172); +return x_144; } } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; size_t x_171; size_t x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; -x_164 = lean_ctor_get(x_133, 0); -x_165 = lean_ctor_get(x_133, 1); -lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_133); -x_166 = l_myMacro____x40_Init_Notation___hyg_14458____closed__1; -lean_inc(x_164); -x_167 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_167, 0, x_164); -lean_ctor_set(x_167, 1, x_166); -x_168 = l_Array_empty___closed__1; -x_169 = lean_array_push(x_168, x_167); -x_170 = lean_array_get_size(x_4); -x_171 = lean_usize_of_nat(x_170); -lean_dec(x_170); -x_172 = 0; -x_173 = x_4; -x_174 = l_myMacro____x40_Init_Notation___hyg_2278____closed__2; -x_175 = l_Lean_nullKind___closed__2; -x_176 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecls_loop___spec__1(x_174, x_168, x_175, x_171, x_172, x_173); -x_177 = x_176; -x_178 = l_myMacro____x40_Init_NotationExtra___hyg_5201____closed__6; -x_179 = l_Lean_mkSepArray(x_177, x_178); -lean_dec(x_177); -x_180 = l_Array_appendCore___rarg(x_168, x_179); -lean_dec(x_179); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_175); -lean_ctor_set(x_181, 1, x_180); -x_182 = lean_array_push(x_169, x_181); -x_183 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_184 = lean_array_push(x_182, x_183); -x_185 = l_myMacro____x40_Init_Notation___hyg_14458____closed__6; -x_186 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_186, 0, x_164); -lean_ctor_set(x_186, 1, x_185); -x_187 = lean_array_push(x_184, x_186); -x_188 = lean_array_push(x_187, x_1); -x_189 = l_myMacro____x40_Init_Notation___hyg_14458____closed__2; -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_188); -x_191 = l_Lean_Syntax_isNone(x_2); -if (x_191 == 0) +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; size_t x_182; size_t 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; uint8_t x_202; +x_175 = lean_ctor_get(x_144, 0); +x_176 = lean_ctor_get(x_144, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_144); +x_177 = l_myMacro____x40_Init_Notation___hyg_14458____closed__1; +lean_inc(x_175); +x_178 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_178, 0, x_175); +lean_ctor_set(x_178, 1, x_177); +x_179 = l_Array_empty___closed__1; +x_180 = lean_array_push(x_179, x_178); +x_181 = lean_array_get_size(x_4); +x_182 = lean_usize_of_nat(x_181); +lean_dec(x_181); +x_183 = 0; +x_184 = x_4; +x_185 = l_myMacro____x40_Init_Notation___hyg_2278____closed__2; +x_186 = l_Lean_nullKind___closed__2; +x_187 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecls_loop___spec__1(x_185, x_179, x_186, x_182, x_183, x_184); +x_188 = x_187; +x_189 = l_myMacro____x40_Init_NotationExtra___hyg_5201____closed__6; +x_190 = l_Lean_mkSepArray(x_188, x_189); +lean_dec(x_188); +x_191 = l_Array_appendCore___rarg(x_179, x_190); +lean_dec(x_190); +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_186); +lean_ctor_set(x_192, 1, x_191); +x_193 = lean_array_push(x_180, x_192); +x_194 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_195 = lean_array_push(x_193, x_194); +x_196 = l_myMacro____x40_Init_Notation___hyg_14458____closed__6; +x_197 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_197, 0, x_175); +lean_ctor_set(x_197, 1, x_196); +x_198 = lean_array_push(x_195, x_197); +x_199 = lean_array_push(x_198, x_1); +x_200 = l_myMacro____x40_Init_Notation___hyg_14458____closed__2; +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_199); +x_202 = l_Lean_Syntax_isNone(x_2); +if (x_202 == 0) { -lean_object* x_192; -x_192 = l_Lean_Elab_Term_expandWhereDeclsOpt(x_2, x_190, x_5, x_165); -return x_192; +lean_object* x_203; +x_203 = l_Lean_Elab_Term_expandWhereDeclsOpt(x_2, x_201, x_5, x_176); +return x_203; } else { -lean_object* x_193; +lean_object* x_204; lean_dec(x_5); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_190); -lean_ctor_set(x_193, 1, x_165); -return x_193; +x_204 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_204, 0, x_201); +lean_ctor_set(x_204, 1, x_176); +return x_204; } } } @@ -22241,7 +22288,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__1; x_2 = l_Lean_Elab_Term_elabLetDeclCore___closed__1; -x_3 = lean_unsigned_to_nat(576u); +x_3 = lean_unsigned_to_nat(592u); x_4 = lean_unsigned_to_nat(24u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -22746,7 +22793,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5379_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5465_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -22967,7 +23014,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_5379_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5465_(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/InfoTree.c b/stage0/stdlib/Lean/Elab/InfoTree.c index e6d1b6a187..4af0520e79 100644 --- a/stage0/stdlib/Lean/Elab/InfoTree.c +++ b/stage0/stdlib/Lean/Elab/InfoTree.c @@ -34,6 +34,7 @@ lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___rarg___lambda__3 lean_object* l_Lean_Elab_TacticInfo_format(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_findInfo_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_TermInfo_format___lambda__1___closed__2; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_ContextInfo_toPPContext___boxed(lean_object*, lean_object*); @@ -52,6 +53,7 @@ lean_object* l_Lean_Elab_InfoTree_format_match__1(lean_object*); extern lean_object* l_Array_empty___closed__1; 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*); lean_object* l_Lean_Elab_withInfoContext_x27_match__1(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_enableInfoTree(lean_object*); @@ -116,8 +118,11 @@ lean_object* l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec lean_object* l_Lean_Elab_enableInfoTree___rarg(lean_object*, uint8_t); lean_object* l_Lean_Elab_TacticInfo_format___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_findSomeM_x3f___at_Lean_Elab_InfoTree_findInfo_x3f___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_findInfo_x3f(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getInfoHoleIdAssignment_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_PersistentHashMap_insertAux___rarg___closed__3; lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -168,6 +173,7 @@ lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*); lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__1; lean_object* l_Lean_Elab_ContextInfo_toPPContext(lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoState_assignment___default; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_TermInfo_format___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instMonadInfoTree___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoContext_x27_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -193,6 +199,7 @@ lean_object* l_Lean_Meta_ppExpr___boxed(lean_object*, lean_object*, lean_object* lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo(lean_object*); lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__5; extern lean_object* l_Lean_Unhygienic_run___rarg___closed__2; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_ppGoals___boxed(lean_object*, lean_object*, lean_object*); size_t l_USize_mul(size_t, size_t); lean_object* l_Lean_Elab_ContextInfo_ppGoals___closed__2; @@ -215,6 +222,7 @@ lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*); lean_object* l_Lean_Elab_withInfoContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_term_x2d_____closed__3; lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_InfoTree_substitute___spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__2; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); @@ -238,15 +246,18 @@ lean_object* l_Lean_Elab_MacroExpansionInfo_format___boxed(lean_object*, lean_ob lean_object* l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_format___closed__1; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedInfo___closed__1; lean_object* l_Lean_Elab_CommandInfo_format(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_assignInfoHoleId(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Elab_MacroExpansionInfo_format___closed__1; +lean_object* l_Std_PersistentArray_findSomeM_x3f___at_Lean_Elab_InfoTree_findInfo_x3f___spec__1___boxed(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_CommandInfo_format___closed__2; lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_InfoTree_substitute___spec__2(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr___closed__1; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_List_mapM___at_Lean_Elab_InfoTree_format___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedMacroExpansionInfo; lean_object* l_Lean_Elab_ContextInfo_ppGoals___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -267,13 +278,13 @@ lean_object* l_Lean_Elab_instInhabitedContextInfo; lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); lean_object* l_Lean_ppTerm(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkInfoNode___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; lean_object* l_Lean_Elab_withInfoTreeContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkInfoNode___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_enableInfoTree___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Elab_InfoTree_substitute___spec__6___boxed(lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_findInfo_x3f___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedInfoState; lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___rarg___lambda__1(lean_object*); lean_object* l_Lean_Syntax_getTailInfo(lean_object*); @@ -316,6 +327,7 @@ lean_object* l_Lean_Elab_TacticInfo_format___closed__3; extern lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_pushNewline___closed__1; lean_object* l_Lean_Elab_InfoState_trees___default; lean_object* lean_usize_to_nat(size_t); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; lean_object* l_Lean_resolveGlobalConstNoOverload___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_InfoState_enabled___default; @@ -326,6 +338,7 @@ lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__3(lean_object*, le lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedPUnit; +extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1; lean_object* l_Lean_Elab_InfoTree_format_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedFieldInfo; lean_object* l_Std_Format_nestD(lean_object*); @@ -337,6 +350,7 @@ lean_object* l_Lean_Elab_instInhabitedInfoState___closed__1; extern lean_object* l_Std_PersistentArray_getAux___rarg___closed__1; lean_object* l_Lean_Elab_FieldInfo_format(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoHole___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_findInfo_x3f___spec__2___boxed(lean_object*, lean_object*); static lean_object* _init_l_Lean_Elab_ContextInfo_mctx___default() { _start: { @@ -533,6 +547,506 @@ x_1 = l_Lean_Elab_instInhabitedInfoTree___closed__1; return x_1; } } +lean_object* l_Lean_Elab_InfoTree_findInfo_x3f_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_object* x_7; +lean_dec(x_4); +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_2(x_2, x_5, x_6); +return x_7; +} +case 1: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_4); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_apply_2(x_3, x_8, x_9); +return x_10; +} +default: +{ +lean_object* x_11; +lean_dec(x_3); +lean_dec(x_2); +x_11 = lean_apply_1(x_4, x_1); +return x_11; +} +} +} +} +lean_object* l_Lean_Elab_InfoTree_findInfo_x3f_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_findInfo_x3f_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = x_5 < x_4; +if (x_7 == 0) +{ +lean_dec(x_1); +lean_inc(x_6); +return x_6; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_array_uget(x_3, x_5); +lean_inc(x_1); +x_9 = l_Std_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_findInfo_x3f___spec__2(x_1, x_8); +lean_dec(x_8); +if (lean_obj_tag(x_9) == 0) +{ +size_t x_10; size_t x_11; +x_10 = 1; +x_11 = x_5 + x_10; +{ +size_t _tmp_4 = x_11; +lean_object* _tmp_5 = x_2; +x_5 = _tmp_4; +x_6 = _tmp_5; +} +goto _start; +} +else +{ +uint8_t x_13; +lean_dec(x_1); +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_9); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_9, 0); +lean_inc(x_16); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 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_Elab_InfoTree_findInfo_x3f___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = x_5 < x_4; +if (x_7 == 0) +{ +lean_dec(x_1); +lean_inc(x_6); +return x_6; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_array_uget(x_3, x_5); +lean_inc(x_1); +x_9 = l_Lean_Elab_InfoTree_findInfo_x3f(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +size_t x_10; size_t x_11; +x_10 = 1; +x_11 = x_5 + x_10; +{ +size_t _tmp_4 = x_11; +lean_object* _tmp_5 = x_2; +x_5 = _tmp_4; +x_6 = _tmp_5; +} +goto _start; +} +else +{ +uint8_t x_13; +lean_dec(x_1); +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_9); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_9, 0); +lean_inc(x_16); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +} +lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_findInfo_x3f___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_box(0); +x_5 = lean_array_get_size(x_3); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Array_findSomeM_x3f___rarg___closed__1; +x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__3(x_1, x_8, x_3, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +if (lean_obj_tag(x_10) == 0) +{ +return x_4; +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_ctor_get(x_2, 0); +x_15 = lean_box(0); +x_16 = lean_array_get_size(x_14); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = l_Array_findSomeM_x3f___rarg___closed__1; +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__4(x_1, x_19, x_14, x_17, x_18, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +if (lean_obj_tag(x_21) == 0) +{ +return x_15; +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = x_5 < x_4; +if (x_7 == 0) +{ +lean_dec(x_1); +lean_inc(x_6); +return x_6; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_array_uget(x_3, x_5); +lean_inc(x_1); +x_9 = l_Lean_Elab_InfoTree_findInfo_x3f(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +size_t x_10; size_t x_11; +x_10 = 1; +x_11 = x_5 + x_10; +{ +size_t _tmp_4 = x_11; +lean_object* _tmp_5 = x_2; +x_5 = _tmp_4; +x_6 = _tmp_5; +} +goto _start; +} +else +{ +uint8_t x_13; +lean_dec(x_1); +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_9); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_9, 0); +lean_inc(x_16); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +} +lean_object* l_Std_PersistentArray_findSomeM_x3f___at_Lean_Elab_InfoTree_findInfo_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_1); +x_4 = l_Std_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_findInfo_x3f___spec__2(x_1, x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_box(0); +x_7 = lean_array_get_size(x_5); +x_8 = lean_usize_of_nat(x_7); +lean_dec(x_7); +x_9 = 0; +x_10 = l_Array_findSomeM_x3f___rarg___closed__1; +x_11 = l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__5(x_1, x_10, x_5, x_8, x_9, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +if (lean_obj_tag(x_12) == 0) +{ +return x_6; +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +else +{ +uint8_t x_16; +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_4); +if (x_16 == 0) +{ +return x_4; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_4, 0); +lean_inc(x_17); +lean_dec(x_4); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +} +} +lean_object* l_Lean_Elab_InfoTree_findInfo_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 1); +lean_inc(x_3); +lean_dec(x_2); +x_2 = x_3; +goto _start; +} +case 1: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_inc(x_1); +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); +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; +} +else +{ +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); +return x_10; +} +} +default: +{ +lean_object* x_11; +lean_dec(x_2); +lean_dec(x_1); +x_11 = lean_box(0); +return x_11; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__3(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__4(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_findInfo_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_findInfo_x3f___spec__2(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__5(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Std_PersistentArray_findSomeM_x3f___at_Lean_Elab_InfoTree_findInfo_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_PersistentArray_findSomeM_x3f___at_Lean_Elab_InfoTree_findInfo_x3f___spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} static uint8_t _init_l_Lean_Elab_InfoState_enabled___default() { _start: { @@ -2146,7 +2660,7 @@ lean_ctor_set(x_21, 1, x_20); x_22 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_11); -x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_24 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); @@ -2193,7 +2707,7 @@ lean_ctor_set(x_39, 1, x_38); x_40 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_11); -x_41 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_41 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_42 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_42, 0, x_40); lean_ctor_set(x_42, 1, x_41); @@ -5894,7 +6408,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__3; x_2 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__4; -x_3 = lean_unsigned_to_nat(241u); +x_3 = lean_unsigned_to_nat(251u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index 73ef6ec270..693036a3c6 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -46,7 +46,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__2; lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType___spec__1___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__1(lean_object*); @@ -65,7 +64,6 @@ lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__4; lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__5; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__1; lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l_Lean_Elab_Term_elabMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; @@ -142,6 +140,7 @@ extern lean_object* l_Array_empty___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___rarg___closed__2; lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__2; +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -203,7 +202,7 @@ lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__1(lean_object extern lean_object* l_Lean_Expr_getAppArgs___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_15378____closed__9; +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__2; uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -307,7 +306,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLo lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_value(lean_object*); uint8_t l_Lean_Name_hasMacroScopes(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__5; lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop_match__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(lean_object*); @@ -443,6 +441,7 @@ extern lean_object* l_Lean_choiceKind; lean_object* l_Std_RBNode_revFold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__3___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_charLitKind; lean_object* l_Lean_Elab_Term_withDepElimPatterns_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__5; lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType_match__2(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -529,7 +528,9 @@ uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMatch_elabMatchDefault___ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFVar(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__3; uint8_t l_List_elem___at_Lean_Occurrences_contains___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId___boxed(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_finalizePatternDecls_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -606,7 +607,6 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___privat lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatchWithType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern(lean_object*); lean_object* l_Lean_mkHole(lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -680,7 +680,6 @@ lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesi lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__1; -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__3; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst_match__1(lean_object*); lean_object* l_Std_RBNode_revFold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__3(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_addWildcardPatterns___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -719,6 +718,7 @@ extern lean_object* l_Lean_instInhabitedName; lean_object* l_Lean_Elab_Term_CollectPatternVars_Context_paramDeclIdx___default; lean_object* l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__4; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS_match__1___rarg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); @@ -727,6 +727,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_pr lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__1; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___closed__2; lean_object* l_Std_RBTree_toList___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__2___boxed(lean_object*); lean_object* l_Lean_Expr_arrayLit_x3f(lean_object*); @@ -837,7 +838,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_14458____closed__9; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_loop___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_withDepElimPatterns___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -861,7 +861,6 @@ lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVarWithId(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDepElimPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_kabstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -869,14 +868,15 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux_match__3 lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_mkBinding___spec__1(size_t, size_t, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10066_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_9697_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183_(lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSimpleThunk(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_counterExamplesToMessageData(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType___spec__1___lambda__2___closed__6; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__4; @@ -924,7 +924,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_15947____closed__11; lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__4; uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext; @@ -936,6 +935,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_fi lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__1; uint8_t l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___lambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__1; lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_matchPatternAttr; @@ -1036,92 +1036,6 @@ x_48 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_ return x_48; } } -lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatchWithType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_16); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = l_Lean_Elab_Term_getMainModule___rarg(x_12, x_18); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_15947____closed__1; -lean_inc(x_15); -x_22 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_22, 0, x_15); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Array_empty___closed__1; -x_24 = lean_array_push(x_23, x_22); -x_25 = lean_array_push(x_23, x_3); -x_26 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_27 = lean_array_push(x_25, x_26); -x_28 = l_myMacro____x40_Init_Notation___hyg_15378____closed__9; -lean_inc(x_15); -x_29 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_29, 0, x_15); -lean_ctor_set(x_29, 1, x_28); -x_30 = lean_array_push(x_23, x_29); -x_31 = lean_array_push(x_30, x_4); -x_32 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -x_34 = lean_array_push(x_23, x_33); -x_35 = l_Lean_nullKind___closed__2; -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -x_37 = lean_array_push(x_27, x_36); -x_38 = l_myMacro____x40_Init_Notation___hyg_15947____closed__11; -lean_inc(x_15); -x_39 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_39, 0, x_15); -lean_ctor_set(x_39, 1, x_38); -x_40 = lean_array_push(x_37, x_39); -x_41 = lean_array_push(x_40, x_2); -x_42 = l_myMacro____x40_Init_Notation___hyg_15947____closed__6; -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_23, x_43); -x_45 = l_myMacro____x40_Init_Notation___hyg_15947____closed__4; -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = lean_array_push(x_24, x_46); -x_48 = l_myMacro____x40_Init_Notation___hyg_15947____closed__12; -x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_15); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_array_push(x_23, x_49); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_35); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_array_push(x_47, x_51); -x_53 = lean_array_push(x_52, x_5); -x_54 = l_myMacro____x40_Init_Notation___hyg_15947____closed__2; -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -lean_inc(x_55); -lean_inc(x_1); -x_56 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); -lean_closure_set(x_56, 0, x_1); -lean_closure_set(x_56, 1, x_55); -lean_closure_set(x_56, 2, x_6); -x_57 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_55, x_56, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -return x_57; -} -} lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2204,6 +2118,78 @@ x_3 = lean_box(x_2); return x_3; } } +lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = l_Lean_identKind___closed__2; +lean_inc(x_1); +x_10 = l_Lean_Syntax_isOfKind(x_1, x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = l_myMacro____x40_Init_NotationExtra___hyg_5662____closed__28; +lean_inc(x_1); +x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_4); +lean_dec(x_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_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +lean_dec(x_1); +lean_inc(x_16); +x_17 = l_Lean_Syntax_isOfKind(x_16, x_9); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_16); +lean_dec(x_4); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_8); +return x_19; +} +else +{ +lean_object* x_20; +x_20 = l_Lean_Elab_Term_isLocalIdent_x3f(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_20; +} +} +} +else +{ +lean_object* x_21; +x_21 = l_Lean_Elab_Term_isLocalIdent_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_21; +} +} +} +lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_isAtomicDiscr_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2274,7 +2260,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_unsigned_to_nat(1u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); lean_inc(x_4); -x_11 = l_Lean_Elab_Term_isLocalIdent_x3f(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_11 = l_Lean_Elab_Term_isAtomicDiscr_x3f(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); if (lean_obj_tag(x_12) == 0) @@ -3687,7 +3673,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1___closed__1; x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(142u); +x_3 = lean_unsigned_to_nat(147u); x_4 = lean_unsigned_to_nat(13u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -3764,7 +3750,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1___closed__1; x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(143u); +x_3 = lean_unsigned_to_nat(148u); x_4 = lean_unsigned_to_nat(9u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4024,7 +4010,7 @@ return x_11; } } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__1() { _start: { lean_object* x_1; @@ -4032,21 +4018,21 @@ x_1 = lean_mk_string("MVarWithIdKind"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__2; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__2; x_3 = l_Lean_Parser_registerBuiltinNodeKind(x_2, x_1); return x_3; } @@ -4067,7 +4053,7 @@ lean_ctor_set(x_7, 0, x_5); lean_ctor_set(x_7, 1, x_6); x_8 = l_Lean_mkOptionalNode___closed__2; x_9 = lean_array_push(x_8, x_7); -x_10 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__2; +x_10 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__2; x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); @@ -4088,7 +4074,7 @@ lean_ctor_set(x_15, 0, x_12); lean_ctor_set(x_15, 1, x_14); x_16 = l_Lean_mkOptionalNode___closed__2; x_17 = lean_array_push(x_16, x_15); -x_18 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__2; +x_18 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__2; x_19 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); @@ -4190,7 +4176,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__2; x_4 = l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -8726,7 +8712,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1___closed__1; x_2 = l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__3; -x_3 = lean_unsigned_to_nat(428u); +x_3 = lean_unsigned_to_nat(433u); x_4 = lean_unsigned_to_nat(11u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -26461,7 +26447,7 @@ lean_dec(x_5); return x_12; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -26471,7 +26457,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__2() { _start: { lean_object* x_1; @@ -26479,17 +26465,17 @@ x_1 = lean_mk_string("ignoreUnusedAlts"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__1; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__2; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__4() { _start: { lean_object* x_1; @@ -26497,13 +26483,13 @@ x_1 = lean_mk_string("if true, do not generate error if an alternative is not us return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__5() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; x_2 = l_Lean_instInhabitedParserDescr___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__4; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__4; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -26512,12 +26498,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__3; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____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; } @@ -28543,7 +28529,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1___closed__1; x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__3; -x_3 = lean_unsigned_to_nat(868u); +x_3 = lean_unsigned_to_nat(873u); x_4 = lean_unsigned_to_nat(2u); x_5 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -30665,7 +30651,7 @@ x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); x_30 = lean_array_get_size(x_23); -x_31 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__1; +x_31 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__1; lean_inc(x_5); x_32 = l_Lean_Elab_Term_mkAuxName(x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_29); if (lean_obj_tag(x_32) == 0) @@ -31071,7 +31057,7 @@ x_107 = lean_ctor_get(x_19, 1); lean_inc(x_107); lean_dec(x_19); x_108 = lean_array_get_size(x_104); -x_109 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__1; +x_109 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__1; lean_inc(x_5); x_110 = l_Lean_Elab_Term_mkAuxName(x_109, x_5, x_6, x_7, x_8, x_9, x_10, x_103); if (lean_obj_tag(x_110) == 0) @@ -31833,7 +31819,7 @@ x_20 = lean_unsigned_to_nat(1u); x_21 = l_Lean_Syntax_getArg(x_18, x_20); lean_inc(x_7); lean_inc(x_21); -x_22 = l_Lean_Elab_Term_isLocalIdent_x3f(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_22 = l_Lean_Elab_Term_isAtomicDiscr_x3f(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); if (lean_obj_tag(x_23) == 0) @@ -32617,7 +32603,7 @@ x_13 = lean_unsigned_to_nat(1u); x_14 = l_Lean_Syntax_getArg(x_12, x_13); lean_dec(x_12); lean_inc(x_6); -x_15 = l_Lean_Elab_Term_isLocalIdent_x3f(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_15 = l_Lean_Elab_Term_isAtomicDiscr_x3f(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); if (lean_obj_tag(x_16) == 0) @@ -33012,7 +32998,7 @@ x_21 = lean_array_uget(x_1, x_3); x_22 = lean_unsigned_to_nat(1u); x_23 = l_Lean_Syntax_getArg(x_21, x_22); lean_inc(x_7); -x_24 = l_Lean_Elab_Term_isLocalIdent_x3f(x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_24 = l_Lean_Elab_Term_isAtomicDiscr_x3f(x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); if (lean_obj_tag(x_25) == 0) @@ -34372,266 +34358,43 @@ return x_33; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_90; +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; x_34 = l_Lean_Syntax_getArg(x_23, x_13); lean_dec(x_23); x_35 = lean_unsigned_to_nat(2u); x_36 = l_Lean_Syntax_getArg(x_1, x_35); lean_inc(x_36); -x_90 = l_Lean_Syntax_isOfKind(x_36, x_15); -if (x_90 == 0) +x_37 = l_Lean_Syntax_isOfKind(x_36, x_15); +if (x_37 == 0) { -lean_object* x_91; -x_91 = lean_box(0); -x_37 = x_91; -goto block_89; -} -else -{ -lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_92 = l_Lean_Syntax_getArgs(x_36); -x_93 = lean_array_get_size(x_92); -lean_dec(x_92); -x_94 = lean_nat_dec_eq(x_93, x_22); -lean_dec(x_93); -if (x_94 == 0) -{ -lean_object* x_95; -x_95 = lean_box(0); -x_37 = x_95; -goto block_89; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; -lean_dec(x_36); -x_96 = lean_unsigned_to_nat(4u); -x_97 = l_Lean_Syntax_getArg(x_1, x_96); -x_98 = l_myMacro____x40_Init_Notation___hyg_14458____closed__8; -lean_inc(x_97); -x_99 = l_Lean_Syntax_isOfKind(x_97, x_98); -if (x_99 == 0) -{ -lean_object* x_100; -lean_dec(x_97); -lean_dec(x_34); -x_100 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_100; -} -else -{ -lean_object* x_101; uint8_t x_102; -x_101 = l_Lean_Syntax_getArg(x_97, x_22); -lean_dec(x_97); -lean_inc(x_101); -x_102 = l_Lean_Syntax_isOfKind(x_101, x_15); -if (x_102 == 0) -{ -lean_object* x_103; -lean_dec(x_101); -lean_dec(x_34); -x_103 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_103; -} -else -{ -lean_object* x_104; lean_object* x_105; uint8_t x_106; -x_104 = l_Lean_Syntax_getArgs(x_101); -x_105 = lean_array_get_size(x_104); -lean_dec(x_104); -x_106 = lean_nat_dec_eq(x_105, x_13); -lean_dec(x_105); -if (x_106 == 0) -{ -lean_object* x_107; -lean_dec(x_101); -lean_dec(x_34); -x_107 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_107; -} -else -{ -lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_108 = l_Lean_Syntax_getArg(x_101, x_22); -lean_dec(x_101); -x_109 = l_myMacro____x40_Init_Notation___hyg_14458____closed__10; -lean_inc(x_108); -x_110 = l_Lean_Syntax_isOfKind(x_108, x_109); -if (x_110 == 0) -{ -lean_object* x_111; -lean_dec(x_108); -lean_dec(x_34); -x_111 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_111; -} -else -{ -lean_object* x_112; uint8_t x_113; -x_112 = l_Lean_Syntax_getArg(x_108, x_13); -lean_inc(x_112); -x_113 = l_Lean_Syntax_isOfKind(x_112, x_15); -if (x_113 == 0) -{ -lean_object* x_114; -lean_dec(x_112); -lean_dec(x_108); -lean_dec(x_34); -x_114 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_114; -} -else -{ -lean_object* x_115; lean_object* x_116; uint8_t x_117; -x_115 = l_Lean_Syntax_getArgs(x_112); -x_116 = lean_array_get_size(x_115); -lean_dec(x_115); -x_117 = lean_nat_dec_eq(x_116, x_13); -lean_dec(x_116); -if (x_117 == 0) -{ -lean_object* x_118; -lean_dec(x_112); -lean_dec(x_108); -lean_dec(x_34); -x_118 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_118; -} -else -{ -lean_object* x_119; lean_object* x_120; uint8_t x_121; -x_119 = l_Lean_Syntax_getArg(x_112, x_22); -lean_dec(x_112); -x_120 = l_Lean_identKind___closed__2; -lean_inc(x_119); -x_121 = l_Lean_Syntax_isOfKind(x_119, x_120); -if (x_121 == 0) -{ -lean_object* x_122; -lean_dec(x_119); -lean_dec(x_108); -lean_dec(x_34); -x_122 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_122; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_unsigned_to_nat(3u); -x_124 = l_Lean_Syntax_getArg(x_108, x_123); -lean_dec(x_108); -lean_inc(x_7); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_119); -x_125 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar(x_119, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_125) == 0) -{ -lean_object* x_126; uint8_t x_127; -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_unbox(x_126); -lean_dec(x_126); -if (x_127 == 0) -{ -lean_object* x_128; lean_object* x_129; -lean_dec(x_124); -lean_dec(x_119); -lean_dec(x_34); -x_128 = lean_ctor_get(x_125, 1); -lean_inc(x_128); -lean_dec(x_125); -x_129 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_128); -return x_129; -} -else -{ -lean_object* x_130; lean_object* x_131; -x_130 = lean_ctor_get(x_125, 1); -lean_inc(x_130); -lean_dec(x_125); -x_131 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch(x_1, x_34, x_119, x_124, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_130); -return x_131; -} -} -else -{ -uint8_t x_132; -lean_dec(x_124); -lean_dec(x_119); -lean_dec(x_34); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_132 = !lean_is_exclusive(x_125); -if (x_132 == 0) -{ -return x_125; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_133 = lean_ctor_get(x_125, 0); -x_134 = lean_ctor_get(x_125, 1); -lean_inc(x_134); -lean_inc(x_133); -lean_dec(x_125); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_133); -lean_ctor_set(x_135, 1, x_134); -return x_135; -} -} -} -} -} -} -} -} -} -} -} -block_89: -{ -uint8_t x_38; -lean_dec(x_37); -lean_inc(x_36); -x_38 = l_Lean_Syntax_isOfKind(x_36, x_15); -if (x_38 == 0) -{ -lean_object* x_39; +lean_object* x_38; lean_dec(x_36); lean_dec(x_34); -x_39 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_39; +x_38 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_38; } else { -lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_40 = l_Lean_Syntax_getArgs(x_36); -x_41 = lean_array_get_size(x_40); +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = l_Lean_Syntax_getArgs(x_36); +lean_dec(x_36); +x_40 = lean_array_get_size(x_39); +lean_dec(x_39); +x_41 = lean_nat_dec_eq(x_40, x_22); lean_dec(x_40); -x_42 = lean_nat_dec_eq(x_41, x_13); -lean_dec(x_41); -if (x_42 == 0) +if (x_41 == 0) { -lean_object* x_43; -lean_dec(x_36); +lean_object* x_42; lean_dec(x_34); -x_43 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_43; +x_42 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_42; } else { -lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_44 = l_Lean_Syntax_getArg(x_36, x_22); -lean_dec(x_36); -x_45 = l_Lean_expandExplicitBindersAux_loop___closed__4; +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_unsigned_to_nat(4u); +x_44 = l_Lean_Syntax_getArg(x_1, x_43); +x_45 = l_myMacro____x40_Init_Notation___hyg_14458____closed__8; lean_inc(x_44); x_46 = l_Lean_Syntax_isOfKind(x_44, x_45); if (x_46 == 0) @@ -34644,172 +34407,145 @@ return x_47; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_48 = l_Lean_Syntax_getArg(x_44, x_13); +lean_object* x_48; uint8_t x_49; +x_48 = l_Lean_Syntax_getArg(x_44, x_22); lean_dec(x_44); -x_49 = lean_unsigned_to_nat(4u); -x_50 = l_Lean_Syntax_getArg(x_1, x_49); -x_51 = l_myMacro____x40_Init_Notation___hyg_14458____closed__8; -lean_inc(x_50); -x_52 = l_Lean_Syntax_isOfKind(x_50, x_51); -if (x_52 == 0) +lean_inc(x_48); +x_49 = l_Lean_Syntax_isOfKind(x_48, x_15); +if (x_49 == 0) { -lean_object* x_53; -lean_dec(x_50); +lean_object* x_50; lean_dec(x_48); lean_dec(x_34); -x_53 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_53; +x_50 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_50; } else { -lean_object* x_54; uint8_t x_55; -x_54 = l_Lean_Syntax_getArg(x_50, x_22); -lean_dec(x_50); -lean_inc(x_54); -x_55 = l_Lean_Syntax_isOfKind(x_54, x_15); -if (x_55 == 0) +lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_51 = l_Lean_Syntax_getArgs(x_48); +x_52 = lean_array_get_size(x_51); +lean_dec(x_51); +x_53 = lean_nat_dec_eq(x_52, x_13); +lean_dec(x_52); +if (x_53 == 0) { -lean_object* x_56; -lean_dec(x_54); +lean_object* x_54; lean_dec(x_48); lean_dec(x_34); -x_56 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_56; +x_54 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_54; } else { -lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_57 = l_Lean_Syntax_getArgs(x_54); -x_58 = lean_array_get_size(x_57); -lean_dec(x_57); -x_59 = lean_nat_dec_eq(x_58, x_13); -lean_dec(x_58); -if (x_59 == 0) -{ -lean_object* x_60; -lean_dec(x_54); +lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_55 = l_Lean_Syntax_getArg(x_48, x_22); lean_dec(x_48); +x_56 = l_myMacro____x40_Init_Notation___hyg_14458____closed__10; +lean_inc(x_55); +x_57 = l_Lean_Syntax_isOfKind(x_55, x_56); +if (x_57 == 0) +{ +lean_object* x_58; +lean_dec(x_55); lean_dec(x_34); -x_60 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_60; +x_58 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_58; } else { -lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_61 = l_Lean_Syntax_getArg(x_54, x_22); -lean_dec(x_54); -x_62 = l_myMacro____x40_Init_Notation___hyg_14458____closed__10; -lean_inc(x_61); -x_63 = l_Lean_Syntax_isOfKind(x_61, x_62); -if (x_63 == 0) +lean_object* x_59; uint8_t x_60; +x_59 = l_Lean_Syntax_getArg(x_55, x_13); +lean_inc(x_59); +x_60 = l_Lean_Syntax_isOfKind(x_59, x_15); +if (x_60 == 0) { -lean_object* x_64; -lean_dec(x_61); -lean_dec(x_48); +lean_object* x_61; +lean_dec(x_59); +lean_dec(x_55); lean_dec(x_34); -x_64 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_64; +x_61 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_61; } else { -lean_object* x_65; uint8_t x_66; -x_65 = l_Lean_Syntax_getArg(x_61, x_13); -lean_inc(x_65); -x_66 = l_Lean_Syntax_isOfKind(x_65, x_15); -if (x_66 == 0) +lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_62 = l_Lean_Syntax_getArgs(x_59); +x_63 = lean_array_get_size(x_62); +lean_dec(x_62); +x_64 = lean_nat_dec_eq(x_63, x_13); +lean_dec(x_63); +if (x_64 == 0) { -lean_object* x_67; -lean_dec(x_65); -lean_dec(x_61); -lean_dec(x_48); +lean_object* x_65; +lean_dec(x_59); +lean_dec(x_55); lean_dec(x_34); -x_67 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_67; +x_65 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_65; } else { -lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_68 = l_Lean_Syntax_getArgs(x_65); -x_69 = lean_array_get_size(x_68); -lean_dec(x_68); -x_70 = lean_nat_dec_eq(x_69, x_13); -lean_dec(x_69); -if (x_70 == 0) +lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_66 = l_Lean_Syntax_getArg(x_59, x_22); +lean_dec(x_59); +x_67 = l_Lean_identKind___closed__2; +lean_inc(x_66); +x_68 = l_Lean_Syntax_isOfKind(x_66, x_67); +if (x_68 == 0) { -lean_object* x_71; -lean_dec(x_65); -lean_dec(x_61); -lean_dec(x_48); +lean_object* x_69; +lean_dec(x_66); +lean_dec(x_55); lean_dec(x_34); -x_71 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_71; +x_69 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_69; } else { -lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_72 = l_Lean_Syntax_getArg(x_65, x_22); -lean_dec(x_65); -x_73 = l_Lean_identKind___closed__2; -lean_inc(x_72); -x_74 = l_Lean_Syntax_isOfKind(x_72, x_73); -if (x_74 == 0) -{ -lean_object* x_75; -lean_dec(x_72); -lean_dec(x_61); -lean_dec(x_48); -lean_dec(x_34); -x_75 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_75; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_unsigned_to_nat(3u); -x_77 = l_Lean_Syntax_getArg(x_61, x_76); -lean_dec(x_61); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_unsigned_to_nat(3u); +x_71 = l_Lean_Syntax_getArg(x_55, x_70); +lean_dec(x_55); lean_inc(x_7); lean_inc(x_5); lean_inc(x_3); -lean_inc(x_72); -x_78 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar(x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_78) == 0) +lean_inc(x_66); +x_72 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar(x_66, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_72) == 0) { -lean_object* x_79; uint8_t x_80; -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_unbox(x_79); -lean_dec(x_79); -if (x_80 == 0) +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_unbox(x_73); +lean_dec(x_73); +if (x_74 == 0) { -lean_object* x_81; lean_object* x_82; -lean_dec(x_77); -lean_dec(x_72); -lean_dec(x_48); +lean_object* x_75; lean_object* x_76; +lean_dec(x_71); +lean_dec(x_66); lean_dec(x_34); -x_81 = lean_ctor_get(x_78, 1); -lean_inc(x_81); -lean_dec(x_78); -x_82 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_81); -return x_82; -} -else -{ -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_78, 1); -lean_inc(x_83); -lean_dec(x_78); -x_84 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatchWithType(x_1, x_34, x_72, x_48, x_77, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_83); -return x_84; -} -} -else -{ -uint8_t x_85; -lean_dec(x_77); +x_75 = lean_ctor_get(x_72, 1); +lean_inc(x_75); lean_dec(x_72); -lean_dec(x_48); +x_76 = l_Lean_Elab_Term_elabMatch_elabMatchDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_75); +return x_76; +} +else +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_72, 1); +lean_inc(x_77); +lean_dec(x_72); +x_78 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch(x_1, x_34, x_66, x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_77); +return x_78; +} +} +else +{ +uint8_t x_79; +lean_dec(x_71); +lean_dec(x_66); lean_dec(x_34); lean_dec(x_8); lean_dec(x_7); @@ -34819,25 +34555,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_85 = !lean_is_exclusive(x_78); -if (x_85 == 0) +x_79 = !lean_is_exclusive(x_72); +if (x_79 == 0) { -return x_78; +return x_72; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_78, 0); -x_87 = lean_ctor_get(x_78, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_78); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); -return x_88; -} -} +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_72, 0); +x_81 = lean_ctor_get(x_72, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_72); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; } } } @@ -34876,7 +34610,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10066_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_9697_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -35078,11 +34812,11 @@ l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___closed__1 = _init_l lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___closed__1); l_Lean_Elab_Term_instToStringPatternVar___closed__1 = _init_l_Lean_Elab_Term_instToStringPatternVar___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_instToStringPatternVar___closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619____closed__2); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1619_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574____closed__2); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_1574_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1(); @@ -35277,17 +35011,17 @@ l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___cl lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__5); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__5); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_match_ignoreUnusedAlts = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_match_ignoreUnusedAlts); @@ -35361,7 +35095,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabMatch___closed__1); res = l___regBuiltin_Lean_Elab_Term_elabMatch(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10066_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_9697_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_elabNoMatch___closed__1 = _init_l_Lean_Elab_Term_elabNoMatch___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index 9c3e1bfc3d..c73632c679 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -350,7 +350,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__29; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__20___lambda__3___closed__1; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20; lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3759____closed__24; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__20___lambda__3___closed__6; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13856____closed__9; @@ -453,6 +452,7 @@ extern lean_object* l_Lean_Elab_autoBoundImplicitLocal___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__20___closed__20; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20; lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__6; @@ -20761,7 +20761,7 @@ lean_ctor_set(x_46, 0, x_20); lean_ctor_set(x_46, 1, x_45); lean_inc(x_2); x_47 = lean_array_push(x_2, x_46); -x_48 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20; +x_48 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20; lean_inc(x_1); x_49 = lean_name_mk_string(x_1, x_48); lean_inc(x_2); @@ -21114,7 +21114,7 @@ lean_ctor_set(x_194, 0, x_20); lean_ctor_set(x_194, 1, x_193); lean_inc(x_2); x_195 = lean_array_push(x_2, x_194); -x_196 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20; +x_196 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20; lean_inc(x_1); x_197 = lean_name_mk_string(x_1, x_196); lean_inc(x_2); diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index cc35a03696..41f4552ce5 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -542,7 +542,6 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduceProjOf_x3f___boxed( lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__1; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__4; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -632,6 +631,7 @@ lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS_match__1(lean_obje lean_object* l_List_foldl___at_Lean_Elab_Term_StructInst_DefaultFields_getHierarchyDepth___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields_match__2___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_StructInst_DefaultFields_State_progress___default; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__4; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap_match__2(lean_object*); @@ -5602,7 +5602,7 @@ x_3 = lean_ctor_get(x_2, 1); lean_inc(x_3); x_4 = l_Lean_Elab_Term_StructInst_formatField___closed__2; x_5 = l_Std_Format_joinSep___at_Lean_Elab_Term_StructInst_formatField___spec__1(x_3, x_4); -x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_5); lean_ctor_set(x_7, 1, x_6); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index fe72a034b0..e5bb54979a 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -178,7 +178,6 @@ lean_object* l_Lean_Elab_Tactic_elabSetOption___boxed(lean_object*, lean_object* lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticSeq1Indented___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Elab_Tactic_evalTacticAux_match__2(lean_object*); lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); @@ -196,6 +195,7 @@ lean_object* l_Lean_Elab_Tactic_done___boxed(lean_object*, lean_object*, lean_ob uint8_t l_USize_decLt(size_t, size_t); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1; lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__1; +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5138____closed__1; lean_object* l_Lean_Elab_Tactic_getFVarId_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Elab_Tactic_evalTacticAux___spec__7(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic(lean_object*, lean_object*, lean_object*, lean_object*); @@ -229,6 +229,7 @@ lean_object* l_Lean_Meta_intro(lean_object*, lean_object*, lean_object*, lean_ob lean_object* l_Lean_Elab_Tactic_closeMainGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_set__option___elambda__1___closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption(lean_object*); lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -269,7 +270,6 @@ lean_object* l_Lean_Elab_Tactic_closeMainGoal___lambda__1___boxed(lean_object*, lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState(lean_object*); -lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_evalTacticSeqBracketed___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* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_admitGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -278,7 +278,6 @@ lean_object* l_Lean_Elab_Tactic_focus___rarg(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Elab_Tactic_evalFirst_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind___closed__2; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM; lean_object* l_Lean_Elab_Tactic_evalFirst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -318,6 +317,7 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instOrElseTacticM___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instReprBool___closed__3; lean_object* l_Lean_Elab_Tactic_evalDone___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -358,6 +358,7 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Ela lean_object* l_Lean_Elab_Tactic_getMainGoal_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1; lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux_match__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_revert(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -391,7 +392,6 @@ lean_object* l_Lean_Elab_Tactic_getMainModule___rarg(lean_object*, lean_object*) lean_object* l_Lean_Elab_Tactic_evalChoice(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros(lean_object*); lean_object* l_Lean_Elab_Tactic_evalTraceState(lean_object*); -lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4985____closed__1; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_evalTacticAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; @@ -471,6 +471,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1; lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tryTactic_x3f(lean_object*); extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17219____closed__5; +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_mkApp___closed__1; lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1(lean_object*); lean_object* l_Lean_Elab_Tactic_withMainContext(lean_object*); @@ -480,7 +481,6 @@ lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalTraceState___spec__1___bo lean_object* l_Lean_Elab_goalsToMessageData(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___boxed__const__1; lean_object* l_Lean_Elab_Tactic_getFVarIds___boxed__const__1; lean_object* l_Lean_Elab_Tactic_focusAndDone___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_isAnonymousMVar(lean_object*, lean_object*); @@ -512,7 +512,6 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___closed__2; lean_object* l_List_rotateRight___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; lean_object* l_Lean_Elab_Tactic_evalFirst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); @@ -528,6 +527,7 @@ lean_object* l_Lean_Elab_Tactic_saveBacktrackableState___rarg(lean_object*, lean lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalCase___closed__2; lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__1; lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -592,7 +592,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_closeMainGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tryTactic___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4985_(lean_object*); +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5138_(lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNames___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -637,6 +637,7 @@ extern lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__5; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_BacktrackableState_restore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSubst___closed__1; lean_object* l_Lean_Elab_Tactic_evalIntros(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -646,12 +647,12 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tryTactic(lean_object*); extern lean_object* l_Lean_Core_instInhabitedState___closed__2; lean_object* l_Lean_Syntax_toNat(lean_object*); -lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_open___elambda__1___closed__1; lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1; lean_object* l_Lean_Elab_Tactic_evalSubst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_mod(lean_object*, lean_object*); lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_intro___closed__1; @@ -678,7 +679,6 @@ lean_object* l_Lean_Elab_Tactic_evalIntro_introStep_match__1(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__3(lean_object*); lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticSeq1Indented___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getCurrMacroScope(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(size_t, size_t, lean_object*); @@ -692,6 +692,7 @@ lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Elab_Tactic_getMainModule___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getFVarId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withoutModifyingState(lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase(lean_object*); @@ -706,6 +707,7 @@ lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___boxed(lean_object*, lean_obj lean_object* l_Lean_Elab_Tactic_withoutModifyingState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__2; lean_object* l_Lean_Elab_Tactic_getGoals(lean_object*); +lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1; @@ -6163,6 +6165,290 @@ lean_dec(x_1); return x_13; } } +lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = 0; +x_12 = l_Lean_Syntax_getPos_x3f(x_1, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_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_10); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_dec(x_12); +x_15 = lean_st_ref_get(x_9, x_10); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_st_ref_get(x_7, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Elab_Tactic_getGoals___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_st_ref_get(x_9, x_23); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_5, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_27, 5); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_ctor_get_uint8(x_28, sizeof(void*)*2); +lean_dec(x_28); +if (x_29 == 0) +{ +uint8_t x_30; +lean_dec(x_22); +lean_dec(x_20); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_26); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_26, 0); +lean_dec(x_31); +x_32 = lean_box(0); +lean_ctor_set(x_26, 0, x_32); +return x_26; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_26, 1); +lean_inc(x_33); +lean_dec(x_26); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +else +{ +lean_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; uint8_t x_57; +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); +lean_dec(x_26); +x_37 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_evalTactic___spec__1___rarg(x_5, x_6, x_7, x_8, x_9, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_st_ref_get(x_9, x_39); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = lean_st_ref_get(x_5, x_41); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_ctor_get(x_43, 5); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = l_Lean_Elab_Tactic_mkTacticInfo(x_20, x_22, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_44); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_46); +x_51 = lean_st_ref_get(x_9, x_49); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_st_ref_take(x_5, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_54, 5); +lean_inc(x_55); +x_56 = lean_ctor_get(x_53, 1); +lean_inc(x_56); +lean_dec(x_53); +x_57 = !lean_is_exclusive(x_54); +if (x_57 == 0) +{ +lean_object* x_58; uint8_t x_59; +x_58 = lean_ctor_get(x_54, 5); +lean_dec(x_58); +x_59 = !lean_is_exclusive(x_55); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_60 = lean_ctor_get(x_55, 1); +lean_dec(x_60); +x_61 = l_Std_PersistentArray_push___rarg(x_38, x_50); +lean_ctor_set(x_55, 1, x_61); +x_62 = lean_st_ref_set(x_5, x_54, x_56); +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_62, 0); +lean_dec(x_64); +x_65 = lean_box(0); +lean_ctor_set(x_62, 0, x_65); +return x_62; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_62, 1); +lean_inc(x_66); +lean_dec(x_62); +x_67 = lean_box(0); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +return x_68; +} +} +else +{ +uint8_t x_69; lean_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_69 = lean_ctor_get_uint8(x_55, sizeof(void*)*2); +x_70 = lean_ctor_get(x_55, 0); +lean_inc(x_70); +lean_dec(x_55); +x_71 = l_Std_PersistentArray_push___rarg(x_38, x_50); +x_72 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set_uint8(x_72, sizeof(void*)*2, x_69); +lean_ctor_set(x_54, 5, x_72); +x_73 = lean_st_ref_set(x_5, x_54, x_56); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_75 = x_73; +} else { + lean_dec_ref(x_73); + x_75 = lean_box(0); +} +x_76 = lean_box(0); +if (lean_is_scalar(x_75)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_75; +} +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_74); +return x_77; +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_78 = lean_ctor_get(x_54, 0); +x_79 = lean_ctor_get(x_54, 1); +x_80 = lean_ctor_get(x_54, 2); +x_81 = lean_ctor_get(x_54, 3); +x_82 = lean_ctor_get(x_54, 4); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_54); +x_83 = lean_ctor_get_uint8(x_55, sizeof(void*)*2); +x_84 = lean_ctor_get(x_55, 0); +lean_inc(x_84); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_85 = x_55; +} else { + lean_dec_ref(x_55); + x_85 = lean_box(0); +} +x_86 = l_Std_PersistentArray_push___rarg(x_38, x_50); +if (lean_is_scalar(x_85)) { + x_87 = lean_alloc_ctor(0, 2, 1); +} else { + x_87 = x_85; +} +lean_ctor_set(x_87, 0, x_84); +lean_ctor_set(x_87, 1, x_86); +lean_ctor_set_uint8(x_87, sizeof(void*)*2, x_83); +x_88 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_88, 0, x_78); +lean_ctor_set(x_88, 1, x_79); +lean_ctor_set(x_88, 2, x_80); +lean_ctor_set(x_88, 3, x_81); +lean_ctor_set(x_88, 4, x_82); +lean_ctor_set(x_88, 5, x_87); +x_89 = lean_st_ref_set(x_5, x_88, x_56); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_91 = x_89; +} else { + lean_dec_ref(x_89); + x_91 = lean_box(0); +} +x_92 = lean_box(0); +if (lean_is_scalar(x_91)) { + x_93 = lean_alloc_ctor(0, 2, 0); +} else { + x_93 = x_91; +} +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_90); +return x_93; +} +} +} +} +} +lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_saveTacticInfoForToken(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -11684,72 +11970,227 @@ lean_dec(x_4); return x_13; } } +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_2, 1); +x_16 = lean_nat_dec_le(x_15, x_4); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_nat_dec_eq(x_3, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_dec(x_5); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_sub(x_3, x_19); +lean_dec(x_3); +x_21 = lean_unsigned_to_nat(2u); +x_22 = lean_nat_mod(x_4, x_21); +x_23 = lean_nat_dec_eq(x_22, x_17); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_24 = l_Lean_instInhabitedSyntax; +x_25 = lean_array_get(x_24, x_1, x_4); +x_26 = l_Lean_Elab_Tactic_saveTacticInfoForToken(x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_ctor_get(x_2, 2); +x_29 = lean_nat_add(x_4, x_28); +lean_dec(x_4); +x_30 = lean_box(0); +x_3 = x_20; +x_4 = x_29; +x_5 = x_30; +x_14 = x_27; +goto _start; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = l_Lean_instInhabitedSyntax; +x_33 = lean_array_get(x_32, x_1, x_4); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_34 = l_Lean_Elab_Tactic_evalTactic(x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_ctor_get(x_2, 2); +x_37 = lean_nat_add(x_4, x_36); +lean_dec(x_4); +x_38 = lean_box(0); +x_3 = x_20; +x_4 = x_37; +x_5 = x_38; +x_14 = x_35; +goto _start; +} +else +{ +uint8_t x_40; +lean_dec(x_20); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +return x_34; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_34); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_44; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_5); +lean_ctor_set(x_44, 1, x_14); +return x_44; +} +} +else +{ +lean_object* x_45; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_5); +lean_ctor_set(x_45, 1, x_14); +return x_45; +} +} +} lean_object* l_Lean_Elab_Tactic_evalSeq1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_11 = lean_unsigned_to_nat(0u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_getSepArgs(x_12); +x_13 = l_Lean_Syntax_getArgs(x_12); lean_dec(x_12); x_14 = lean_array_get_size(x_13); -x_15 = lean_nat_dec_lt(x_11, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_14); +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_14); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_16, 2, x_15); +x_17 = lean_box(0); +x_18 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1(x_13, x_16, x_14, x_11, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_16); lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -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_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_10); -return x_17; +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +lean_ctor_set(x_18, 0, x_17); +return x_18; } else { -uint8_t x_18; -x_18 = lean_nat_dec_le(x_14, x_14); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_19 = lean_box(0); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_10); -return x_20; +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} } else { -size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; -x_21 = 0; -x_22 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_23 = lean_box(0); -x_24 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__10(x_13, x_21, x_22, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_13); -return x_24; +uint8_t x_23; +x_23 = !lean_is_exclusive(x_18); +if (x_23 == 0) +{ +return x_18; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_18, 0); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_18); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } } } +lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_2); +lean_dec(x_1); +return x_15; +} +} lean_object* l_Lean_Elab_Tactic_evalSeq1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -11816,7 +12257,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticSeq1Indented___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -11828,7 +12269,6 @@ lean_dec(x_4); x_15 = lean_array_uget(x_1, x_2); x_16 = lean_unsigned_to_nat(0u); x_17 = l_Lean_Syntax_getArg(x_15, x_16); -lean_dec(x_15); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -11840,22 +12280,30 @@ lean_inc(x_5); x_18 = l_Lean_Elab_Tactic_evalTactic(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_18) == 0) { -lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; -x_19 = lean_ctor_get(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; size_t x_25; size_t x_26; +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); -x_21 = 1; -x_22 = x_2 + x_21; -x_2 = x_22; -x_4 = x_19; -x_13 = x_20; +x_20 = lean_unsigned_to_nat(1u); +x_21 = l_Lean_Syntax_getArg(x_15, x_20); +lean_dec(x_15); +x_22 = l_Lean_Elab_Tactic_saveTacticInfoForToken(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = 1; +x_26 = x_2 + x_25; +x_2 = x_26; +x_4 = x_23; +x_13 = x_24; goto _start; } else { -uint8_t x_24; +uint8_t x_28; +lean_dec(x_15); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -11864,29 +12312,29 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_24 = !lean_is_exclusive(x_18); -if (x_24 == 0) +x_28 = !lean_is_exclusive(x_18); +if (x_28 == 0) { return x_18; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_18, 0); -x_26 = lean_ctor_get(x_18, 1); -lean_inc(x_26); -lean_inc(x_25); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_18, 0); +x_30 = lean_ctor_get(x_18, 1); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_18); -x_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; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } else { -lean_object* x_28; +lean_object* x_32; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -11895,28 +12343,26 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_4); -lean_ctor_set(x_28, 1, x_13); -return x_28; +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_4); +lean_ctor_set(x_32, 1, x_13); +return x_32; } } } -lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_getArgs(x_12); +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = l_Lean_Syntax_getArgs(x_1); +x_12 = lean_array_get_size(x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_dec(x_12); -x_14 = lean_array_get_size(x_13); -x_15 = lean_nat_dec_lt(x_11, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_14); -lean_dec(x_13); +lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -11925,21 +12371,21 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_10); -return x_17; +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_10); +return x_16; } else { -uint8_t x_18; -x_18 = lean_nat_dec_le(x_14, x_14); -if (x_18 == 0) +uint8_t x_17; +x_17 = lean_nat_dec_le(x_12, x_12); +if (x_17 == 0) { -lean_object* x_19; lean_object* x_20; -lean_dec(x_14); -lean_dec(x_13); +lean_object* x_18; lean_object* x_19; +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -11948,27 +12394,27 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_19 = lean_box(0); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_10); -return x_20; +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_10); +return x_19; } else { -size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; -x_21 = 0; -x_22 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_23 = lean_box(0); -x_24 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticSeq1Indented___spec__1(x_13, x_21, x_22, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_13); -return x_24; +size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; +x_20 = 0; +x_21 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_22 = lean_box(0); +x_23 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___spec__1(x_11, x_20, x_21, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_11); +return x_23; } } } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticSeq1Indented___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { size_t x_14; size_t x_15; lean_object* x_16; @@ -11976,11 +12422,31 @@ x_14 = lean_unbox_usize(x_2); lean_dec(x_2); x_15 = lean_unbox_usize(x_3); lean_dec(x_3); -x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticSeq1Indented___spec__1(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___spec__1(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_1); return x_16; } } +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_12); +return x_13; +} +} lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -12009,193 +12475,63 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_1); -lean_ctor_set(x_11, 1, x_10); -return x_11; -} -} -lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1___rarg___boxed), 10, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1___rarg___boxed), 10, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticSeqBracketed___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_11 = lean_unsigned_to_nat(2u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); x_13 = lean_unsigned_to_nat(1u); x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = l_Lean_Syntax_getArgs(x_14); -lean_dec(x_14); -x_16 = lean_array_get_size(x_15); -x_17 = lean_unsigned_to_nat(0u); -x_18 = lean_nat_dec_lt(x_17, x_16); -x_19 = !lean_is_exclusive(x_8); -if (x_19 == 0) +x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___boxed), 10, 1); +lean_closure_set(x_15, 0, x_14); +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_8, 3); -x_21 = l_Lean_replaceRef(x_12, x_20); -lean_dec(x_20); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_8, 3); +x_18 = l_Lean_replaceRef(x_12, x_17); +lean_dec(x_17); lean_dec(x_12); -lean_ctor_set(x_8, 3, x_21); -if (x_18 == 0) -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_16); -lean_dec(x_15); -x_22 = l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; -x_23 = l_Lean_Elab_Tactic_focusAndDone___rarg(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_23; +lean_ctor_set(x_8, 3, x_18); +x_19 = l_Lean_Elab_Tactic_focusAndDone___rarg(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_19; } else { -uint8_t x_24; -x_24 = lean_nat_dec_le(x_16, x_16); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_16); -lean_dec(x_15); -x_25 = l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; -x_26 = l_Lean_Elab_Tactic_focusAndDone___rarg(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_26; -} -else -{ -size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_27 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_28 = lean_box(0); -x_29 = l_Lean_Elab_Tactic_evalTacticSeqBracketed___boxed__const__1; -x_30 = lean_box_usize(x_27); -x_31 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticSeq1Indented___spec__1___boxed), 13, 4); -lean_closure_set(x_31, 0, x_15); -lean_closure_set(x_31, 1, x_29); -lean_closure_set(x_31, 2, x_30); -lean_closure_set(x_31, 3, x_28); -x_32 = l_Lean_Elab_Tactic_focusAndDone___rarg(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -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; -x_33 = lean_ctor_get(x_8, 0); -x_34 = lean_ctor_get(x_8, 1); -x_35 = lean_ctor_get(x_8, 2); -x_36 = lean_ctor_get(x_8, 3); -x_37 = lean_ctor_get(x_8, 4); -x_38 = lean_ctor_get(x_8, 5); -x_39 = lean_ctor_get(x_8, 6); -x_40 = lean_ctor_get(x_8, 7); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_20 = lean_ctor_get(x_8, 0); +x_21 = lean_ctor_get(x_8, 1); +x_22 = lean_ctor_get(x_8, 2); +x_23 = lean_ctor_get(x_8, 3); +x_24 = lean_ctor_get(x_8, 4); +x_25 = lean_ctor_get(x_8, 5); +x_26 = lean_ctor_get(x_8, 6); +x_27 = lean_ctor_get(x_8, 7); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); lean_dec(x_8); -x_41 = l_Lean_replaceRef(x_12, x_36); -lean_dec(x_36); +x_28 = l_Lean_replaceRef(x_12, x_23); +lean_dec(x_23); lean_dec(x_12); -x_42 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_42, 0, x_33); -lean_ctor_set(x_42, 1, x_34); -lean_ctor_set(x_42, 2, x_35); -lean_ctor_set(x_42, 3, x_41); -lean_ctor_set(x_42, 4, x_37); -lean_ctor_set(x_42, 5, x_38); -lean_ctor_set(x_42, 6, x_39); -lean_ctor_set(x_42, 7, x_40); -if (x_18 == 0) -{ -lean_object* x_43; lean_object* x_44; -lean_dec(x_16); -lean_dec(x_15); -x_43 = l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; -x_44 = l_Lean_Elab_Tactic_focusAndDone___rarg(x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_42, x_9, x_10); -return x_44; +x_29 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_29, 0, x_20); +lean_ctor_set(x_29, 1, x_21); +lean_ctor_set(x_29, 2, x_22); +lean_ctor_set(x_29, 3, x_28); +lean_ctor_set(x_29, 4, x_24); +lean_ctor_set(x_29, 5, x_25); +lean_ctor_set(x_29, 6, x_26); +lean_ctor_set(x_29, 7, x_27); +x_30 = l_Lean_Elab_Tactic_focusAndDone___rarg(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_10); +return x_30; } -else -{ -uint8_t x_45; -x_45 = lean_nat_dec_le(x_16, x_16); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; -lean_dec(x_16); -lean_dec(x_15); -x_46 = l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; -x_47 = l_Lean_Elab_Tactic_focusAndDone___rarg(x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_42, x_9, x_10); -return x_47; -} -else -{ -size_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_48 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_49 = lean_box(0); -x_50 = l_Lean_Elab_Tactic_evalTacticSeqBracketed___boxed__const__1; -x_51 = lean_box_usize(x_48); -x_52 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticSeq1Indented___spec__1___boxed), 13, 4); -lean_closure_set(x_52, 0, x_15); -lean_closure_set(x_52, 1, x_50); -lean_closure_set(x_52, 2, x_51); -lean_closure_set(x_52, 3, x_49); -x_53 = l_Lean_Elab_Tactic_focusAndDone___rarg(x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_42, x_9, x_10); -return x_53; -} -} -} -} -} -lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_ReaderT_pure___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; } } lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -23268,7 +23604,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4985____closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5138____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -23278,11 +23614,11 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4985_(lean_object* x_1) { +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5138_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4985____closed__1; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5138____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -23606,10 +23942,6 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___cl res = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1 = _init_l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1); -l_Lean_Elab_Tactic_evalTacticSeqBracketed___boxed__const__1 = _init_l_Lean_Elab_Tactic_evalTacticSeqBracketed___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticSeqBracketed___boxed__const__1); l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1); res = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_io_mk_world()); @@ -23752,9 +24084,9 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1); res = l___regBuiltin_Lean_Elab_Tactic_evalFirst(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4985____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4985____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4985____closed__1); -res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4985_(lean_io_mk_world()); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5138____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5138____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5138____closed__1); +res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5138_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Match.c b/stage0/stdlib/Lean/Elab/Tactic/Match.c index 3763a03383..43ab8b7c35 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Match.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Match.c @@ -128,6 +128,7 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe lean_object* l_Lean_Elab_Tactic_evalEraseAuxDiscrs___rarg___closed__1; lean_object* l_Lean_Elab_Tactic_evalEraseAuxDiscrs___boxed(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__5(lean_object*, size_t, size_t, lean_object*); +extern lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_14458____closed__13; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_14458____closed__8; @@ -144,7 +145,6 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch_ lean_object* lean_usize_to_nat(size_t); lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__1; lean_object* l_Lean_Elab_Tactic_evalEraseAuxDiscrs___rarg___closed__2; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs(lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__4___boxed(lean_object*, lean_object*); @@ -1378,7 +1378,7 @@ lean_dec(x_183); x_222 = lean_ctor_get(x_6, 0); lean_inc(x_222); lean_dec(x_6); -x_223 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7228____closed__1; +x_223 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_7183____closed__1; x_224 = l_Lean_Name_appendIndexAfter(x_223, x_222); x_225 = l_Lean_Name_append(x_1, x_224); x_226 = l_Lean_mkIdentFrom(x_30, x_225); diff --git a/stage0/stdlib/Lean/Environment.c b/stage0/stdlib/Lean/Environment.c index 3f1dbaced3..5641d32ebe 100644 --- a/stage0/stdlib/Lean/Environment.c +++ b/stage0/stdlib/Lean/Environment.c @@ -235,7 +235,6 @@ lean_object* l_Lean_SimplePersistentEnvExtension_modifyState___rarg___boxed(lean uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Environment_hasUnsafe___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; lean_object* l_Nat_foldAux___at_Lean_mkModuleData___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_mkMapDeclarationExtension___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -569,6 +568,7 @@ lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceImp___closed__7; lean_object* l_Lean_instInhabitedPersistentEnvExtensionState(lean_object*, lean_object*); extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2; +extern lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; lean_object* l_Lean_Environment_getNamespaceSet___boxed(lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); lean_object* l_Array_qpartition_loop___at_Lean_mkMapDeclarationExtension___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -12126,7 +12126,7 @@ x_23 = l_Std_Format_isNil(x_22); if (x_23 == 0) { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_24 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; +x_24 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_25 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_22); diff --git a/stage0/stdlib/Lean/Expr.c b/stage0/stdlib/Lean/Expr.c index a5330bdf63..ee1cc66b00 100644 --- a/stage0/stdlib/Lean/Expr.c +++ b/stage0/stdlib/Lean/Expr.c @@ -253,7 +253,6 @@ lean_object* l_Lean_Expr_hasLooseBVarInExplicitDomain_match__1(lean_object*); lean_object* l_Lean_Expr_letName_x21___closed__3; lean_object* l_Lean_Expr_updateLambda_x21(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20; lean_object* l_Lean_Expr_isProj_match__1(lean_object*); lean_object* l_Lean_Expr_updateForall_x21___closed__2; lean_object* l_Lean_Expr_updateLambdaE_x21___closed__2; @@ -337,6 +336,7 @@ lean_object* l_Lean_Expr_hasMVarEx___boxed(lean_object*); lean_object* l_Lean_mkAppRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21___boxed(lean_object*); lean_object* l_Lean_Expr_setAppPPExplicitForExposingMVars(lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20; lean_object* l_Lean_Expr_fvarId_x21___closed__1; lean_object* l_Lean_Expr_updateConst_x21___closed__2; lean_object* lean_expr_mk_bvar(lean_object*); @@ -2936,7 +2936,7 @@ return x_12; default: { lean_object* x_13; -x_13 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20; +x_13 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20; return x_13; } } diff --git a/stage0/stdlib/Lean/Message.c b/stage0/stdlib/Lean/Message.c index e9101b0004..309d511a18 100644 --- a/stage0/stdlib/Lean/Message.c +++ b/stage0/stdlib/Lean/Message.c @@ -135,7 +135,6 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_MessageData_instantiateMVars_visit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1940____closed__11; lean_object* l_Std_PersistentArray_foldlM___at_Lean_MessageLog_getInfoMessages___spec__1(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); lean_object* l_Lean_Message_caption___default; lean_object* l_Lean_MessageData_isNil_match__1(lean_object*); @@ -318,6 +317,7 @@ lean_object* l_Lean_KernelException_toMessageData___closed__12; lean_object* l_Lean_MessageData_instCoeStringMessageData___closed__1; lean_object* l_Lean_MessageLog_msgs___default; lean_object* l_Lean_KernelException_toMessageData___closed__13; +extern lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_mkErrorStringWithPos_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_forM(lean_object*); @@ -2175,7 +2175,7 @@ static lean_object* _init_l_Lean_MessageData_formatAux___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_2 = lean_box(0); x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2701,7 +2701,7 @@ if (x_142 == 0) { lean_object* x_143; lean_object* x_144; lean_object* x_145; x_143 = lean_ctor_get(x_141, 0); -x_144 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; +x_144 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_145 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_145, 0, x_144); lean_ctor_set(x_145, 1, x_143); @@ -2716,7 +2716,7 @@ x_147 = lean_ctor_get(x_141, 1); lean_inc(x_147); lean_inc(x_146); lean_dec(x_141); -x_148 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; +x_148 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_149 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_149, 0, x_148); lean_ctor_set(x_149, 1, x_146); @@ -3287,7 +3287,7 @@ if (x_292 == 0) { lean_object* x_293; lean_object* x_294; lean_object* x_295; x_293 = lean_ctor_get(x_291, 0); -x_294 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; +x_294 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_295 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_295, 0, x_294); lean_ctor_set(x_295, 1, x_293); @@ -3302,7 +3302,7 @@ x_297 = lean_ctor_get(x_291, 1); lean_inc(x_297); lean_inc(x_296); lean_dec(x_291); -x_298 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; +x_298 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_299 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_299, 0, x_298); lean_ctor_set(x_299, 1, x_296); diff --git a/stage0/stdlib/Lean/Meta/AppBuilder.c b/stage0/stdlib/Lean/Meta/AppBuilder.c index fe316de508..709414695a 100644 --- a/stage0/stdlib/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Lean/Meta/AppBuilder.c @@ -162,6 +162,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqMP___closed__1; lean_object* l_Lean_Meta_mkEqMP___closed__2; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkHEqTrans_match__1(lean_object*); @@ -210,7 +211,6 @@ lean_object* lean_array_to_list(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*); lean_object* l_Lean_Meta_mkDecideProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqOfHEq_match__1(lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_Meta_mkEqSymm___closed__5; @@ -11390,7 +11390,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkDecIsTrue___closed__2; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Meta/PPGoal.c b/stage0/stdlib/Lean/Meta/PPGoal.c index 4c3a0d2f59..c10687c417 100644 --- a/stage0/stdlib/Lean/Meta/PPGoal.c +++ b/stage0/stdlib/Lean/Meta/PPGoal.c @@ -344,6 +344,7 @@ lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_objec lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_Meta_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNames(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__27(lean_object*, lean_object*, size_t, size_t); @@ -369,7 +370,6 @@ lean_object* l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__24(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); -extern lean_object* l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__3; uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__21(lean_object*, lean_object*, size_t, size_t); lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasVisibleDep___spec__25___boxed(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__14(lean_object*, lean_object*, size_t, size_t); @@ -20805,7 +20805,7 @@ lean_inc(x_26); lean_inc(x_26); x_27 = lean_alloc_closure((void*)(l_Lean_Meta_ToHide_collect), 6, 1); lean_closure_set(x_27, 0, x_26); -x_28 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__3; +x_28 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_29 = lean_box(x_19); lean_inc(x_24); x_30 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___lambda__1___boxed), 11, 5); @@ -20874,7 +20874,7 @@ lean_inc(x_49); lean_inc(x_49); x_50 = lean_alloc_closure((void*)(l_Lean_Meta_ToHide_collect), 6, 1); lean_closure_set(x_50, 0, x_49); -x_51 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__3; +x_51 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_52 = lean_box(x_42); lean_inc(x_47); x_53 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___lambda__1___boxed), 11, 5); diff --git a/stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c b/stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c index bdf2f5d6fa..a5e1220f30 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c +++ b/stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c @@ -107,7 +107,6 @@ extern lean_object* l_Lean_instInhabitedExpr; lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimAltInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_7_(lean_object*, lean_object*); extern lean_object* l_Lean_KernelException_toMessageData___closed__15; lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimAltInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_7____closed__5; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_getElimInfo___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimAltInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_7____closed__6; @@ -123,7 +122,6 @@ lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_addImplicitTargets___sp lean_object* l_Lean_Meta_addImplicitTargets_collect___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*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_getElimInfo___spec__10(lean_object*, size_t, size_t); lean_object* l_Lean_LocalDecl_type(lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_getElimInfo___spec__10___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Meta_addImplicitTargets_collect___spec__1(lean_object*, lean_object*); lean_object* l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__3(lean_object*, lean_object*, lean_object*); @@ -136,6 +134,7 @@ lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, uint8_t lean_expr_eqv(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Meta_getElimInfo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_67____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_instReprElimAltInfo; @@ -145,11 +144,11 @@ lean_object* l_Lean_Meta_getElimInfo_match__1___rarg(lean_object*, lean_object*, lean_object* l_Lean_Meta_addImplicitTargets_collect___lambda__2___closed__2; lean_object* l_Lean_Meta_getElimInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getElimInfo_match__1___boxed(lean_object*, lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; lean_object* l_Lean_Meta_getElimInfo___lambda__1___closed__1; uint8_t l_Lean_Expr_isFVar(lean_object*); lean_object* l_Lean_Meta_addImplicitTargets___lambda__1___boxed__const__1; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_getElimInfo___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -169,6 +168,8 @@ lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_addImplicitTargets___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instReprElimAltInfo___closed__1; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_addImplicitTargets___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_repr___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_67____spec__1(lean_object*); @@ -177,7 +178,6 @@ extern lean_object* l_Array_instReprArray___rarg___closed__3; lean_object* l_Lean_Meta_addImplicitTargets_collect(lean_object*, 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_ElimInfo_targetsPos___default; uint8_t l_Lean_Expr_isSort(lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; lean_object* l_Lean_Meta_getElimInfo_match__2___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Meta_getElimInfo___spec__7(lean_object*, lean_object*); @@ -217,7 +217,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimAltInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_7____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -272,7 +272,7 @@ x_15 = l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimAltInfo____x40 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___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_18 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); @@ -285,15 +285,15 @@ lean_ctor_set(x_21, 0, x_20); x_22 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_18); lean_ctor_set(x_22, 1, x_21); -x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_24 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_25 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_26 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); -x_27 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_27 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_28 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); @@ -540,7 +540,7 @@ x_15 = l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimInfo____x40_Le 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___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_18 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); @@ -654,15 +654,15 @@ lean_ctor_set_uint8(x_52, sizeof(void*)*1, x_51); x_53 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_53, 0, x_41); lean_ctor_set(x_53, 1, x_52); -x_54 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_54 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_55 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); -x_56 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_56 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_57 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_57, 0, x_55); lean_ctor_set(x_57, 1, x_56); -x_58 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_58 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_59 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); @@ -680,15 +680,15 @@ x_62 = l_Array_instReprArray___rarg___closed__5; x_63 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_63, 0, x_41); lean_ctor_set(x_63, 1, x_62); -x_64 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_64 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_65 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_63); -x_66 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_66 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_67 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_67, 0, x_65); lean_ctor_set(x_67, 1, x_66); -x_68 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_68 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_69 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c index 4ceda79c42..77f90ab5d3 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c @@ -219,7 +219,6 @@ lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__12(lean_ extern lean_object* l_instReprList___rarg___closed__2; lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117____spec__13___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__11___lambda__1___closed__1; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; lean_object* l_Lean_Meta_mkCongrLemma_match__3(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_249____closed__4; lean_object* l_Lean_SMap_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117____spec__2___rarg(lean_object*, lean_object*, lean_object*); @@ -234,7 +233,6 @@ lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_CongrLemmas_get___spec__5_ lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CongrLemmas_lemmas___default; lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_21____spec__2(lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_addCongrLemmaEntry___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_FindImpl_initCache; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117____spec__14___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -255,6 +253,7 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__8___lambda__3___closed__2; lean_object* l_Lean_Meta_addCongrLemma___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_21____closed__2; uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117____spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -269,6 +268,7 @@ lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addCongrLemma___spec__ lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1457____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getCongrLemmas(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1457____closed__3; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addCongrLemma___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedPersistentEnvExtension___closed__5; lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117_(lean_object*, lean_object*); @@ -284,7 +284,6 @@ lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1 lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_addCongrLemmaEntry___spec__6(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_7613____closed__4; lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117____spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_21____closed__4; @@ -330,7 +329,9 @@ lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*) lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_addCongrLemmaEntry___spec__9(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117____spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117____closed__8; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__8___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__8___lambda__5___closed__1; @@ -354,7 +355,6 @@ uint8_t l_Lean_Expr_isSort(lean_object*); lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117____spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_paren___closed__3; lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_getCongrLemmas___spec__1___boxed(lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__5___closed__6; lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkCongrLemma___spec__11___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -477,7 +477,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_21____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -568,7 +568,7 @@ x_15 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma 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___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_18 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); @@ -649,15 +649,15 @@ lean_ctor_set(x_52, 1, x_17); x_53 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_35); -x_54 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_54 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_55 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); -x_56 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_56 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_57 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_57, 0, x_55); lean_ctor_set(x_57, 1, x_56); -x_58 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_58 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_59 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); @@ -691,15 +691,15 @@ lean_ctor_set(x_68, 1, x_17); x_69 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_35); -x_70 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_70 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_71 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_69); -x_72 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_72 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_73 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_73, 0, x_71); lean_ctor_set(x_73, 1, x_72); -x_74 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_74 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_75 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); @@ -1633,7 +1633,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__4; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__4; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -1666,7 +1666,7 @@ static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_ _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_6247____closed__28; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_2 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117____closed__6; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1679,7 +1679,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117____closed__7; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -1690,7 +1690,7 @@ static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_ _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_6247____closed__27; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_2 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_117____closed__8; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1752,15 +1752,15 @@ x_19 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma x_20 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__28; +x_21 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__28; x_22 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__29; +x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__29; x_24 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); -x_25 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__27; +x_25 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__27; x_26 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); diff --git a/stage0/stdlib/Lean/Meta/TransparencyMode.c b/stage0/stdlib/Lean/Meta/TransparencyMode.c index d0c3ffa478..a5c85e0953 100644 --- a/stage0/stdlib/Lean/Meta/TransparencyMode.c +++ b/stage0/stdlib/Lean/Meta/TransparencyMode.c @@ -48,10 +48,10 @@ lean_object* l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparenc lean_object* l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__6; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_beqTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_11__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__25; lean_object* l_Lean_Meta_TransparencyMode_lt_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_TransparencyMode_lt(uint8_t, uint8_t); lean_object* l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__15; +extern lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; lean_object* l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__18; lean_object* l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__22; @@ -62,7 +62,6 @@ lean_object* l_Lean_Meta_TransparencyMode_hash___boxed(lean_object*); lean_object* l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__3; lean_object* l_Lean_Meta_instBEqTransparencyMode; lean_object* l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__7; -lean_object* lean_nat_to_int(lean_object*); lean_object* l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__24; lean_object* l_Lean_Meta_TransparencyMode_lt_match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Repr_addAppParen(lean_object*, lean_object*); @@ -399,17 +398,8 @@ return x_2; static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__3() { _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_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -417,11 +407,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__5() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__4() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__4; +x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__3; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -429,7 +419,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__6() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -441,11 +431,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__7() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__6() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__6; +x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__5; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -453,7 +443,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__8() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__7() { _start: { lean_object* x_1; @@ -461,57 +451,57 @@ x_1 = lean_mk_string("Lean.Meta.TransparencyMode.default"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__9() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__8; +x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____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_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__10() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__3; -x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__9; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; +x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__8; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__10() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__9; +x_2 = 0; +x_3 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__11() { _start: { -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__10; -x_2 = 0; -x_3 = lean_alloc_ctor(5, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__12() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_Int_pow___closed__1; -x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__9; +x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__8; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__13() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__12() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__12; +x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__11; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -519,7 +509,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__14() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__13() { _start: { lean_object* x_1; @@ -527,57 +517,57 @@ x_1 = lean_mk_string("Lean.Meta.TransparencyMode.reducible"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__15() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__14; +x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____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_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__16() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__3; -x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__15; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; +x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__14; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__16() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__15; +x_2 = 0; +x_3 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__17() { _start: { -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__16; -x_2 = 0; -x_3 = lean_alloc_ctor(5, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__18() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_Int_pow___closed__1; -x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__15; +x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__14; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__19() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__18() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__18; +x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__17; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -585,7 +575,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__20() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__19() { _start: { lean_object* x_1; @@ -593,33 +583,33 @@ x_1 = lean_mk_string("Lean.Meta.TransparencyMode.instances"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__21() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__20; +x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____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_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__22() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__3; -x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__21; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; +x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__20; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__23() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__22() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__22; +x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__21; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -627,23 +617,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__24() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_Int_pow___closed__1; -x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__21; +x_2 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__20; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__25() { +static lean_object* _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__24() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__24; +x_1 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__23; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -663,14 +653,14 @@ x_4 = lean_nat_dec_le(x_3, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__5; +x_5 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__4; x_6 = l_Repr_addAppParen(x_5, x_2); return x_6; } else { lean_object* x_7; lean_object* x_8; -x_7 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__7; +x_7 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__6; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -683,14 +673,14 @@ x_10 = lean_nat_dec_le(x_9, x_2); if (x_10 == 0) { lean_object* x_11; lean_object* x_12; -x_11 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__11; +x_11 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__10; x_12 = l_Repr_addAppParen(x_11, x_2); return x_12; } else { lean_object* x_13; lean_object* x_14; -x_13 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__13; +x_13 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__12; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -703,14 +693,14 @@ x_16 = lean_nat_dec_le(x_15, x_2); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; -x_17 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__17; +x_17 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__16; x_18 = l_Repr_addAppParen(x_17, x_2); return x_18; } else { lean_object* x_19; lean_object* x_20; -x_19 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__19; +x_19 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__18; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -723,14 +713,14 @@ x_22 = lean_nat_dec_le(x_21, x_2); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; -x_23 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__23; +x_23 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__22; x_24 = l_Repr_addAppParen(x_23, x_2); return x_24; } else { lean_object* x_25; lean_object* x_26; -x_25 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__25; +x_25 = l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__24; x_26 = l_Repr_addAppParen(x_25, x_2); return x_26; } @@ -1149,8 +1139,6 @@ l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_ lean_mark_persistent(l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__23); l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__24 = _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__24(); lean_mark_persistent(l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__24); -l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__25 = _init_l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__25(); -lean_mark_persistent(l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_reprTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_59____closed__25); l_Lean_Meta_instReprTransparencyMode___closed__1 = _init_l_Lean_Meta_instReprTransparencyMode___closed__1(); lean_mark_persistent(l_Lean_Meta_instReprTransparencyMode___closed__1); l_Lean_Meta_instReprTransparencyMode = _init_l_Lean_Meta_instReprTransparencyMode(); diff --git a/stage0/stdlib/Lean/Parser/Tactic.c b/stage0/stdlib/Lean/Parser/Tactic.c index 33669477f2..d689464a77 100644 --- a/stage0/stdlib/Lean/Parser/Tactic.c +++ b/stage0/stdlib/Lean/Parser/Tactic.c @@ -146,6 +146,7 @@ lean_object* l_Lean_Parser_Tactic_eraseAuxDiscrs___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_decide_parenthesizer___closed__1; lean_object* l_Lean_Parser_nonReservedSymbolInfo(lean_object*, uint8_t); lean_object* l_Lean_Parser_Tactic_nativeDecide___closed__2; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24; lean_object* l_Lean_Parser_Tactic_nativeDecide_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_introMatch___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_match___elambda__1___closed__2; @@ -180,7 +181,6 @@ lean_object* l_Lean_Parser_Tactic_match___elambda__1___closed__5; lean_object* l___regBuiltin_Lean_Parser_Tactic_unknown_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_match_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_eraseAuxDiscrs_parenthesizer___closed__2; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24; extern lean_object* l_Lean_PrettyPrinter_formatterAttribute; lean_object* l_Lean_Parser_Tactic_match___closed__8; lean_object* l_Lean_Parser_Tactic_match_parenthesizer___closed__1; @@ -2573,7 +2573,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_intro___closed__2; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2592,7 +2592,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_decide___elambda__1___closed__3() _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24; x_2 = l_Lean_Parser_Tactic_decide___elambda__1___closed__2; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -2603,7 +2603,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_decide___elambda__1___closed__4() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24; x_2 = l_String_trim(x_1); return x_2; } @@ -2774,7 +2774,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_decide_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24; x_2 = l_Lean_Parser_Tactic_decide___elambda__1___closed__2; x_3 = 1; x_4 = lean_box(x_3); @@ -2789,7 +2789,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_decide_formatter___closed__2() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__24; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__24; x_2 = 0; x_3 = lean_box(x_2); x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2); diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index 595b3987e9..33732e3706 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -1395,7 +1395,6 @@ lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__1; lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_dbgTrace; lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__5; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20; lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__15; @@ -1981,6 +1980,7 @@ lean_object* l_Lean_Parser_Term_typeSpec_formatter___closed__1; lean_object* l_Lean_Parser_Term_nomatch___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer___closed__9; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20; lean_object* l_Lean_Parser_Term_have___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_stateRefT___elambda__1(lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_type(lean_object*); @@ -40638,7 +40638,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2278____closed__2; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c index e102850f09..5aad0bb7e8 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c @@ -128,7 +128,6 @@ lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_pp_notation; lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingDomain___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_pp_all; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6247____closed__20; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4; lean_object* l_Lean_PrettyPrinter_Delaborator_annotateCurPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -171,6 +170,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_liftMetaM___rarg___boxed(lean_obje uint8_t l_Lean_PrettyPrinter_Delaborator_getUnusedName_bodyUsesSuggestion(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute(lean_object*); extern lean_object* l_Lean_Elab_autoBoundImplicitLocal___closed__1; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20; lean_object* l_Lean_PrettyPrinter_Delaborator_delab___closed__2; lean_object* l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM___closed__1; lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2; @@ -2918,7 +2918,7 @@ _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_6247____closed__20; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6282____closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/ReducibilityAttrs.c b/stage0/stdlib/Lean/ReducibilityAttrs.c index 07ab54e7ea..426dd4930f 100644 --- a/stage0/stdlib/Lean/ReducibilityAttrs.c +++ b/stage0/stdlib/Lean/ReducibilityAttrs.c @@ -69,7 +69,6 @@ lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus__ lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_88____closed__6; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_117_(uint8_t, uint8_t); -extern lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; lean_object* l_List_map___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_88____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_nat_sub(lean_object*, lean_object*); lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); @@ -145,6 +144,7 @@ lean_object* l_List_map___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_88_ lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_88____closed__3; lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_88____closed__5; lean_object* l_Lean_getReducibilityStatusImp_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); lean_object* l_Lean_instReprReducibilityStatus; lean_object* l_Lean_registerEnumAttributes___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_88____spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); @@ -251,7 +251,7 @@ static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducib _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_2 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_11____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -317,7 +317,7 @@ static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducib _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_2 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_11____closed__8; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -383,7 +383,7 @@ static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducib _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_197____closed__3; +x_1 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1348____closed__4; x_2 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_11____closed__14; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Server/FileWorker.c b/stage0/stdlib/Lean/Server/FileWorker.c index 5d8e0d0373..7b99d5a622 100644 --- a/stage0/stdlib/Lean/Server/FileWorker.c +++ b/stage0/stdlib/Lean/Server/FileWorker.c @@ -41,7 +41,6 @@ lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_match__1___rarg(lean_ lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__10(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l_Lean_Elab_InfoTree_deepestNodes(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__2(lean_object*); lean_object* l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1___boxed(lean_object*, lean_object*); @@ -79,7 +78,7 @@ lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoalParams lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__7(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__1(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(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_handlePlainGoal___spec__7(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_handleWaitForDiagnostics___lambda__3___closed__6; lean_object* l_String_split___at_Lean_stringToMessageData___spec__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensRange___boxed(lean_object*, lean_object*, lean_object*); @@ -87,7 +86,6 @@ extern lean_object* l_Lean_noConfusionExt; extern lean_object* l_Std_Format_defWidth; lean_object* l_Lean_Server_FileWorker_initAndRunWorker_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover___closed__1; -lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_RequestError_fileChanged___closed__1; extern lean_object* l_Lean_Parser_Command_namedPrio___elambda__1___closed__2; @@ -100,13 +98,13 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); extern lean_object* l_Lean_Lsp_Ipc_collectDiagnostics___closed__1; extern lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__28; extern lean_object* l_Lean_identKind___closed__2; +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_type___elambda__1___closed__2; extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__6; 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*); lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__15(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1(lean_object*); -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4; extern lean_object* l_Lean_searchPathRef; uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); @@ -126,9 +124,8 @@ lean_object* l_Lean_Server_FileWorker_handleNotification___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__5; extern lean_object* l_Lean_Parser_Command_section___elambda__1___closed__2; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___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_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedEnvironment___closed__4; lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap_match__1(lean_object*); @@ -141,8 +138,8 @@ lean_object* l_Lean_Server_FileWorker_handleDidChange_match__2(lean_object*); lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* lean_get_stderr(lean_object*); lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getBuiltinSearchPath(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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_handleRequest_match__1(lean_object*, lean_object*); extern lean_object* l_Lean_declRangeExt; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -154,7 +151,7 @@ lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTo extern lean_object* l_instInhabitedNat; lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__1; extern lean_object* l_IO_AsyncList_waitFind_x3f___rarg___closed__2; -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__4___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_headerToImports(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*); lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -198,16 +195,19 @@ lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* lean_io_process_spawn(lean_object*, lean_object*); lean_object* lean_io_getenv(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleRequest___spec__16___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___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_handleDocumentSymbol_toDocumentSymbols_match__1___rarg(lean_object*, lean_object*); extern lean_object* l_Std_instInhabitedPersistentArray___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__24; lean_object* l_Lean_Server_FileWorker_handleHover_match__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_List_join___rarg(lean_object*); extern lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__9; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_instInhabitedCancelToken; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__2(lean_object*); +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_auxRecExt; lean_object* l_Lean_Server_FileWorker_CancelToken_new(lean_object*); lean_object* lean_io_map_task(lean_object*, lean_object*, lean_object*, lean_object*); @@ -238,7 +238,6 @@ lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__3(lean_object*, le lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(lean_object*); lean_object* l_Lean_FileMap_utf8PosToLspPos(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__2(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__6(lean_object*, lean_object*); @@ -257,6 +256,7 @@ lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefin extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__5; lean_object* l_Lean_Server_FileWorker_handleRequest_match__2___rarg___closed__8; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_deepestNodes___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_updateDocument_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_initAndRunWorker_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleNotification___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -320,11 +320,13 @@ lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_ha lean_object* lean_get_set_stderr(lean_object*, lean_object*); lean_object* l_Lean_Lsp_SemanticTokenType_toNat(uint8_t); lean_object* l_Lean_Server_FileWorker_RequestError_fileChanged; +lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Stream_putStrLn___at_Lean_Server_FileWorker_workerMain___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_leanpkgSetupSearchPath___closed__2; 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_Snapshots_reparseHeader(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4___closed__1; extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__7; lean_object* l_List_mapM___at_Lean_Server_FileWorker_leanpkgSetupSearchPath___spec__2(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -381,7 +383,6 @@ lean_object* l_IO_FS_Stream_writeLspResponseError(lean_object*, lean_object*, le lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Stream_writeLspMessage(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_initAndRunWorker_match__3(lean_object*); -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(lean_object*, 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___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -480,6 +481,7 @@ lean_object* lean_io_has_finished(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_rangeOfSyntax(lean_object*, lean_object*); +lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_nullKind___closed__1; @@ -492,6 +494,7 @@ lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__1(lean_object* extern lean_object* l_Lean_Parser_Term_doReturn___elambda__1___closed__2; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___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* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__9(uint8_t, 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___private_Lean_Server_AsyncList_0__IO_AsyncList_coeErr___at_Lean_Server_FileWorker_unfoldCmdSnaps___spec__3___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleNotification_match__1(lean_object*); @@ -504,7 +507,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_leanpkgSetupSear lean_object* l_Lean_Server_FileWorker_initializeWorker_match__1(lean_object*); uint8_t l_Char_isAlpha(uint32_t); lean_object* l_Lean_Server_FileWorker_CancelToken_check___rarg___lambda__1(lean_object*, lean_object*, uint8_t); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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_Server_FileWorker_noHighlightKinds___closed__5; extern lean_object* l_Lean_nullKind___closed__2; extern lean_object* l_IO_FS_Stream_readNotificationAs___closed__1; @@ -549,6 +551,7 @@ lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover lean_object* l_Lean_Server_FileWorker_handleDefinition_match__3(lean_object*); lean_object* l_Lean_Server_FileWorker_CancelToken_check___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_leanpkgSetupSearchPath(lean_object*, lean_object*, lean_object*, lean_object*, 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_server_worker_main(lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleHover___spec__1___rarg(lean_object*, lean_object*, lean_object*); @@ -592,6 +595,7 @@ lean_object* l_List_get_x21___at_Lean_Server_FileWorker_updateDocument___spec__2 extern lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__20; lean_object* l_IO_AsyncList_unfoldAsync_step___at_Lean_Server_FileWorker_unfoldCmdSnaps___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__3; +lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_workerMain_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_withWaitFindSnap___rarg___lambda__1___closed__1; @@ -599,7 +603,8 @@ lean_object* l_Lean_Server_FileWorker_handleRequest_match__2___rarg___closed__4; lean_object* l_IO_FS_Stream_writeLspNotification___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__7(lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_addSearchPathFromEnv(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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9(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* lean_get_stdout(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); @@ -642,7 +647,6 @@ lean_object* l_Lean_Server_Snapshots_Snapshot_endPos(lean_object*); extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__8; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_compileHeader_match__3(lean_object*); -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_initializeWorker_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(lean_object*, lean_object*, lean_object*); @@ -664,6 +668,7 @@ lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__4(lean_object*); lean_object* l_EStateM_instInhabitedEStateM___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_mainLoop_match__1___rarg(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_toFileUri(lean_object*); lean_object* l_IO_eprint___at_IO_eprintln___spec__1(lean_object*, lean_object*); lean_object* l_String_trim(lean_object*); @@ -672,7 +677,6 @@ lean_object* l_List_dropLast___rarg(lean_object*); lean_object* l_Lean_Server_FileWorker_compileHeader___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_Server_FileWorker_handleRequest_match__2___rarg___closed__7; lean_object* l_IO_mkRef___at_Lean_Server_FileWorker_initializeWorker___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_allImportedModuleNames(lean_object*); extern lean_object* l_IO_FS_Stream_readRequestAs___closed__4; uint8_t l_Lean_Server_FileWorker_updateDocument___lambda__1(lean_object*, lean_object*); @@ -702,7 +706,7 @@ lean_object* l_Lean_Server_FileWorker_handleSemanticTokens(lean_object*, lean_ob lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_updatePendingRequests(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8___lambda__2___closed__1; -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg(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* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__17(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__4(lean_object*); @@ -731,8 +735,9 @@ lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_FileWorker_ha extern lean_object* l_IO_instInhabitedError; 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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8___closed__1; uint8_t l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1(lean_object*, lean_object*); -uint8_t l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object*, 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*); lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_workerMain___closed__1; extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__13; @@ -744,15 +749,14 @@ extern lean_object* l_System_FilePath_exeSuffix; uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__3(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__2; lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidChangeTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_309_(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_FileWorker_handleSemanticTokens_highlightId_match__5(lean_object*); extern lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__12; extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_361____closed__1; lean_object* l_Lean_Server_FileWorker_withWaitFindSnap___rarg___lambda__1(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_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_updateDocument___spec__1(lean_object*); lean_object* l_Lean_Server_FileWorker_workerMain___boxed__const__1; lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -771,7 +775,7 @@ lean_object* l_Lean_Server_FileWorker_updateDocument_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__1; lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__3(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1___rarg(lean_object*, lean_object*, 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___closed__1; lean_object* l_Lean_Server_FileWorker_handleRequest_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -15457,7 +15461,30 @@ x_6 = l_Lean_Server_FileWorker_handleDefinition(x_5, x_2, x_3, x_4); return x_6; } } -lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_6 = lean_box(x_5); +x_7 = lean_apply_3(x_2, x_3, x_4, x_6); +return x_7; +} +} +lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainGoal_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -15469,30 +15496,26 @@ return x_4; } else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_dec(x_3); x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_ctor_get(x_5, 0); +x_6 = lean_ctor_get(x_1, 1); lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_apply_2(x_2, x_6, x_7); -return x_8; +x_7 = lean_apply_3(x_2, x_1, x_5, x_6); +return x_7; } } } -lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainGoal_match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainGoal_match__2___rarg), 3, 0); return x_2; } } -lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -15515,15 +15538,113 @@ return x_7; } } } -lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__2(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainGoal_match__2___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainGoal_match__3___rarg), 3, 0); return x_2; } } -lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = l_Std_Format_defWidth; +x_7 = lean_format_pretty(x_4, x_6); +x_8 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(x_5); +lean_ctor_set(x_1, 1, x_8); +lean_ctor_set(x_1, 0, x_7); +return x_1; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_1); +x_11 = l_Std_Format_defWidth; +x_12 = lean_format_pretty(x_9, x_11); +x_13 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(x_10); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} +lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = l_Std_Format_defWidth; +x_7 = lean_format_pretty(x_4, x_6); +x_8 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1; +x_9 = lean_string_append(x_8, x_7); +lean_dec(x_7); +x_10 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__3; +x_11 = lean_string_append(x_9, x_10); +x_12 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_5); +lean_ctor_set(x_1, 1, x_12); +lean_ctor_set(x_1, 0, x_11); +return x_1; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_1); +x_15 = l_Std_Format_defWidth; +x_16 = lean_format_pretty(x_13, x_15); +x_17 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +x_19 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__3; +x_20 = lean_string_append(x_18, x_19); +x_21 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (lean_obj_tag(x_1) == 0) @@ -15564,7 +15685,7 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(x_11, x_2, x_3, x_4, x_5, x_16); +x_17 = l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_11, x_2, x_3, x_4, x_5, x_16); if (lean_obj_tag(x_17) == 0) { uint8_t x_18; @@ -15672,7 +15793,7 @@ lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); lean_dec(x_35); -x_38 = l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(x_32, x_2, x_3, x_4, x_5, x_37); +x_38 = l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_32, x_2, x_3, x_4, x_5, x_37); if (lean_obj_tag(x_38) == 0) { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; @@ -15759,105 +15880,492 @@ return x_51; } } } -lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(lean_object* x_1) { +static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) { -lean_object* x_2; -x_2 = lean_box(0); -return x_2; +lean_object* x_4; lean_object* x_5; +x_4 = l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4___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_3); +return x_5; } else { -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_43; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_8 = x_1; +} else { + lean_dec_ref(x_1); + x_8 = lean_box(0); +} +x_43 = lean_ctor_get_uint8(x_6, sizeof(void*)*2); +if (x_43 == 0) { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = l_Std_Format_defWidth; -x_7 = lean_format_pretty(x_4, x_6); -x_8 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_5); -lean_ctor_set(x_1, 1, x_8); -lean_ctor_set(x_1, 0, x_7); -return x_1; +lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_6, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_6, 1); +lean_inc(x_45); +lean_dec(x_6); +x_46 = !lean_is_exclusive(x_44); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_47 = lean_ctor_get(x_44, 2); +lean_dec(x_47); +x_48 = lean_ctor_get(x_45, 0); +lean_inc(x_48); +lean_ctor_set(x_44, 2, x_48); +x_49 = lean_ctor_get(x_45, 1); +lean_inc(x_49); +lean_dec(x_45); +x_50 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__3), 6, 1); +lean_closure_set(x_50, 0, x_49); +x_51 = l_Lean_LocalContext_mkEmpty___closed__1; +x_52 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_44, x_51, x_50, x_3); +lean_dec(x_44); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_53); +x_9 = x_55; +x_10 = x_54; +goto block_42; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_1); -x_11 = l_Std_Format_defWidth; -x_12 = lean_format_pretty(x_9, x_11); -x_13 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_10); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -} -} -} -lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; -x_2 = lean_box(0); -return x_2; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = l_Std_Format_defWidth; -x_7 = lean_format_pretty(x_4, x_6); -x_8 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1; -x_9 = lean_string_append(x_8, x_7); +uint8_t x_56; +lean_dec(x_8); lean_dec(x_7); -x_10 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__3; -x_11 = lean_string_append(x_9, x_10); -x_12 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_5); -lean_ctor_set(x_1, 1, x_12); -lean_ctor_set(x_1, 0, x_11); -return x_1; +x_56 = !lean_is_exclusive(x_52); +if (x_56 == 0) +{ +return x_52; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_13 = lean_ctor_get(x_1, 0); -x_14 = lean_ctor_get(x_1, 1); -lean_inc(x_14); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_52, 0); +x_58 = lean_ctor_get(x_52, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_52); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_60 = lean_ctor_get(x_44, 0); +x_61 = lean_ctor_get(x_44, 1); +x_62 = lean_ctor_get(x_44, 3); +x_63 = lean_ctor_get(x_44, 4); +x_64 = lean_ctor_get(x_44, 5); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_44); +x_65 = lean_ctor_get(x_45, 0); +lean_inc(x_65); +x_66 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_66, 0, x_60); +lean_ctor_set(x_66, 1, x_61); +lean_ctor_set(x_66, 2, x_65); +lean_ctor_set(x_66, 3, x_62); +lean_ctor_set(x_66, 4, x_63); +lean_ctor_set(x_66, 5, x_64); +x_67 = lean_ctor_get(x_45, 1); +lean_inc(x_67); +lean_dec(x_45); +x_68 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__3), 6, 1); +lean_closure_set(x_68, 0, x_67); +x_69 = l_Lean_LocalContext_mkEmpty___closed__1; +x_70 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_66, x_69, x_68, x_3); +lean_dec(x_66); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_73, 0, x_71); +x_9 = x_73; +x_10 = x_72; +goto block_42; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_8); +lean_dec(x_7); +x_74 = lean_ctor_get(x_70, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_76 = x_70; +} else { + lean_dec_ref(x_70); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_78 = lean_ctor_get(x_6, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_6, 1); +lean_inc(x_79); +lean_dec(x_6); +x_80 = !lean_is_exclusive(x_78); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_81 = lean_ctor_get(x_78, 2); +lean_dec(x_81); +x_82 = lean_ctor_get(x_79, 3); +lean_inc(x_82); +lean_ctor_set(x_78, 2, x_82); +x_83 = lean_ctor_get(x_79, 4); +lean_inc(x_83); +lean_dec(x_79); +x_84 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__3), 6, 1); +lean_closure_set(x_84, 0, x_83); +x_85 = l_Lean_LocalContext_mkEmpty___closed__1; +x_86 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_78, x_85, x_84, x_3); +lean_dec(x_78); +if (lean_obj_tag(x_86) == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_89, 0, x_87); +x_9 = x_89; +x_10 = x_88; +goto block_42; +} +else +{ +uint8_t x_90; +lean_dec(x_8); +lean_dec(x_7); +x_90 = !lean_is_exclusive(x_86); +if (x_90 == 0) +{ +return x_86; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_86, 0); +x_92 = lean_ctor_get(x_86, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_86); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_94 = lean_ctor_get(x_78, 0); +x_95 = lean_ctor_get(x_78, 1); +x_96 = lean_ctor_get(x_78, 3); +x_97 = lean_ctor_get(x_78, 4); +x_98 = lean_ctor_get(x_78, 5); +lean_inc(x_98); +lean_inc(x_97); +lean_inc(x_96); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_78); +x_99 = lean_ctor_get(x_79, 3); +lean_inc(x_99); +x_100 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_100, 0, x_94); +lean_ctor_set(x_100, 1, x_95); +lean_ctor_set(x_100, 2, x_99); +lean_ctor_set(x_100, 3, x_96); +lean_ctor_set(x_100, 4, x_97); +lean_ctor_set(x_100, 5, x_98); +x_101 = lean_ctor_get(x_79, 4); +lean_inc(x_101); +lean_dec(x_79); +x_102 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__3), 6, 1); +lean_closure_set(x_102, 0, x_101); +x_103 = l_Lean_LocalContext_mkEmpty___closed__1; +x_104 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_100, x_103, x_102, x_3); +lean_dec(x_100); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_107, 0, x_105); +x_9 = x_107; +x_10 = x_106; +goto block_42; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +lean_dec(x_8); +lean_dec(x_7); +x_108 = lean_ctor_get(x_104, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_104, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + lean_ctor_release(x_104, 1); + x_110 = x_104; +} else { + lean_dec_ref(x_104); + x_110 = lean_box(0); +} +if (lean_is_scalar(x_110)) { + x_111 = lean_alloc_ctor(1, 2, 0); +} else { + x_111 = x_110; +} +lean_ctor_set(x_111, 0, x_108); +lean_ctor_set(x_111, 1, x_109); +return x_111; +} +} +} +block_42: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(x_7, x_2, x_10); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -lean_dec(x_1); -x_15 = l_Std_Format_defWidth; -x_16 = lean_format_pretty(x_13, x_15); -x_17 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1; -x_18 = lean_string_append(x_17, x_16); -lean_dec(x_16); -x_19 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__3; -x_20 = lean_string_append(x_18, x_19); -x_21 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_14); -x_22 = lean_alloc_ctor(1, 2, 0); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +lean_dec(x_11); +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_12, 0); +lean_dec(x_15); +x_16 = !lean_is_exclusive(x_13); +if (x_16 == 0) +{ +return x_12; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_alloc_ctor(0, 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_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_dec(x_12); +x_20 = lean_ctor_get(x_13, 0); +lean_inc(x_20); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + x_21 = x_13; +} else { + lean_dec_ref(x_13); + x_21 = lean_box(0); +} +if (lean_is_scalar(x_21)) { + x_22 = lean_alloc_ctor(0, 1, 0); +} else { + x_22 = x_21; +} lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -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_19); +return x_23; +} +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_12); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_12, 0); +lean_dec(x_25); +x_26 = !lean_is_exclusive(x_13); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_13, 0); +if (lean_is_scalar(x_8)) { + x_28 = lean_alloc_ctor(1, 2, 0); +} else { + x_28 = x_8; +} +lean_ctor_set(x_28, 0, x_11); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_13, 0, x_28); +return x_12; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_13, 0); +lean_inc(x_29); +lean_dec(x_13); +if (lean_is_scalar(x_8)) { + x_30 = lean_alloc_ctor(1, 2, 0); +} else { + x_30 = x_8; +} +lean_ctor_set(x_30, 0, x_11); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_12, 0, x_31); +return x_12; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_32 = lean_ctor_get(x_12, 1); +lean_inc(x_32); +lean_dec(x_12); +x_33 = lean_ctor_get(x_13, 0); +lean_inc(x_33); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + x_34 = x_13; +} else { + lean_dec_ref(x_13); + x_34 = lean_box(0); +} +if (lean_is_scalar(x_8)) { + x_35 = lean_alloc_ctor(1, 2, 0); +} else { + x_35 = x_8; +} +lean_ctor_set(x_35, 0, x_11); +lean_ctor_set(x_35, 1, x_33); +if (lean_is_scalar(x_34)) { + x_36 = lean_alloc_ctor(1, 1, 0); +} else { + x_36 = x_34; +} +lean_ctor_set(x_36, 0, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_32); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_dec(x_11); +lean_dec(x_8); +x_38 = !lean_is_exclusive(x_12); +if (x_38 == 0) +{ +return x_12; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_12, 0); +x_40 = lean_ctor_get(x_12, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_12); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_35; @@ -15884,7 +16392,7 @@ lean_inc(x_39); lean_dec(x_8); lean_inc(x_2); lean_inc(x_1); -x_40 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(x_1, x_2, x_3, x_38, x_39, x_9, x_10); +x_40 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(x_1, x_2, x_3, x_38, x_39, x_9, x_10); lean_dec(x_38); if (lean_obj_tag(x_40) == 0) { @@ -16180,7 +16688,7 @@ goto _start; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8___closed__1() { _start: { lean_object* x_1; @@ -16188,629 +16696,541 @@ x_1 = lean_mk_string("\n---\n"); return x_1; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_29; lean_object* x_30; uint8_t x_55; -x_55 = x_6 < x_5; -if (x_55 == 0) +lean_object* x_10; lean_object* x_11; lean_object* x_34; lean_object* x_35; lean_object* x_63; lean_object* x_64; uint8_t x_116; +x_116 = x_6 < x_5; +if (x_116 == 0) { -lean_object* x_56; lean_object* x_57; +lean_object* x_117; lean_object* x_118; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_7); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_9); -return x_57; +x_117 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_117, 0, x_7); +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_9); +return x_118; } else { -lean_object* x_58; lean_object* x_59; +lean_object* x_119; lean_object* x_120; lean_dec(x_7); -x_58 = lean_array_uget(x_4, x_6); +x_119 = lean_array_uget(x_4, x_6); lean_inc(x_1); -x_59 = l_Lean_Elab_InfoTree_goalsAt_x3f(x_58, x_1); -if (lean_obj_tag(x_59) == 0) +x_120 = l_Lean_Elab_InfoTree_goalsAt_x3f(x_119, x_1); +if (lean_obj_tag(x_120) == 0) { -lean_object* x_60; lean_object* x_61; +lean_object* x_121; lean_object* x_122; lean_inc(x_2); -x_60 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_60, 0, x_2); -x_61 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_29 = x_61; -x_30 = x_9; -goto block_54; -} -else -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_59); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_63 = lean_ctor_get(x_59, 0); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = !lean_is_exclusive(x_64); -if (x_66 == 0) -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_67 = lean_ctor_get(x_64, 2); -lean_dec(x_67); -x_68 = lean_ctor_get(x_65, 3); -lean_inc(x_68); -lean_ctor_set(x_64, 2, x_68); -x_69 = lean_ctor_get(x_65, 4); -lean_inc(x_69); -lean_dec(x_65); -x_70 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); -lean_closure_set(x_70, 0, x_69); -x_71 = l_Lean_LocalContext_mkEmpty___closed__1; -x_72 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_64, x_71, x_70, x_9); -lean_dec(x_64); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -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_List_isEmpty___rarg(x_73); -lean_inc(x_73); -x_76 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_73); -x_77 = l_List_redLength___rarg(x_76); -x_78 = lean_mk_empty_array_with_capacity(x_77); -lean_dec(x_77); -x_79 = l_List_toArrayAux___rarg(x_76, x_78); -if (x_75 == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_80 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_73); -x_81 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; -x_82 = l_String_intercalate(x_81, x_80); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_79); -lean_ctor_set(x_59, 0, x_83); -x_84 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_84, 0, x_59); -x_85 = lean_box(0); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -x_87 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_87, 0, x_86); -x_88 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_88, 0, x_87); -x_29 = x_88; -x_30 = x_74; -goto block_54; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_73); -x_89 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_79); -lean_ctor_set(x_59, 0, x_90); -x_91 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_91, 0, x_59); -x_92 = lean_box(0); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -x_94 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_94, 0, x_93); -x_95 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_95, 0, x_94); -x_29 = x_95; -x_30 = x_74; -goto block_54; -} -} -else -{ -uint8_t x_96; -lean_free_object(x_59); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_96 = !lean_is_exclusive(x_72); -if (x_96 == 0) -{ -return x_72; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_72, 0); -x_98 = lean_ctor_get(x_72, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_72); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} -} -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_100 = lean_ctor_get(x_64, 0); -x_101 = lean_ctor_get(x_64, 1); -x_102 = lean_ctor_get(x_64, 3); -x_103 = lean_ctor_get(x_64, 4); -x_104 = lean_ctor_get(x_64, 5); -lean_inc(x_104); -lean_inc(x_103); -lean_inc(x_102); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_64); -x_105 = lean_ctor_get(x_65, 3); -lean_inc(x_105); -x_106 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_106, 0, x_100); -lean_ctor_set(x_106, 1, x_101); -lean_ctor_set(x_106, 2, x_105); -lean_ctor_set(x_106, 3, x_102); -lean_ctor_set(x_106, 4, x_103); -lean_ctor_set(x_106, 5, x_104); -x_107 = lean_ctor_get(x_65, 4); -lean_inc(x_107); -lean_dec(x_65); -x_108 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); -lean_closure_set(x_108, 0, x_107); -x_109 = l_Lean_LocalContext_mkEmpty___closed__1; -x_110 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_106, x_109, x_108, x_9); -lean_dec(x_106); -if (lean_obj_tag(x_110) == 0) -{ -lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_113 = l_List_isEmpty___rarg(x_111); -lean_inc(x_111); -x_114 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_111); -x_115 = l_List_redLength___rarg(x_114); -x_116 = lean_mk_empty_array_with_capacity(x_115); -lean_dec(x_115); -x_117 = l_List_toArrayAux___rarg(x_114, x_116); -if (x_113 == 0) -{ -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_118 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_111); -x_119 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; -x_120 = l_String_intercalate(x_119, x_118); -x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_117); -lean_ctor_set(x_59, 0, x_121); +x_121 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_121, 0, x_2); x_122 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_122, 0, x_59); -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_29 = x_126; -x_30 = x_112; -goto block_54; +lean_ctor_set(x_122, 0, x_121); +x_34 = x_122; +x_35 = x_9; +goto block_62; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -lean_dec(x_111); -x_127 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; -x_128 = lean_alloc_ctor(0, 2, 0); +lean_object* x_123; +x_123 = l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(x_120, x_8, x_9); +if (lean_obj_tag(x_123) == 0) +{ +lean_object* x_124; +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +if (lean_obj_tag(x_124) == 0) +{ +lean_object* x_125; uint8_t x_126; +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec(x_123); +x_126 = !lean_is_exclusive(x_124); +if (x_126 == 0) +{ +x_63 = x_124; +x_64 = x_125; +goto block_115; +} +else +{ +lean_object* x_127; lean_object* x_128; +x_127 = lean_ctor_get(x_124, 0); +lean_inc(x_127); +lean_dec(x_124); +x_128 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_117); -lean_ctor_set(x_59, 0, x_128); -x_129 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_129, 0, x_59); -x_130 = lean_box(0); -x_131 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -x_132 = lean_alloc_ctor(0, 1, 0); -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_29 = x_133; -x_30 = x_112; -goto block_54; +x_63 = x_128; +x_64 = x_125; +goto block_115; } } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -lean_free_object(x_59); +lean_object* x_129; uint8_t x_130; +x_129 = lean_ctor_get(x_123, 1); +lean_inc(x_129); +lean_dec(x_123); +x_130 = !lean_is_exclusive(x_124); +if (x_130 == 0) +{ +lean_object* x_131; lean_object* x_132; +x_131 = lean_ctor_get(x_124, 0); +x_132 = l_List_join___rarg(x_131); +lean_ctor_set(x_124, 0, x_132); +x_63 = x_124; +x_64 = x_129; +goto block_115; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_124, 0); +lean_inc(x_133); +lean_dec(x_124); +x_134 = l_List_join___rarg(x_133); +x_135 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_135, 0, x_134); +x_63 = x_135; +x_64 = x_129; +goto block_115; +} +} +} +else +{ +uint8_t x_136; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_134 = lean_ctor_get(x_110, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_110, 1); -lean_inc(x_135); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_136 = x_110; -} else { - lean_dec_ref(x_110); - x_136 = lean_box(0); -} -if (lean_is_scalar(x_136)) { - x_137 = lean_alloc_ctor(1, 2, 0); -} else { - x_137 = x_136; -} -lean_ctor_set(x_137, 0, x_134); -lean_ctor_set(x_137, 1, x_135); -return x_137; -} -} +x_136 = !lean_is_exclusive(x_123); +if (x_136 == 0) +{ +return x_123; } else { -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_138 = lean_ctor_get(x_59, 0); +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_123, 0); +x_138 = lean_ctor_get(x_123, 1); lean_inc(x_138); -lean_dec(x_59); -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_138, 1); -lean_inc(x_140); -lean_dec(x_138); -x_141 = lean_ctor_get(x_139, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_139, 1); -lean_inc(x_142); -x_143 = lean_ctor_get(x_139, 3); -lean_inc(x_143); -x_144 = lean_ctor_get(x_139, 4); -lean_inc(x_144); -x_145 = lean_ctor_get(x_139, 5); -lean_inc(x_145); -if (lean_is_exclusive(x_139)) { - lean_ctor_release(x_139, 0); - lean_ctor_release(x_139, 1); - lean_ctor_release(x_139, 2); - lean_ctor_release(x_139, 3); - lean_ctor_release(x_139, 4); - lean_ctor_release(x_139, 5); - x_146 = x_139; -} else { - lean_dec_ref(x_139); - x_146 = lean_box(0); +lean_inc(x_137); +lean_dec(x_123); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +return x_139; } -x_147 = lean_ctor_get(x_140, 3); -lean_inc(x_147); -if (lean_is_scalar(x_146)) { - x_148 = lean_alloc_ctor(0, 6, 0); -} else { - x_148 = x_146; } -lean_ctor_set(x_148, 0, x_141); -lean_ctor_set(x_148, 1, x_142); -lean_ctor_set(x_148, 2, x_147); -lean_ctor_set(x_148, 3, x_143); -lean_ctor_set(x_148, 4, x_144); -lean_ctor_set(x_148, 5, x_145); -x_149 = lean_ctor_get(x_140, 4); -lean_inc(x_149); -lean_dec(x_140); -x_150 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); -lean_closure_set(x_150, 0, x_149); -x_151 = l_Lean_LocalContext_mkEmpty___closed__1; -x_152 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_148, x_151, x_150, x_9); -lean_dec(x_148); -if (lean_obj_tag(x_152) == 0) +} +} +block_33: { -lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 1); -lean_inc(x_154); -lean_dec(x_152); -x_155 = l_List_isEmpty___rarg(x_153); -lean_inc(x_153); -x_156 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_153); -x_157 = l_List_redLength___rarg(x_156); -x_158 = lean_mk_empty_array_with_capacity(x_157); -lean_dec(x_157); -x_159 = l_List_toArrayAux___rarg(x_156, x_158); -if (x_155 == 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; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_160 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_153); -x_161 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; -x_162 = l_String_intercalate(x_161, x_160); -x_163 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_159); -x_164 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_164, 0, x_163); -x_165 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_165, 0, x_164); -x_166 = lean_box(0); -x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_165); -lean_ctor_set(x_167, 1, x_166); -x_168 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_168, 0, x_167); -x_169 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_169, 0, x_168); -x_29 = x_169; -x_30 = x_154; -goto block_54; -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -lean_dec(x_153); -x_170 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_159); -x_172 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_172, 0, x_171); -x_173 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_173, 0, x_172); -x_174 = lean_box(0); -x_175 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -x_176 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_176, 0, x_175); -x_177 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_177, 0, x_176); -x_29 = x_177; -x_30 = x_154; -goto block_54; -} -} -else -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_178 = lean_ctor_get(x_152, 0); -lean_inc(x_178); -x_179 = lean_ctor_get(x_152, 1); -lean_inc(x_179); -if (lean_is_exclusive(x_152)) { - lean_ctor_release(x_152, 0); - lean_ctor_release(x_152, 1); - x_180 = x_152; -} else { - lean_dec_ref(x_152); - x_180 = lean_box(0); -} -if (lean_is_scalar(x_180)) { - x_181 = lean_alloc_ctor(1, 2, 0); -} else { - x_181 = x_180; -} -lean_ctor_set(x_181, 0, x_178); -lean_ctor_set(x_181, 1, x_179); -return x_181; -} -} -} -} -block_28: +if (lean_obj_tag(x_10) == 0) { uint8_t x_12; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); x_12 = !lean_is_exclusive(x_10); if (x_12 == 0) { lean_object* x_13; -x_13 = lean_ctor_get(x_10, 0); -if (lean_obj_tag(x_13) == 0) +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_10); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else { -lean_object* x_14; lean_object* x_15; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_14 = lean_ctor_get(x_13, 0); +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 0); lean_inc(x_14); -lean_dec(x_13); -lean_ctor_set(x_10, 0, x_14); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_10); -lean_ctor_set(x_15, 1, x_11); -return x_15; -} -else -{ -lean_object* x_16; size_t x_17; size_t x_18; -lean_free_object(x_10); -x_16 = lean_ctor_get(x_13, 0); -lean_inc(x_16); -lean_dec(x_13); -x_17 = 1; -x_18 = x_6 + x_17; -x_6 = x_18; -x_7 = x_16; -x_9 = x_11; -goto _start; -} -} -else -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_10, 0); -lean_inc(x_20); lean_dec(x_10); -if (lean_obj_tag(x_20) == 0) +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_11); +return x_16; +} +} +else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; +uint8_t x_17; +x_17 = !lean_is_exclusive(x_10); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_10, 0); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_21); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_11); -return x_23; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec(x_18); +lean_ctor_set(x_10, 0, x_19); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_10); +lean_ctor_set(x_20, 1, x_11); +return x_20; } else { -lean_object* x_24; size_t x_25; size_t x_26; -x_24 = lean_ctor_get(x_20, 0); -lean_inc(x_24); -lean_dec(x_20); -x_25 = 1; -x_26 = x_6 + x_25; -x_6 = x_26; -x_7 = x_24; +lean_object* x_21; size_t x_22; size_t x_23; +lean_free_object(x_10); +x_21 = lean_ctor_get(x_18, 0); +lean_inc(x_21); +lean_dec(x_18); +x_22 = 1; +x_23 = x_6 + x_22; +x_6 = x_23; +x_7 = x_21; +x_9 = x_11; +goto _start; +} +} +else +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_10, 0); +lean_inc(x_25); +lean_dec(x_10); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +lean_dec(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_11); +return x_28; +} +else +{ +lean_object* x_29; size_t x_30; size_t x_31; +x_29 = lean_ctor_get(x_25, 0); +lean_inc(x_29); +lean_dec(x_25); +x_30 = 1; +x_31 = x_6 + x_30; +x_6 = x_31; +x_7 = x_29; x_9 = x_11; goto _start; } } } -block_54: +} +block_62: { -uint8_t x_31; -x_31 = !lean_is_exclusive(x_29); -if (x_31 == 0) +if (lean_obj_tag(x_34) == 0) { -lean_object* x_32; -x_32 = lean_ctor_get(x_29, 0); -if (lean_obj_tag(x_32) == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_34); +if (x_36 == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_34, 0, x_32); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_29, 0, x_36); -x_10 = x_29; -x_11 = x_30; -goto block_28; +x_10 = x_34; +x_11 = x_35; +goto block_33; } else { -uint8_t x_37; -x_37 = !lean_is_exclusive(x_32); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_32, 0); -lean_inc(x_3); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_3); -lean_ctor_set(x_39, 1, x_38); -lean_ctor_set(x_32, 0, x_39); -x_10 = x_29; -x_11 = x_30; -goto block_28; +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_34, 0); +lean_inc(x_37); +lean_dec(x_34); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_10 = x_38; +x_11 = x_35; +goto block_33; +} } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_32, 0); -lean_inc(x_40); -lean_dec(x_32); -lean_inc(x_3); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_3); -lean_ctor_set(x_41, 1, x_40); +uint8_t x_39; +x_39 = !lean_is_exclusive(x_34); +if (x_39 == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_34, 0); +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, 0); +lean_inc(x_41); x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_29, 0, x_42); -x_10 = x_29; -x_11 = x_30; -goto block_28; +lean_ctor_set(x_42, 0, x_40); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_34, 0, x_44); +x_10 = x_34; +x_11 = x_35; +goto block_33; +} +else +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_40); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_40, 0); +lean_inc(x_3); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_3); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_40, 0, x_47); +x_10 = x_34; +x_11 = x_35; +goto block_33; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_40, 0); +lean_inc(x_48); +lean_dec(x_40); +lean_inc(x_3); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_3); +lean_ctor_set(x_49, 1, x_48); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_34, 0, x_50); +x_10 = x_34; +x_11 = x_35; +goto block_33; } } } else { -lean_object* x_43; -x_43 = lean_ctor_get(x_29, 0); -lean_inc(x_43); -lean_dec(x_29); -if (lean_obj_tag(x_43) == 0) +lean_object* x_51; +x_51 = lean_ctor_get(x_34, 0); +lean_inc(x_51); +lean_dec(x_34); +if (lean_obj_tag(x_51) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_43); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -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); -x_10 = x_48; -x_11 = x_30; -goto block_28; +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_51); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_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); +x_10 = x_56; +x_11 = x_35; +goto block_33; } 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); -lean_inc(x_49); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - x_50 = x_43; +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = lean_ctor_get(x_51, 0); +lean_inc(x_57); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + x_58 = x_51; } else { - lean_dec_ref(x_43); - x_50 = lean_box(0); + lean_dec_ref(x_51); + x_58 = lean_box(0); } lean_inc(x_3); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_3); -lean_ctor_set(x_51, 1, x_49); -if (lean_is_scalar(x_50)) { - x_52 = lean_alloc_ctor(1, 1, 0); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_3); +lean_ctor_set(x_59, 1, x_57); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(1, 1, 0); } else { - x_52 = x_50; + x_60 = x_58; } -lean_ctor_set(x_52, 0, x_51); -x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_52); -x_10 = x_53; -x_11 = x_30; -goto block_28; +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_10 = x_61; +x_11 = x_35; +goto block_33; +} +} +} +} +block_115: +{ +if (lean_obj_tag(x_63) == 0) +{ +uint8_t x_65; +x_65 = !lean_is_exclusive(x_63); +if (x_65 == 0) +{ +x_34 = x_63; +x_35 = x_64; +goto block_62; +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_63, 0); +lean_inc(x_66); +lean_dec(x_63); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_66); +x_34 = x_67; +x_35 = x_64; +goto block_62; +} +} +else +{ +uint8_t x_68; +x_68 = !lean_is_exclusive(x_63); +if (x_68 == 0) +{ +lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_69 = lean_ctor_get(x_63, 0); +x_70 = l_List_isEmpty___rarg(x_69); +lean_inc(x_69); +x_71 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(x_69); +x_72 = l_List_redLength___rarg(x_71); +x_73 = lean_mk_empty_array_with_capacity(x_72); +lean_dec(x_72); +x_74 = l_List_toArrayAux___rarg(x_71, x_73); +if (x_70 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_75 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_69); +x_76 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8___closed__1; +x_77 = l_String_intercalate(x_76, x_75); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_74); +x_79 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_79, 0, x_78); +x_80 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_80, 0, x_79); +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); +lean_ctor_set(x_63, 0, x_83); +x_34 = x_63; +x_35 = x_64; +goto block_62; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_69); +x_84 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_74); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_85); +x_87 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_87, 0, x_86); +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); +lean_ctor_set(x_63, 0, x_90); +x_34 = x_63; +x_35 = x_64; +goto block_62; +} +} +else +{ +lean_object* x_91; uint8_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_91 = lean_ctor_get(x_63, 0); +lean_inc(x_91); +lean_dec(x_63); +x_92 = l_List_isEmpty___rarg(x_91); +lean_inc(x_91); +x_93 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(x_91); +x_94 = l_List_redLength___rarg(x_93); +x_95 = lean_mk_empty_array_with_capacity(x_94); +lean_dec(x_94); +x_96 = l_List_toArrayAux___rarg(x_93, x_95); +if (x_92 == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_97 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_91); +x_98 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8___closed__1; +x_99 = l_String_intercalate(x_98, x_97); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_96); +x_101 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_101, 0, x_100); +x_102 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_102, 0, x_101); +x_103 = lean_box(0); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +x_105 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_105, 0, x_104); +x_106 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_106, 0, x_105); +x_34 = x_106; +x_35 = x_64; +goto block_62; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +lean_dec(x_91); +x_107 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_96); +x_109 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_109, 0, x_108); +x_110 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_110, 0, x_109); +x_111 = lean_box(0); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +x_113 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_113, 0, x_112); +x_114 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_114, 0, x_113); +x_34 = x_114; +x_35 = x_64; +goto block_62; } } } } } -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___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* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { if (lean_obj_tag(x_4) == 0) @@ -16825,7 +17245,7 @@ x_11 = lean_array_get_size(x_8); x_12 = lean_usize_of_nat(x_11); lean_dec(x_11); x_13 = 0; -x_14 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(x_1, x_2, x_3, x_9, x_8, x_12, x_13, x_10, x_6, x_7); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(x_1, x_2, x_3, x_9, x_8, x_12, x_13, x_10, x_6, x_7); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; @@ -17028,7 +17448,7 @@ x_57 = lean_array_get_size(x_54); x_58 = lean_usize_of_nat(x_57); lean_dec(x_57); x_59 = 0; -x_60 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(x_1, x_2, x_55, x_54, x_58, x_59, x_56, x_6, x_7); +x_60 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(x_1, x_2, x_55, x_54, x_58, x_59, x_56, x_6, x_7); if (lean_obj_tag(x_60) == 0) { lean_object* x_61; @@ -17221,663 +17641,575 @@ return x_99; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_29; lean_object* x_30; uint8_t x_60; -x_60 = x_6 < x_5; -if (x_60 == 0) +lean_object* x_10; lean_object* x_11; lean_object* x_34; lean_object* x_35; lean_object* x_68; lean_object* x_69; uint8_t x_121; +x_121 = x_6 < x_5; +if (x_121 == 0) { -lean_object* x_61; lean_object* x_62; +lean_object* x_122; lean_object* x_123; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_61 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_61, 0, x_7); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_9); -return x_62; +x_122 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_122, 0, x_7); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_9); +return x_123; } else { -lean_object* x_63; lean_object* x_64; +lean_object* x_124; lean_object* x_125; lean_dec(x_7); -x_63 = lean_array_uget(x_4, x_6); +x_124 = lean_array_uget(x_4, x_6); lean_inc(x_1); -x_64 = l_Lean_Elab_InfoTree_goalsAt_x3f(x_63, x_1); -if (lean_obj_tag(x_64) == 0) +x_125 = l_Lean_Elab_InfoTree_goalsAt_x3f(x_124, x_1); +if (lean_obj_tag(x_125) == 0) { -lean_object* x_65; lean_object* x_66; +lean_object* x_126; lean_object* x_127; lean_inc(x_2); -x_65 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_65, 0, x_2); -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_65); -x_29 = x_66; -x_30 = x_9; -goto block_59; -} -else -{ -uint8_t x_67; -x_67 = !lean_is_exclusive(x_64); -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; -x_68 = lean_ctor_get(x_64, 0); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = !lean_is_exclusive(x_69); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_72 = lean_ctor_get(x_69, 2); -lean_dec(x_72); -x_73 = lean_ctor_get(x_70, 3); -lean_inc(x_73); -lean_ctor_set(x_69, 2, x_73); -x_74 = lean_ctor_get(x_70, 4); -lean_inc(x_74); -lean_dec(x_70); -x_75 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); -lean_closure_set(x_75, 0, x_74); -x_76 = l_Lean_LocalContext_mkEmpty___closed__1; -x_77 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_69, x_76, x_75, x_9); -lean_dec(x_69); -if (lean_obj_tag(x_77) == 0) -{ -lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -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_List_isEmpty___rarg(x_78); -lean_inc(x_78); -x_81 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_78); -x_82 = l_List_redLength___rarg(x_81); -x_83 = lean_mk_empty_array_with_capacity(x_82); -lean_dec(x_82); -x_84 = l_List_toArrayAux___rarg(x_81, x_83); -if (x_80 == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_85 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_78); -x_86 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; -x_87 = l_String_intercalate(x_86, x_85); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_84); -lean_ctor_set(x_64, 0, x_88); -x_89 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_89, 0, x_64); -x_90 = lean_box(0); -x_91 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -x_92 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_92, 0, x_91); -x_93 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_93, 0, x_92); -x_29 = x_93; -x_30 = x_79; -goto block_59; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -lean_dec(x_78); -x_94 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_84); -lean_ctor_set(x_64, 0, x_95); -x_96 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_96, 0, x_64); -x_97 = lean_box(0); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_96); -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_29 = x_100; -x_30 = x_79; -goto block_59; -} -} -else -{ -uint8_t x_101; -lean_free_object(x_64); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_101 = !lean_is_exclusive(x_77); -if (x_101 == 0) -{ -return x_77; -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_77, 0); -x_103 = lean_ctor_get(x_77, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_77); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; -} -} -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_105 = lean_ctor_get(x_69, 0); -x_106 = lean_ctor_get(x_69, 1); -x_107 = lean_ctor_get(x_69, 3); -x_108 = lean_ctor_get(x_69, 4); -x_109 = lean_ctor_get(x_69, 5); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_69); -x_110 = lean_ctor_get(x_70, 3); -lean_inc(x_110); -x_111 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_111, 0, x_105); -lean_ctor_set(x_111, 1, x_106); -lean_ctor_set(x_111, 2, x_110); -lean_ctor_set(x_111, 3, x_107); -lean_ctor_set(x_111, 4, x_108); -lean_ctor_set(x_111, 5, x_109); -x_112 = lean_ctor_get(x_70, 4); -lean_inc(x_112); -lean_dec(x_70); -x_113 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); -lean_closure_set(x_113, 0, x_112); -x_114 = l_Lean_LocalContext_mkEmpty___closed__1; -x_115 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_111, x_114, x_113, x_9); -lean_dec(x_111); -if (lean_obj_tag(x_115) == 0) -{ -lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -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 = l_List_isEmpty___rarg(x_116); -lean_inc(x_116); -x_119 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_116); -x_120 = l_List_redLength___rarg(x_119); -x_121 = lean_mk_empty_array_with_capacity(x_120); -lean_dec(x_120); -x_122 = l_List_toArrayAux___rarg(x_119, x_121); -if (x_118 == 0) -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_123 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_116); -x_124 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; -x_125 = l_String_intercalate(x_124, x_123); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_122); -lean_ctor_set(x_64, 0, x_126); +x_126 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_126, 0, x_2); x_127 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_127, 0, x_64); -x_128 = lean_box(0); -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 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_130, 0, x_129); -x_131 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_131, 0, x_130); -x_29 = x_131; -x_30 = x_117; -goto block_59; +lean_ctor_set(x_127, 0, x_126); +x_34 = x_127; +x_35 = x_9; +goto block_67; } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -lean_dec(x_116); -x_132 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; -x_133 = lean_alloc_ctor(0, 2, 0); +lean_object* x_128; +x_128 = l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(x_125, x_8, x_9); +if (lean_obj_tag(x_128) == 0) +{ +lean_object* x_129; +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_130; uint8_t x_131; +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = !lean_is_exclusive(x_129); +if (x_131 == 0) +{ +x_68 = x_129; +x_69 = x_130; +goto block_120; +} +else +{ +lean_object* x_132; lean_object* x_133; +x_132 = lean_ctor_get(x_129, 0); +lean_inc(x_132); +lean_dec(x_129); +x_133 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_122); -lean_ctor_set(x_64, 0, x_133); -x_134 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_134, 0, x_64); -x_135 = lean_box(0); -x_136 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_136, 0, x_134); -lean_ctor_set(x_136, 1, x_135); -x_137 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_137, 0, x_136); -x_138 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_138, 0, x_137); -x_29 = x_138; -x_30 = x_117; -goto block_59; +x_68 = x_133; +x_69 = x_130; +goto block_120; } } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -lean_free_object(x_64); +lean_object* x_134; uint8_t x_135; +x_134 = lean_ctor_get(x_128, 1); +lean_inc(x_134); +lean_dec(x_128); +x_135 = !lean_is_exclusive(x_129); +if (x_135 == 0) +{ +lean_object* x_136; lean_object* x_137; +x_136 = lean_ctor_get(x_129, 0); +x_137 = l_List_join___rarg(x_136); +lean_ctor_set(x_129, 0, x_137); +x_68 = x_129; +x_69 = x_134; +goto block_120; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_129, 0); +lean_inc(x_138); +lean_dec(x_129); +x_139 = l_List_join___rarg(x_138); +x_140 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_140, 0, x_139); +x_68 = x_140; +x_69 = x_134; +goto block_120; +} +} +} +else +{ +uint8_t x_141; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_139 = lean_ctor_get(x_115, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_115, 1); -lean_inc(x_140); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - x_141 = x_115; -} else { - lean_dec_ref(x_115); - x_141 = lean_box(0); -} -if (lean_is_scalar(x_141)) { - x_142 = lean_alloc_ctor(1, 2, 0); -} else { - x_142 = x_141; -} -lean_ctor_set(x_142, 0, x_139); -lean_ctor_set(x_142, 1, x_140); -return x_142; -} -} +x_141 = !lean_is_exclusive(x_128); +if (x_141 == 0) +{ +return x_128; } else { -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_143 = lean_ctor_get(x_64, 0); +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_128, 0); +x_143 = lean_ctor_get(x_128, 1); lean_inc(x_143); -lean_dec(x_64); -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_143, 1); -lean_inc(x_145); -lean_dec(x_143); -x_146 = lean_ctor_get(x_144, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_144, 1); -lean_inc(x_147); -x_148 = lean_ctor_get(x_144, 3); -lean_inc(x_148); -x_149 = lean_ctor_get(x_144, 4); -lean_inc(x_149); -x_150 = lean_ctor_get(x_144, 5); -lean_inc(x_150); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - lean_ctor_release(x_144, 2); - lean_ctor_release(x_144, 3); - lean_ctor_release(x_144, 4); - lean_ctor_release(x_144, 5); - x_151 = x_144; -} else { - lean_dec_ref(x_144); - x_151 = lean_box(0); +lean_inc(x_142); +lean_dec(x_128); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +return x_144; } -x_152 = lean_ctor_get(x_145, 3); -lean_inc(x_152); -if (lean_is_scalar(x_151)) { - x_153 = lean_alloc_ctor(0, 6, 0); -} else { - x_153 = x_151; } -lean_ctor_set(x_153, 0, x_146); -lean_ctor_set(x_153, 1, x_147); -lean_ctor_set(x_153, 2, x_152); -lean_ctor_set(x_153, 3, x_148); -lean_ctor_set(x_153, 4, x_149); -lean_ctor_set(x_153, 5, x_150); -x_154 = lean_ctor_get(x_145, 4); -lean_inc(x_154); -lean_dec(x_145); -x_155 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); -lean_closure_set(x_155, 0, x_154); -x_156 = l_Lean_LocalContext_mkEmpty___closed__1; -x_157 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_153, x_156, x_155, x_9); -lean_dec(x_153); -if (lean_obj_tag(x_157) == 0) +} +} +block_33: { -lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = l_List_isEmpty___rarg(x_158); -lean_inc(x_158); -x_161 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_158); -x_162 = l_List_redLength___rarg(x_161); -x_163 = lean_mk_empty_array_with_capacity(x_162); -lean_dec(x_162); -x_164 = l_List_toArrayAux___rarg(x_161, x_163); -if (x_160 == 0) -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_165 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_158); -x_166 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; -x_167 = l_String_intercalate(x_166, x_165); -x_168 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_164); -x_169 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_169, 0, x_168); -x_170 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_170, 0, x_169); -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); -x_29 = x_174; -x_30 = x_159; -goto block_59; -} -else -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -lean_dec(x_158); -x_175 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; -x_176 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_164); -x_177 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_177, 0, x_176); -x_178 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_178, 0, x_177); -x_179 = lean_box(0); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_178); -lean_ctor_set(x_180, 1, x_179); -x_181 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_181, 0, x_180); -x_182 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_182, 0, x_181); -x_29 = x_182; -x_30 = x_159; -goto block_59; -} -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_183 = lean_ctor_get(x_157, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_157, 1); -lean_inc(x_184); -if (lean_is_exclusive(x_157)) { - lean_ctor_release(x_157, 0); - lean_ctor_release(x_157, 1); - x_185 = x_157; -} else { - lean_dec_ref(x_157); - x_185 = lean_box(0); -} -if (lean_is_scalar(x_185)) { - x_186 = lean_alloc_ctor(1, 2, 0); -} else { - x_186 = x_185; -} -lean_ctor_set(x_186, 0, x_183); -lean_ctor_set(x_186, 1, x_184); -return x_186; -} -} -} -} -block_28: +if (lean_obj_tag(x_10) == 0) { uint8_t x_12; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); x_12 = !lean_is_exclusive(x_10); if (x_12 == 0) { lean_object* x_13; -x_13 = lean_ctor_get(x_10, 0); -if (lean_obj_tag(x_13) == 0) +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_10); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else { -lean_object* x_14; lean_object* x_15; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_14 = lean_ctor_get(x_13, 0); +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 0); lean_inc(x_14); -lean_dec(x_13); -lean_ctor_set(x_10, 0, x_14); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_10); -lean_ctor_set(x_15, 1, x_11); -return x_15; -} -else -{ -lean_object* x_16; size_t x_17; size_t x_18; -lean_free_object(x_10); -x_16 = lean_ctor_get(x_13, 0); -lean_inc(x_16); -lean_dec(x_13); -x_17 = 1; -x_18 = x_6 + x_17; -x_6 = x_18; -x_7 = x_16; -x_9 = x_11; -goto _start; -} -} -else -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_10, 0); -lean_inc(x_20); lean_dec(x_10); -if (lean_obj_tag(x_20) == 0) +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_11); +return x_16; +} +} +else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; +uint8_t x_17; +x_17 = !lean_is_exclusive(x_10); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_10, 0); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_21); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_11); -return x_23; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec(x_18); +lean_ctor_set(x_10, 0, x_19); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_10); +lean_ctor_set(x_20, 1, x_11); +return x_20; } else { -lean_object* x_24; size_t x_25; size_t x_26; -x_24 = lean_ctor_get(x_20, 0); -lean_inc(x_24); -lean_dec(x_20); -x_25 = 1; -x_26 = x_6 + x_25; -x_6 = x_26; -x_7 = x_24; +lean_object* x_21; size_t x_22; size_t x_23; +lean_free_object(x_10); +x_21 = lean_ctor_get(x_18, 0); +lean_inc(x_21); +lean_dec(x_18); +x_22 = 1; +x_23 = x_6 + x_22; +x_6 = x_23; +x_7 = x_21; +x_9 = x_11; +goto _start; +} +} +else +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_10, 0); +lean_inc(x_25); +lean_dec(x_10); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +lean_dec(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_11); +return x_28; +} +else +{ +lean_object* x_29; size_t x_30; size_t x_31; +x_29 = lean_ctor_get(x_25, 0); +lean_inc(x_29); +lean_dec(x_25); +x_30 = 1; +x_31 = x_6 + x_30; +x_6 = x_31; +x_7 = x_29; x_9 = x_11; goto _start; } } } -block_59: +} +block_67: { -uint8_t x_31; -x_31 = !lean_is_exclusive(x_29); -if (x_31 == 0) +if (lean_obj_tag(x_34) == 0) { -lean_object* x_32; -x_32 = lean_ctor_get(x_29, 0); -if (lean_obj_tag(x_32) == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_34); +if (x_36 == 0) { -uint8_t x_33; -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 0); -lean_inc(x_34); -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -lean_ctor_set(x_32, 0, x_36); -x_10 = x_29; -x_11 = x_30; -goto block_28; +x_10 = x_34; +x_11 = x_35; +goto block_33; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_32, 0); +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_34, 0); lean_inc(x_37); -lean_dec(x_32); -lean_inc(x_37); -x_38 = lean_alloc_ctor(1, 1, 0); +lean_dec(x_34); +x_38 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_38, 0, x_37); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -x_40 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_29, 0, x_40); -x_10 = x_29; -x_11 = x_30; -goto block_28; +x_10 = x_38; +x_11 = x_35; +goto block_33; } } else { +uint8_t x_39; +x_39 = !lean_is_exclusive(x_34); +if (x_39 == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_34, 0); +if (lean_obj_tag(x_40) == 0) +{ uint8_t x_41; -x_41 = !lean_is_exclusive(x_32); +x_41 = !lean_is_exclusive(x_40); if (x_41 == 0) { -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_32, 0); -lean_inc(x_3); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_3); -lean_ctor_set(x_43, 1, x_42); -lean_ctor_set(x_32, 0, x_43); -x_10 = x_29; -x_11 = x_30; -goto block_28; +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +lean_ctor_set(x_40, 0, x_44); +x_10 = x_34; +x_11 = x_35; +goto block_33; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_32, 0); -lean_inc(x_44); -lean_dec(x_32); -lean_inc(x_3); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_3); -lean_ctor_set(x_45, 1, x_44); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 0); +lean_inc(x_45); +lean_dec(x_40); +lean_inc(x_45); x_46 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_29, 0, x_46); -x_10 = x_29; -x_11 = x_30; -goto block_28; -} +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_34, 0, x_48); +x_10 = x_34; +x_11 = x_35; +goto block_33; } } else { -lean_object* x_47; -x_47 = lean_ctor_get(x_29, 0); -lean_inc(x_47); -lean_dec(x_29); -if (lean_obj_tag(x_47) == 0) +uint8_t x_49; +x_49 = !lean_is_exclusive(x_40); +if (x_49 == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - x_49 = x_47; -} else { - lean_dec_ref(x_47); - x_49 = lean_box(0); -} -lean_inc(x_48); -x_50 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_50, 0, x_48); +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_40, 0); +lean_inc(x_3); x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_48); -if (lean_is_scalar(x_49)) { - x_52 = lean_alloc_ctor(0, 1, 0); -} else { - x_52 = x_49; -} -lean_ctor_set(x_52, 0, x_51); -x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_52); -x_10 = x_53; -x_11 = x_30; -goto block_28; +lean_ctor_set(x_51, 0, x_3); +lean_ctor_set(x_51, 1, x_50); +lean_ctor_set(x_40, 0, x_51); +x_10 = x_34; +x_11 = x_35; +goto block_33; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_54 = lean_ctor_get(x_47, 0); -lean_inc(x_54); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - x_55 = x_47; +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_40, 0); +lean_inc(x_52); +lean_dec(x_40); +lean_inc(x_3); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_3); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_34, 0, x_54); +x_10 = x_34; +x_11 = x_35; +goto block_33; +} +} +} +else +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_34, 0); +lean_inc(x_55); +lean_dec(x_34); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + x_57 = x_55; } else { - lean_dec_ref(x_47); - x_55 = lean_box(0); + lean_dec_ref(x_55); + x_57 = lean_box(0); +} +lean_inc(x_56); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_56); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_56); +if (lean_is_scalar(x_57)) { + x_60 = lean_alloc_ctor(0, 1, 0); +} else { + x_60 = x_57; +} +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_10 = x_61; +x_11 = x_35; +goto block_33; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_62 = lean_ctor_get(x_55, 0); +lean_inc(x_62); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + x_63 = x_55; +} else { + lean_dec_ref(x_55); + x_63 = lean_box(0); } lean_inc(x_3); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_3); -lean_ctor_set(x_56, 1, x_54); -if (lean_is_scalar(x_55)) { - x_57 = lean_alloc_ctor(1, 1, 0); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_3); +lean_ctor_set(x_64, 1, x_62); +if (lean_is_scalar(x_63)) { + x_65 = lean_alloc_ctor(1, 1, 0); } else { - x_57 = x_55; + x_65 = x_63; } -lean_ctor_set(x_57, 0, x_56); -x_58 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_58, 0, x_57); -x_10 = x_58; -x_11 = x_30; -goto block_28; +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_10 = x_66; +x_11 = x_35; +goto block_33; +} +} +} +} +block_120: +{ +if (lean_obj_tag(x_68) == 0) +{ +uint8_t x_70; +x_70 = !lean_is_exclusive(x_68); +if (x_70 == 0) +{ +x_34 = x_68; +x_35 = x_69; +goto block_67; +} +else +{ +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_68, 0); +lean_inc(x_71); +lean_dec(x_68); +x_72 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_72, 0, x_71); +x_34 = x_72; +x_35 = x_69; +goto block_67; +} +} +else +{ +uint8_t x_73; +x_73 = !lean_is_exclusive(x_68); +if (x_73 == 0) +{ +lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_74 = lean_ctor_get(x_68, 0); +x_75 = l_List_isEmpty___rarg(x_74); +lean_inc(x_74); +x_76 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(x_74); +x_77 = l_List_redLength___rarg(x_76); +x_78 = lean_mk_empty_array_with_capacity(x_77); +lean_dec(x_77); +x_79 = l_List_toArrayAux___rarg(x_76, x_78); +if (x_75 == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_80 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_74); +x_81 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8___closed__1; +x_82 = l_String_intercalate(x_81, x_80); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_79); +x_84 = lean_alloc_ctor(1, 1, 0); +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_68, 0, x_88); +x_34 = x_68; +x_35 = x_69; +goto block_67; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_dec(x_74); +x_89 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_79); +x_91 = lean_alloc_ctor(1, 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_93 = lean_box(0); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_68, 0, x_95); +x_34 = x_68; +x_35 = x_69; +goto block_67; +} +} +else +{ +lean_object* x_96; uint8_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_96 = lean_ctor_get(x_68, 0); +lean_inc(x_96); +lean_dec(x_68); +x_97 = l_List_isEmpty___rarg(x_96); +lean_inc(x_96); +x_98 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(x_96); +x_99 = l_List_redLength___rarg(x_98); +x_100 = lean_mk_empty_array_with_capacity(x_99); +lean_dec(x_99); +x_101 = l_List_toArrayAux___rarg(x_98, x_100); +if (x_97 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_102 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_96); +x_103 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8___closed__1; +x_104 = l_String_intercalate(x_103, x_102); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_101); +x_106 = lean_alloc_ctor(1, 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_box(0); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_110, 0, x_109); +x_111 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_111, 0, x_110); +x_34 = x_111; +x_35 = x_69; +goto block_67; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_dec(x_96); +x_112 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_101); +x_114 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_114, 0, x_113); +x_115 = lean_alloc_ctor(1, 1, 0); +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_34 = x_119; +x_35 = x_69; +goto block_67; } } } } } -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +} +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -17885,7 +18217,7 @@ x_7 = lean_ctor_get(x_3, 0); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_8 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(x_1, x_2, x_4, x_7, x_4, x_5, x_6); +x_8 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(x_1, x_2, x_4, x_7, x_4, x_5, x_6); lean_dec(x_4); if (lean_obj_tag(x_8) == 0) { @@ -18007,7 +18339,7 @@ x_33 = lean_array_get_size(x_30); x_34 = lean_usize_of_nat(x_33); lean_dec(x_33); x_35 = 0; -x_36 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(x_1, x_2, x_31, x_30, x_34, x_35, x_32, x_5, x_28); +x_36 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9(x_1, x_2, x_31, x_30, x_34, x_35, x_32, x_5, x_28); if (lean_obj_tag(x_36) == 0) { lean_object* x_37; @@ -18252,7 +18584,7 @@ x_87 = lean_array_get_size(x_84); x_88 = lean_usize_of_nat(x_87); lean_dec(x_87); x_89 = 0; -x_90 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(x_1, x_2, x_85, x_84, x_88, x_89, x_86, x_5, x_82); +x_90 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9(x_1, x_2, x_85, x_84, x_88, x_89, x_86, x_5, x_82); if (lean_obj_tag(x_90) == 0) { lean_object* x_91; @@ -18427,7 +18759,7 @@ x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_1); lean_ctor_set(x_11, 1, x_10); lean_inc(x_11); -x_12 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(x_2, x_11, x_9, x_11, x_5, x_6); +x_12 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(x_2, x_11, x_9, x_11, x_5, x_6); lean_dec(x_9); if (lean_obj_tag(x_12) == 0) { @@ -18691,7 +19023,16 @@ x_17 = l_Lean_Server_FileWorker_withWaitFindSnap___rarg(x_6, x_12, x_16, x_15, x return x_17; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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) { _start: { size_t x_11; size_t x_12; lean_object* x_13; @@ -18699,38 +19040,13 @@ x_11 = lean_unbox_usize(x_6); lean_dec(x_6); x_12 = lean_unbox_usize(x_7); lean_dec(x_7); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(x_1, x_2, x_3, x_4, x_5, x_11, x_12, x_8, x_9, x_10); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(x_1, x_2, x_3, x_4, x_5, x_11, x_12, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); return x_13; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_11 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_12 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(x_1, x_2, x_3, x_4, x_10, x_11, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_4); -return x_12; -} -} -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___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_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -return x_8; -} -} lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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) { _start: { @@ -18745,11 +19061,36 @@ lean_dec(x_4); return x_12; } } -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +return x_8; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_11 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9(x_1, x_2, x_3, x_4, x_10, x_11, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_4); +return x_12; +} +} +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); return x_7; @@ -23427,7 +23768,36 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_h return x_2; } } -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_2) == 1) +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_4); +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +x_6 = lean_apply_3(x_3, x_1, x_2, x_5); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_3); +x_7 = lean_apply_2(x_4, x_1, x_2); +return x_7; +} +} +} +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 1) @@ -23451,36 +23821,6 @@ return x_8; } } } -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__3___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_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_1(x_2, x_4); -return x_5; -} -else -{ -lean_object* x_6; -lean_dec(x_2); -x_6 = lean_apply_1(x_3, x_1); -return x_6; -} -} -} lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__3(lean_object* x_1) { _start: { @@ -23489,28 +23829,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_h return x_2; } } -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_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_Server_FileWorker_handleSemanticTokens_highlightId_match__4(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__4___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -23553,11 +23872,11 @@ return x_10; } } } -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__5(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__4(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__5___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__4___rarg), 3, 0); return x_2; } } @@ -23836,395 +24155,170 @@ return x_8; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_18; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_18; lean_dec(x_3); x_9 = lean_ctor_get(x_2, 0); -lean_inc(x_9); x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); -lean_dec(x_2); -x_18 = !lean_is_exclusive(x_9); -if (x_18 == 0) +x_18 = lean_ctor_get(x_9, 1); +if (lean_obj_tag(x_18) == 1) { -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_9, 1); -x_20 = lean_ctor_get(x_9, 0); -lean_dec(x_20); -if (lean_obj_tag(x_19) == 1) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get(x_21, 1); +lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_19 = lean_ctor_get(x_9, 2); +x_20 = 1; +x_21 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_19, x_20, x_4, x_5, x_6); +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -if (lean_obj_tag(x_22) == 1) -{ -lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -lean_dec(x_22); -lean_free_object(x_9); -x_23 = lean_ctor_get(x_21, 2); +x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); -x_24 = 1; -x_25 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_23, x_24, x_4, x_5, x_6); -lean_dec(x_23); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_22, 0); lean_dec(x_25); -x_28 = !lean_is_exclusive(x_26); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_26, 0); -lean_dec(x_29); -x_30 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -lean_ctor_set(x_26, 0, x_30); -x_11 = x_26; -x_12 = x_27; +x_26 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; +lean_ctor_set(x_22, 0, x_26); +x_11 = x_22; +x_12 = x_23; goto block_17; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_26, 1); -lean_inc(x_31); -lean_dec(x_26); -x_32 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -x_11 = x_33; -x_12 = x_27; -goto block_17; -} -} -else -{ -lean_object* x_34; uint8_t x_35; lean_object* x_36; +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_22, 1); +lean_inc(x_27); lean_dec(x_22); -x_34 = lean_ctor_get(x_21, 2); -lean_inc(x_34); -lean_dec(x_21); -x_35 = 0; -x_36 = l_Lean_Syntax_getPos_x3f(x_34, x_35); -if (lean_obj_tag(x_36) == 0) +x_28 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_11 = x_29; +x_12 = x_23; +goto block_17; +} +} +else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_37 = l_instInhabitedNat; -x_38 = l_Option_get_x21___rarg___closed__4; -x_39 = lean_panic_fn(x_37, x_38); -x_40 = lean_nat_dec_lt(x_1, x_39); -lean_dec(x_39); -if (x_40 == 0) +lean_object* x_30; uint8_t x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_9, 2); +x_31 = 0; +x_32 = l_Lean_Syntax_getPos_x3f(x_30, x_31); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_41; -lean_dec(x_34); -x_41 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -lean_ctor_set(x_9, 1, x_5); -lean_ctor_set(x_9, 0, x_41); -x_11 = x_9; +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = l_instInhabitedNat; +x_34 = l_Option_get_x21___rarg___closed__4; +x_35 = lean_panic_fn(x_33, x_34); +x_36 = lean_nat_dec_lt(x_1, x_35); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_5); +x_11 = x_38; x_12 = x_6; goto block_17; } else { -uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -lean_free_object(x_9); -x_42 = 2; -x_43 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_34, x_42, x_4, x_5, x_6); -lean_dec(x_34); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = !lean_is_exclusive(x_44); -if (x_46 == 0) +uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_39 = 2; +x_40 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_30, x_39, x_4, x_5, x_6); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) { -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_44, 0); -lean_dec(x_47); -x_48 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -lean_ctor_set(x_44, 0, x_48); -x_11 = x_44; -x_12 = x_45; -goto block_17; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_44, 1); -lean_inc(x_49); +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_41, 0); lean_dec(x_44); -x_50 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_11 = x_51; -x_12 = x_45; +x_45 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; +lean_ctor_set(x_41, 0, x_45); +x_11 = x_41; +x_12 = x_42; +goto block_17; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_41, 1); +lean_inc(x_46); +lean_dec(x_41); +x_47 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_11 = x_48; +x_12 = x_42; goto block_17; } } } else { -lean_object* x_52; uint8_t x_53; -x_52 = lean_ctor_get(x_36, 0); -lean_inc(x_52); -lean_dec(x_36); -x_53 = lean_nat_dec_lt(x_1, x_52); -lean_dec(x_52); -if (x_53 == 0) +lean_object* x_49; uint8_t x_50; +x_49 = lean_ctor_get(x_32, 0); +lean_inc(x_49); +lean_dec(x_32); +x_50 = lean_nat_dec_lt(x_1, x_49); +lean_dec(x_49); +if (x_50 == 0) { -lean_object* x_54; -lean_dec(x_34); -x_54 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -lean_ctor_set(x_9, 1, x_5); -lean_ctor_set(x_9, 0, x_54); -x_11 = x_9; +lean_object* x_51; lean_object* x_52; +x_51 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_5); +x_11 = x_52; x_12 = x_6; goto block_17; } else { -uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -lean_free_object(x_9); -x_55 = 2; -x_56 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_34, x_55, x_4, x_5, x_6); -lean_dec(x_34); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = !lean_is_exclusive(x_57); -if (x_59 == 0) +uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_53 = 2; +x_54 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_30, x_53, x_4, x_5, x_6); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = !lean_is_exclusive(x_55); +if (x_57 == 0) { -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_57, 0); -lean_dec(x_60); +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_55, 0); +lean_dec(x_58); +x_59 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; +lean_ctor_set(x_55, 0, x_59); +x_11 = x_55; +x_12 = x_56; +goto block_17; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_55, 1); +lean_inc(x_60); +lean_dec(x_55); x_61 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -lean_ctor_set(x_57, 0, x_61); -x_11 = x_57; -x_12 = x_58; -goto block_17; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_57, 1); -lean_inc(x_62); -lean_dec(x_57); -x_63 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -x_11 = x_64; -x_12 = x_58; +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_11 = x_62; +x_12 = x_56; goto block_17; } } } } -} -else -{ -lean_object* x_65; -lean_dec(x_19); -x_65 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -lean_ctor_set(x_9, 1, x_5); -lean_ctor_set(x_9, 0, x_65); -x_11 = x_9; -x_12 = x_6; -goto block_17; -} -} -else -{ -lean_object* x_66; -x_66 = lean_ctor_get(x_9, 1); -lean_inc(x_66); -lean_dec(x_9); -if (lean_obj_tag(x_66) == 1) -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -lean_dec(x_66); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -if (lean_obj_tag(x_68) == 1) -{ -lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -lean_dec(x_68); -x_69 = lean_ctor_get(x_67, 2); -lean_inc(x_69); -lean_dec(x_67); -x_70 = 1; -x_71 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_69, x_70, x_4, x_5, x_6); -lean_dec(x_69); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_75 = x_72; -} else { - lean_dec_ref(x_72); - x_75 = lean_box(0); -} -x_76 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -if (lean_is_scalar(x_75)) { - x_77 = lean_alloc_ctor(0, 2, 0); -} else { - x_77 = x_75; -} -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_74); -x_11 = x_77; -x_12 = x_73; -goto block_17; -} -else -{ -lean_object* x_78; uint8_t x_79; lean_object* x_80; -lean_dec(x_68); -x_78 = lean_ctor_get(x_67, 2); -lean_inc(x_78); -lean_dec(x_67); -x_79 = 0; -x_80 = l_Lean_Syntax_getPos_x3f(x_78, x_79); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_81 = l_instInhabitedNat; -x_82 = l_Option_get_x21___rarg___closed__4; -x_83 = lean_panic_fn(x_81, x_82); -x_84 = lean_nat_dec_lt(x_1, x_83); -lean_dec(x_83); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; -lean_dec(x_78); -x_85 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_5); -x_11 = x_86; -x_12 = x_6; -goto block_17; -} -else -{ -uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_87 = 2; -x_88 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_78, x_87, x_4, x_5, x_6); -lean_dec(x_78); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_92 = x_89; -} else { - lean_dec_ref(x_89); - x_92 = lean_box(0); -} -x_93 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -if (lean_is_scalar(x_92)) { - x_94 = lean_alloc_ctor(0, 2, 0); -} else { - x_94 = x_92; -} -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_91); -x_11 = x_94; -x_12 = x_90; -goto block_17; -} -} -else -{ -lean_object* x_95; uint8_t x_96; -x_95 = lean_ctor_get(x_80, 0); -lean_inc(x_95); -lean_dec(x_80); -x_96 = lean_nat_dec_lt(x_1, x_95); -lean_dec(x_95); -if (x_96 == 0) -{ -lean_object* x_97; lean_object* x_98; -lean_dec(x_78); -x_97 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_5); -x_11 = x_98; -x_12 = x_6; -goto block_17; -} -else -{ -uint8_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_99 = 2; -x_100 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_78, x_99, x_4, x_5, x_6); -lean_dec(x_78); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_104 = x_101; -} else { - lean_dec_ref(x_101); - x_104 = lean_box(0); -} -x_105 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -if (lean_is_scalar(x_104)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_104; -} -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_103); -x_11 = x_106; -x_12 = x_102; -goto block_17; -} -} -} -} -else -{ -lean_object* x_107; lean_object* x_108; -lean_dec(x_66); -x_107 = l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___closed__1; -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_5); -x_11 = x_108; -x_12 = x_6; -goto block_17; -} -} block_17: { lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -24390,38 +24484,99 @@ goto _start; } } } -uint8_t l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_4; -x_4 = l_Lean_Elab_Info_pos_x3f(x_3); -if (lean_obj_tag(x_4) == 0) +if (lean_obj_tag(x_4) == 1) { -uint8_t x_5; -x_5 = 0; -return x_5; +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_4, 0); +x_6 = l_Lean_Elab_Info_pos_x3f(x_4); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +x_7 = lean_box(0); +return x_7; } else { -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_nat_dec_le(x_1, x_6); -if (x_7 == 0) -{ uint8_t x_8; -lean_dec(x_6); -x_8 = 0; -return x_8; +x_8 = !lean_is_exclusive(x_6); +if (x_8 == 0) +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_6, 0); +x_10 = lean_nat_dec_le(x_1, x_9); +if (x_10 == 0) +{ +lean_object* x_11; +lean_free_object(x_6); +lean_dec(x_9); +x_11 = lean_box(0); +return x_11; } else { -uint8_t x_9; -x_9 = lean_nat_dec_lt(x_6, x_2); -lean_dec(x_6); -return x_9; +uint8_t x_12; +x_12 = lean_nat_dec_lt(x_9, x_2); +lean_dec(x_9); +if (x_12 == 0) +{ +lean_object* x_13; +lean_free_object(x_6); +x_13 = lean_box(0); +return x_13; } +else +{ +lean_inc(x_5); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_6, 0); +lean_inc(x_14); +lean_dec(x_6); +x_15 = lean_nat_dec_le(x_1, x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_14); +x_16 = lean_box(0); +return x_16; +} +else +{ +uint8_t x_17; +x_17 = lean_nat_dec_lt(x_14, x_2); +lean_dec(x_14); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_box(0); +return x_18; +} +else +{ +lean_object* x_19; +lean_inc(x_5); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_5); +return x_19; +} +} +} +} +} +else +{ +lean_object* x_20; +x_20 = lean_box(0); +return x_20; } } } @@ -24451,12 +24606,13 @@ lean_dec(x_7); x_14 = lean_array_uget(x_4, x_6); lean_inc(x_2); lean_inc(x_1); -x_15 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed), 3, 2); +x_15 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed), 4, 2); lean_closure_set(x_15, 0, x_1); lean_closure_set(x_15, 1, x_2); -x_16 = l_Lean_Elab_InfoTree_deepestNodes(x_15, x_14); +x_16 = l_Lean_Elab_InfoTree_deepestNodes___rarg(x_15, x_14); x_17 = lean_box(0); x_18 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(x_1, x_16, x_17, x_8, x_9, x_10); +lean_dec(x_16); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -24737,12 +24893,13 @@ lean_dec(x_7); x_14 = lean_array_uget(x_4, x_6); lean_inc(x_2); lean_inc(x_1); -x_15 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed), 3, 2); +x_15 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed), 4, 2); lean_closure_set(x_15, 0, x_1); lean_closure_set(x_15, 1, x_2); -x_16 = l_Lean_Elab_InfoTree_deepestNodes(x_15, x_14); +x_16 = l_Lean_Elab_InfoTree_deepestNodes___rarg(x_15, x_14); x_17 = lean_box(0); x_18 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(x_1, x_16, x_17, x_8, x_9, x_10); +lean_dec(x_16); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -25095,6 +25252,7 @@ _start: lean_object* x_7; x_7 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_4); +lean_dec(x_2); lean_dec(x_1); return x_7; } @@ -25114,15 +25272,15 @@ lean_dec(x_3); return x_14; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint8_t x_4; lean_object* x_5; -x_4 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(x_1, x_2, x_3); +lean_object* x_5; +x_5 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_5 = lean_box(x_4); return x_5; } } @@ -26892,7 +27050,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_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2; x_2 = l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__3; -x_3 = lean_unsigned_to_nat(629u); +x_3 = lean_unsigned_to_nat(632u); x_4 = lean_unsigned_to_nat(26u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -36386,8 +36544,10 @@ l_Lean_Server_FileWorker_handleDefinition___closed__1 = _init_l_Lean_Server_File lean_mark_persistent(l_Lean_Server_FileWorker_handleDefinition___closed__1); l_Lean_Server_FileWorker_handleDefinition___closed__2 = _init_l_Lean_Server_FileWorker_handleDefinition___closed__2(); lean_mark_persistent(l_Lean_Server_FileWorker_handleDefinition___closed__2); -l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1); +l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4___closed__1 = _init_l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4___closed__1(); +lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8___closed__1); l_Lean_Server_FileWorker_handlePlainGoal___closed__1 = _init_l_Lean_Server_FileWorker_handlePlainGoal___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handlePlainGoal___closed__1); l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__1 = _init_l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__1(); diff --git a/stage0/stdlib/Lean/Server/InfoUtils.c b/stage0/stdlib/Lean/Server/InfoUtils.c index 913a427f7a..05a7568647 100644 --- a/stage0/stdlib/Lean/Server/InfoUtils.c +++ b/stage0/stdlib/Lean/Server/InfoUtils.c @@ -16,27 +16,24 @@ extern "C" { lean_object* l_Lean_MapDeclarationExtension_find_x3f___at_Lean_findDocString_x3f___spec__1(lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); extern lean_object* l_Lean_fieldIdxKind; -lean_object* l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__5; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l_List_filterMap___at_Lean_Elab_InfoTree_smallestTacticStates___spec__1(lean_object*); -lean_object* l_Lean_Elab_InfoTree_deepestNodes(lean_object*, lean_object*); -lean_object* lean_nat_div(lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_deepestNodes(lean_object*); +lean_object* l_Lean_Syntax_getTrailingSize(lean_object*); extern lean_object* l_Lean_Meta_ppGoal_ppVars___closed__1; lean_object* l_ReaderT_pure___at_Lean_Elab_Info_fmtHover_x3f___spec__1(lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_match__1(lean_object*); -lean_object* l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1(lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); uint8_t l_Lean_Expr_isSyntheticSorry(lean_object*); -uint8_t l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_join___closed__1; lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__3; lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__7; lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedNat; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -55,53 +52,41 @@ lean_object* l_Lean_Elab_Info_tailPos_x3f___boxed(lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__1(lean_object*); -lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1; -lean_object* l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_deepestNodes___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__6; +lean_object* l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__3(lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f(lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__5; -lean_object* l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___closed__1; extern lean_object* l_Lean_numLitKind; -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_Info_fmtHover_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f_match__1(lean_object*); extern lean_object* l_Lean_strLitKind; -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__6; uint8_t l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1(lean_object*, lean_object*); -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapIdxM_map___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapIdxM_map___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__2; -lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__1(lean_object*); -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___lambda__1___boxed(lean_object*); +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__1(lean_object*, lean_object*); extern lean_object* l_Lean_charLitKind; lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_getMax_x3f___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__2(lean_object*); extern lean_object* l_Lean_docStringExt; -lean_object* l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__1; -lean_object* l_Lean_Elab_InfoTree_deepestNodes_go(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go(lean_object*); lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_stx(lean_object*); -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates(lean_object*); -lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1___boxed(lean_object*, lean_object*); -lean_object* l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves_match__1(lean_object*); lean_object* l_Array_getMax_x3f___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__2___boxed(lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__3(lean_object*, size_t, size_t, lean_object*); @@ -115,7 +100,7 @@ lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); extern lean_object* l_Option_get_x21___rarg___closed__4; lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__8; lean_object* l_List_redLength___rarg(lean_object*); -lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__9; extern lean_object* l_Lean_scientificLitKind; @@ -132,93 +117,92 @@ lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__1; lean_object* l_Lean_Elab_Info_fmtHover_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_instInhabitedContextInfo; lean_object* l_ReaderT_pure___at_Lean_Elab_Info_fmtHover_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_stx_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x3f(lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_match__1(lean_object*); lean_object* l_Lean_Elab_Info_stx___boxed(lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__2(lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___closed__1; lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__4; lean_object* l_Lean_Elab_Info_pos_x3f(lean_object*); lean_object* l_Lean_Elab_Info_stx_match__1(lean_object*); -lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__2(lean_object*); -lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); -extern lean_object* l_Lean_Elab_instInhabitedTacticInfo; -lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_match__2(lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___lambda__1(lean_object*); extern lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__14; extern lean_object* l_Lean_interpolatedStrLitKind; -lean_object* l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__2; lean_object* l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__1___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_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_box(x_2); -x_6 = lean_apply_2(x_4, x_1, x_5); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); return x_6; } +} +} +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_deepestNodes_go_match__1___rarg), 3, 0); +return x_3; +} +} +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_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 { -if (x_2 == 0) -{ -lean_object* x_7; lean_object* x_8; +lean_object* x_5; lean_object* x_6; lean_dec(x_3); -x_7 = lean_box(x_2); -x_8 = lean_apply_2(x_4, x_1, x_7); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_4); -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); lean_dec(x_1); -x_10 = lean_apply_1(x_3, x_9); -return x_10; +x_6 = lean_apply_1(x_2, x_5); +return x_6; } } } -} -lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__1(lean_object* x_1) { +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_deepestNodes_go_match__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_deepestNodes_go_match__2___rarg), 3, 0); return x_2; } } -lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_2); -lean_dec(x_2); -x_6 = l_Lean_Elab_InfoTree_deepestNodes_go_match__1___rarg(x_1, x_5, x_3, x_4); -return x_6; -} -} -lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_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)) { @@ -258,15 +242,15 @@ return x_11; } } } -lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__2(lean_object* x_1) { +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_deepestNodes_go_match__2___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_deepestNodes_go_match__3___rarg), 4, 0); return x_2; } } -lean_object* l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -288,8 +272,8 @@ x_6 = lean_ctor_get(x_3, 0); x_7 = lean_ctor_get(x_3, 1); lean_inc(x_2); lean_inc(x_1); -x_8 = l_Lean_Elab_InfoTree_deepestNodes_go(x_1, x_2, x_6); -x_9 = l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1(x_1, x_2, x_7); +x_8 = l_Lean_Elab_InfoTree_deepestNodes_go___rarg(x_1, x_2, x_6); +x_9 = l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1___rarg(x_1, x_2, x_7); lean_ctor_set(x_3, 1, x_9); lean_ctor_set(x_3, 0, x_8); return x_3; @@ -304,8 +288,8 @@ lean_inc(x_10); lean_dec(x_3); lean_inc(x_2); lean_inc(x_1); -x_12 = l_Lean_Elab_InfoTree_deepestNodes_go(x_1, x_2, x_10); -x_13 = l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1(x_1, x_2, x_11); +x_12 = l_Lean_Elab_InfoTree_deepestNodes_go___rarg(x_1, x_2, x_10); +x_13 = l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1___rarg(x_1, x_2, x_11); x_14 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); @@ -314,7 +298,15 @@ return x_14; } } } -lean_object* l_Lean_Elab_InfoTree_deepestNodes_go(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { switch (lean_obj_tag(x_3)) { @@ -345,7 +337,7 @@ x_10 = l_Std_PersistentArray_toList___rarg(x_9); lean_dec(x_9); lean_inc(x_2); lean_inc(x_1); -x_11 = l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1(x_1, x_2, x_10); +x_11 = l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1___rarg(x_1, x_2, x_10); x_12 = l_List_join___rarg(x_11); x_13 = l_List_isEmpty___rarg(x_12); if (x_13 == 0) @@ -368,58 +360,69 @@ return x_14; } else { -lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_object* x_15; lean_object* x_16; x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); -lean_inc(x_8); -x_16 = lean_apply_1(x_1, x_8); -x_17 = lean_unbox(x_16); -lean_dec(x_16); -if (x_17 == 0) +x_16 = lean_apply_2(x_1, x_15, x_8); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_18; -lean_dec(x_15); -lean_dec(x_8); -x_18 = lean_box(0); -return x_18; +lean_object* x_17; +x_17 = lean_box(0); +return x_17; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_15); -lean_ctor_set(x_19, 1, x_8); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_box(0); +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; } } } } default: { -lean_object* x_22; +lean_object* x_21; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_22 = lean_box(0); -return x_22; +x_21 = lean_box(0); +return x_21; } } } } -lean_object* l_Lean_Elab_InfoTree_deepestNodes(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_InfoTree_deepestNodes_go(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_deepestNodes_go___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_InfoTree_deepestNodes___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = lean_box(0); -x_4 = l_Lean_Elab_InfoTree_deepestNodes_go(x_1, x_3, x_2); +x_4 = l_Lean_Elab_InfoTree_deepestNodes_go___rarg(x_1, x_3, x_2); return x_4; } } +lean_object* l_Lean_Elab_InfoTree_deepestNodes(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_deepestNodes___rarg), 2, 0); +return x_2; +} +} lean_object* l_Lean_Elab_Info_stx_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -1041,87 +1044,117 @@ return x_15; } } } +lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +lean_inc(x_3); +x_4 = lean_apply_1(x_1, x_3); +x_5 = lean_unbox(x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_3); +lean_dec(x_2); +x_6 = lean_box(0); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_2); +lean_ctor_set(x_7, 1, x_3); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +} lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_3 = l_Lean_Elab_InfoTree_deepestNodes(x_1, x_2); -x_4 = l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1(x_3); -x_5 = l_List_redLength___rarg(x_4); -x_6 = lean_mk_empty_array_with_capacity(x_5); -lean_dec(x_5); -x_7 = l_List_toArrayAux___rarg(x_4, x_6); -x_8 = l_Array_getMax_x3f___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__2(x_7); -lean_dec(x_7); -if (lean_obj_tag(x_8) == 0) +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_smallestInfo_x3f___lambda__1), 3, 1); +lean_closure_set(x_3, 0, x_1); +x_4 = l_Lean_Elab_InfoTree_deepestNodes___rarg(x_3, x_2); +x_5 = l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1(x_4); +x_6 = l_List_redLength___rarg(x_5); +x_7 = lean_mk_empty_array_with_capacity(x_6); +lean_dec(x_6); +x_8 = l_List_toArrayAux___rarg(x_5, x_7); +x_9 = l_Array_getMax_x3f___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__2(x_8); +lean_dec(x_8); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_9; -x_9 = lean_box(0); +lean_object* x_10; +x_10 = lean_box(0); +return x_10; +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_9, 0); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_ctor_set(x_9, 0, x_13); return x_9; } else { -uint8_t x_10; -x_10 = !lean_is_exclusive(x_8); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_8, 0); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_ctor_set(x_8, 0, x_12); -return x_8; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_12); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set(x_8, 0, x_16); -return x_8; +lean_dec(x_13); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_9, 0, x_17); +return x_9; } } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_8, 0); -lean_inc(x_17); -lean_dec(x_8); -x_18 = lean_ctor_get(x_17, 1); +lean_object* x_18; 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_18 = lean_ctor_get(x_9, 0); lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_ctor_get(x_18, 0); +lean_dec(x_9); +x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_dec(x_18); +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - x_21 = x_18; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_22 = x_19; } else { - lean_dec_ref(x_18); - x_21 = lean_box(0); + lean_dec_ref(x_19); + x_22 = lean_box(0); } -if (lean_is_scalar(x_21)) { - x_22 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_22)) { + x_23 = lean_alloc_ctor(0, 2, 0); } else { - x_22 = x_21; + x_23 = x_22; } -lean_ctor_set(x_22, 0, x_19); -lean_ctor_set(x_22, 1, x_20); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_22); -return x_23; +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; } } } @@ -2233,977 +2266,199 @@ lean_dec(x_1); return x_4; } } -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_apply_2(x_2, x_1, x_4); -return x_5; -} -else -{ -lean_object* x_6; -lean_dec(x_2); -x_6 = lean_apply_1(x_3, x_1); -return x_6; -} -} -} -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -x_7 = lean_apply_3(x_2, x_5, x_4, x_6); -return x_7; -} -else -{ -lean_object* x_8; -lean_dec(x_4); -lean_dec(x_2); -x_8 = lean_apply_1(x_3, x_1); -return x_8; -} -} -} -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_smallestTacticStates_match__1___rarg), 3, 0); -return x_2; -} -} -uint8_t l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___lambda__1(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; -x_2 = l_Lean_Elab_Info_pos_x3f(x_1); if (lean_obj_tag(x_2) == 0) { -uint8_t x_3; -x_3 = 0; -return x_3; -} -else -{ -lean_object* x_4; -lean_dec(x_2); -x_4 = l_Lean_Elab_Info_tailPos_x3f(x_1); -if (lean_obj_tag(x_4) == 0) -{ -uint8_t x_5; -x_5 = 0; -return x_5; -} -else -{ -uint8_t x_6; +lean_object* x_5; lean_object* x_6; lean_dec(x_4); -x_6 = 1; -return x_6; -} -} -} -else -{ -uint8_t x_7; -x_7 = 0; -return x_7; -} -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___lambda__1___boxed), 1, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___closed__1; -x_3 = l_Lean_Elab_InfoTree_deepestNodes(x_2, x_1); -return x_3; -} -} -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___lambda__1___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___lambda__1(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -lean_object* l_List_filterMap___at_Lean_Elab_InfoTree_smallestTacticStates___spec__1(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; -x_2 = lean_box(0); -return x_2; -} -else -{ -lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_3, 1); -lean_inc(x_4); -if (lean_obj_tag(x_4) == 0) -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_1); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_ctor_get(x_1, 0); -lean_dec(x_7); -x_8 = !lean_is_exclusive(x_3); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_3, 1); -lean_dec(x_9); -x_10 = lean_ctor_get(x_4, 0); -lean_inc(x_10); -x_11 = l_Lean_Elab_Info_pos_x3f(x_4); -lean_dec(x_4); -lean_ctor_set(x_3, 1, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = l_instInhabitedNat; -x_13 = l_Option_get_x21___rarg___closed__4; -x_14 = lean_panic_fn(x_12, x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_3); -x_16 = l_List_filterMap___at_Lean_Elab_InfoTree_smallestTacticStates___spec__1(x_6); -lean_ctor_set(x_1, 1, x_16); -lean_ctor_set(x_1, 0, x_15); -return x_1; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_11, 0); -lean_inc(x_17); -lean_dec(x_11); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_3); -x_19 = l_List_filterMap___at_Lean_Elab_InfoTree_smallestTacticStates___spec__1(x_6); -lean_ctor_set(x_1, 1, x_19); -lean_ctor_set(x_1, 0, x_18); -return x_1; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_3, 0); -lean_inc(x_20); -lean_dec(x_3); -x_21 = lean_ctor_get(x_4, 0); -lean_inc(x_21); -x_22 = l_Lean_Elab_Info_pos_x3f(x_4); -lean_dec(x_4); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_20); -lean_ctor_set(x_23, 1, x_21); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_24 = l_instInhabitedNat; -x_25 = l_Option_get_x21___rarg___closed__4; -x_26 = lean_panic_fn(x_24, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_23); -x_28 = l_List_filterMap___at_Lean_Elab_InfoTree_smallestTacticStates___spec__1(x_6); -lean_ctor_set(x_1, 1, x_28); -lean_ctor_set(x_1, 0, x_27); -return x_1; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_22, 0); -lean_inc(x_29); -lean_dec(x_22); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_23); -x_31 = l_List_filterMap___at_Lean_Elab_InfoTree_smallestTacticStates___spec__1(x_6); -lean_ctor_set(x_1, 1, x_31); -lean_ctor_set(x_1, 0, x_30); -return x_1; -} -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_32 = lean_ctor_get(x_1, 1); -lean_inc(x_32); -lean_dec(x_1); -x_33 = lean_ctor_get(x_3, 0); -lean_inc(x_33); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_34 = x_3; -} else { - lean_dec_ref(x_3); - x_34 = lean_box(0); -} -x_35 = lean_ctor_get(x_4, 0); -lean_inc(x_35); -x_36 = l_Lean_Elab_Info_pos_x3f(x_4); -lean_dec(x_4); -if (lean_is_scalar(x_34)) { - x_37 = lean_alloc_ctor(0, 2, 0); -} else { - x_37 = x_34; -} -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_35); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_38 = l_instInhabitedNat; -x_39 = l_Option_get_x21___rarg___closed__4; -x_40 = lean_panic_fn(x_38, x_39); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_37); -x_42 = l_List_filterMap___at_Lean_Elab_InfoTree_smallestTacticStates___spec__1(x_32); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_44 = lean_ctor_get(x_36, 0); -lean_inc(x_44); -lean_dec(x_36); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_37); -x_46 = l_List_filterMap___at_Lean_Elab_InfoTree_smallestTacticStates___spec__1(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_dec(x_4); -lean_dec(x_3); -x_48 = lean_ctor_get(x_1, 1); -lean_inc(x_48); -lean_dec(x_1); -x_1 = x_48; -goto _start; -} -} -} -} -static lean_object* _init_l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_instInhabitedContextInfo; -x_2 = l_Lean_Elab_instInhabitedTacticInfo; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_instInhabitedNat; -x_2 = l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__1; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; -x_7 = lean_nat_dec_lt(x_6, x_2); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_8 = lean_array_swap(x_4, x_5, x_2); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_5); -lean_ctor_set(x_9, 1, x_8); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__2; -x_11 = lean_array_get(x_10, x_4, x_6); -lean_inc(x_1); -lean_inc(x_3); -x_12 = lean_apply_2(x_1, x_11, x_3); -x_13 = lean_unbox(x_12); -lean_dec(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_unsigned_to_nat(1u); -x_15 = lean_nat_add(x_6, x_14); -lean_dec(x_6); -x_6 = x_15; -goto _start; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_array_swap(x_4, x_5, x_6); -x_18 = lean_unsigned_to_nat(1u); -x_19 = lean_nat_add(x_5, x_18); -lean_dec(x_5); -x_20 = lean_nat_add(x_6, x_18); -lean_dec(x_6); -x_4 = x_17; -x_5 = x_19; -x_6 = x_20; -goto _start; -} -} -} -} -uint8_t l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_1, 0); -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_nat_dec_lt(x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___lambda__1___boxed), 2, 0); -return x_1; -} -} -lean_object* l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_13; -x_13 = lean_nat_dec_lt(x_2, x_3); -if (x_13 == 0) -{ -lean_dec(x_2); -return x_1; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 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_14 = lean_nat_add(x_2, x_3); -x_15 = lean_unsigned_to_nat(2u); -x_16 = lean_nat_div(x_14, x_15); -lean_dec(x_14); -x_46 = l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__2; -x_47 = lean_array_get(x_46, x_1, x_16); -x_48 = lean_array_get(x_46, x_1, x_2); -x_49 = lean_ctor_get(x_47, 0); -lean_inc(x_49); -lean_dec(x_47); -x_50 = lean_ctor_get(x_48, 0); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_nat_dec_lt(x_49, x_50); -lean_dec(x_50); -lean_dec(x_49); -if (x_51 == 0) -{ -x_17 = x_1; -goto block_45; -} -else -{ -lean_object* x_52; -x_52 = lean_array_swap(x_1, x_2, x_16); -x_17 = x_52; -goto block_45; -} -block_45: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__2; -x_19 = lean_array_get(x_18, x_17, x_3); -x_20 = lean_array_get(x_18, x_17, x_2); -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_nat_dec_lt(x_21, x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_24 = lean_array_get(x_18, x_17, x_16); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_nat_dec_lt(x_25, x_21); -lean_dec(x_21); -lean_dec(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_16); -x_27 = l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___closed__1; -lean_inc_n(x_2, 2); -x_28 = l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3(x_27, x_3, x_19, x_17, x_2, x_2); -x_4 = x_28; -goto block_12; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_19); -x_29 = lean_array_swap(x_17, x_16, x_3); -lean_dec(x_16); -x_30 = lean_array_get(x_18, x_29, x_3); -x_31 = l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___closed__1; -lean_inc_n(x_2, 2); -x_32 = l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3(x_31, x_3, x_30, x_29, x_2, x_2); -x_4 = x_32; -goto block_12; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -lean_dec(x_21); -lean_dec(x_19); -x_33 = lean_array_swap(x_17, x_2, x_3); -x_34 = lean_array_get(x_18, x_33, x_16); -x_35 = lean_array_get(x_18, x_33, x_3); -x_36 = lean_ctor_get(x_34, 0); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -x_38 = lean_nat_dec_lt(x_36, x_37); -lean_dec(x_37); -lean_dec(x_36); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; -lean_dec(x_16); -x_39 = l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___closed__1; -lean_inc_n(x_2, 2); -x_40 = l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3(x_39, x_3, x_35, x_33, x_2, x_2); -x_4 = x_40; -goto block_12; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_35); -x_41 = lean_array_swap(x_33, x_16, x_3); -lean_dec(x_16); -x_42 = lean_array_get(x_18, x_41, x_3); -x_43 = l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___closed__1; -lean_inc_n(x_2, 2); -x_44 = l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3(x_43, x_3, x_42, x_41, x_2, x_2); -x_4 = x_44; -goto block_12; -} -} -} -} -block_12: -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_4, 0); +x_5 = lean_ctor_get(x_2, 0); lean_inc(x_5); -x_6 = lean_ctor_get(x_4, 1); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_nat_dec_le(x_3, x_5); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2(x_6, x_2, x_5); -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_5, x_9); -lean_dec(x_5); -x_1 = x_8; -x_2 = x_10; -goto _start; -} -else -{ -lean_dec(x_5); -lean_dec(x_2); +x_6 = lean_apply_3(x_3, x_1, x_2, x_5); return x_6; } -} -} -} -lean_object* l_Lean_Elab_InfoTree_smallestTacticStates(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_2 = l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___closed__1; -x_3 = l_Lean_Elab_InfoTree_deepestNodes(x_2, x_1); -x_4 = l_List_filterMap___at_Lean_Elab_InfoTree_smallestTacticStates___spec__1(x_3); -x_5 = l_List_redLength___rarg(x_4); -x_6 = lean_mk_empty_array_with_capacity(x_5); -lean_dec(x_5); -x_7 = l_List_toArrayAux___rarg(x_4, x_6); -x_8 = lean_array_get_size(x_7); -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_sub(x_8, x_9); -lean_dec(x_8); -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2(x_7, x_11, x_10); -lean_dec(x_10); -return x_12; -} -} -lean_object* l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +else { lean_object* x_7; -x_7 = l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_2); +lean_dec(x_3); +x_7 = lean_apply_2(x_4, x_1, x_2); return x_7; } } -lean_object* l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___lambda__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_dec(x_3); -x_7 = lean_apply_3(x_2, x_4, x_5, x_6); -return x_7; -} } lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_goalsAt_x3f_match__1___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_goalsAt_x3f_match__1___rarg), 4, 0); return x_2; } } -lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_match__2___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _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_InfoTree_goalsAt_x3f_match__2(lean_object* x_1) { -_start: +if (lean_obj_tag(x_3) == 0) { -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_goalsAt_x3f_match__2___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Array_mapIdxM_map___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_3, 0); +x_5 = l_Lean_Elab_Info_pos_x3f(x_3); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_8; uint8_t x_9; -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_eq(x_4, x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_sub(x_4, x_10); -lean_dec(x_4); -x_12 = lean_array_fget(x_3, x_5); -x_13 = lean_nat_add(x_5, x_10); -lean_dec(x_5); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -x_15 = lean_ctor_get(x_12, 0); -lean_inc(x_15); -lean_dec(x_12); -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = lean_ctor_get(x_14, 1); -x_18 = lean_ctor_get(x_14, 0); -lean_dec(x_18); -x_19 = lean_array_get_size(x_2); -x_20 = lean_nat_dec_lt(x_13, x_19); -lean_dec(x_19); -if (x_20 == 0) -{ -lean_object* x_21; uint8_t x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_17, 2); -lean_inc(x_21); -lean_dec(x_17); -x_22 = 0; -x_23 = l_Lean_Syntax_getTailPos_x3f(x_21, x_22); -lean_dec(x_21); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = l_instInhabitedNat; -x_25 = l_Option_get_x21___rarg___closed__4; -x_26 = lean_panic_fn(x_24, x_25); -lean_ctor_set(x_14, 1, x_26); -lean_ctor_set(x_14, 0, x_15); -x_27 = lean_array_push(x_7, x_14); -x_4 = x_11; -x_5 = x_13; +lean_object* x_6; +lean_dec(x_2); x_6 = lean_box(0); -x_7 = x_27; -goto _start; -} -else -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_23, 0); -lean_inc(x_29); -lean_dec(x_23); -lean_ctor_set(x_14, 1, x_29); -lean_ctor_set(x_14, 0, x_15); -x_30 = lean_array_push(x_7, x_14); -x_4 = x_11; -x_5 = x_13; -x_6 = lean_box(0); -x_7 = x_30; -goto _start; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_17); -x_32 = lean_array_fget(x_2, x_13); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -lean_dec(x_32); -lean_ctor_set(x_14, 1, x_33); -lean_ctor_set(x_14, 0, x_15); -x_34 = lean_array_push(x_7, x_14); -x_4 = x_11; -x_5 = x_13; -x_6 = lean_box(0); -x_7 = x_34; -goto _start; -} -} -else -{ -lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_36 = lean_ctor_get(x_14, 1); -lean_inc(x_36); -lean_dec(x_14); -x_37 = lean_array_get_size(x_2); -x_38 = lean_nat_dec_lt(x_13, x_37); -lean_dec(x_37); -if (x_38 == 0) -{ -lean_object* x_39; uint8_t x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_36, 2); -lean_inc(x_39); -lean_dec(x_36); -x_40 = 0; -x_41 = l_Lean_Syntax_getTailPos_x3f(x_39, x_40); -lean_dec(x_39); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_42 = l_instInhabitedNat; -x_43 = l_Option_get_x21___rarg___closed__4; -x_44 = lean_panic_fn(x_42, x_43); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_15); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_array_push(x_7, x_45); -x_4 = x_11; -x_5 = x_13; -x_6 = lean_box(0); -x_7 = x_46; -goto _start; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_41, 0); -lean_inc(x_48); -lean_dec(x_41); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_15); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_array_push(x_7, x_49); -x_4 = x_11; -x_5 = x_13; -x_6 = lean_box(0); -x_7 = x_50; -goto _start; -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_36); -x_52 = lean_array_fget(x_2, x_13); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -lean_dec(x_52); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_15); -lean_ctor_set(x_54, 1, x_53); -x_55 = lean_array_push(x_7, x_54); -x_4 = x_11; -x_5 = x_13; -x_6 = lean_box(0); -x_7 = x_55; -goto _start; -} -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -return x_7; -} -} -} -uint8_t l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_ctor_get(x_2, 1); -x_5 = lean_nat_dec_le(x_3, x_1); -if (x_5 == 0) -{ -uint8_t x_6; -x_6 = 0; return x_6; } else { -uint8_t x_7; -x_7 = lean_nat_dec_lt(x_1, x_4); -return x_7; +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = l_Lean_Elab_Info_tailPos_x3f(x_3); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; +lean_dec(x_7); +lean_dec(x_2); +x_9 = lean_box(0); +return x_9; +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_8); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_8, 0); +x_12 = l_Lean_Elab_Info_stx(x_3); +x_13 = l_Lean_Syntax_getTrailingSize(x_12); +lean_dec(x_12); +x_14 = lean_nat_dec_le(x_7, x_1); +lean_dec(x_7); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_13); +lean_free_object(x_8); +lean_dec(x_11); +lean_dec(x_2); +x_15 = lean_box(0); +return x_15; +} +else +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_nat_add(x_11, x_13); +lean_dec(x_13); +x_17 = lean_nat_dec_lt(x_1, x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_free_object(x_8); +lean_dec(x_11); +lean_dec(x_2); +x_18 = lean_box(0); +return x_18; +} +else +{ +uint8_t x_19; lean_object* x_20; +x_19 = lean_nat_dec_le(x_11, x_1); +lean_dec(x_11); +lean_inc(x_4); +x_20 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_4); +lean_ctor_set_uint8(x_20, sizeof(void*)*2, x_19); +lean_ctor_set(x_8, 0, x_20); +return x_8; +} +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_21 = lean_ctor_get(x_8, 0); +lean_inc(x_21); +lean_dec(x_8); +x_22 = l_Lean_Elab_Info_stx(x_3); +x_23 = l_Lean_Syntax_getTrailingSize(x_22); +lean_dec(x_22); +x_24 = lean_nat_dec_le(x_7, x_1); +lean_dec(x_7); +if (x_24 == 0) +{ +lean_object* x_25; +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_2); +x_25 = lean_box(0); +return x_25; +} +else +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_nat_add(x_21, x_23); +lean_dec(x_23); +x_27 = lean_nat_dec_lt(x_1, x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_21); +lean_dec(x_2); +x_28 = lean_box(0); +return x_28; +} +else +{ +uint8_t x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_nat_dec_le(x_21, x_1); +lean_dec(x_21); +lean_inc(x_4); +x_30 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_30, 0, x_2); +lean_ctor_set(x_30, 1, x_4); +lean_ctor_set_uint8(x_30, sizeof(void*)*2, x_29); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_30); +return x_31; +} +} +} +} +} +} +else +{ +lean_object* x_32; +lean_dec(x_2); +x_32 = lean_box(0); +return x_32; } } } lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f(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_inc(x_1); -x_3 = l_Lean_Elab_InfoTree_smallestTacticStates(x_1); -x_4 = lean_array_get_size(x_3); -x_5 = lean_mk_empty_array_with_capacity(x_4); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_mapIdxM_map___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__1(x_1, x_3, x_3, x_4, x_6, lean_box(0), x_5); -lean_dec(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1___boxed), 2, 1); -lean_closure_set(x_8, 0, x_2); -x_9 = lean_array_get_size(x_7); -x_10 = l_Array_findIdx_x3f_loop___rarg(x_7, x_8, x_9, x_6, lean_box(0)); -lean_dec(x_7); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; -lean_dec(x_3); -x_11 = lean_box(0); -return x_11; -} -else -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_10); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = lean_ctor_get(x_10, 0); -x_14 = l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__2; -x_15 = lean_array_get(x_14, x_3, x_13); -lean_dec(x_13); -lean_dec(x_3); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_ctor_set(x_10, 0, x_16); -return x_10; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_16); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set(x_10, 0, x_20); -return x_10; +lean_object* x_3; lean_object* x_4; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1___boxed), 3, 1); +lean_closure_set(x_3, 0, x_2); +x_4 = l_Lean_Elab_InfoTree_deepestNodes___rarg(x_3, x_1); +return x_4; } } -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_21 = lean_ctor_get(x_10, 0); -lean_inc(x_21); -lean_dec(x_10); -x_22 = l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__2; -x_23 = lean_array_get(x_22, x_3, x_21); -lean_dec(x_21); -lean_dec(x_3); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - lean_ctor_release(x_24, 1); - x_27 = x_24; -} else { - lean_dec_ref(x_24); - x_27 = lean_box(0); -} -if (lean_is_scalar(x_27)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_27; -} -lean_ctor_set(x_28, 0, x_25); -lean_ctor_set(x_28, 1, x_26); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_28); -return x_29; -} -} -} -} -lean_object* l_Array_mapIdxM_map___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_8; -x_8 = l_Array_mapIdxM_map___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_4; +x_4 = l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1(x_1, x_2, x_3); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); -return x_8; -} -} -lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); return x_4; } } @@ -3260,14 +2515,6 @@ l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__6 = _init_l_Lean_Elab_Info_f lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__6); l_Lean_Elab_Info_fmtHover_x3f___lambda__4___closed__1 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__4___closed__1(); lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__4___closed__1); -l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___closed__1 = _init_l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___closed__1(); -lean_mark_persistent(l_Lean_Elab_InfoTree_smallestTacticStates_tacticLeaves___closed__1); -l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__1 = _init_l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__1(); -lean_mark_persistent(l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__1); -l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__2 = _init_l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__2(); -lean_mark_persistent(l_Array_qpartition_loop___at_Lean_Elab_InfoTree_smallestTacticStates___spec__3___closed__2); -l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___closed__1 = _init_l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___closed__1(); -lean_mark_persistent(l_Array_qsort_sort___at_Lean_Elab_InfoTree_smallestTacticStates___spec__2___closed__1); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus