diff --git a/stage0/src/Init/Data/UInt.lean b/stage0/src/Init/Data/UInt.lean index e6bf545e2a..086b09060f 100644 --- a/stage0/src/Init/Data/UInt.lean +++ b/stage0/src/Init/Data/UInt.lean @@ -43,6 +43,11 @@ instance : Div UInt8 := ⟨UInt8.div⟩ instance : HasLess UInt8 := ⟨UInt8.lt⟩ instance : HasLessEq UInt8 := ⟨UInt8.le⟩ +@[extern c inline "#1 << #2"] +constant UInt8.shiftLeft (a b : UInt8) : UInt8 +@[extern c inline "#1 >> #2"] +constant UInt8.shiftRight (a b : UInt8) : UInt8 + set_option bootstrap.gen_matcher_code false in @[extern c inline "#1 < #2"] def UInt8.decLt (a b : UInt8) : Decidable (a < b) := @@ -93,6 +98,11 @@ instance : Div UInt16 := ⟨UInt16.div⟩ instance : HasLess UInt16 := ⟨UInt16.lt⟩ instance : HasLessEq UInt16 := ⟨UInt16.le⟩ +@[extern c inline "#1 << #2"] +constant UInt16.shiftLeft (a b : UInt16) : UInt16 +@[extern c inline "#1 >> #2"] +constant UInt16.shiftRight (a b : UInt16) : UInt16 + set_option bootstrap.gen_matcher_code false in @[extern c inline "#1 < #2"] def UInt16.decLt (a b : UInt16) : Decidable (a < b) := diff --git a/stage0/src/Init/Meta.lean b/stage0/src/Init/Meta.lean index 88290d500b..47ccf85d90 100644 --- a/stage0/src/Init/Meta.lean +++ b/stage0/src/Init/Meta.lean @@ -229,8 +229,45 @@ def copyInfo (s : Syntax) (source : Syntax) : Syntax := let s := s.copyHeadInfo source s.copyTailInfo source +/-- + Copy head and tail position information from `source` to `s`. + `leading` and `trailing` information is not preserved. -/ +def copyRangePos (s : Syntax) (source : Syntax) : Syntax := + match source.getPos with + | none => s + | some pos => + let s := s.setHeadInfo { pos := pos } + match source.getTailInfo with + | some { pos := some pos, .. } => + let s := s.setTailInfo { pos := pos } + /- The trailing token at `s` may be different from `source`. + So, we retrieve the tail positions and adjust `pos` to make sure the `s.getTailPos == source.getTailPos`. -/ + match source.getTailPos, s.getTailPos with + | some pos₁, some pos₂ => + if pos₁ < pos₂ then + s.setTailInfo { pos := some ((pos : Nat) - (pos₂ - pos₁) : Nat) } + else if pos₁ > pos₂ then + s.setTailInfo { pos := some ((pos : Nat) + (pos₁ - pos₂) : Nat) } + else + s + | _, _ => s + | _ => s + +/-- Return the first atom/identifier that has position information -/ +partial def getHead? : Syntax → Option Syntax + | stx@(atom { pos := some _, .. } ..) => some stx + | stx@(ident { pos := some _, .. } ..) => some stx + | node _ args => args.findSome? getHead? + | _ => none + end Syntax +/-- Use the head atom/identifier of the current `ref` as the `ref` -/ +@[inline] def withHeadRefOnly {m : Type → Type} [Monad m] [MonadRef m] {α} (x : m α) : m α := do + match (← getRef).getHead? with + | none => x + | some ref => withRef ref x + def mkAtom (val : String) : Syntax := Syntax.atom {} val diff --git a/stage0/src/Lean/Elab/App.lean b/stage0/src/Lean/Elab/App.lean index 8c8846dad7..d6dfbc59d2 100644 --- a/stage0/src/Lean/Elab/App.lean +++ b/stage0/src/Lean/Elab/App.lean @@ -532,7 +532,7 @@ private partial def findMethod? (env : Environment) (structName fieldName : Name private def resolveLValAux (e : Expr) (eType : Expr) (lval : LVal) : TermElabM LValResolution := do match eType.getAppFn, lval with - | Expr.const structName _ _, LVal.fieldIdx idx => + | Expr.const structName _ _, LVal.fieldIdx _ idx => if idx == 0 then throwError "invalid projection, index must be greater than 0" let env ← getEnv @@ -548,7 +548,7 @@ private def resolveLValAux (e : Expr) (eType : Expr) (lval : LVal) : TermElabM L pure $ LValResolution.projIdx structName (idx - 1) else throwLValError e eType m!"invalid projection, structure has only {fieldNames.size} field(s)" - | Expr.const structName _ _, LVal.fieldName fieldName => + | Expr.const structName _ _, LVal.fieldName _ fieldName => let env ← getEnv let searchEnv : Unit → TermElabM LValResolution := fun _ => do match findMethod? env structName (Name.mkSimple fieldName) with @@ -576,13 +576,13 @@ private def resolveLValAux (e : Expr) (eType : Expr) (lval : LVal) : TermElabM L | none => searchCtx () else searchCtx () - | Expr.const structName _ _, LVal.getOp idx => + | Expr.const structName _ _, LVal.getOp _ idx => let env ← getEnv let fullName := Name.mkStr structName "getOp" match env.find? fullName with | some _ => pure $ LValResolution.getOp fullName idx | none => throwLValError e eType m!"invalid [..] notation because environment does not contain '{fullName}'" - | _, LVal.getOp idx => + | _, LVal.getOp _ idx => throwLValError e eType "invalid [..] notation, type is not of the form (C ...) where C is a constant" | _, _ => throwLValError e eType "invalid field notation, type is not of the form (C ...) where C is a constant" @@ -690,10 +690,12 @@ private def elabAppLValsAux (namedArgs : Array NamedArg) (args : Array Arg) (exp match lvalRes with | LValResolution.projIdx structName idx => let f := mkProj structName idx f + addTermInfo lval.getRef f loop f lvals | LValResolution.projFn baseStructName structName fieldName => let f ← mkBaseProjections baseStructName structName f let projFn ← mkConst (baseStructName ++ fieldName) + addTermInfo lval.getRef projFn if lvals.isEmpty then let namedArgs ← addNamedArg namedArgs { name := `self, val := Arg.expr f } elabAppArgs projFn namedArgs args expectedType? explicit ellipsis @@ -703,6 +705,7 @@ private def elabAppLValsAux (namedArgs : Array NamedArg) (args : Array Arg) (exp | LValResolution.const baseStructName structName constName => let f ← if baseStructName != structName then mkBaseProjections baseStructName structName f else pure f let projFn ← mkConst constName + addTermInfo lval.getRef projFn if lvals.isEmpty then let projFnType ← inferType projFn let (args, namedArgs) ← addLValArg baseStructName constName f args namedArgs projFnType @@ -711,6 +714,7 @@ private def elabAppLValsAux (namedArgs : Array NamedArg) (args : Array Arg) (exp let f ← elabAppArgs projFn #[] #[Arg.expr f] (expectedType? := none) (explicit := false) (ellipsis := false) loop f lvals | LValResolution.localRec baseName fullName fvar => + addTermInfo lval.getRef fvar if lvals.isEmpty then let fvarType ← inferType fvar let (args, namedArgs) ← addLValArg baseName fullName f args namedArgs fvarType @@ -720,6 +724,7 @@ private def elabAppLValsAux (namedArgs : Array NamedArg) (args : Array Arg) (exp loop f lvals | LValResolution.getOp fullName idx => let getOpFn ← mkConst fullName + addTermInfo lval.getRef getOpFn if lvals.isEmpty then let namedArgs ← addNamedArg namedArgs { name := `self, val := Arg.expr f } let namedArgs ← addNamedArg namedArgs { name := `idx, val := Arg.stx idx } @@ -770,7 +775,9 @@ private partial def elabAppFnId (fIdent : Syntax) (fExplicitUnivs : List Level) -- Set `errToSorry` to `false` if `funLVals` > 1. See comment above about the interaction between `errToSorry` and `observing`. withReader (fun ctx => { ctx with errToSorry := funLVals.length == 1 && ctx.errToSorry }) do funLVals.foldlM (init := acc) fun acc ⟨f, fields⟩ => do - let lvals' := fields.map LVal.fieldName + unless lvals.isEmpty && args.isEmpty && namedArgs.isEmpty do + addTermInfo fIdent f + let lvals' := fields.map (LVal.fieldName fIdent) let s ← observing do let e ← elabAppLVals f (lvals' ++ lvals) namedArgs args expectedType? explicit ellipsis if overloaded then ensureHasType expectedType? e else pure e @@ -784,17 +791,17 @@ private partial def elabAppFn (f : Syntax) (lvals : List LVal) (namedArgs : Arra withReader (fun ctx => { ctx with errToSorry := false }) do f.getArgs.foldlM (fun acc f => elabAppFn f lvals namedArgs args expectedType? explicit ellipsis true acc) acc else match f with - | `($(e).$idx:fieldIdx) => - let idx := idx.isFieldIdx?.get! - elabAppFn e (LVal.fieldIdx idx :: lvals) namedArgs args expectedType? explicit ellipsis overloaded acc + | `($(e).$idxStx:fieldIdx) => + let idx := idxStx.isFieldIdx?.get! + elabAppFn e (LVal.fieldIdx idxStx idx :: lvals) namedArgs args expectedType? explicit ellipsis overloaded acc | `($e |>. $field) => do let f ← `($(e).$field) elabAppFn f lvals namedArgs args expectedType? explicit ellipsis overloaded acc | `($(e).$field:ident) => - let newLVals := field.getId.eraseMacroScopes.components.map (fun n => LVal.fieldName (toString n)) + let newLVals := field.getId.eraseMacroScopes.components.map (fun n => LVal.fieldName field (toString n)) elabAppFn e (newLVals ++ lvals) namedArgs args expectedType? explicit ellipsis overloaded acc - | `($e[$idx]) => - elabAppFn e (LVal.getOp idx :: lvals) namedArgs args expectedType? explicit ellipsis overloaded acc + | `($e[%$bracket $idx]) => + elabAppFn e (LVal.getOp bracket idx :: lvals) namedArgs args expectedType? explicit ellipsis overloaded acc | `($id:ident@$t:term) => throwError "unexpected occurrence of named pattern" | `($id:ident) => do diff --git a/stage0/src/Lean/Elab/Binders.lean b/stage0/src/Lean/Elab/Binders.lean index 819778dc03..df46b64a2f 100644 --- a/stage0/src/Lean/Elab/Binders.lean +++ b/stage0/src/Lean/Elab/Binders.lean @@ -144,6 +144,13 @@ private def matchBinder (stx : Syntax) : TermElabM (Array BinderView) := private def registerFailedToInferBinderTypeInfo (type : Expr) (ref : Syntax) : TermElabM Unit := registerCustomErrorIfMVar type ref "failed to infer binder type" +private def addLocalVarInfoCore (lctx : LocalContext) (stx : Syntax) (fvar : Expr) : TermElabM Unit := do + if (← getInfoState).enabled then + pushInfoTree <| InfoTree.node (children := {}) <| Info.ofTermInfo { lctx := lctx, expr := fvar, stx := stx } + +private def addLocalVarInfo (stx : Syntax) (fvar : Expr) : TermElabM Unit := do + addLocalVarInfoCore (← getLCtx) stx fvar + private partial def elabBinderViews {α} (binderViews : Array BinderView) (catchAutoBoundImplicit : Bool) (fvars : Array Expr) (k : Array Expr → TermElabM α) : TermElabM α := let rec loop (i : Nat) (fvars : Array Expr) : TermElabM α := do @@ -152,12 +159,14 @@ private partial def elabBinderViews {α} (binderViews : Array BinderView) (catch if catchAutoBoundImplicit then elabTypeWithAutoBoundImplicit binderView.type fun type => do registerFailedToInferBinderTypeInfo type binderView.type - withLocalDecl binderView.id.getId binderView.bi type fun fvar => + withLocalDecl binderView.id.getId binderView.bi type fun fvar => do + addLocalVarInfo binderView.id fvar loop (i+1) (fvars.push fvar) else let type ← elabType binderView.type registerFailedToInferBinderTypeInfo type binderView.type - withLocalDecl binderView.id.getId binderView.bi type fun fvar => + withLocalDecl binderView.id.getId binderView.bi type fun fvar => do + addLocalVarInfo binderView.id fvar loop (i+1) (fvars.push fvar) else k fvars @@ -321,6 +330,7 @@ private partial def elabFunBinderViews (binderViews : Array BinderView) (i : Nat We do not believe this is an useful feature, and it would complicate the logic here. -/ let lctx := s.lctx.mkLocalDecl fvarId binderView.id.getId type binderView.bi + addLocalVarInfoCore lctx binderView.id fvar let s ← withRef binderView.id $ propagateExpectedType fvar type s let s := { s with lctx := lctx } match (← isClass? type) with @@ -480,7 +490,7 @@ def expandMatchAltsWhereDecls (matchAltsWhereDecls : Syntax) : MacroM Syntax := The default elaboration order is `binders`, `typeStx`, `valStx`, and `body`. If `elabBodyFirst == true`, then we use the order `binders`, `typeStx`, `body`, and `valStx`. -/ -def elabLetDeclAux (n : Name) (binders : Array Syntax) (typeStx : Syntax) (valStx : Syntax) (body : Syntax) +def elabLetDeclAux (id : Syntax) (binders : Array Syntax) (typeStx : Syntax) (valStx : Syntax) (body : Syntax) (expectedType? : Option Expr) (useLetExpr : Bool) (elabBodyFirst : Bool) : TermElabM Expr := do let (type, val, arity) ← elabBinders binders fun xs => do let type ← elabType typeStx @@ -494,15 +504,17 @@ def elabLetDeclAux (n : Name) (binders : Array Syntax) (typeStx : Syntax) (valSt let type ← mkForallFVars xs type let val ← mkLambdaFVars xs val pure (type, val, xs.size) - trace[Elab.let.decl]! "{n} : {type} := {val}" + trace[Elab.let.decl]! "{id.getId} : {type} := {val}" let result ← if useLetExpr then - withLetDecl n type val fun x => do + withLetDecl id.getId type val fun x => do + addLocalVarInfo id x let body ← elabTerm body expectedType? let body ← instantiateMVars body mkLetFVars #[x] body else - let f ← withLocalDecl n BinderInfo.default type fun x => do + let f ← withLocalDecl id.getId BinderInfo.default type fun x => do + addLocalVarInfo id x let body ← elabTerm body expectedType? let body ← instantiateMVars body mkLambdaFVars #[x] body @@ -516,14 +528,14 @@ def elabLetDeclAux (n : Name) (binders : Array Syntax) (typeStx : Syntax) (valSt pure result structure LetIdDeclView where - id : Name + id : Syntax binders : Array Syntax type : Syntax value : Syntax def mkLetIdDeclView (letIdDecl : Syntax) : LetIdDeclView := -- `letIdDecl` is of the form `ident >> many bracketedBinder >> optType >> " := " >> termParser - let id := letIdDecl[0].getId + let id := letIdDecl[0] let binders := letIdDecl[1].getArgs let optType := letIdDecl[2] let type := expandOptType letIdDecl optType diff --git a/stage0/src/Lean/Elab/Command.lean b/stage0/src/Lean/Elab/Command.lean index 5784b2f26a..19557f8b34 100644 --- a/stage0/src/Lean/Elab/Command.lean +++ b/stage0/src/Lean/Elab/Command.lean @@ -287,7 +287,9 @@ def liftTermElabM {α} (declName? : Option Name) (x : TermElabM α) : CommandEla let (((ea, termS), metaS), coreS) ← liftEIO x let infoTrees := termS.infoState.trees.map fun tree => let tree := tree.substitute termS.infoState.assignment - InfoTree.context { env := coreS.env, mctx := metaS.mctx, currNamespace := scope.currNamespace, openDecls := scope.openDecls, options := scope.opts } tree + InfoTree.context { + env := coreS.env, fileMap := ctx.fileMap, mctx := metaS.mctx, currNamespace := scope.currNamespace, openDecls := scope.openDecls, options := scope.opts + } tree modify fun s => { s with env := coreS.env messages := addTraceAsMessages ctx (s.messages ++ termS.messages) coreS.traceState diff --git a/stage0/src/Lean/Elab/Do.lean b/stage0/src/Lean/Elab/Do.lean index 710114f9a8..a205d57807 100644 --- a/stage0/src/Lean/Elab/Do.lean +++ b/stage0/src/Lean/Elab/Do.lean @@ -862,7 +862,7 @@ def actionTerminalToTerm (action : Syntax) : M Syntax := do let r ← actionTerminalToTermCore action pure $ r.copyInfo ref -def seqToTermCore (action : Syntax) (k : Syntax) : MacroM Syntax := withFreshMacroScope do +def seqToTermCore (action : Syntax) (k : Syntax) : M Syntax := withFreshMacroScope do if action.getKind == `Lean.Parser.Term.doDbgTrace then let msg := action[1] `(dbgTrace! $msg; $k) @@ -870,9 +870,10 @@ def seqToTermCore (action : Syntax) (k : Syntax) : MacroM Syntax := withFreshMac let cond := action[1] `(assert! $cond; $k) else + let action := Syntax.copyRangePos (← `(($action : $((←read).m) PUnit))) action `(Bind.bind $action (fun (_ : PUnit) => $k)) -def seqToTerm (action : Syntax) (k : Syntax) : MacroM Syntax := do +def seqToTerm (action : Syntax) (k : Syntax) : M Syntax := do let r ← seqToTermCore action k return r.copyInfo action @@ -894,7 +895,9 @@ def declToTermCore (decl : Syntax) (k : Syntax) : M Syntax := withFreshMacroScop let doElem := arg[3] -- `doElem` must be a `doExpr action`. See `doLetArrowToCode` match isDoExpr? doElem with - | some action => `(Bind.bind $action (fun ($id:ident : $type) => $k)) + | some action => + let action := Syntax.copyRangePos (← `(($action : $((← read).m) $type))) action + `(Bind.bind $action (fun ($id:ident : $type) => $k)) | none => Macro.throwErrorAt decl "unexpected kind of 'do' declaration" else Macro.throwErrorAt decl "unexpected kind of 'do' declaration" diff --git a/stage0/src/Lean/Elab/InfoTree.lean b/stage0/src/Lean/Elab/InfoTree.lean index 573f91d26e..11a2ae9c9b 100644 --- a/stage0/src/Lean/Elab/InfoTree.lean +++ b/stage0/src/Lean/Elab/InfoTree.lean @@ -20,6 +20,7 @@ open Std (PersistentArray PersistentArray.empty PersistentHashMap) assignments are stored at `mctx`. -/ structure ContextInfo where env : Environment + fileMap : FileMap mctx : MetavarContext := {} options : Options := {} currNamespace : Name := Name.anonymous @@ -101,7 +102,9 @@ def ContextInfo.ppSyntax (info : ContextInfo) (lctx : LocalContext) (stx : Synta def TermInfo.format (cinfo : ContextInfo) (info : TermInfo) : IO Format := do cinfo.runMetaM info.lctx do - return f!"{← Meta.ppExpr info.expr} : {← Meta.ppExpr (← Meta.inferType info.expr)}" + let pos := info.stx.getPos.getD 0 + let endPos := info.stx.getTailPos.getD pos + return f!"{← Meta.ppExpr info.expr} : {← Meta.ppExpr (← Meta.inferType info.expr)} @ {cinfo.fileMap.toPosition pos}-{cinfo.fileMap.toPosition endPos}" def ContextInfo.ppGoals (cinfo : ContextInfo) (goals : List MVarId) : IO Format := if goals.isEmpty then diff --git a/stage0/src/Lean/Elab/Match.lean b/stage0/src/Lean/Elab/Match.lean index 58fb4544f0..6fe8ab9b2b 100644 --- a/stage0/src/Lean/Elab/Match.lean +++ b/stage0/src/Lean/Elab/Match.lean @@ -696,7 +696,7 @@ def ignoreUnusedAlts (opts : Options) : Bool := def reportMatcherResultErrors (altLHSS : List AltLHS) (result : MatcherResult) : TermElabM Unit := do unless result.counterExamples.isEmpty do - throwError! "missing cases:\n{Meta.Match.counterExamplesToMessageData result.counterExamples}" + withHeadRefOnly <| throwError! "missing cases:\n{Meta.Match.counterExamplesToMessageData result.counterExamples}" unless ignoreUnusedAlts (← getOptions) || result.unusedAltIdxs.isEmpty do let mut i := 0 for alt in altLHSS do diff --git a/stage0/src/Lean/Elab/Quotation.lean b/stage0/src/Lean/Elab/Quotation.lean index 025a6b0710..82404fd61c 100644 --- a/stage0/src/Lean/Elab/Quotation.lean +++ b/stage0/src/Lean/Elab/Quotation.lean @@ -50,7 +50,7 @@ private partial def quoteSyntax : Syntax → TermElabM Syntax let preresolved := r ++ preresolved let val := quote val -- `scp` is bound in stxQuot.expand - `(Syntax.ident (SourceInfo.mk none none none) $(quote rawVal) (addMacroScope mainModule $val scp) $(quote preresolved)) + `(Syntax.ident info $(quote rawVal) (addMacroScope mainModule $val scp) $(quote preresolved)) -- if antiquotation, insert contents as-is, else recurse | stx@(Syntax.node k _) => do if isAntiquot stx && !isEscapedAntiquot stx then diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index d657541f04..bd0e737ac2 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -275,15 +275,20 @@ builtin_initialize termElabAttribute : KeyedDeclsAttribute TermElab ← mkTermEl `[LVal.fieldName "foo", LVal.getOp i, LVal.fieldIdx 1]`. Recall that the notation `a[i]` is not just for accessing arrays in Lean. -/ inductive LVal where - | fieldIdx (i : Nat) - | fieldName (name : String) - | getOp (idx : Syntax) + | fieldIdx (ref : Syntax) (i : Nat) + | fieldName (ref : Syntax) (name : String) + | getOp (ref : Syntax) (idx : Syntax) + +def LVal.getRef : LVal → Syntax + | LVal.fieldIdx ref _ => ref + | LVal.fieldName ref _ => ref + | LVal.getOp ref _ => ref instance : ToString LVal where toString - | LVal.fieldIdx i => toString i - | LVal.fieldName n => n - | LVal.getOp idx => "[" ++ toString idx ++ "]" + | LVal.fieldIdx _ i => toString i + | LVal.fieldName _ n => n + | LVal.getOp _ idx => "[" ++ toString idx ++ "]" def getDeclName? : TermElabM (Option Name) := return (← read).declName? def getLetRecsToLift : TermElabM (List LetRecToLift) := return (← get).letRecsToLift @@ -987,6 +992,10 @@ private partial def elabTermAux (expectedType? : Option Expr) (catchExPostpone : | some expectedType => elabImplicitLambda stx catchExPostpone expectedType #[] | none => elabUsingElabFns stx expectedType? catchExPostpone +def addTermInfo (stx : Syntax) (e : Expr) : TermElabM Unit := do + if (← getInfoState).enabled then + pushInfoTree <| InfoTree.node (children := {}) <| Info.ofTermInfo { lctx := (← getLCtx), expr := e, stx := stx } + def mkTermInfo (stx : Syntax) (e : Expr) : TermElabM (Sum Info MVarId) := do let isHole? : TermElabM (Option MVarId) := do match e with diff --git a/stage0/src/Lean/Meta/ExprDefEq.lean b/stage0/src/Lean/Meta/ExprDefEq.lean index d1617f86cc..a13207a9cb 100644 --- a/stage0/src/Lean/Meta/ExprDefEq.lean +++ b/stage0/src/Lean/Meta/ExprDefEq.lean @@ -566,7 +566,7 @@ instance : MonadCache Expr Expr CheckAssignmentM := { private def addAssignmentInfo (msg : MessageData) : CheckAssignmentM MessageData := do let ctx ← read - return m!" @ {mkMVar ctx.mvarId} {ctx.fvars} := {ctx.rhs}" + return m!"{msg} @ {mkMVar ctx.mvarId} {ctx.fvars} := {ctx.rhs}" @[specialize] def checkFVar (check : Expr → CheckAssignmentM Expr) (fvar : Expr) : CheckAssignmentM Expr := do let ctxMeta ← readThe Meta.Context diff --git a/stage0/src/Lean/Meta/Match/Match.lean b/stage0/src/Lean/Meta/Match/Match.lean index 3866003c51..b2395c6aa7 100644 --- a/stage0/src/Lean/Meta/Match/Match.lean +++ b/stage0/src/Lean/Meta/Match/Match.lean @@ -551,6 +551,11 @@ private partial def process (p : Problem) : StateRefT State MetaM Unit := withIn else if isArrayLitTransition p then let ps ← processArrayLit p ps.forM process + else if hasNatValPattern p then + -- This branch is reachable when `p`, for example, is just values without an else-alternative. + -- We added it just to get better error messages. + traceStep ("nat value to constructor") + process (expandNatValuePattern p) else checkNextPatternTypes p throwNonSupported p diff --git a/stage0/src/Lean/Parser/Term.lean b/stage0/src/Lean/Parser/Term.lean index 0b50fe96d3..8bc5891eff 100644 --- a/stage0/src/Lean/Parser/Term.lean +++ b/stage0/src/Lean/Parser/Term.lean @@ -215,7 +215,8 @@ def isIdent (stx : Syntax) : Bool := -- NOTE: Doesn't call `categoryParser` directly in contrast to most other "static" quotations, so call `evalInsideQuot` explicitly @[builtinTermParser] def funBinder.quot : Parser := parser! "`(funBinder|" >> toggleInsideQuot (evalInsideQuot ``funBinder funBinder) >> ")" -@[builtinTermParser] def bracketedBinder.quot : Parser := parser! "`(bracketedBinder|" >> toggleInsideQuot (evalInsideQuot ``bracketedBinder bracketedBinder) >> ")" +def bracketedBinderF := bracketedBinder -- no default arg +@[builtinTermParser] def bracketedBinder.quot : Parser := parser! "`(bracketedBinder|" >> toggleInsideQuot (evalInsideQuot ``bracketedBinderF bracketedBinder) >> ")" @[builtinTermParser] def matchDiscr.quot : Parser := parser! "`(matchDiscr|" >> toggleInsideQuot (evalInsideQuot ``matchDiscr matchDiscr) >> ")" @[builtinTermParser] def attr.quot : Parser := parser! "`(attr|" >> toggleInsideQuot attrParser >> ")" diff --git a/stage0/stdlib/CMakeLists.txt b/stage0/stdlib/CMakeLists.txt index f5282c90a3..44444c5e0c 100644 --- a/stage0/stdlib/CMakeLists.txt +++ b/stage0/stdlib/CMakeLists.txt @@ -1 +1 @@ -add_library (stage0 OBJECT ./Init.c ./Init/Classical.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Basic.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Id.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Control/StateRef.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/InsertionSort.c ./Init/Data/Array/QSort.c ./Init/Data/Array/Subarray.c ./Init/Data/Basic.c ./Init/Data/ByteArray.c ./Init/Data/ByteArray/Basic.c ./Init/Data/Char.c ./Init/Data/Char/Basic.c ./Init/Data/Fin.c ./Init/Data/Fin/Basic.c ./Init/Data/Float.c ./Init/Data/FloatArray.c ./Init/Data/FloatArray/Basic.c ./Init/Data/Format.c ./Init/Data/Format/Basic.c ./Init/Data/Format/Instances.c ./Init/Data/Format/Macro.c ./Init/Data/Hashable.c ./Init/Data/Int.c ./Init/Data/Int/Basic.c ./Init/Data/List.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/Nat.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Div.c ./Init/Data/OfScientific.c ./Init/Data/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/Random.c ./Init/Data/Range.c ./Init/Data/Repr.c ./Init/Data/Stream.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/ToString/Basic.c ./Init/Data/ToString/Macro.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/Meta.c ./Init/Notation.c ./Init/NotationExtra.c ./Init/Prelude.c ./Init/SimpLemmas.c ./Init/SizeOf.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/System/ST.c ./Init/Util.c ./Init/WF.c ./Lean.c ./Lean/Attributes.c ./Lean/AuxRecursor.c ./Lean/Class.c ./Lean/Compiler.c ./Lean/Compiler/BorrowedAnnotation.c ./Lean/Compiler/ClosedTermCache.c ./Lean/Compiler/ConstFolding.c ./Lean/Compiler/ExportAttr.c ./Lean/Compiler/ExternAttr.c ./Lean/Compiler/IR.c ./Lean/Compiler/IR/Basic.c ./Lean/Compiler/IR/Borrow.c ./Lean/Compiler/IR/Boxing.c ./Lean/Compiler/IR/Checker.c ./Lean/Compiler/IR/CompilerM.c ./Lean/Compiler/IR/CtorLayout.c ./Lean/Compiler/IR/ElimDeadBranches.c ./Lean/Compiler/IR/ElimDeadVars.c ./Lean/Compiler/IR/EmitC.c ./Lean/Compiler/IR/EmitUtil.c ./Lean/Compiler/IR/ExpandResetReuse.c ./Lean/Compiler/IR/Format.c ./Lean/Compiler/IR/FreeVars.c ./Lean/Compiler/IR/LiveVars.c ./Lean/Compiler/IR/NormIds.c ./Lean/Compiler/IR/PushProj.c ./Lean/Compiler/IR/RC.c ./Lean/Compiler/IR/ResetReuse.c ./Lean/Compiler/IR/SimpCase.c ./Lean/Compiler/IR/UnboxResult.c ./Lean/Compiler/ImplementedByAttr.c ./Lean/Compiler/InitAttr.c ./Lean/Compiler/InlineAttrs.c ./Lean/Compiler/NameMangling.c ./Lean/Compiler/NeverExtractAttr.c ./Lean/Compiler/Specialize.c ./Lean/Compiler/Util.c ./Lean/CoreM.c ./Lean/Data.c ./Lean/Data/Format.c ./Lean/Data/Json.c ./Lean/Data/Json/Basic.c ./Lean/Data/Json/FromToJson.c ./Lean/Data/Json/Parser.c ./Lean/Data/Json/Printer.c ./Lean/Data/Json/Stream.c ./Lean/Data/JsonRpc.c ./Lean/Data/KVMap.c ./Lean/Data/LBool.c ./Lean/Data/LOption.c ./Lean/Data/Lsp.c ./Lean/Data/Lsp/Basic.c ./Lean/Data/Lsp/Capabilities.c ./Lean/Data/Lsp/Communication.c ./Lean/Data/Lsp/Diagnostics.c ./Lean/Data/Lsp/Extra.c ./Lean/Data/Lsp/InitShutdown.c ./Lean/Data/Lsp/Ipc.c ./Lean/Data/Lsp/LanguageFeatures.c ./Lean/Data/Lsp/TextSync.c ./Lean/Data/Lsp/Utf16.c ./Lean/Data/Lsp/Workspace.c ./Lean/Data/Name.c ./Lean/Data/NameTrie.c ./Lean/Data/Occurrences.c ./Lean/Data/OpenDecl.c ./Lean/Data/Options.c ./Lean/Data/Position.c ./Lean/Data/PrefixTree.c ./Lean/Data/SMap.c ./Lean/Data/Trie.c ./Lean/Declaration.c ./Lean/DeclarationRange.c ./Lean/DocString.c ./Lean/Elab.c ./Lean/Elab/App.c ./Lean/Elab/Attributes.c ./Lean/Elab/AutoBound.c ./Lean/Elab/Binders.c ./Lean/Elab/BuiltinNotation.c ./Lean/Elab/CollectFVars.c ./Lean/Elab/Command.c ./Lean/Elab/DeclModifiers.c ./Lean/Elab/DeclUtil.c ./Lean/Elab/Declaration.c ./Lean/Elab/DeclarationRange.c ./Lean/Elab/DefView.c ./Lean/Elab/Deriving.c ./Lean/Elab/Deriving/BEq.c ./Lean/Elab/Deriving/Basic.c ./Lean/Elab/Deriving/DecEq.c ./Lean/Elab/Deriving/FromToJson.c ./Lean/Elab/Deriving/Inhabited.c ./Lean/Elab/Deriving/Repr.c ./Lean/Elab/Deriving/Util.c ./Lean/Elab/Do.c ./Lean/Elab/Exception.c ./Lean/Elab/Frontend.c ./Lean/Elab/Import.c ./Lean/Elab/Inductive.c ./Lean/Elab/InfoTree.c ./Lean/Elab/LetRec.c ./Lean/Elab/Level.c ./Lean/Elab/Log.c ./Lean/Elab/Match.c ./Lean/Elab/MutualDef.c ./Lean/Elab/PreDefinition.c ./Lean/Elab/PreDefinition/Basic.c ./Lean/Elab/PreDefinition/Main.c ./Lean/Elab/PreDefinition/MkInhabitant.c ./Lean/Elab/PreDefinition/Structural.c ./Lean/Elab/PreDefinition/WF.c ./Lean/Elab/Print.c ./Lean/Elab/Quotation.c ./Lean/Elab/Quotation/Util.c ./Lean/Elab/StructInst.c ./Lean/Elab/Structure.c ./Lean/Elab/Syntax.c ./Lean/Elab/SyntheticMVars.c ./Lean/Elab/Tactic.c ./Lean/Elab/Tactic/Basic.c ./Lean/Elab/Tactic/Binders.c ./Lean/Elab/Tactic/ElabTerm.c ./Lean/Elab/Tactic/Generalize.c ./Lean/Elab/Tactic/Induction.c ./Lean/Elab/Tactic/Injection.c ./Lean/Elab/Tactic/Location.c ./Lean/Elab/Tactic/Match.c ./Lean/Elab/Tactic/Rewrite.c ./Lean/Elab/Tactic/Simp.c ./Lean/Elab/Term.c ./Lean/Elab/Util.c ./Lean/Environment.c ./Lean/Eval.c ./Lean/Exception.c ./Lean/Expr.c ./Lean/HeadIndex.c ./Lean/Hygiene.c ./Lean/InternalExceptionId.c ./Lean/KeyedDeclsAttribute.c ./Lean/Level.c ./Lean/LocalContext.c ./Lean/Message.c ./Lean/Meta.c ./Lean/Meta/AbstractMVars.c ./Lean/Meta/AbstractNestedProofs.c ./Lean/Meta/AppBuilder.c ./Lean/Meta/Basic.c ./Lean/Meta/Check.c ./Lean/Meta/Closure.c ./Lean/Meta/CollectMVars.c ./Lean/Meta/DiscrTree.c ./Lean/Meta/DiscrTreeTypes.c ./Lean/Meta/ExprDefEq.c ./Lean/Meta/ForEachExpr.c ./Lean/Meta/FunInfo.c ./Lean/Meta/GeneralizeTelescope.c ./Lean/Meta/GetConst.c ./Lean/Meta/Inductive.c ./Lean/Meta/InferType.c ./Lean/Meta/Instances.c ./Lean/Meta/KAbstract.c ./Lean/Meta/LevelDefEq.c ./Lean/Meta/Match.c ./Lean/Meta/Match/Basic.c ./Lean/Meta/Match/CaseArraySizes.c ./Lean/Meta/Match/CaseValues.c ./Lean/Meta/Match/MVarRenaming.c ./Lean/Meta/Match/Match.c ./Lean/Meta/Match/MatchPatternAttr.c ./Lean/Meta/Match/MatcherInfo.c ./Lean/Meta/MatchUtil.c ./Lean/Meta/Offset.c ./Lean/Meta/PPGoal.c ./Lean/Meta/RecursorInfo.c ./Lean/Meta/Reduce.c ./Lean/Meta/ReduceEval.c ./Lean/Meta/SynthInstance.c ./Lean/Meta/Tactic.c ./Lean/Meta/Tactic/Apply.c ./Lean/Meta/Tactic/Assert.c ./Lean/Meta/Tactic/Assumption.c ./Lean/Meta/Tactic/Cases.c ./Lean/Meta/Tactic/Clear.c ./Lean/Meta/Tactic/Constructor.c ./Lean/Meta/Tactic/Delta.c ./Lean/Meta/Tactic/ElimInfo.c ./Lean/Meta/Tactic/FVarSubst.c ./Lean/Meta/Tactic/Generalize.c ./Lean/Meta/Tactic/Induction.c ./Lean/Meta/Tactic/Injection.c ./Lean/Meta/Tactic/Intro.c ./Lean/Meta/Tactic/Replace.c ./Lean/Meta/Tactic/Revert.c ./Lean/Meta/Tactic/Rewrite.c ./Lean/Meta/Tactic/Simp.c ./Lean/Meta/Tactic/Simp/Main.c ./Lean/Meta/Tactic/Simp/Rewrite.c ./Lean/Meta/Tactic/Simp/SimpLemmas.c ./Lean/Meta/Tactic/Simp/Types.c ./Lean/Meta/Tactic/Subst.c ./Lean/Meta/Tactic/Util.c ./Lean/Meta/Transform.c ./Lean/Meta/TransparencyMode.c ./Lean/Meta/UnificationHint.c ./Lean/Meta/WHNF.c ./Lean/MetavarContext.c ./Lean/Modifiers.c ./Lean/MonadEnv.c ./Lean/Parser.c ./Lean/Parser/Attr.c ./Lean/Parser/Basic.c ./Lean/Parser/Command.c ./Lean/Parser/Do.c ./Lean/Parser/Extension.c ./Lean/Parser/Extra.c ./Lean/Parser/Level.c ./Lean/Parser/Module.c ./Lean/Parser/StrInterpolation.c ./Lean/Parser/Syntax.c ./Lean/Parser/Tactic.c ./Lean/Parser/Term.c ./Lean/Parser/Transform.c ./Lean/ParserCompiler.c ./Lean/ParserCompiler/Attribute.c ./Lean/PrettyPrinter.c ./Lean/PrettyPrinter/Basic.c ./Lean/PrettyPrinter/Delaborator.c ./Lean/PrettyPrinter/Delaborator/Basic.c ./Lean/PrettyPrinter/Delaborator/Builtins.c ./Lean/PrettyPrinter/Formatter.c ./Lean/PrettyPrinter/Parenthesizer.c ./Lean/ProjFns.c ./Lean/ReducibilityAttrs.c ./Lean/ResolveName.c ./Lean/Runtime.c ./Lean/ScopedEnvExtension.c ./Lean/Server.c ./Lean/Server/AsyncList.c ./Lean/Server/FileSource.c ./Lean/Server/FileWorker.c ./Lean/Server/Snapshots.c ./Lean/Server/Utils.c ./Lean/Server/Watchdog.c ./Lean/Structure.c ./Lean/Syntax.c ./Lean/ToExpr.c ./Lean/Util.c ./Lean/Util/CollectFVars.c ./Lean/Util/CollectLevelParams.c ./Lean/Util/CollectMVars.c ./Lean/Util/Constructions.c ./Lean/Util/FindExpr.c ./Lean/Util/FindMVar.c ./Lean/Util/FoldConsts.c ./Lean/Util/ForEachExpr.c ./Lean/Util/MonadCache.c ./Lean/Util/PPExt.c ./Lean/Util/Path.c ./Lean/Util/Profile.c ./Lean/Util/RecDepth.c ./Lean/Util/Recognizers.c ./Lean/Util/ReplaceExpr.c ./Lean/Util/ReplaceLevel.c ./Lean/Util/SCC.c ./Lean/Util/Sorry.c ./Lean/Util/Trace.c ./Leanpkg.c ./Leanpkg/Git.c ./Leanpkg/LeanVersion.c ./Leanpkg/Manifest.c ./Leanpkg/Proc.c ./Leanpkg/Resolve.c ./Leanpkg/Toml.c ./Std.c ./Std/Data.c ./Std/Data/AssocList.c ./Std/Data/BinomialHeap.c ./Std/Data/DList.c ./Std/Data/HashMap.c ./Std/Data/HashSet.c ./Std/Data/PersistentArray.c ./Std/Data/PersistentHashMap.c ./Std/Data/PersistentHashSet.c ./Std/Data/Queue.c ./Std/Data/RBMap.c ./Std/Data/RBTree.c ./Std/Data/Stack.c ./Std/ShareCommon.c ) +add_library (stage0 OBJECT ./Init.c ./Init/Classical.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Basic.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Id.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Control/StateRef.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/InsertionSort.c ./Init/Data/Array/QSort.c ./Init/Data/Array/Subarray.c ./Init/Data/Basic.c ./Init/Data/ByteArray.c ./Init/Data/ByteArray/Basic.c ./Init/Data/Char.c ./Init/Data/Char/Basic.c ./Init/Data/Fin.c ./Init/Data/Fin/Basic.c ./Init/Data/Float.c ./Init/Data/FloatArray.c ./Init/Data/FloatArray/Basic.c ./Init/Data/Format.c ./Init/Data/Format/Basic.c ./Init/Data/Format/Instances.c ./Init/Data/Format/Macro.c ./Init/Data/Hashable.c ./Init/Data/Int.c ./Init/Data/Int/Basic.c ./Init/Data/List.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/Nat.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Div.c ./Init/Data/OfScientific.c ./Init/Data/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/Random.c ./Init/Data/Range.c ./Init/Data/Repr.c ./Init/Data/Stream.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/ToString/Basic.c ./Init/Data/ToString/Macro.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/Meta.c ./Init/Notation.c ./Init/NotationExtra.c ./Init/Prelude.c ./Init/SimpLemmas.c ./Init/SizeOf.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/System/ST.c ./Init/Util.c ./Init/WF.c ./Lean.c ./Lean/Attributes.c ./Lean/AuxRecursor.c ./Lean/Class.c ./Lean/Compiler.c ./Lean/Compiler/BorrowedAnnotation.c ./Lean/Compiler/ClosedTermCache.c ./Lean/Compiler/ConstFolding.c ./Lean/Compiler/ExportAttr.c ./Lean/Compiler/ExternAttr.c ./Lean/Compiler/IR.c ./Lean/Compiler/IR/Basic.c ./Lean/Compiler/IR/Borrow.c ./Lean/Compiler/IR/Boxing.c ./Lean/Compiler/IR/Checker.c ./Lean/Compiler/IR/CompilerM.c ./Lean/Compiler/IR/CtorLayout.c ./Lean/Compiler/IR/ElimDeadBranches.c ./Lean/Compiler/IR/ElimDeadVars.c ./Lean/Compiler/IR/EmitC.c ./Lean/Compiler/IR/EmitUtil.c ./Lean/Compiler/IR/ExpandResetReuse.c ./Lean/Compiler/IR/Format.c ./Lean/Compiler/IR/FreeVars.c ./Lean/Compiler/IR/LiveVars.c ./Lean/Compiler/IR/NormIds.c ./Lean/Compiler/IR/PushProj.c ./Lean/Compiler/IR/RC.c ./Lean/Compiler/IR/ResetReuse.c ./Lean/Compiler/IR/SimpCase.c ./Lean/Compiler/IR/UnboxResult.c ./Lean/Compiler/ImplementedByAttr.c ./Lean/Compiler/InitAttr.c ./Lean/Compiler/InlineAttrs.c ./Lean/Compiler/NameMangling.c ./Lean/Compiler/NeverExtractAttr.c ./Lean/Compiler/Specialize.c ./Lean/Compiler/Util.c ./Lean/CoreM.c ./Lean/Data.c ./Lean/Data/Format.c ./Lean/Data/Json.c ./Lean/Data/Json/Basic.c ./Lean/Data/Json/FromToJson.c ./Lean/Data/Json/Parser.c ./Lean/Data/Json/Printer.c ./Lean/Data/Json/Stream.c ./Lean/Data/JsonRpc.c ./Lean/Data/KVMap.c ./Lean/Data/LBool.c ./Lean/Data/LOption.c ./Lean/Data/Lsp.c ./Lean/Data/Lsp/Basic.c ./Lean/Data/Lsp/Capabilities.c ./Lean/Data/Lsp/Communication.c ./Lean/Data/Lsp/Diagnostics.c ./Lean/Data/Lsp/Extra.c ./Lean/Data/Lsp/InitShutdown.c ./Lean/Data/Lsp/Ipc.c ./Lean/Data/Lsp/LanguageFeatures.c ./Lean/Data/Lsp/TextSync.c ./Lean/Data/Lsp/Utf16.c ./Lean/Data/Lsp/Workspace.c ./Lean/Data/Name.c ./Lean/Data/NameTrie.c ./Lean/Data/Occurrences.c ./Lean/Data/OpenDecl.c ./Lean/Data/Options.c ./Lean/Data/Position.c ./Lean/Data/PrefixTree.c ./Lean/Data/SMap.c ./Lean/Data/Trie.c ./Lean/Declaration.c ./Lean/DeclarationRange.c ./Lean/DocString.c ./Lean/Elab.c ./Lean/Elab/App.c ./Lean/Elab/Attributes.c ./Lean/Elab/AutoBound.c ./Lean/Elab/Binders.c ./Lean/Elab/BuiltinNotation.c ./Lean/Elab/CollectFVars.c ./Lean/Elab/Command.c ./Lean/Elab/DeclModifiers.c ./Lean/Elab/DeclUtil.c ./Lean/Elab/Declaration.c ./Lean/Elab/DeclarationRange.c ./Lean/Elab/DefView.c ./Lean/Elab/Deriving.c ./Lean/Elab/Deriving/BEq.c ./Lean/Elab/Deriving/Basic.c ./Lean/Elab/Deriving/DecEq.c ./Lean/Elab/Deriving/FromToJson.c ./Lean/Elab/Deriving/Inhabited.c ./Lean/Elab/Deriving/Repr.c ./Lean/Elab/Deriving/Util.c ./Lean/Elab/Do.c ./Lean/Elab/Exception.c ./Lean/Elab/Frontend.c ./Lean/Elab/Import.c ./Lean/Elab/Inductive.c ./Lean/Elab/InfoTree.c ./Lean/Elab/LetRec.c ./Lean/Elab/Level.c ./Lean/Elab/Log.c ./Lean/Elab/Match.c ./Lean/Elab/MutualDef.c ./Lean/Elab/PreDefinition.c ./Lean/Elab/PreDefinition/Basic.c ./Lean/Elab/PreDefinition/Main.c ./Lean/Elab/PreDefinition/MkInhabitant.c ./Lean/Elab/PreDefinition/Structural.c ./Lean/Elab/PreDefinition/WF.c ./Lean/Elab/Print.c ./Lean/Elab/Quotation.c ./Lean/Elab/Quotation/Util.c ./Lean/Elab/StructInst.c ./Lean/Elab/Structure.c ./Lean/Elab/Syntax.c ./Lean/Elab/SyntheticMVars.c ./Lean/Elab/Tactic.c ./Lean/Elab/Tactic/Basic.c ./Lean/Elab/Tactic/Binders.c ./Lean/Elab/Tactic/ElabTerm.c ./Lean/Elab/Tactic/Generalize.c ./Lean/Elab/Tactic/Induction.c ./Lean/Elab/Tactic/Injection.c ./Lean/Elab/Tactic/Location.c ./Lean/Elab/Tactic/Match.c ./Lean/Elab/Tactic/Rewrite.c ./Lean/Elab/Tactic/Simp.c ./Lean/Elab/Term.c ./Lean/Elab/Util.c ./Lean/Environment.c ./Lean/Eval.c ./Lean/Exception.c ./Lean/Expr.c ./Lean/HeadIndex.c ./Lean/Hygiene.c ./Lean/InternalExceptionId.c ./Lean/KeyedDeclsAttribute.c ./Lean/Level.c ./Lean/LocalContext.c ./Lean/Message.c ./Lean/Meta.c ./Lean/Meta/AbstractMVars.c ./Lean/Meta/AbstractNestedProofs.c ./Lean/Meta/AppBuilder.c ./Lean/Meta/Basic.c ./Lean/Meta/Check.c ./Lean/Meta/Closure.c ./Lean/Meta/CollectMVars.c ./Lean/Meta/DiscrTree.c ./Lean/Meta/DiscrTreeTypes.c ./Lean/Meta/ExprDefEq.c ./Lean/Meta/ForEachExpr.c ./Lean/Meta/FunInfo.c ./Lean/Meta/GeneralizeTelescope.c ./Lean/Meta/GetConst.c ./Lean/Meta/Inductive.c ./Lean/Meta/InferType.c ./Lean/Meta/Instances.c ./Lean/Meta/KAbstract.c ./Lean/Meta/LevelDefEq.c ./Lean/Meta/Match.c ./Lean/Meta/Match/Basic.c ./Lean/Meta/Match/CaseArraySizes.c ./Lean/Meta/Match/CaseValues.c ./Lean/Meta/Match/MVarRenaming.c ./Lean/Meta/Match/Match.c ./Lean/Meta/Match/MatchPatternAttr.c ./Lean/Meta/Match/MatcherInfo.c ./Lean/Meta/MatchUtil.c ./Lean/Meta/Offset.c ./Lean/Meta/PPGoal.c ./Lean/Meta/RecursorInfo.c ./Lean/Meta/Reduce.c ./Lean/Meta/ReduceEval.c ./Lean/Meta/SynthInstance.c ./Lean/Meta/Tactic.c ./Lean/Meta/Tactic/Apply.c ./Lean/Meta/Tactic/Assert.c ./Lean/Meta/Tactic/Assumption.c ./Lean/Meta/Tactic/Cases.c ./Lean/Meta/Tactic/Clear.c ./Lean/Meta/Tactic/Constructor.c ./Lean/Meta/Tactic/Delta.c ./Lean/Meta/Tactic/ElimInfo.c ./Lean/Meta/Tactic/FVarSubst.c ./Lean/Meta/Tactic/Generalize.c ./Lean/Meta/Tactic/Induction.c ./Lean/Meta/Tactic/Injection.c ./Lean/Meta/Tactic/Intro.c ./Lean/Meta/Tactic/Replace.c ./Lean/Meta/Tactic/Revert.c ./Lean/Meta/Tactic/Rewrite.c ./Lean/Meta/Tactic/Simp.c ./Lean/Meta/Tactic/Simp/Main.c ./Lean/Meta/Tactic/Simp/Rewrite.c ./Lean/Meta/Tactic/Simp/SimpLemmas.c ./Lean/Meta/Tactic/Simp/Types.c ./Lean/Meta/Tactic/Subst.c ./Lean/Meta/Tactic/Util.c ./Lean/Meta/Transform.c ./Lean/Meta/TransparencyMode.c ./Lean/Meta/UnificationHint.c ./Lean/Meta/WHNF.c ./Lean/MetavarContext.c ./Lean/Modifiers.c ./Lean/MonadEnv.c ./Lean/Parser.c ./Lean/Parser/Attr.c ./Lean/Parser/Basic.c ./Lean/Parser/Command.c ./Lean/Parser/Do.c ./Lean/Parser/Extension.c ./Lean/Parser/Extra.c ./Lean/Parser/Level.c ./Lean/Parser/Module.c ./Lean/Parser/StrInterpolation.c ./Lean/Parser/Syntax.c ./Lean/Parser/Tactic.c ./Lean/Parser/Term.c ./Lean/ParserCompiler.c ./Lean/ParserCompiler/Attribute.c ./Lean/PrettyPrinter.c ./Lean/PrettyPrinter/Basic.c ./Lean/PrettyPrinter/Delaborator.c ./Lean/PrettyPrinter/Delaborator/Basic.c ./Lean/PrettyPrinter/Delaborator/Builtins.c ./Lean/PrettyPrinter/Formatter.c ./Lean/PrettyPrinter/Parenthesizer.c ./Lean/ProjFns.c ./Lean/ReducibilityAttrs.c ./Lean/ResolveName.c ./Lean/Runtime.c ./Lean/ScopedEnvExtension.c ./Lean/Server.c ./Lean/Server/AsyncList.c ./Lean/Server/FileSource.c ./Lean/Server/FileWorker.c ./Lean/Server/Snapshots.c ./Lean/Server/Utils.c ./Lean/Server/Watchdog.c ./Lean/Structure.c ./Lean/Syntax.c ./Lean/ToExpr.c ./Lean/Util.c ./Lean/Util/CollectFVars.c ./Lean/Util/CollectLevelParams.c ./Lean/Util/CollectMVars.c ./Lean/Util/Constructions.c ./Lean/Util/FindExpr.c ./Lean/Util/FindMVar.c ./Lean/Util/FoldConsts.c ./Lean/Util/ForEachExpr.c ./Lean/Util/MonadCache.c ./Lean/Util/PPExt.c ./Lean/Util/Path.c ./Lean/Util/Profile.c ./Lean/Util/RecDepth.c ./Lean/Util/Recognizers.c ./Lean/Util/ReplaceExpr.c ./Lean/Util/ReplaceLevel.c ./Lean/Util/SCC.c ./Lean/Util/Sorry.c ./Lean/Util/Trace.c ./Leanpkg.c ./Leanpkg/Git.c ./Leanpkg/LeanVersion.c ./Leanpkg/Manifest.c ./Leanpkg/Proc.c ./Leanpkg/Resolve.c ./Leanpkg/Toml.c ./Std.c ./Std/Data.c ./Std/Data/AssocList.c ./Std/Data/BinomialHeap.c ./Std/Data/DList.c ./Std/Data/HashMap.c ./Std/Data/HashSet.c ./Std/Data/PersistentArray.c ./Std/Data/PersistentHashMap.c ./Std/Data/PersistentHashSet.c ./Std/Data/Queue.c ./Std/Data/RBMap.c ./Std/Data/RBTree.c ./Std/Data/Stack.c ./Std/ShareCommon.c ) diff --git a/stage0/stdlib/Init/Data/UInt.c b/stage0/stdlib/Init/Data/UInt.c index a8995ecf79..bac4e2900a 100644 --- a/stage0/stdlib/Init/Data/UInt.c +++ b/stage0/stdlib/Init/Data/UInt.c @@ -126,6 +126,8 @@ uint64_t l_instOfNatUInt64(lean_object*); lean_object* l_instSubUInt8___closed__1; lean_object* l_UInt8_add___boxed(lean_object*, lean_object*); lean_object* l_instHModUInt16NatUInt16___closed__1; +uint8_t l_UInt8_shiftRight(uint8_t, uint8_t); +uint16_t l_UInt16_shiftLeft(uint16_t, uint16_t); uint32_t l_Nat_toUInt32(lean_object*); lean_object* l_instAddUInt64___closed__1; lean_object* l_instMulUInt8___closed__1; @@ -145,16 +147,19 @@ size_t lean_usize_modn(size_t, lean_object*); lean_object* l_instMulUInt16; uint16_t l_UInt16_lor(uint16_t, uint16_t); uint8_t lean_uint8_of_nat(lean_object*); +lean_object* l_UInt8_shiftRight___boxed(lean_object*, lean_object*); lean_object* l_UInt64_ofNat___boxed(lean_object*); lean_object* l_instModUSize___closed__1; lean_object* l_instSubUInt64; lean_object* l_USize_shiftLeft___boxed(lean_object*, lean_object*); lean_object* l_instMulUInt64___closed__1; +uint8_t l_UInt8_shiftLeft(uint8_t, uint8_t); size_t l_USize_mul(size_t, size_t); uint64_t l_UInt64_land(uint64_t, uint64_t); uint16_t l_UInt16_div(uint16_t, uint16_t); lean_object* l_instMulUInt8; uint8_t l_UInt8_land(uint8_t, uint8_t); +uint16_t l_UInt16_shiftRight(uint16_t, uint16_t); size_t lean_usize_of_nat(lean_object*); lean_object* l_instDivUInt32; lean_object* l_UInt64_shiftLeft___boxed(lean_object*, lean_object*); @@ -168,6 +173,7 @@ lean_object* l_UInt16_add___boxed(lean_object*, lean_object*); uint32_t lean_uint32_of_nat(lean_object*); uint64_t l_UInt64_mul(uint64_t, uint64_t); size_t l_USize_land(size_t, size_t); +lean_object* l_UInt16_shiftLeft___boxed(lean_object*, lean_object*); lean_object* l_USize_mod___boxed(lean_object*, lean_object*); uint8_t l_instDecidableLessEq__3(uint64_t, uint64_t); lean_object* l_instDivUInt16; @@ -229,9 +235,11 @@ lean_object* l_USize_toUInt32___boxed(lean_object*); uint32_t l_UInt32_lor(uint32_t, uint32_t); lean_object* l_UInt16_lor___boxed(lean_object*, lean_object*); lean_object* l_UInt32_modn___boxed(lean_object*, lean_object*); +lean_object* l_UInt8_shiftLeft___boxed(lean_object*, lean_object*); lean_object* l_UInt8_decLt___boxed(lean_object*, lean_object*); lean_object* l_USize_lor___boxed(lean_object*, lean_object*); lean_object* l_UInt8_mul___boxed(lean_object*, lean_object*); +lean_object* l_UInt16_shiftRight___boxed(lean_object*, lean_object*); uint8_t l_instDecidableLessEq__4(size_t, size_t); lean_object* l_UInt64_add___boxed(lean_object*, lean_object*); lean_object* l_UInt64_lor___boxed(lean_object*, lean_object*); @@ -538,6 +546,32 @@ x_1 = lean_box(0); return x_1; } } +lean_object* l_UInt8_shiftLeft___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = x_3 << x_4; +x_6 = lean_box(x_5); +return x_6; +} +} +lean_object* l_UInt8_shiftRight___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = x_3 >> x_4; +x_6 = lean_box(x_5); +return x_6; +} +} lean_object* l_UInt8_decLt___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -877,6 +911,32 @@ x_1 = lean_box(0); return x_1; } } +lean_object* l_UInt16_shiftLeft___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint16_t x_3; uint16_t x_4; uint16_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = x_3 << x_4; +x_6 = lean_box(x_5); +return x_6; +} +} +lean_object* l_UInt16_shiftRight___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint16_t x_3; uint16_t x_4; uint16_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = x_3 >> x_4; +x_6 = lean_box(x_5); +return x_6; +} +} lean_object* l_UInt16_decLt___boxed(lean_object* x_1, lean_object* x_2) { _start: { diff --git a/stage0/stdlib/Init/Meta.c b/stage0/stdlib/Init/Meta.c index 91c95f231a..fe550af8d1 100644 --- a/stage0/stdlib/Init/Meta.c +++ b/stage0/stdlib/Init/Meta.c @@ -32,8 +32,10 @@ extern lean_object* l_Lean_fieldIdxKind; lean_object* l_Lean_Syntax_isNatLit_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_setTailInfoAux(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__5; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27; lean_object* l_Lean_Syntax_isNameLit_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__9; lean_object* l_Lean_Syntax_strLitToAtom___closed__3; lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeDecimalLitAux___boxed(lean_object*, lean_object*, lean_object*); @@ -41,12 +43,10 @@ lean_object* l_Lean_instQuoteBool(uint8_t); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterExp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); extern lean_object* l_instReprOption___rarg___closed__1; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__23; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__13; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__4; lean_object* l_Lean_evalOptPrio_match__1___rarg(lean_object*, lean_object*, 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_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__21; 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; lean_object* l_Lean_Syntax_getSepArgs___boxed(lean_object*); @@ -59,12 +59,14 @@ lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStrChunks_match__2___rarg(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__1; lean_object* l_Lean_Syntax_getTailPos_match__1(lean_object*); uint32_t l_Lean_idBeginEscape; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar_match__1(lean_object*); extern lean_object* l_Lean_Parser_Syntax_addPrio___closed__4; lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14788____closed__5; +lean_object* l_Lean_withHeadRefOnly_match__1(lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Syntax_getTailInfo___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStrChunks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar(lean_object*, lean_object*); @@ -78,27 +80,30 @@ lean_object* l_Lean_Syntax_isAtom___boxed(lean_object*); lean_object* l_Lean_version_specialDesc___closed__1; lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst(lean_object*); lean_object* l_Lean_monadNameGeneratorLift(lean_object*, lean_object*); +lean_object* l_Lean_withRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapSepElemsM___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____boxed(lean_object*, lean_object*); lean_object* l_Lean_instQuoteBool_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Syntax_hasArgs_match__1(lean_object*); lean_object* l_Lean_mkSepArray_match__2___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; +lean_object* l_Lean_Syntax_copyRangePos_match__1(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__7; uint8_t l_Lean_Meta_Simp_Config_ctorEq___default; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__2; 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*); uint8_t l_Lean_Meta_Simp_Config_memoize___default; lean_object* l_Lean_Syntax_identToAtom_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____boxed(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getHead_x3f(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__8; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__17; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar(lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___lambda__2___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar_match__3(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__1; lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__5; @@ -107,9 +112,11 @@ lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeOctalLitAux(lean_object* lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); 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); 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*); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeExp(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_isGreek___boxed(lean_object*); @@ -119,21 +126,18 @@ uint32_t l_Lean_idEndEscape; 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___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__17; lean_object* l_Lean_instQuoteProd(lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); uint8_t l_Lean_isIdBeginEscape(uint32_t); lean_object* l_Lean_Syntax_isLit_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__8; lean_object* l_Lean_Syntax_mkScientificLit(lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__27; lean_object* l_Lean_Syntax_copyHeadInfo___boxed(lean_object*, lean_object*); lean_object* l_Lean_isIdFirst___boxed(lean_object*); lean_object* l_Lean_mkHole___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___at_Array_filterSepElems___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__11; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setTailInfoAux_match__2(lean_object*); lean_object* l_Lean_Syntax_setInfo_match__1(lean_object*); @@ -147,7 +151,6 @@ lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); lean_object* l_Lean_instQuoteArray(lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteProd_match__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__9; extern lean_object* l_Applicative_seqRight___default___rarg___closed__1; lean_object* l_Lean_Syntax_identToStrLit(lean_object*); lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1(lean_object*, lean_object*); @@ -169,7 +172,9 @@ lean_object* l_Lean_version_patch; extern lean_object* l_Lean_nameLitKind; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit_loop_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux___boxed(lean_object*, lean_object*); +lean_object* l_Lean_withHeadRefOnly___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteBool___boxed(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__19; lean_object* l_Lean_version_specialDesc; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkSep___boxed(lean_object*, lean_object*); @@ -183,22 +188,20 @@ lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar_match__3___rarg(lean_object*, lean_object*); extern lean_object* l_instReprBool___closed__4; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_5739____boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_capitalize_match__1(lean_object*); lean_object* l_Lean_version_major___closed__1; 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* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__3; lean_object* lean_string_utf8_next(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isAtom_match__1(lean_object*); lean_object* l_Lean_instQuoteSubstring___closed__2; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25; lean_object* l_Lean_Syntax_strLitToAtom(lean_object*); lean_object* l_Lean_Syntax_isLit_x3f___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__8; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__15; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6017__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_hasArgs___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit_loop___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__18; lean_object* l_Lean_Syntax_SepArray_getElems___rarg(lean_object*); uint8_t l_Lean_Meta_Simp_Config_singlePass___default; lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); @@ -211,7 +214,6 @@ lean_object* l_Lean_evalPrio___closed__1; uint8_t l_Lean_version_isRelease___closed__1; lean_object* l_Lean_instQuoteBool___closed__5; lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeExp___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__5; lean_object* l_Lean_Syntax_isLit_x3f(lean_object*, lean_object*); lean_object* l_Lean_instQuoteList(lean_object*); lean_object* l_Lean_Syntax_isIdOrAtom_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -229,7 +231,6 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); 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_5890____closed__14; lean_object* l_Lean_Syntax_mkStrLit___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkApp_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -247,6 +248,7 @@ lean_object* l_Lean_Syntax_setHeadInfoAux_match__1(lean_object*); lean_object* l_Lean_mkFreshId___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_identToStrLit_match__1(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__22; lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux(lean_object*); lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*); lean_object* l_Lean_Syntax_copyHeadInfo_match__1(lean_object*); @@ -259,11 +261,12 @@ lean_object* l_Lean_Syntax_isCharLit_x3f_match__1(lean_object*); lean_object* l_Array_getSepElems(lean_object*); lean_object* l_Lean_monadNameGeneratorLift___rarg(lean_object*, lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Syntax_getTailPos___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6017__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_getElems(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2400____closed__4; lean_object* l_Lean_Syntax_getId___boxed(lean_object*); -uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_5739_(lean_object*, lean_object*); +uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6017_(lean_object*, lean_object*); lean_object* l_Lean_Syntax_hasArgs_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_termEvalPrio_x21_____closed__5; lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg(lean_object*, lean_object*); @@ -286,19 +289,19 @@ lean_object* l_Lean_Syntax_isScientificLit_x3f(lean_object*); lean_object* l_Lean_Name_toString(lean_object*); lean_object* l_Lean_expandMacros_match__1(lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_5739__match__1(lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__9; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteBool___closed__6; extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__14; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__22; lean_object* l_Lean_mkFreshId___rarg(lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6017____boxed(lean_object*, lean_object*); lean_object* l_String_capitalize(lean_object*); lean_object* l_Lean_evalOptPrec_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_NameGenerator_next(lean_object*); lean_object* l_Lean_Syntax_setHeadInfo_match__1(lean_object*); lean_object* l_Lean_Syntax_decodeCharLit___boxed(lean_object*); lean_object* l_Lean_Syntax_decodeNatLitVal_x3f(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__21; lean_object* l_Lean_Syntax_SepArray_getElems___boxed(lean_object*); extern lean_object* l_instReprBool___closed__3; lean_object* l_Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_decodeNameLitAux___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -309,29 +312,32 @@ lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__2; lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_instReprConfig___closed__1; lean_object* l_Array_getSepElems___rarg(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__23; extern lean_object* l_Lean_reservedMacroScope; lean_object* l_Lean_Syntax_copyInfo___boxed(lean_object*, lean_object*); lean_object* l_Lean_NameGenerator_namePrefix___default___closed__1; lean_object* l_Lean_mkNullNode(lean_object*); lean_object* l_Lean_Name_instToStringName; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__2; extern lean_object* l_Lean_Parser_Syntax_addPrio___closed__2; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__25; lean_object* l_Lean_instQuoteBool___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__13; +lean_object* l_Lean_Syntax_copyRangePos_match__3___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__3; lean_object* l_Nat_repr(lean_object*); lean_object* l_Array_mapSepElemsM___at_Array_mapSepElems___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Syntax_getTailInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteSubstring___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__6; lean_object* l_Lean_instQuoteSubstring(lean_object*); extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; 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_5890____closed__6; 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_Lean_Syntax_strLitToAtom_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar___boxed(lean_object*, lean_object*); +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_NameGenerator_idx___default; lean_object* lean_array_to_list(lean_object*, lean_object*); @@ -341,17 +347,18 @@ lean_object* l_Lean_evalOptPrec_match__1(lean_object*); lean_object* l_Lean_termEvalPrio_x21_____closed__7; lean_object* l_Lean_mkCIdent(lean_object*); lean_object* l_Lean_mkOptionalNode_match__1(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__13; lean_object* l_Lean_Syntax_replaceInfo(lean_object*, 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_Lean_Syntax_copyRangePos_match__3(lean_object*); lean_object* l_Lean_Syntax_isNameLit_x3f_match__1(lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar_match__2(lean_object*); 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*); lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_5739__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailInfo_match__1(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); @@ -378,6 +385,7 @@ lean_object* l_Lean_Syntax_isNone_match__1(lean_object*); lean_object* l_Array_filterSepElemsM(lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_version_getSpecialDesc(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__16; lean_object* l_Lean_version_minor___closed__1; lean_object* l_Lean_Syntax_copyTailInfo___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); @@ -388,10 +396,12 @@ lean_object* l_Lean_isNumericSubscript___boxed(lean_object*); lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptionalIdent_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_termEvalPrec_x21_____closed__5; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6017__match__1(lean_object*); lean_object* l_Lean_NameGenerator_mkChild(lean_object*); 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_Lean_mkSepArray_match__2(lean_object*); +lean_object* l_Lean_Syntax_copyRangePos_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isCharLit_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_getId_match__1___rarg(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); @@ -407,17 +417,18 @@ lean_object* l_Lean_NameGenerator_namePrefix___default___closed__2; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isIdEndEscape(uint32_t); lean_object* l___private_Init_Meta_0__Lean_version_getMajor(lean_object*); +lean_object* l_Lean_Syntax_copyRangePos_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_unsetTrailing_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg(lean_object*, lean_object*, lean_object*, lean_object*); 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___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__10; lean_object* l_Lean_Syntax_decodeNatLitVal_x3f___closed__1; lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__1; uint8_t l_Char_isAlpha(uint32_t); lean_object* l_Lean_Option_hasQuote(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__20; uint8_t l_Lean_Syntax_isAtom(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1(lean_object*); lean_object* l_Lean_Syntax_isToken_match__1(lean_object*); @@ -427,12 +438,12 @@ lean_object* l_Lean_Syntax_SepArray_instCoeSepArrayArraySyntax(lean_object*); 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_Syntax_toNat_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); 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*); lean_object* l_Lean_Syntax_unsetTrailing(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__10; 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*); @@ -459,34 +470,44 @@ lean_object* l_Lean_termEvalPrio_x21_____closed__1; lean_object* l___private_Init_Meta_0__Lean_version_getMinor(lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); lean_object* l_Lean_termEvalPrio_x21_____closed__2; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__5; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__18; 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___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__15; lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_scientificLitKind; lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteString___boxed(lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStrChunks___closed__1; lean_object* l_Lean_instQuoteBool___closed__2; +lean_object* l_Lean_Syntax_copyRangePos(lean_object*, lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStrChunks_match__3___rarg(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_getHead_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_Simp_Config_eta___default; extern lean_object* l_Lean_Parser_Syntax_subPrio___closed__2; lean_object* l_Lean_Syntax_expandInterpolatedStrChunks___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_hasArgs(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__3; lean_object* l___private_Init_Meta_0__Lean_quoteList(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux_match__1(lean_object*); +lean_object* l_Lean_withHeadRefOnly(lean_object*); lean_object* l_String_quote(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__14; uint8_t l_Char_isAlphanum(uint32_t); lean_object* l_Lean_Meta_Simp_instReprConfig; lean_object* l_Lean_instInhabitedNameGenerator; lean_object* l_Lean_Syntax_isScientificLit_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__16; +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*); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f(lean_object*); uint8_t l_Lean_isGreek(uint32_t); lean_object* l___private_Init_Meta_0__Lean_quoteList_match__1(lean_object*, lean_object*); lean_object* l_Lean_termEvalPrio_x21__; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__24; +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__7; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar___boxed__const__1; lean_object* l_Lean_termEvalPrec_x21__; lean_object* l_Array_filterSepElems(lean_object*, lean_object*); @@ -495,12 +516,11 @@ lean_object* l_Lean_Syntax_identToAtom(lean_object*); lean_object* lean_panic_fn(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_5890_(lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168_(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailInfo_match__1___rarg(lean_object*, lean_object*, lean_object*, 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_mkOptionalNode_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__7; lean_object* l_Lean_mkSepArray_match__1(lean_object*); lean_object* l_Lean_Syntax_setHeadInfo_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandMacros___boxed__const__1; @@ -519,11 +539,12 @@ lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___rarg___lambda__1(l extern lean_object* l_myMacro____x40_Init_Notation___hyg_12458____closed__8; lean_object* l_Lean_termEvalPrio_x21_____closed__6; lean_object* l_Lean_isIdBeginEscape___boxed(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__24; +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*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__14; lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1; lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getPos(lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___boxed(lean_object*, 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*); @@ -540,10 +561,11 @@ lean_object* l_Lean_instQuoteNat(lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterDot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__19; lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26; lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast(lean_object*); lean_object* l_Lean_Syntax_isStrLit_x3f_match__1(lean_object*); +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__12; lean_object* l_Lean_Syntax_decodeNameLit(lean_object*); lean_object* l_Lean_Name_toStringWithSep_match__1(lean_object*); lean_object* l_Lean_mkOptionalNode___closed__1; @@ -571,7 +593,6 @@ lean_object* l_Lean_instQuoteBool_match__1___rarg___boxed(lean_object*, lean_obj lean_object* l_Lean_Syntax_isToken___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkCIdentFrom___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_5739__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkCIdentFrom___closed__1; lean_object* l_Lean_Syntax_getTailPos(lean_object*); lean_object* l_Lean_Syntax_getTailInfo___boxed(lean_object*); @@ -586,7 +607,6 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_findAux___spec__1(lean_ob lean_object* l_Lean_Syntax_replaceInfo_match__1(lean_object*); lean_object* l_Lean_Syntax_strLitToAtom___closed__2; lean_object* l_Lean_Name_instReprName___closed__2; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__11; uint8_t l_Lean_isSubScriptAlnum(uint32_t); lean_object* l_Lean_Syntax_toNat_match__1(lean_object*); uint8_t l_Lean_Meta_Simp_Config_beta___default; @@ -626,24 +646,24 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_2137____closed__4; lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_monadNameGeneratorLift___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4158_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4385_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4619_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4261_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4516_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4743_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5021_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4436_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4539_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4663_(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_4794_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__1; lean_object* l_Lean_Syntax_decodeQuotedChar_match__5(lean_object*); lean_object* l_Lean_Syntax_expandInterpolatedStr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_5890____closed__26; 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_Syntax_decodeQuotedChar_match__4(lean_object*); 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_Lean_Syntax_copyTailInfo_match__1(lean_object*); +lean_object* l_Lean_Syntax_copyRangePos_match__2(lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar_match__5___rarg(lean_object*, lean_object*); 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*); @@ -662,7 +682,6 @@ lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__1; lean_object* l_Lean_instQuoteBool_match__1(lean_object*); lean_object* lean_uint32_to_nat(uint32_t); lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___closed__1; -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__12; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit_loop_match__1(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit_loop(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_strLitToAtom___closed__4; @@ -4069,6 +4088,1101 @@ lean_dec(x_2); return x_3; } } +lean_object* l_Lean_Syntax_copyRangePos_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_5; +lean_dec(x_3); +x_5 = lean_apply_2(x_4, x_1, x_2); +return x_5; +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_apply_2(x_4, x_1, x_2); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +lean_dec(x_2); +x_9 = lean_apply_2(x_3, x_7, x_8); +return x_9; +} +} +} +} +lean_object* l_Lean_Syntax_copyRangePos_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_copyRangePos_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_copyRangePos_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +lean_dec(x_5); +lean_dec(x_2); +x_7 = lean_apply_1(x_3, x_1); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_3); +lean_dec(x_1); +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_5, 2); +lean_inc(x_9); +lean_dec(x_5); +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = lean_apply_3(x_2, x_10, x_8, x_9); +return x_11; +} +} +} +} +lean_object* l_Lean_Syntax_copyRangePos_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_copyRangePos_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_copyRangePos_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_3, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Syntax_copyRangePos_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_copyRangePos_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_copyRangePos(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Syntax_getPos(x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_2); +return x_1; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set(x_6, 2, x_5); +x_7 = l_Lean_Syntax_setHeadInfo(x_1, x_6); +x_8 = l_Lean_Syntax_getTailInfo(x_2); +if (lean_obj_tag(x_8) == 0) +{ +lean_dec(x_2); +return x_7; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 1); +x_12 = lean_ctor_get(x_9, 2); +lean_dec(x_12); +x_13 = lean_ctor_get(x_9, 0); +lean_dec(x_13); +if (lean_obj_tag(x_11) == 0) +{ +lean_free_object(x_9); +lean_dec(x_2); +return x_7; +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_11); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_11, 0); +lean_inc(x_15); +lean_ctor_set(x_9, 2, x_5); +lean_ctor_set(x_9, 0, x_5); +x_16 = l_Lean_Syntax_setTailInfo(x_7, x_9); +x_17 = l_Lean_Syntax_getTailPos(x_2); +if (lean_obj_tag(x_17) == 0) +{ +lean_dec(x_15); +return x_16; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec(x_17); +lean_inc(x_16); +x_19 = l_Lean_Syntax_getTailPos(x_16); +if (lean_obj_tag(x_19) == 0) +{ +lean_dec(x_18); +lean_dec(x_15); +return x_16; +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_nat_dec_lt(x_18, x_21); +if (x_22 == 0) +{ +uint8_t x_23; +x_23 = lean_nat_dec_lt(x_21, x_18); +if (x_23 == 0) +{ +lean_free_object(x_19); +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_15); +return x_16; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_nat_sub(x_18, x_21); +lean_dec(x_21); +lean_dec(x_18); +x_25 = lean_nat_add(x_15, x_24); +lean_dec(x_24); +lean_dec(x_15); +lean_ctor_set(x_19, 0, x_25); +x_26 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_26, 0, x_5); +lean_ctor_set(x_26, 1, x_19); +lean_ctor_set(x_26, 2, x_5); +x_27 = l_Lean_Syntax_setTailInfo(x_16, x_26); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = lean_nat_sub(x_21, x_18); +lean_dec(x_18); +lean_dec(x_21); +x_29 = lean_nat_sub(x_15, x_28); +lean_dec(x_28); +lean_dec(x_15); +lean_ctor_set(x_19, 0, x_29); +x_30 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_30, 0, x_5); +lean_ctor_set(x_30, 1, x_19); +lean_ctor_set(x_30, 2, x_5); +x_31 = l_Lean_Syntax_setTailInfo(x_16, x_30); +return x_31; +} +} +else +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_19, 0); +lean_inc(x_32); +lean_dec(x_19); +x_33 = lean_nat_dec_lt(x_18, x_32); +if (x_33 == 0) +{ +uint8_t x_34; +x_34 = lean_nat_dec_lt(x_32, x_18); +if (x_34 == 0) +{ +lean_dec(x_32); +lean_dec(x_18); +lean_dec(x_15); +return x_16; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_nat_sub(x_18, x_32); +lean_dec(x_32); +lean_dec(x_18); +x_36 = lean_nat_add(x_15, x_35); +lean_dec(x_35); +lean_dec(x_15); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_36); +x_38 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_38, 0, x_5); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_5); +x_39 = l_Lean_Syntax_setTailInfo(x_16, x_38); +return x_39; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_40 = lean_nat_sub(x_32, x_18); +lean_dec(x_18); +lean_dec(x_32); +x_41 = lean_nat_sub(x_15, x_40); +lean_dec(x_40); +lean_dec(x_15); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_43, 0, x_5); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_5); +x_44 = l_Lean_Syntax_setTailInfo(x_16, x_43); +return x_44; +} +} +} +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_11, 0); +lean_inc(x_45); +lean_dec(x_11); +lean_inc(x_45); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_9, 2, x_5); +lean_ctor_set(x_9, 1, x_46); +lean_ctor_set(x_9, 0, x_5); +x_47 = l_Lean_Syntax_setTailInfo(x_7, x_9); +x_48 = l_Lean_Syntax_getTailPos(x_2); +if (lean_obj_tag(x_48) == 0) +{ +lean_dec(x_45); +return x_47; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +lean_dec(x_48); +lean_inc(x_47); +x_50 = l_Lean_Syntax_getTailPos(x_47); +if (lean_obj_tag(x_50) == 0) +{ +lean_dec(x_49); +lean_dec(x_45); +return x_47; +} +else +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + x_52 = x_50; +} else { + lean_dec_ref(x_50); + x_52 = lean_box(0); +} +x_53 = lean_nat_dec_lt(x_49, x_51); +if (x_53 == 0) +{ +uint8_t x_54; +x_54 = lean_nat_dec_lt(x_51, x_49); +if (x_54 == 0) +{ +lean_dec(x_52); +lean_dec(x_51); +lean_dec(x_49); +lean_dec(x_45); +return x_47; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_nat_sub(x_49, x_51); +lean_dec(x_51); +lean_dec(x_49); +x_56 = lean_nat_add(x_45, x_55); +lean_dec(x_55); +lean_dec(x_45); +if (lean_is_scalar(x_52)) { + x_57 = lean_alloc_ctor(1, 1, 0); +} else { + x_57 = x_52; +} +lean_ctor_set(x_57, 0, x_56); +x_58 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_58, 0, x_5); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_5); +x_59 = l_Lean_Syntax_setTailInfo(x_47, 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; +x_60 = lean_nat_sub(x_51, x_49); +lean_dec(x_49); +lean_dec(x_51); +x_61 = lean_nat_sub(x_45, x_60); +lean_dec(x_60); +lean_dec(x_45); +if (lean_is_scalar(x_52)) { + x_62 = lean_alloc_ctor(1, 1, 0); +} else { + x_62 = x_52; +} +lean_ctor_set(x_62, 0, x_61); +x_63 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_63, 0, x_5); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_63, 2, x_5); +x_64 = l_Lean_Syntax_setTailInfo(x_47, x_63); +return x_64; +} +} +} +} +} +} +else +{ +lean_object* x_65; +x_65 = lean_ctor_get(x_9, 1); +lean_inc(x_65); +lean_dec(x_9); +if (lean_obj_tag(x_65) == 0) +{ +lean_dec(x_2); +return x_7; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + x_67 = x_65; +} else { + lean_dec_ref(x_65); + x_67 = lean_box(0); +} +lean_inc(x_66); +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(1, 1, 0); +} else { + x_68 = x_67; +} +lean_ctor_set(x_68, 0, x_66); +x_69 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_69, 0, x_5); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_69, 2, x_5); +x_70 = l_Lean_Syntax_setTailInfo(x_7, x_69); +x_71 = l_Lean_Syntax_getTailPos(x_2); +if (lean_obj_tag(x_71) == 0) +{ +lean_dec(x_66); +return x_70; +} +else +{ +lean_object* x_72; lean_object* x_73; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +lean_dec(x_71); +lean_inc(x_70); +x_73 = l_Lean_Syntax_getTailPos(x_70); +if (lean_obj_tag(x_73) == 0) +{ +lean_dec(x_72); +lean_dec(x_66); +return x_70; +} +else +{ +lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + x_75 = x_73; +} else { + lean_dec_ref(x_73); + x_75 = lean_box(0); +} +x_76 = lean_nat_dec_lt(x_72, x_74); +if (x_76 == 0) +{ +uint8_t x_77; +x_77 = lean_nat_dec_lt(x_74, x_72); +if (x_77 == 0) +{ +lean_dec(x_75); +lean_dec(x_74); +lean_dec(x_72); +lean_dec(x_66); +return x_70; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_78 = lean_nat_sub(x_72, x_74); +lean_dec(x_74); +lean_dec(x_72); +x_79 = lean_nat_add(x_66, x_78); +lean_dec(x_78); +lean_dec(x_66); +if (lean_is_scalar(x_75)) { + x_80 = lean_alloc_ctor(1, 1, 0); +} else { + x_80 = x_75; +} +lean_ctor_set(x_80, 0, x_79); +x_81 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_81, 0, x_5); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_5); +x_82 = l_Lean_Syntax_setTailInfo(x_70, x_81); +return x_82; +} +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_83 = lean_nat_sub(x_74, x_72); +lean_dec(x_72); +lean_dec(x_74); +x_84 = lean_nat_sub(x_66, x_83); +lean_dec(x_83); +lean_dec(x_66); +if (lean_is_scalar(x_75)) { + x_85 = lean_alloc_ctor(1, 1, 0); +} else { + x_85 = x_75; +} +lean_ctor_set(x_85, 0, x_84); +x_86 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_86, 0, x_5); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_86, 2, x_5); +x_87 = l_Lean_Syntax_setTailInfo(x_70, x_86); +return x_87; +} +} +} +} +} +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_88 = lean_ctor_get(x_3, 0); +lean_inc(x_88); +lean_dec(x_3); +x_89 = lean_box(0); +x_90 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_90, 0, x_88); +x_91 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +lean_ctor_set(x_91, 2, x_89); +x_92 = l_Lean_Syntax_setHeadInfo(x_1, x_91); +x_93 = l_Lean_Syntax_getTailInfo(x_2); +if (lean_obj_tag(x_93) == 0) +{ +lean_dec(x_2); +return x_92; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +lean_dec(x_93); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + lean_ctor_release(x_94, 2); + x_96 = x_94; +} else { + lean_dec_ref(x_94); + x_96 = lean_box(0); +} +if (lean_obj_tag(x_95) == 0) +{ +lean_dec(x_96); +lean_dec(x_2); +return x_92; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_97 = lean_ctor_get(x_95, 0); +lean_inc(x_97); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + x_98 = x_95; +} else { + lean_dec_ref(x_95); + x_98 = lean_box(0); +} +lean_inc(x_97); +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(1, 1, 0); +} else { + x_99 = x_98; +} +lean_ctor_set(x_99, 0, x_97); +if (lean_is_scalar(x_96)) { + x_100 = lean_alloc_ctor(0, 3, 0); +} else { + x_100 = x_96; +} +lean_ctor_set(x_100, 0, x_89); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_100, 2, x_89); +x_101 = l_Lean_Syntax_setTailInfo(x_92, x_100); +x_102 = l_Lean_Syntax_getTailPos(x_2); +if (lean_obj_tag(x_102) == 0) +{ +lean_dec(x_97); +return x_101; +} +else +{ +lean_object* x_103; lean_object* x_104; +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +lean_dec(x_102); +lean_inc(x_101); +x_104 = l_Lean_Syntax_getTailPos(x_101); +if (lean_obj_tag(x_104) == 0) +{ +lean_dec(x_103); +lean_dec(x_97); +return x_101; +} +else +{ +lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + x_106 = x_104; +} else { + lean_dec_ref(x_104); + x_106 = lean_box(0); +} +x_107 = lean_nat_dec_lt(x_103, x_105); +if (x_107 == 0) +{ +uint8_t x_108; +x_108 = lean_nat_dec_lt(x_105, x_103); +if (x_108 == 0) +{ +lean_dec(x_106); +lean_dec(x_105); +lean_dec(x_103); +lean_dec(x_97); +return x_101; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_109 = lean_nat_sub(x_103, x_105); +lean_dec(x_105); +lean_dec(x_103); +x_110 = lean_nat_add(x_97, x_109); +lean_dec(x_109); +lean_dec(x_97); +if (lean_is_scalar(x_106)) { + x_111 = lean_alloc_ctor(1, 1, 0); +} else { + x_111 = x_106; +} +lean_ctor_set(x_111, 0, x_110); +x_112 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_112, 0, x_89); +lean_ctor_set(x_112, 1, x_111); +lean_ctor_set(x_112, 2, x_89); +x_113 = l_Lean_Syntax_setTailInfo(x_101, x_112); +return x_113; +} +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_114 = lean_nat_sub(x_105, x_103); +lean_dec(x_103); +lean_dec(x_105); +x_115 = lean_nat_sub(x_97, x_114); +lean_dec(x_114); +lean_dec(x_97); +if (lean_is_scalar(x_106)) { + x_116 = lean_alloc_ctor(1, 1, 0); +} else { + x_116 = x_106; +} +lean_ctor_set(x_116, 0, x_115); +x_117 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_117, 0, x_89); +lean_ctor_set(x_117, 1, x_116); +lean_ctor_set(x_117, 2, x_89); +x_118 = l_Lean_Syntax_setTailInfo(x_101, x_117); +return x_118; +} +} +} +} +} +} +} +} +} +lean_object* l_Lean_Syntax_getHead_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_6; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_6 = lean_apply_1(x_5, x_1); +return x_6; +} +case 1: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_apply_2(x_4, x_7, x_8); +return x_9; +} +case 2: +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +lean_dec(x_3); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; +lean_dec(x_10); +lean_dec(x_2); +x_12 = lean_apply_1(x_5, x_1); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_5); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_10, 2); +lean_inc(x_15); +lean_dec(x_10); +x_16 = lean_ctor_get(x_11, 0); +lean_inc(x_16); +lean_dec(x_11); +x_17 = lean_apply_5(x_2, x_1, x_16, x_13, x_14, x_15); +return x_17; +} +} +default: +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +lean_dec(x_2); +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +lean_dec(x_18); +lean_dec(x_3); +x_20 = lean_apply_1(x_5, x_1); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_5); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +x_22 = lean_ctor_get(x_1, 2); +lean_inc(x_22); +x_23 = lean_ctor_get(x_1, 3); +lean_inc(x_23); +x_24 = lean_ctor_get(x_18, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_18, 2); +lean_inc(x_25); +lean_dec(x_18); +x_26 = lean_ctor_get(x_19, 0); +lean_inc(x_26); +lean_dec(x_19); +x_27 = lean_apply_7(x_3, x_1, x_26, x_21, x_22, x_23, x_24, x_25); +return x_27; +} +} +} +} +} +lean_object* l_Lean_Syntax_getHead_x3f_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_getHead_x3f_match__1___rarg), 5, 0); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_getHead_x3f___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = x_4 < x_3; +if (x_6 == 0) +{ +lean_inc(x_5); +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_array_uget(x_2, x_4); +x_8 = l_Lean_Syntax_getHead_x3f(x_7); +if (lean_obj_tag(x_8) == 0) +{ +size_t x_9; size_t x_10; +x_9 = 1; +x_10 = x_4 + x_9; +{ +size_t _tmp_3 = x_10; +lean_object* _tmp_4 = x_1; +x_4 = _tmp_3; +x_5 = _tmp_4; +} +goto _start; +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_8); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_8); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_8, 0); +lean_inc(x_15); +lean_dec(x_8); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +} +} +lean_object* l_Lean_Syntax_getHead_x3f(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +case 1: +{ +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_1, 1); +lean_inc(x_3); +lean_dec(x_1); +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_Syntax_getHead_x3f___spec__1(x_8, x_3, x_6, x_7, x_8); +lean_dec(x_3); +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; +} +} +} +default: +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +lean_dec(x_1); +x_16 = lean_box(0); +return x_16; +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_15, 0); +lean_dec(x_18); +lean_ctor_set(x_15, 0, x_1); +return x_15; +} +else +{ +lean_object* x_19; +lean_dec(x_15); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_1); +return x_19; +} +} +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_getHead_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_forInUnsafe_loop___at_Lean_Syntax_getHead_x3f___spec__1(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Lean_withHeadRefOnly_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_3, x_6); +return x_7; +} +} +} +lean_object* l_Lean_withHeadRefOnly_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_withHeadRefOnly_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_withHeadRefOnly___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Syntax_getHead_x3f(x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_1; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_alloc_closure((void*)(l_Lean_withRef___rarg___lambda__1___boxed), 4, 3); +lean_closure_set(x_8, 0, x_7); +lean_closure_set(x_8, 1, x_2); +lean_closure_set(x_8, 2, x_1); +x_9 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_4, x_8); +return x_9; +} +} +} +lean_object* l_Lean_withHeadRefOnly___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +lean_inc(x_6); +lean_inc(x_5); +x_7 = lean_alloc_closure((void*)(l_Lean_withHeadRefOnly___rarg___lambda__1), 5, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_2); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +x_8 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_7); +return x_8; +} +} +lean_object* l_Lean_withHeadRefOnly(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_withHeadRefOnly___rarg), 4, 0); +return x_2; +} +} lean_object* l_Lean_mkAtom(lean_object* x_1) { _start: { @@ -8648,7 +9762,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Syntax_strLitToAtom___closed__1; x_2 = l_Lean_Syntax_strLitToAtom___closed__2; -x_3 = lean_unsigned_to_nat(600u); +x_3 = lean_unsigned_to_nat(637u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10485,7 +11599,7 @@ return x_75; } } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4158_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4436_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10620,7 +11734,7 @@ return x_40; } } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4261_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4539_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -10839,7 +11953,7 @@ x_1 = l_Lean_termEvalPrec_x21_____closed__7; return x_1; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4385_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4663_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -11291,7 +12405,7 @@ return x_75; } } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4516_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4794_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -11426,7 +12540,7 @@ return x_40; } } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4619_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4897_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -11645,7 +12759,7 @@ x_1 = l_Lean_termEvalPrio_x21_____closed__7; return x_1; } } -lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4743_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_5021_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13942,7 +15056,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_5739__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_6017__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; lean_object* x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; lean_object* x_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; @@ -13993,24 +15107,24 @@ x_43 = lean_apply_m(x_3, 20, _aargs); } return x_43; } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_5739__match__1(lean_object* x_1) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6017__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_5739__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_6017__match__1___rarg___boxed), 4, 0); return x_2; } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_5739__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_6017__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_5739__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_6017__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_5739_(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6017_(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; lean_object* x_13; uint8_t 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; lean_object* x_23; lean_object* x_27; lean_object* x_33; lean_object* x_39; lean_object* x_45; lean_object* x_51; lean_object* x_57; lean_object* x_63; uint8_t x_69; @@ -14353,11 +15467,11 @@ goto block_62; } } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_5739____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6017____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_5739_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6017_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -14368,7 +15482,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_5739____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_6017____boxed), 2, 0); return x_1; } } @@ -14380,7 +15494,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_5890____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__1() { _start: { lean_object* x_1; @@ -14388,29 +15502,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_5890____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -14420,19 +15534,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_5890____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__3; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__6() { _start: { lean_object* x_1; @@ -14440,17 +15554,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_5890____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__6; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__8() { _start: { lean_object* x_1; @@ -14458,17 +15572,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_5890____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__8; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__10() { _start: { lean_object* x_1; @@ -14476,17 +15590,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_5890____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__10; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__12() { _start: { lean_object* x_1; @@ -14494,17 +15608,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_5890____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__12; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__14() { _start: { lean_object* x_1; @@ -14512,17 +15626,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_5890____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__14; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__16() { _start: { lean_object* x_1; @@ -14530,17 +15644,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_5890____closed__17() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__16; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__18() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__18() { _start: { lean_object* x_1; @@ -14548,17 +15662,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_5890____closed__19() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__18; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__20() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20() { _start: { lean_object* x_1; @@ -14566,17 +15680,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_5890____closed__21() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__20; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__22() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__22() { _start: { lean_object* x_1; @@ -14584,17 +15698,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_5890____closed__23() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__22; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__24() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -14603,16 +15717,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_5890____closed__25() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__24; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__24; 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_5890____closed__26() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -14622,7 +15736,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_5890____closed__27() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -14632,7 +15746,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_5890_(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168_(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; lean_object* x_25; @@ -14641,7 +15755,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_5890____closed__5; +x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -14653,11 +15767,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_5890____closed__7; +x_12 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890____closed__4; +x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -14697,7 +15811,7 @@ lean_ctor_set(x_27, 1, x_8); x_28 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_10); -x_29 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__9; +x_29 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__9; x_30 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); @@ -14730,7 +15844,7 @@ lean_ctor_set(x_34, 1, x_8); x_35 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_10); -x_36 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__11; +x_36 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__11; x_37 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); @@ -14763,7 +15877,7 @@ lean_ctor_set(x_41, 1, x_8); x_42 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_10); -x_43 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__13; +x_43 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__13; x_44 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_43); @@ -14796,7 +15910,7 @@ lean_ctor_set(x_48, 1, x_8); x_49 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_10); -x_50 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__15; +x_50 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__15; x_51 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_51, 0, x_49); lean_ctor_set(x_51, 1, x_50); @@ -14829,7 +15943,7 @@ lean_ctor_set(x_55, 1, x_8); x_56 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_10); -x_57 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__17; +x_57 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__17; x_58 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_58, 0, x_56); lean_ctor_set(x_58, 1, x_57); @@ -14862,7 +15976,7 @@ lean_ctor_set(x_62, 1, x_8); x_63 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_10); -x_64 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__19; +x_64 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__19; x_65 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_65, 0, x_63); lean_ctor_set(x_65, 1, x_64); @@ -14895,7 +16009,7 @@ lean_ctor_set(x_69, 1, x_8); x_70 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_10); -x_71 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__21; +x_71 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__21; x_72 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_72, 0, x_70); lean_ctor_set(x_72, 1, x_71); @@ -14915,7 +16029,7 @@ lean_ctor_set(x_76, 1, x_8); x_77 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_77, 0, x_76); lean_ctor_set(x_77, 1, x_10); -x_78 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__23; +x_78 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__23; x_79 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_79, 0, x_77); lean_ctor_set(x_79, 1, x_78); @@ -14928,15 +16042,15 @@ lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean x_81 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_74); -x_82 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__26; +x_82 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26; 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_5890____closed__27; +x_84 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27; x_85 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_85, 0, x_83); lean_ctor_set(x_85, 1, x_84); -x_86 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__25; +x_86 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25; x_87 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_85); @@ -14953,15 +16067,15 @@ x_90 = l_instReprBool___closed__4; x_91 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_91, 0, x_80); lean_ctor_set(x_91, 1, x_90); -x_92 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__26; +x_92 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26; x_93 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); -x_94 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__27; +x_94 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27; x_95 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_95, 0, x_93); lean_ctor_set(x_95, 1, x_94); -x_96 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__25; +x_96 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25; x_97 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_97, 0, x_96); lean_ctor_set(x_97, 1, x_95); @@ -14985,7 +16099,7 @@ lean_ctor_set(x_102, 1, x_8); x_103 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_103, 0, x_102); lean_ctor_set(x_103, 1, x_10); -x_104 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__23; +x_104 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__23; x_105 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_105, 0, x_103); lean_ctor_set(x_105, 1, x_104); @@ -14999,15 +16113,15 @@ x_107 = l_instReprBool___closed__2; x_108 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_108, 0, x_106); lean_ctor_set(x_108, 1, x_107); -x_109 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__26; +x_109 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26; x_110 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_110, 0, x_109); lean_ctor_set(x_110, 1, x_108); -x_111 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__27; +x_111 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27; x_112 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_112, 0, x_110); lean_ctor_set(x_112, 1, x_111); -x_113 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__25; +x_113 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25; x_114 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_114, 0, x_113); lean_ctor_set(x_114, 1, x_112); @@ -15023,15 +16137,15 @@ lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; x_117 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_117, 0, x_106); lean_ctor_set(x_117, 1, x_100); -x_118 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__26; +x_118 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26; x_119 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_119, 0, x_118); lean_ctor_set(x_119, 1, x_117); -x_120 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__27; +x_120 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27; x_121 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_121, 0, x_119); lean_ctor_set(x_121, 1, x_120); -x_122 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__25; +x_122 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25; x_123 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_123, 0, x_122); lean_ctor_set(x_123, 1, x_121); @@ -15051,11 +16165,11 @@ return x_125; } } } -lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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_5890_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -15064,7 +16178,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_5890____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____boxed), 2, 0); return x_1; } } @@ -15298,60 +16412,60 @@ 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_5890____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__1); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__2); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__3); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__5); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__6); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__7); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__8); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__9); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__10); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__11); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__12); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__13); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__14); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__15); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__16); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__17(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__17); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__18(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__18); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__19(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__19); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__20(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__20); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__21(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__21); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__22(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__22); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__23(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__23); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__24(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__24); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__25(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__25); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__26(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__26); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__27(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__27); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__1); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__2); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__3); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__4); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__5); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__6); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__7); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__8); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__9); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__10); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__11); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__12); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__13); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__14); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__15); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__16); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__17(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__17); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__18(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__18); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__19(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__19); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__21(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__21); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__22(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__22); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__23(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__23); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__24(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__24); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27); 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/Lean/Compiler/IR/Format.c b/stage0/stdlib/Lean/Compiler/IR/Format.c index 3ecd396796..e9bc630e37 100644 --- a/stage0/stdlib/Lean/Compiler/IR/Format.c +++ b/stage0/stdlib/Lean/Compiler/IR/Format.c @@ -26,6 +26,7 @@ lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed_ lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3; lean_object* l_Lean_IR_formatFnBodyHead___closed__29; lean_object* l_Lean_IR_instToFormatDecl(lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__4; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7; lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8; @@ -65,7 +66,6 @@ lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed_ lean_object* l_Lean_IR_formatAlt___closed__4; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22; lean_object* lean_array_get_size(lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_IR_instToFormatParam; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25; @@ -3590,7 +3590,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_5890____closed__4; +x_15 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -3683,7 +3683,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_5890____closed__4; +x_55 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -3791,7 +3791,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_5890____closed__4; +x_105 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -4530,7 +4530,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_5890____closed__4; +x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -4680,7 +4680,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_5890____closed__4; +x_84 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -4816,7 +4816,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_5890____closed__4; +x_148 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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 692beb76e6..0481129479 100644 --- a/stage0/stdlib/Lean/Data/Format.c +++ b/stage0/stdlib/Lean/Data/Format.c @@ -15,6 +15,7 @@ extern "C" { #endif extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Lean_instToFormatName(lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__4; lean_object* l_Std_Format_pretty_x27(lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Std_Format_joinSep___at_Lean_formatKVMap___spec__1(lean_object*, lean_object*); @@ -22,7 +23,6 @@ extern lean_object* l_Std_Format_defWidth; lean_object* l_Std_Format_getWidth(lean_object*); extern lean_object* l_instReprSigma___rarg___closed__1; lean_object* l_Lean_instToFormatKVMap; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4; lean_object* lean_string_append(lean_object*, lean_object*); extern lean_object* l_Std_Format_sbracket___closed__4; lean_object* l_Std_Format_getIndent___closed__1; @@ -621,7 +621,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_5890____closed__4; +x_7 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -774,7 +774,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_5890____closed__4; +x_11 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -912,7 +912,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_5890____closed__4; +x_55 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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/Position.c b/stage0/stdlib/Lean/Data/Position.c index a64f2ff0f5..2021f40fdf 100644 --- a/stage0/stdlib/Lean/Data/Position.c +++ b/stage0/stdlib/Lean/Data/Position.c @@ -13,7 +13,9 @@ #ifdef __cplusplus extern "C" { #endif +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27; lean_object* l_Lean_FileMap_toPosition_match__1(lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__4; lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); uint8_t l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_16_(lean_object*, lean_object*); @@ -25,12 +27,10 @@ extern lean_object* l_Array_empty___closed__1; extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; extern lean_object* l_instReprSigma___rarg___closed__1; lean_object* l_Nat_decLt___boxed(lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__27; extern lean_object* l_instInhabitedNat; extern lean_object* l_instReprSigma___rarg___closed__7; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_prodHasDecidableLt___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_16__match__1(lean_object*); @@ -42,6 +42,7 @@ lean_object* l_Lean_instReprPosition; lean_object* lean_string_utf8_next(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_16____boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_115____closed__3; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25; lean_object* l_Lean_FileMap_toPosition_toColumn(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_16__match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -51,7 +52,6 @@ lean_object* l_Array_back___at_Lean_FileMap_toPosition___spec__1___boxed(lean_ob lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instReprPosition___closed__1; lean_object* l_Lean_FileMap_toPosition_match__1___rarg(lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__25; lean_object* l_Nat_repr(lean_object*); extern lean_object* l_instReprSigma___rarg___closed__5; lean_object* l_Lean_Position_instToFormatPosition_match__1___rarg(lean_object*, lean_object*); @@ -75,12 +75,12 @@ lean_object* l_Array_back___at_Lean_FileMap_toPosition___spec__1(lean_object*); lean_object* l_Lean_instDecidableEqPosition___boxed(lean_object*, lean_object*); lean_object* l_Lean_instInhabitedFileMap___closed__1; lean_object* l_Lean_Position_instToFormatPosition(lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26; 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_115_(lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__26; lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_115____closed__4; extern lean_object* l_instReprSigma___rarg___closed__6; uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); @@ -227,7 +227,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_115____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -277,7 +277,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_5890____closed__4; +x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -290,15 +290,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_5890____closed__26; +x_20 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26; 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_5890____closed__27; +x_22 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27; 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_5890____closed__25; +x_24 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25; 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/DeclarationRange.c b/stage0/stdlib/Lean/DeclarationRange.c index 7abbc7b618..2d4242f10c 100644 --- a/stage0/stdlib/Lean/DeclarationRange.c +++ b/stage0/stdlib/Lean/DeclarationRange.c @@ -19,8 +19,10 @@ extern lean_object* l_Lean_Name_toString___closed__1; extern lean_object* l_Lean_mkMapDeclarationExtension___rarg___closed__1; lean_object* l_Lean_addDeclarationRanges___rarg(lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27; extern lean_object* l_Lean_mkMapDeclarationExtension___rarg___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__4; lean_object* lean_nat_div(lean_object*, lean_object*); uint8_t l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_16_(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg(lean_object*, lean_object*, lean_object*); @@ -41,10 +43,8 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_declRangeExt___elambda__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_declRangeExt; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__27; lean_object* lean_array_get_size(lean_object*); lean_object* l___private_Lean_DeclarationRange_0__Lean_decEqDeclarationRange____x40_Lean_DeclarationRange___hyg_16__match__1(lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_instReprDeclarationRange; lean_object* l_Lean_declRangeExt___elambda__1___boxed(lean_object*); @@ -56,6 +56,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_115____closed__3; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25; lean_object* l_Lean_findDeclarationRanges_x3f___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Array_binSearchAux___at_Lean_findDeclarationRangesCore_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -74,7 +75,6 @@ lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_216____spec__2___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_instDecidableEqDeclarationRange(lean_object*, lean_object*); lean_object* l_Lean_declRangeExt___elambda__1(lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__25; lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_216____closed__1; extern lean_object* l_IO_instInhabitedError___closed__1; lean_object* l_Std_RBNode_find___at_Lean_findDeclarationRangesCore_x3f___spec__2(lean_object*, lean_object*); @@ -127,6 +127,7 @@ lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x extern lean_object* l_Lean_instInhabitedName; lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26; lean_object* l_Lean_instInhabitedDeclarationRange; lean_object* l_Lean_declRangeExt___elambda__3(lean_object*, lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); @@ -137,7 +138,6 @@ lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_115_(lean_object*, lean_object*); lean_object* l_Lean_declRangeExt___elambda__2___boxed(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_216____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__26; lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_172____closed__6; lean_object* l_Lean_findDeclarationRangesCore_x3f___rarg(lean_object*, lean_object*, lean_object*); @@ -280,7 +280,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_115____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -329,7 +329,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_5890____closed__4; +x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -340,15 +340,15 @@ x_17 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Posi 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_5890____closed__26; +x_19 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26; 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_5890____closed__27; +x_21 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27; 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_5890____closed__25; +x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25; x_24 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -438,7 +438,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_172____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -487,7 +487,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_5890____closed__4; +x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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); @@ -498,15 +498,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_5890____closed__26; +x_19 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__26; 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_5890____closed__27; +x_21 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__27; 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_5890____closed__25; +x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__25; 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/App.c b/stage0/stdlib/Lean/Elab/App.c index 9218b0ecde..bbeec0dbe3 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -100,7 +100,7 @@ lean_object* l_Lean_Elab_Term_NamedArg_ref___default; lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAutoParamTactic_x3f(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_match__2(lean_object*); -lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4___boxed(lean_object**); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__2; lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4____closed__3; @@ -191,7 +191,7 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_App_0__Le lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___at_Lean_Elab_Term_elabApp___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextArgHole(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabArrayRef(lean_object*); @@ -273,6 +273,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNamedPattern___closed__1; extern lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize_match__1(lean_object*); +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1___boxed(lean_object**); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3___boxed(lean_object**); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType_match__2___boxed(lean_object*, lean_object*); @@ -288,7 +289,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__3; lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___spec__1(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_App_0__Lean_Elab_Term_mergeFailures___spec__2___rarg(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_13068____closed__12; -lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType_match__4(lean_object*); uint8_t l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___lambda__1(lean_object*, lean_object*); extern lean_object* l_term___u2218_____closed__5; @@ -341,7 +342,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processInst lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___lambda__4___boxed(lean_object**); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Elab_Term_throwInvalidNamedArg_match__1(lean_object*); -lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___boxed(lean_object**); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg_match__1(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType_match__1(lean_object*); @@ -471,11 +472,13 @@ size_t lean_usize_of_nat(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections_match__1(lean_object*); lean_object* l_Lean_Elab_Term_instToStringNamedArg(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabProj___closed__1; +lean_object* l_Lean_Elab_Term_LVal_getRef(lean_object*); uint8_t l_Lean_Expr_isAutoParam(lean_object*); extern lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabNamedPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__1___closed__1; +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageList(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -569,6 +572,7 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_El lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux_match__4___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__5; +lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit___closed__1; lean_object* l_Lean_Elab_Term_elabBinRel_match__2___rarg(lean_object*, lean_object*); @@ -607,7 +611,7 @@ lean_object* l_Lean_Elab_getRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Ter lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7997_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_8141_(lean_object*); lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4_(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_propagateExpectedTypeFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -695,7 +699,7 @@ lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*, lean_object*, lea lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; -lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2(lean_object*); +lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___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___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -770,7 +774,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropa lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__1; extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1___boxed(lean_object**); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instMonadControlT__1___rarg(lean_object*); @@ -789,11 +793,11 @@ uint8_t l_Lean_isStructure(lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux(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_throwInvalidNamedArg(lean_object*); -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Exception_toMessageData(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__1(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___closed__1; -lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2(lean_object*); +lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); @@ -17172,7 +17176,7 @@ lean_dec(x_6); switch (lean_obj_tag(x_2)) { case 0: { -lean_object* x_8; lean_object* x_9; uint64_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_8; lean_object* x_9; uint64_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_dec(x_5); lean_dec(x_4); x_8 = lean_ctor_get(x_1, 0); @@ -17183,46 +17187,52 @@ x_10 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); lean_dec(x_1); x_11 = lean_ctor_get(x_2, 0); lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); lean_dec(x_2); -x_12 = lean_box_uint64(x_10); -x_13 = lean_apply_4(x_3, x_8, x_9, x_12, x_11); -return x_13; +x_13 = lean_box_uint64(x_10); +x_14 = lean_apply_5(x_3, x_8, x_9, x_13, x_11, x_12); +return x_14; } case 1: { -lean_object* x_14; lean_object* x_15; uint64_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_15; lean_object* x_16; uint64_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_5); lean_dec(x_3); -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_1, 1); +x_15 = lean_ctor_get(x_1, 0); lean_inc(x_15); -x_16 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +x_17 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); lean_dec(x_1); -x_17 = lean_ctor_get(x_2, 0); -lean_inc(x_17); +x_18 = lean_ctor_get(x_2, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_2, 1); +lean_inc(x_19); lean_dec(x_2); -x_18 = lean_box_uint64(x_16); -x_19 = lean_apply_4(x_4, x_14, x_15, x_18, x_17); -return x_19; +x_20 = lean_box_uint64(x_17); +x_21 = lean_apply_5(x_4, x_15, x_16, x_20, x_18, x_19); +return x_21; } default: { -lean_object* x_20; lean_object* x_21; uint64_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_object* x_22; lean_object* x_23; uint64_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_4); lean_dec(x_3); -x_20 = lean_ctor_get(x_1, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_1, 1); -lean_inc(x_21); -x_22 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_23 = lean_ctor_get(x_2, 0); +x_22 = lean_ctor_get(x_1, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_1, 1); lean_inc(x_23); +x_24 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_25 = lean_ctor_get(x_2, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_2, 1); +lean_inc(x_26); lean_dec(x_2); -x_24 = lean_box_uint64(x_22); -x_25 = lean_apply_4(x_5, x_20, x_21, x_24, x_23); -return x_25; +x_27 = lean_box_uint64(x_24); +x_28 = lean_apply_5(x_5, x_22, x_23, x_27, x_25, x_26); +return x_28; } } } @@ -17233,20 +17243,22 @@ lean_dec(x_4); lean_dec(x_3); if (lean_obj_tag(x_2) == 2) { -lean_object* x_26; lean_object* x_27; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_7); -x_26 = lean_ctor_get(x_2, 0); -lean_inc(x_26); +x_29 = lean_ctor_get(x_2, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_2, 1); +lean_inc(x_30); lean_dec(x_2); -x_27 = lean_apply_2(x_6, x_1, x_26); -return x_27; +x_31 = lean_apply_3(x_6, x_1, x_29, x_30); +return x_31; } else { -lean_object* x_28; +lean_object* x_32; lean_dec(x_6); -x_28 = lean_apply_2(x_7, x_1, x_2); -return x_28; +x_32 = lean_apply_2(x_7, x_1, x_2); +return x_32; } } } @@ -17601,7 +17613,7 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); lean_dec(x_11); -x_13 = lean_ctor_get(x_3, 0); +x_13 = lean_ctor_get(x_3, 1); lean_inc(x_13); lean_dec(x_3); x_14 = lean_unsigned_to_nat(0u); @@ -17651,7 +17663,7 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; x_24 = lean_ctor_get(x_11, 0); lean_inc(x_24); lean_dec(x_11); -x_25 = lean_ctor_get(x_3, 0); +x_25 = lean_ctor_get(x_3, 1); lean_inc(x_25); lean_dec(x_3); x_26 = lean_st_ref_get(x_9, x_10); @@ -18402,7 +18414,7 @@ lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; x_223 = lean_ctor_get(x_11, 0); lean_inc(x_223); lean_dec(x_11); -x_224 = lean_ctor_get(x_3, 0); +x_224 = lean_ctor_get(x_3, 1); lean_inc(x_224); lean_dec(x_3); x_225 = lean_st_ref_get(x_9, x_10); @@ -22795,187 +22807,157 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ela return x_2; } } -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_box(0); -lean_inc(x_10); +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +lean_inc(x_11); lean_inc(x_1); -x_18 = l_Lean_Elab_Term_mkConst(x_1, x_17, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_18) == 0) +x_19 = l_Lean_Elab_Term_mkConst(x_1, x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_18); -x_21 = l_List_isEmpty___rarg(x_2); -if (x_21 == 0) +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Elab_Term_LVal_getRef(x_2); +lean_inc(x_20); +x_23 = l_Lean_Elab_Term_addTermInfo(x_22, x_20, x_11, x_12, x_13, x_14, x_15, x_16, x_21); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = l_List_isEmpty___rarg(x_3); +if (x_25 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; -lean_dec(x_8); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; +lean_dec(x_9); lean_dec(x_1); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_9); -x_23 = l_Lean_mkOptionalNode___closed__2; -x_24 = lean_array_push(x_23, x_22); -x_25 = lean_box(0); -x_26 = l_Array_empty___closed__1; -x_27 = 0; +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_10); +x_27 = l_Lean_mkOptionalNode___closed__2; +x_28 = lean_array_push(x_27, x_26); +x_29 = lean_box(0); +x_30 = l_Array_empty___closed__1; +x_31 = 0; +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -x_28 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_19, x_26, x_24, x_25, x_27, x_27, x_10, x_11, x_12, x_13, x_14, x_15, x_20); -if (lean_obj_tag(x_28) == 0) +x_32 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_20, x_30, x_28, x_29, x_31, x_31, x_11, x_12, x_13, x_14, x_15, x_16, x_24); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_3, x_4, x_5, x_6, x_7, x_29, x_2, x_10, x_11, x_12, x_13, x_14, x_15, x_30); -return x_31; +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_33, x_3, x_11, x_12, x_13, x_14, x_15, x_16, x_34); +return x_35; } else { -uint8_t x_32; +uint8_t x_36; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_32 = !lean_is_exclusive(x_28); -if (x_32 == 0) +x_36 = !lean_is_exclusive(x_32); +if (x_36 == 0) { -return x_28; +return x_32; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_28, 0); -x_34 = lean_ctor_get(x_28, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_28); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_32, 0); +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_32); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } else { -lean_object* x_36; -lean_dec(x_2); +lean_object* x_40; +lean_dec(x_3); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_19); -x_36 = l_Lean_Meta_inferType(x_19, x_12, x_13, x_14, x_15, x_20); -if (lean_obj_tag(x_36) == 0) +lean_inc(x_20); +x_40 = l_Lean_Meta_inferType(x_20, x_13, x_14, x_15, x_16, x_24); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -x_39 = l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(x_8, x_1, x_9, x_4, x_3, x_37, x_10, x_11, x_12, x_13, x_14, x_15, x_38); -if (lean_obj_tag(x_39) == 0) +x_43 = l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(x_9, x_1, x_10, x_5, x_4, x_41, x_11, x_12, x_13, x_14, x_15, x_16, x_42); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_ctor_get(x_40, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -lean_dec(x_40); -x_44 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_19, x_43, x_42, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_41); -return x_44; -} -else -{ -uint8_t x_45; -lean_dec(x_19); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -x_45 = !lean_is_exclusive(x_39); -if (x_45 == 0) -{ -return x_39; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_39, 0); -x_47 = lean_ctor_get(x_39, 1); -lean_inc(x_47); +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_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_ctor_get(x_44, 0); lean_inc(x_46); -lean_dec(x_39); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +lean_dec(x_44); +x_48 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_20, x_47, x_46, x_6, x_7, x_8, x_11, x_12, x_13, x_14, x_15, x_16, x_45); return x_48; } -} -} else { uint8_t x_49; -lean_dec(x_19); +lean_dec(x_20); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_49 = !lean_is_exclusive(x_36); +lean_dec(x_6); +x_49 = !lean_is_exclusive(x_43); if (x_49 == 0) { -return x_36; +return x_43; } else { lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_36, 0); -x_51 = lean_ctor_get(x_36, 1); +x_50 = lean_ctor_get(x_43, 0); +x_51 = lean_ctor_get(x_43, 1); lean_inc(x_51); lean_inc(x_50); -lean_dec(x_36); +lean_dec(x_43); x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); @@ -22983,10 +22965,11 @@ return x_52; } } } -} else { uint8_t x_53; +lean_dec(x_20); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -22994,25 +22977,23 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); -x_53 = !lean_is_exclusive(x_18); +x_53 = !lean_is_exclusive(x_40); if (x_53 == 0) { -return x_18; +return x_40; } else { lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_18, 0); -x_55 = lean_ctor_get(x_18, 1); +x_54 = lean_ctor_get(x_40, 0); +x_55 = lean_ctor_get(x_40, 1); lean_inc(x_55); lean_inc(x_54); -lean_dec(x_18); +lean_dec(x_40); x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); @@ -23021,6 +23002,43 @@ return x_56; } } } +else +{ +uint8_t x_57; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_57 = !lean_is_exclusive(x_19); +if (x_57 == 0) +{ +return x_19; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_19, 0); +x_59 = lean_ctor_get(x_19, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_19); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +} static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___closed__1() { _start: { @@ -23061,6 +23079,7 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_8); +lean_inc(x_16); x_18 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLVal(x_6, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_18) == 0) { @@ -23108,52 +23127,59 @@ lean_inc(x_8); x_31 = l_Lean_Elab_Term_mkConst(x_29, x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_28); if (lean_obj_tag(x_31) == 0) { -lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); lean_inc(x_33); lean_dec(x_31); -x_34 = l_List_isEmpty___rarg(x_17); -if (x_34 == 0) +x_34 = l_Lean_Elab_Term_LVal_getRef(x_16); +lean_dec(x_16); +lean_inc(x_32); +x_35 = l_Lean_Elab_Term_addTermInfo(x_34, x_32, x_8, x_9, x_10, x_11, x_12, x_13, x_33); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = l_List_isEmpty___rarg(x_17); +if (x_37 == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_27); -x_36 = lean_box(0); -x_37 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_38 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -lean_ctor_set(x_38, 2, x_35); -x_39 = l_Lean_mkOptionalNode___closed__2; -x_40 = lean_array_push(x_39, x_38); -x_41 = lean_box(0); -x_42 = l_Array_empty___closed__1; -x_43 = 0; +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_27); +x_39 = lean_box(0); +x_40 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_41 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set(x_41, 2, x_38); +x_42 = l_Lean_mkOptionalNode___closed__2; +x_43 = lean_array_push(x_42, x_41); +x_44 = lean_box(0); +x_45 = l_Array_empty___closed__1; +x_46 = 0; lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_44 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_32, x_40, x_42, x_41, x_43, x_43, x_8, x_9, x_10, x_11, x_12, x_13, x_33); -if (lean_obj_tag(x_44) == 0) +x_47 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_32, x_43, x_45, x_44, x_46, x_46, x_8, x_9, x_10, x_11, x_12, x_13, x_36); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_6 = x_45; +lean_object* x_48; lean_object* x_49; +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_6 = x_48; x_7 = x_17; -x_14 = x_46; +x_14 = x_49; goto _start; } else { -uint8_t x_48; +uint8_t x_51; lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -23164,54 +23190,54 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_48 = !lean_is_exclusive(x_44); -if (x_48 == 0) +x_51 = !lean_is_exclusive(x_47); +if (x_51 == 0) { -return x_44; +return x_47; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_44, 0); -x_50 = lean_ctor_get(x_44, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_44); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_47, 0); +x_53 = lean_ctor_get(x_47, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_47); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_dec(x_17); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_27); -x_53 = lean_box(0); -x_54 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_55 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_55, 2, x_52); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_27); +x_56 = lean_box(0); +x_57 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_58 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_55); lean_inc(x_8); -x_56 = l_Lean_Elab_Term_addNamedArg(x_1, x_55, x_8, x_9, x_10, x_11, x_12, x_13, x_33); -if (lean_obj_tag(x_56) == 0) +x_59 = l_Lean_Elab_Term_addNamedArg(x_1, x_58, x_8, x_9, x_10, x_11, x_12, x_13, x_36); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -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 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_32, x_57, x_2, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_58); -return x_59; +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_32, x_60, x_2, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_61); +return x_62; } else { -uint8_t x_60; +uint8_t x_63; lean_dec(x_32); lean_dec(x_13); lean_dec(x_12); @@ -23221,32 +23247,33 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_60 = !lean_is_exclusive(x_56); -if (x_60 == 0) +x_63 = !lean_is_exclusive(x_59); +if (x_63 == 0) { -return x_56; +return x_59; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_56, 0); -x_62 = lean_ctor_get(x_56, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_56); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_59, 0); +x_65 = lean_ctor_get(x_59, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_59); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; } } } } else { -uint8_t x_64; +uint8_t x_67; lean_dec(x_27); lean_dec(x_17); +lean_dec(x_16); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -23256,32 +23283,33 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_64 = !lean_is_exclusive(x_31); -if (x_64 == 0) +x_67 = !lean_is_exclusive(x_31); +if (x_67 == 0) { return x_31; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_31, 0); -x_66 = lean_ctor_get(x_31, 1); -lean_inc(x_66); -lean_inc(x_65); +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_31, 0); +x_69 = lean_ctor_get(x_31, 1); +lean_inc(x_69); +lean_inc(x_68); lean_dec(x_31); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } else { -uint8_t x_68; +uint8_t x_71; lean_dec(x_25); lean_dec(x_23); lean_dec(x_17); +lean_dec(x_16); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -23291,90 +23319,99 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_68 = !lean_is_exclusive(x_26); -if (x_68 == 0) +x_71 = !lean_is_exclusive(x_26); +if (x_71 == 0) { return x_26; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_26, 0); -x_70 = lean_ctor_get(x_26, 1); -lean_inc(x_70); -lean_inc(x_69); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_26, 0); +x_73 = lean_ctor_get(x_26, 1); +lean_inc(x_73); +lean_inc(x_72); lean_dec(x_26); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } case 1: { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_72 = lean_ctor_get(x_18, 1); -lean_inc(x_72); -lean_dec(x_18); -x_73 = lean_ctor_get(x_19, 0); -lean_inc(x_73); -lean_dec(x_19); -x_74 = lean_ctor_get(x_20, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_20, 1); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_75 = lean_ctor_get(x_18, 1); lean_inc(x_75); +lean_dec(x_18); +x_76 = lean_ctor_get(x_19, 0); +lean_inc(x_76); +lean_dec(x_19); +x_77 = lean_ctor_get(x_20, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_20, 1); +lean_inc(x_78); lean_dec(x_20); -x_76 = l_Lean_mkProj(x_74, x_75, x_73); -x_6 = x_76; +x_79 = l_Lean_mkProj(x_77, x_78, x_76); +x_80 = l_Lean_Elab_Term_LVal_getRef(x_16); +lean_dec(x_16); +lean_inc(x_79); +x_81 = l_Lean_Elab_Term_addTermInfo(x_80, x_79, x_8, x_9, x_10, x_11, x_12, x_13, x_75); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +lean_dec(x_81); +x_6 = x_79; x_7 = x_17; -x_14 = x_72; +x_14 = x_82; goto _start; } case 2: { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; -x_78 = lean_ctor_get(x_18, 1); -lean_inc(x_78); +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_84 = lean_ctor_get(x_18, 1); +lean_inc(x_84); lean_dec(x_18); -x_79 = lean_ctor_get(x_19, 0); -lean_inc(x_79); +x_85 = lean_ctor_get(x_19, 0); +lean_inc(x_85); lean_dec(x_19); -x_80 = lean_ctor_get(x_20, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_20, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_20, 2); -lean_inc(x_82); +x_86 = lean_ctor_get(x_20, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_20, 1); +lean_inc(x_87); +x_88 = lean_ctor_get(x_20, 2); +lean_inc(x_88); lean_dec(x_20); -x_83 = lean_name_eq(x_80, x_81); -if (x_83 == 0) +x_89 = lean_name_eq(x_86, x_87); +if (x_89 == 0) { -lean_object* x_84; +lean_object* x_90; lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_84 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections(x_80, x_81, x_79, x_8, x_9, x_10, x_11, x_12, x_13, x_78); -if (lean_obj_tag(x_84) == 0) +x_90 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections(x_86, x_87, x_85, x_8, x_9, x_10, x_11, x_12, x_13, x_84); +if (lean_obj_tag(x_90) == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_82, x_17, x_1, x_2, x_3, x_4, x_5, x_80, x_85, x_8, x_9, x_10, x_11, x_12, x_13, x_86); -return x_87; +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_88, x_16, x_17, x_1, x_2, x_3, x_4, x_5, x_86, x_91, x_8, x_9, x_10, x_11, x_12, x_13, x_92); +lean_dec(x_16); +return x_93; } else { -uint8_t x_88; -lean_dec(x_82); -lean_dec(x_80); +uint8_t x_94; +lean_dec(x_88); +lean_dec(x_86); lean_dec(x_17); +lean_dec(x_16); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -23384,86 +23421,94 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_88 = !lean_is_exclusive(x_84); -if (x_88 == 0) +x_94 = !lean_is_exclusive(x_90); +if (x_94 == 0) { -return x_84; +return x_90; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_84, 0); -x_90 = lean_ctor_get(x_84, 1); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_84); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -return x_91; +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_90, 0); +x_96 = lean_ctor_get(x_90, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_90); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; } } } else { -lean_object* x_92; -lean_dec(x_81); -x_92 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_82, x_17, x_1, x_2, x_3, x_4, x_5, x_80, x_79, x_8, x_9, x_10, x_11, x_12, x_13, x_78); -return x_92; +lean_object* x_98; +lean_dec(x_87); +x_98 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_88, x_16, x_17, x_1, x_2, x_3, x_4, x_5, x_86, x_85, x_8, x_9, x_10, x_11, x_12, x_13, x_84); +lean_dec(x_16); +return x_98; } } case 3: { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_93 = lean_ctor_get(x_18, 1); -lean_inc(x_93); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_99 = lean_ctor_get(x_18, 1); +lean_inc(x_99); lean_dec(x_18); -x_94 = lean_ctor_get(x_19, 0); -lean_inc(x_94); +x_100 = lean_ctor_get(x_19, 0); +lean_inc(x_100); lean_dec(x_19); -x_95 = lean_ctor_get(x_20, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_20, 1); -lean_inc(x_96); -x_97 = lean_ctor_get(x_20, 2); -lean_inc(x_97); +x_101 = lean_ctor_get(x_20, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_20, 1); +lean_inc(x_102); +x_103 = lean_ctor_get(x_20, 2); +lean_inc(x_103); lean_dec(x_20); -x_98 = l_List_isEmpty___rarg(x_17); -if (x_98 == 0) +x_104 = l_Lean_Elab_Term_LVal_getRef(x_16); +lean_dec(x_16); +lean_inc(x_103); +x_105 = l_Lean_Elab_Term_addTermInfo(x_104, x_103, x_8, x_9, x_10, x_11, x_12, x_13, x_99); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +lean_dec(x_105); +x_107 = l_List_isEmpty___rarg(x_17); +if (x_107 == 0) { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; -lean_dec(x_96); -lean_dec(x_95); -x_99 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_99, 0, x_94); -x_100 = l_Lean_mkOptionalNode___closed__2; -x_101 = lean_array_push(x_100, x_99); -x_102 = lean_box(0); -x_103 = l_Array_empty___closed__1; -x_104 = 0; +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; +lean_dec(x_102); +lean_dec(x_101); +x_108 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_108, 0, x_100); +x_109 = l_Lean_mkOptionalNode___closed__2; +x_110 = lean_array_push(x_109, x_108); +x_111 = lean_box(0); +x_112 = l_Array_empty___closed__1; +x_113 = 0; lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_105 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_97, x_103, x_101, x_102, x_104, x_104, x_8, x_9, x_10, x_11, x_12, x_13, x_93); -if (lean_obj_tag(x_105) == 0) +x_114 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_103, x_112, x_110, x_111, x_113, x_113, x_8, x_9, x_10, x_11, x_12, x_13, x_106); +if (lean_obj_tag(x_114) == 0) { -lean_object* x_106; lean_object* x_107; -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_6 = x_106; +lean_object* x_115; lean_object* x_116; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_6 = x_115; x_7 = x_17; -x_14 = x_107; +x_14 = x_116; goto _start; } else { -uint8_t x_109; +uint8_t x_118; lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -23474,71 +23519,71 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_109 = !lean_is_exclusive(x_105); -if (x_109 == 0) +x_118 = !lean_is_exclusive(x_114); +if (x_118 == 0) { -return x_105; +return x_114; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_105, 0); -x_111 = lean_ctor_get(x_105, 1); -lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_105); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_114, 0); +x_120 = lean_ctor_get(x_114, 1); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_114); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; } } } else { -lean_object* x_113; +lean_object* x_122; lean_dec(x_17); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_97); -x_113 = l_Lean_Meta_inferType(x_97, x_10, x_11, x_12, x_13, x_93); -if (lean_obj_tag(x_113) == 0) +lean_inc(x_103); +x_122 = l_Lean_Meta_inferType(x_103, x_10, x_11, x_12, x_13, x_106); +if (lean_obj_tag(x_122) == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_122, 1); +lean_inc(x_124); +lean_dec(x_122); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_116 = l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(x_95, x_96, x_94, x_2, x_1, x_114, x_8, x_9, x_10, x_11, x_12, x_13, x_115); -if (lean_obj_tag(x_116) == 0) +x_125 = l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(x_101, x_102, x_100, x_2, x_1, x_123, x_8, x_9, x_10, x_11, x_12, x_13, x_124); +if (lean_obj_tag(x_125) == 0) { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); -lean_inc(x_118); -lean_dec(x_116); -x_119 = lean_ctor_get(x_117, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_117, 1); -lean_inc(x_120); -lean_dec(x_117); -x_121 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_97, x_120, x_119, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_118); -return x_121; +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_128 = lean_ctor_get(x_126, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_126, 1); +lean_inc(x_129); +lean_dec(x_126); +x_130 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_103, x_129, x_128, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_127); +return x_130; } else { -uint8_t x_122; -lean_dec(x_97); +uint8_t x_131; +lean_dec(x_103); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -23546,33 +23591,33 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); -x_122 = !lean_is_exclusive(x_116); -if (x_122 == 0) +x_131 = !lean_is_exclusive(x_125); +if (x_131 == 0) { -return x_116; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_116, 0); -x_124 = lean_ctor_get(x_116, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_116); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); return x_125; } +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_125, 0); +x_133 = lean_ctor_get(x_125, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_125); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; +} } } else { -uint8_t x_126; -lean_dec(x_97); -lean_dec(x_96); -lean_dec(x_95); -lean_dec(x_94); +uint8_t x_135; +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_101); +lean_dec(x_100); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -23582,176 +23627,108 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_126 = !lean_is_exclusive(x_113); -if (x_126 == 0) +x_135 = !lean_is_exclusive(x_122); +if (x_135 == 0) { -return x_113; +return x_122; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_ctor_get(x_113, 0); -x_128 = lean_ctor_get(x_113, 1); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_113); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -return x_129; +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_122, 0); +x_137 = lean_ctor_get(x_122, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_122); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +return x_138; } } } } default: { -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_130 = lean_ctor_get(x_18, 1); -lean_inc(x_130); +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_139 = lean_ctor_get(x_18, 1); +lean_inc(x_139); lean_dec(x_18); -x_131 = lean_ctor_get(x_19, 0); -lean_inc(x_131); +x_140 = lean_ctor_get(x_19, 0); +lean_inc(x_140); lean_dec(x_19); -x_132 = lean_ctor_get(x_20, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_20, 1); -lean_inc(x_133); +x_141 = lean_ctor_get(x_20, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_20, 1); +lean_inc(x_142); lean_dec(x_20); -x_134 = lean_box(0); +x_143 = lean_box(0); lean_inc(x_8); -x_135 = l_Lean_Elab_Term_mkConst(x_132, x_134, x_8, x_9, x_10, x_11, x_12, x_13, x_130); -if (lean_obj_tag(x_135) == 0) +x_144 = l_Lean_Elab_Term_mkConst(x_141, x_143, x_8, x_9, x_10, x_11, x_12, x_13, x_139); +if (lean_obj_tag(x_144) == 0) { -lean_object* x_136; lean_object* x_137; uint8_t x_138; -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_135, 1); -lean_inc(x_137); -lean_dec(x_135); -x_138 = l_List_isEmpty___rarg(x_17); -if (x_138 == 0) +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +lean_dec(x_144); +x_147 = l_Lean_Elab_Term_LVal_getRef(x_16); +lean_dec(x_16); +lean_inc(x_145); +x_148 = l_Lean_Elab_Term_addTermInfo(x_147, x_145, x_8, x_9, x_10, x_11, x_12, x_13, x_146); +x_149 = lean_ctor_get(x_148, 1); +lean_inc(x_149); +lean_dec(x_148); +x_150 = l_List_isEmpty___rarg(x_17); +if (x_150 == 0) { -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; uint8_t x_151; lean_object* x_152; -x_139 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_139, 0, x_131); -x_140 = lean_box(0); -x_141 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_142 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -lean_ctor_set(x_142, 2, x_139); -x_143 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_143, 0, x_133); -x_144 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___closed__2; -x_145 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_145, 0, x_140); -lean_ctor_set(x_145, 1, x_144); -lean_ctor_set(x_145, 2, x_143); -x_146 = l_Lean_Syntax_mkApp___closed__1; -x_147 = lean_array_push(x_146, x_142); -x_148 = lean_array_push(x_147, x_145); -x_149 = lean_box(0); -x_150 = l_Array_empty___closed__1; -x_151 = 0; +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; uint8_t x_163; lean_object* x_164; +x_151 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_151, 0, x_140); +x_152 = lean_box(0); +x_153 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_154 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +lean_ctor_set(x_154, 2, x_151); +x_155 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_155, 0, x_142); +x_156 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___closed__2; +x_157 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_157, 0, x_152); +lean_ctor_set(x_157, 1, x_156); +lean_ctor_set(x_157, 2, x_155); +x_158 = l_Lean_Syntax_mkApp___closed__1; +x_159 = lean_array_push(x_158, x_154); +x_160 = lean_array_push(x_159, x_157); +x_161 = lean_box(0); +x_162 = l_Array_empty___closed__1; +x_163 = 0; lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_152 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_136, x_148, x_150, x_149, x_151, x_151, x_8, x_9, x_10, x_11, x_12, x_13, x_137); -if (lean_obj_tag(x_152) == 0) -{ -lean_object* x_153; lean_object* x_154; -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_6 = x_153; -x_7 = x_17; -x_14 = x_154; -goto _start; -} -else -{ -uint8_t x_156; -lean_dec(x_17); -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_3); -lean_dec(x_2); -lean_dec(x_1); -x_156 = !lean_is_exclusive(x_152); -if (x_156 == 0) -{ -return x_152; -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_157 = lean_ctor_get(x_152, 0); -x_158 = lean_ctor_get(x_152, 1); -lean_inc(x_158); -lean_inc(x_157); -lean_dec(x_152); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -return x_159; -} -} -} -else -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -lean_dec(x_17); -x_160 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_160, 0, x_131); -x_161 = lean_box(0); -x_162 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_163 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -lean_ctor_set(x_163, 2, x_160); -lean_inc(x_8); -x_164 = l_Lean_Elab_Term_addNamedArg(x_1, x_163, x_8, x_9, x_10, x_11, x_12, x_13, x_137); +x_164 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_145, x_160, x_162, x_161, x_163, x_163, x_8, x_9, x_10, x_11, x_12, x_13, x_149); if (lean_obj_tag(x_164) == 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_165; lean_object* x_166; x_165 = lean_ctor_get(x_164, 0); lean_inc(x_165); x_166 = lean_ctor_get(x_164, 1); lean_inc(x_166); lean_dec(x_164); -x_167 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_167, 0, x_133); -x_168 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___closed__2; -x_169 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_169, 0, x_161); -lean_ctor_set(x_169, 1, x_168); -lean_ctor_set(x_169, 2, x_167); -lean_inc(x_8); -x_170 = l_Lean_Elab_Term_addNamedArg(x_165, x_169, x_8, x_9, x_10, x_11, x_12, x_13, x_166); -if (lean_obj_tag(x_170) == 0) -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); -lean_dec(x_170); -x_173 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_136, x_171, x_2, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_172); -return x_173; +x_6 = x_165; +x_7 = x_17; +x_14 = x_166; +goto _start; } else { -uint8_t x_174; -lean_dec(x_136); +uint8_t x_168; +lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -23760,101 +23737,73 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_174 = !lean_is_exclusive(x_170); -if (x_174 == 0) -{ -return x_170; -} -else -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_175 = lean_ctor_get(x_170, 0); -x_176 = lean_ctor_get(x_170, 1); -lean_inc(x_176); -lean_inc(x_175); -lean_dec(x_170); -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_175); -lean_ctor_set(x_177, 1, x_176); -return x_177; -} -} -} -else -{ -uint8_t x_178; -lean_dec(x_136); -lean_dec(x_133); -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_3); -lean_dec(x_2); -x_178 = !lean_is_exclusive(x_164); -if (x_178 == 0) +lean_dec(x_1); +x_168 = !lean_is_exclusive(x_164); +if (x_168 == 0) { return x_164; } else { -lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_179 = lean_ctor_get(x_164, 0); -x_180 = lean_ctor_get(x_164, 1); -lean_inc(x_180); -lean_inc(x_179); +lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_164, 0); +x_170 = lean_ctor_get(x_164, 1); +lean_inc(x_170); +lean_inc(x_169); lean_dec(x_164); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_179); -lean_ctor_set(x_181, 1, x_180); -return x_181; -} +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_169); +lean_ctor_set(x_171, 1, x_170); +return x_171; } } } else { -uint8_t x_182; -lean_dec(x_133); -lean_dec(x_131); +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_dec(x_17); -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_3); -lean_dec(x_2); -lean_dec(x_1); -x_182 = !lean_is_exclusive(x_135); -if (x_182 == 0) +x_172 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_172, 0, x_140); +x_173 = lean_box(0); +x_174 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_175 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +lean_ctor_set(x_175, 2, x_172); +lean_inc(x_8); +x_176 = l_Lean_Elab_Term_addNamedArg(x_1, x_175, x_8, x_9, x_10, x_11, x_12, x_13, x_149); +if (lean_obj_tag(x_176) == 0) { -return x_135; -} -else +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +lean_dec(x_176); +x_179 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_179, 0, x_142); +x_180 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___closed__2; +x_181 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_181, 0, x_173); +lean_ctor_set(x_181, 1, x_180); +lean_ctor_set(x_181, 2, x_179); +lean_inc(x_8); +x_182 = l_Lean_Elab_Term_addNamedArg(x_177, x_181, x_8, x_9, x_10, x_11, x_12, x_13, x_178); +if (lean_obj_tag(x_182) == 0) { lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_183 = lean_ctor_get(x_135, 0); -x_184 = lean_ctor_get(x_135, 1); -lean_inc(x_184); +x_183 = lean_ctor_get(x_182, 0); lean_inc(x_183); -lean_dec(x_135); -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_183); -lean_ctor_set(x_185, 1, x_184); +x_184 = lean_ctor_get(x_182, 1); +lean_inc(x_184); +lean_dec(x_182); +x_185 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs(x_145, x_183, x_2, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_184); return x_185; } -} -} -} -} else { uint8_t x_186; -lean_dec(x_17); +lean_dec(x_145); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -23863,20 +23812,19 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_186 = !lean_is_exclusive(x_18); +x_186 = !lean_is_exclusive(x_182); if (x_186 == 0) { -return x_18; +return x_182; } else { lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_ctor_get(x_18, 0); -x_188 = lean_ctor_get(x_18, 1); +x_187 = lean_ctor_get(x_182, 0); +x_188 = lean_ctor_get(x_182, 1); lean_inc(x_188); lean_inc(x_187); -lean_dec(x_18); +lean_dec(x_182); x_189 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_189, 0, x_187); lean_ctor_set(x_189, 1, x_188); @@ -23884,18 +23832,142 @@ return x_189; } } } +else +{ +uint8_t x_190; +lean_dec(x_145); +lean_dec(x_142); +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_3); +lean_dec(x_2); +x_190 = !lean_is_exclusive(x_176); +if (x_190 == 0) +{ +return x_176; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_191 = lean_ctor_get(x_176, 0); +x_192 = lean_ctor_get(x_176, 1); +lean_inc(x_192); +lean_inc(x_191); +lean_dec(x_176); +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_191); +lean_ctor_set(x_193, 1, x_192); +return x_193; } } -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +} +} +else +{ +uint8_t x_194; +lean_dec(x_142); +lean_dec(x_140); +lean_dec(x_17); +lean_dec(x_16); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_194 = !lean_is_exclusive(x_144); +if (x_194 == 0) +{ +return x_144; +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_195 = lean_ctor_get(x_144, 0); +x_196 = lean_ctor_get(x_144, 1); +lean_inc(x_196); +lean_inc(x_195); +lean_dec(x_144); +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_195); +lean_ctor_set(x_197, 1, x_196); +return x_197; +} +} +} +} +} +else +{ +uint8_t x_198; +lean_dec(x_17); +lean_dec(x_16); +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_198 = !lean_is_exclusive(x_18); +if (x_198 == 0) +{ +return x_18; +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_199 = lean_ctor_get(x_18, 0); +x_200 = lean_ctor_get(x_18, 1); +lean_inc(x_200); +lean_inc(x_199); +lean_dec(x_18); +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_199); +lean_ctor_set(x_201, 1, x_200); +return x_201; +} +} +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; uint8_t x_18; lean_object* x_19; -x_17 = lean_unbox(x_6); -lean_dec(x_6); +uint8_t x_18; uint8_t x_19; lean_object* x_20; x_18 = lean_unbox(x_7); lean_dec(x_7); -x_19 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_1, x_2, x_3, x_4, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_19; +x_19 = lean_unbox(x_8); +lean_dec(x_8); +x_20 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_2); +return x_20; } } lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { @@ -24247,359 +24319,787 @@ x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___priva return x_7; } } -lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2(lean_object* x_1) { +lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2(lean_object* x_1, lean_object* x_2) { _start: { -if (lean_obj_tag(x_1) == 0) +if (lean_obj_tag(x_2) == 0) { -lean_object* x_2; -x_2 = lean_box(0); +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_5); +x_8 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2(x_1, x_6); +lean_ctor_set(x_2, 1, x_8); +lean_ctor_set(x_2, 0, x_7); return x_2; } else { -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_6, 0, x_4); -x_7 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2(x_5); -lean_ctor_set(x_1, 1, x_7); -lean_ctor_set(x_1, 0, x_6); -return x_1; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_ctor_get(x_1, 0); -x_9 = lean_ctor_get(x_1, 1); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_2, 0); +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); lean_inc(x_9); +lean_dec(x_2); +lean_inc(x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_1); +lean_ctor_set(x_11, 1, x_9); +x_12 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2(x_1, x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +} +} +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, uint8_t x_10, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_58; +x_20 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2(x_1, x_2); +x_21 = l_List_append___rarg(x_20, x_3); +x_22 = l_Lean_Elab_Term_saveAllState___rarg(x_14, x_15, x_16, x_17, x_18, 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); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + x_25 = x_22; +} else { + lean_dec_ref(x_22); + x_25 = lean_box(0); +} +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); lean_inc(x_8); -lean_dec(x_1); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_8); -x_11 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2(x_9); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; +x_58 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_5, x_21, x_6, x_7, x_8, x_9, x_10, x_13, x_14, x_15, x_16, x_17, x_18, x_24); +if (lean_obj_tag(x_58) == 0) +{ +if (x_11 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +lean_dec(x_25); +lean_dec(x_8); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Lean_Elab_Term_saveAllState___rarg(x_14, x_15, x_16, x_17, x_18, x_60); +x_62 = !lean_is_exclusive(x_61); +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_61, 0); +x_64 = lean_ctor_get(x_61, 1); +x_65 = l_Lean_Elab_Term_SavedState_restore(x_23, x_13, x_14, x_15, x_16, x_17, x_18, x_64); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +x_66 = !lean_is_exclusive(x_65); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_65, 1); +x_68 = lean_ctor_get(x_65, 0); +lean_dec(x_68); +lean_ctor_set(x_65, 1, x_63); +lean_ctor_set(x_65, 0, x_59); +x_69 = lean_array_push(x_4, x_65); +lean_ctor_set(x_61, 1, x_67); +lean_ctor_set(x_61, 0, x_69); +return x_61; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_65, 1); +lean_inc(x_70); +lean_dec(x_65); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_59); +lean_ctor_set(x_71, 1, x_63); +x_72 = lean_array_push(x_4, x_71); +lean_ctor_set(x_61, 1, x_70); +lean_ctor_set(x_61, 0, x_72); +return x_61; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_73 = lean_ctor_get(x_61, 0); +x_74 = lean_ctor_get(x_61, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_61); +x_75 = l_Lean_Elab_Term_SavedState_restore(x_23, x_13, x_14, x_15, x_16, x_17, x_18, x_74); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_77 = x_75; +} else { + lean_dec_ref(x_75); + x_77 = lean_box(0); +} +if (lean_is_scalar(x_77)) { + x_78 = lean_alloc_ctor(0, 2, 0); +} else { + x_78 = x_77; +} +lean_ctor_set(x_78, 0, x_59); +lean_ctor_set(x_78, 1, x_73); +x_79 = lean_array_push(x_4, x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_76); +return x_80; +} +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_ctor_get(x_58, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_58, 1); +lean_inc(x_82); +lean_dec(x_58); +x_83 = lean_box(0); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_84 = l_Lean_Elab_Term_ensureHasType(x_8, x_81, x_83, x_13, x_14, x_15, x_16, x_17, x_18, x_82); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; +lean_dec(x_25); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = l_Lean_Elab_Term_saveAllState___rarg(x_14, x_15, x_16, x_17, x_18, x_86); +x_88 = !lean_is_exclusive(x_87); +if (x_88 == 0) +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_89 = lean_ctor_get(x_87, 0); +x_90 = lean_ctor_get(x_87, 1); +x_91 = l_Lean_Elab_Term_SavedState_restore(x_23, x_13, x_14, x_15, x_16, x_17, x_18, x_90); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +x_92 = !lean_is_exclusive(x_91); +if (x_92 == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_91, 1); +x_94 = lean_ctor_get(x_91, 0); +lean_dec(x_94); +lean_ctor_set(x_91, 1, x_89); +lean_ctor_set(x_91, 0, x_85); +x_95 = lean_array_push(x_4, x_91); +lean_ctor_set(x_87, 1, x_93); +lean_ctor_set(x_87, 0, x_95); +return x_87; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_91, 1); +lean_inc(x_96); +lean_dec(x_91); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_85); +lean_ctor_set(x_97, 1, x_89); +x_98 = lean_array_push(x_4, x_97); +lean_ctor_set(x_87, 1, x_96); +lean_ctor_set(x_87, 0, x_98); +return x_87; +} +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_99 = lean_ctor_get(x_87, 0); +x_100 = lean_ctor_get(x_87, 1); +lean_inc(x_100); +lean_inc(x_99); +lean_dec(x_87); +x_101 = l_Lean_Elab_Term_SavedState_restore(x_23, x_13, x_14, x_15, x_16, x_17, x_18, x_100); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_103 = x_101; +} else { + lean_dec_ref(x_101); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(0, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_85); +lean_ctor_set(x_104, 1, x_99); +x_105 = lean_array_push(x_4, x_104); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_102); +return x_106; +} +} +else +{ +lean_object* x_107; lean_object* x_108; +x_107 = lean_ctor_get(x_84, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_84, 1); +lean_inc(x_108); +lean_dec(x_84); +x_26 = x_107; +x_27 = x_108; +goto block_57; +} +} +} +else +{ +lean_object* x_109; lean_object* x_110; +lean_dec(x_8); +x_109 = lean_ctor_get(x_58, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_58, 1); +lean_inc(x_110); +lean_dec(x_58); +x_26 = x_109; +x_27 = x_110; +goto block_57; +} +block_57: +{ +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_28; uint8_t x_29; +lean_dec(x_25); +x_28 = l_Lean_Elab_Term_saveAllState___rarg(x_14, x_15, x_16, x_17, x_18, x_27); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); +x_32 = l_Lean_Elab_Term_SavedState_restore(x_23, x_13, x_14, x_15, x_16, x_17, x_18, x_31); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +x_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, 1); +x_35 = lean_ctor_get(x_32, 0); +lean_dec(x_35); +lean_ctor_set_tag(x_32, 1); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 0, x_26); +x_36 = lean_array_push(x_4, x_32); +lean_ctor_set(x_28, 1, x_34); +lean_ctor_set(x_28, 0, x_36); +return x_28; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_32, 1); +lean_inc(x_37); +lean_dec(x_32); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_26); +lean_ctor_set(x_38, 1, x_30); +x_39 = lean_array_push(x_4, x_38); +lean_ctor_set(x_28, 1, x_37); +lean_ctor_set(x_28, 0, x_39); +return x_28; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_40 = lean_ctor_get(x_28, 0); +x_41 = lean_ctor_get(x_28, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_28); +x_42 = l_Lean_Elab_Term_SavedState_restore(x_23, x_13, x_14, x_15, x_16, x_17, x_18, x_41); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_44 = x_42; +} else { + lean_dec_ref(x_42); + x_44 = lean_box(0); +} +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(1, 2, 0); +} else { + x_45 = x_44; + lean_ctor_set_tag(x_45, 1); +} +lean_ctor_set(x_45, 0, x_26); +lean_ctor_set(x_45, 1, x_40); +x_46 = lean_array_push(x_4, x_45); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_43); +return x_47; +} +} +else +{ +lean_object* x_48; lean_object* x_49; uint8_t x_50; +lean_dec(x_4); +x_48 = lean_ctor_get(x_26, 0); +lean_inc(x_48); +x_49 = l_Lean_Elab_postponeExceptionId; +x_50 = lean_nat_dec_eq(x_48, x_49); +lean_dec(x_48); +if (x_50 == 0) +{ +lean_object* x_51; +lean_dec(x_23); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +if (lean_is_scalar(x_25)) { + x_51 = lean_alloc_ctor(1, 2, 0); +} else { + x_51 = x_25; + lean_ctor_set_tag(x_51, 1); +} +lean_ctor_set(x_51, 0, x_26); +lean_ctor_set(x_51, 1, x_27); +return x_51; +} +else +{ +lean_object* x_52; uint8_t x_53; +lean_dec(x_25); +x_52 = l_Lean_Elab_Term_SavedState_restore(x_23, x_13, x_14, x_15, x_16, x_17, x_18, x_27); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +x_53 = !lean_is_exclusive(x_52); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_52, 0); +lean_dec(x_54); +lean_ctor_set_tag(x_52, 1); +lean_ctor_set(x_52, 0, x_26); +return x_52; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_52, 1); +lean_inc(x_55); +lean_dec(x_52); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_26); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } } -lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +} +} +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -if (lean_obj_tag(x_9) == 0) +if (lean_obj_tag(x_10) == 0) { -lean_object* x_17; +lean_object* x_18; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_8); -lean_ctor_set(x_17, 1, x_16); -return x_17; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_9); +lean_ctor_set(x_18, 1, x_17); +return x_18; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_53; -x_18 = lean_ctor_get(x_9, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_9, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_10, 0); lean_inc(x_19); -lean_dec(x_9); -x_20 = lean_ctor_get(x_18, 0); +x_20 = lean_ctor_get(x_10, 1); lean_inc(x_20); -x_21 = lean_ctor_get(x_18, 1); +lean_dec(x_10); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = l_List_isEmpty___rarg(x_2); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_inc(x_21); -lean_dec(x_18); -x_22 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2(x_21); lean_inc(x_1); -x_23 = l_List_append___rarg(x_22, x_1); -x_24 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); +x_24 = l_Lean_Elab_Term_addTermInfo(x_1, x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_17); 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); -} +lean_dec(x_24); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_53 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_20, x_23, x_2, x_3, x_4, x_5, x_6, x_10, x_11, x_12, x_13, x_14, x_15, x_26); -if (lean_obj_tag(x_53) == 0) +lean_inc(x_1); +x_27 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1(x_1, x_22, x_2, x_9, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_26); +lean_dec(x_25); +if (lean_obj_tag(x_27) == 0) { -if (x_7 == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); lean_dec(x_27); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_55); -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 = l_Lean_Elab_Term_SavedState_restore(x_25, x_10, x_11, x_12, x_13, x_14, x_15, x_58); -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_59, 1); -x_62 = lean_ctor_get(x_59, 0); -lean_dec(x_62); -lean_ctor_set(x_59, 1, x_57); -lean_ctor_set(x_59, 0, x_54); -x_63 = lean_array_push(x_8, x_59); -x_8 = x_63; -x_9 = x_19; -x_16 = x_61; +x_9 = x_28; +x_10 = x_20; +x_17 = x_29; goto _start; } else { +uint8_t x_31; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_27); +if (x_31 == 0) +{ +return x_27; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_27, 0); +x_33 = lean_ctor_get(x_27, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_27); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +x_35 = l_Array_isEmpty___rarg(x_4); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_inc(x_21); +lean_inc(x_1); +x_36 = l_Lean_Elab_Term_addTermInfo(x_1, x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_39 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1(x_1, x_22, x_2, x_9, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_37, x_11, x_12, x_13, x_14, x_15, x_16, x_38); +lean_dec(x_37); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_9 = x_40; +x_10 = x_20; +x_17 = x_41; +goto _start; +} +else +{ +uint8_t x_43; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_43 = !lean_is_exclusive(x_39); +if (x_43 == 0) +{ +return x_39; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_39, 0); +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_39); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +uint8_t x_47; +x_47 = l_Array_isEmpty___rarg(x_3); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_inc(x_21); +lean_inc(x_1); +x_48 = l_Lean_Elab_Term_addTermInfo(x_1, x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_51 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1(x_1, x_22, x_2, x_9, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_49, x_11, x_12, x_13, x_14, x_15, x_16, x_50); +lean_dec(x_49); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_9 = x_52; +x_10 = x_20; +x_17 = x_53; +goto _start; +} +else +{ +uint8_t x_55; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_51); +if (x_55 == 0) +{ +return x_51; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_51, 0); +x_57 = lean_ctor_get(x_51, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_51); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_box(0); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_60 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1(x_1, x_22, x_2, x_9, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_9 = x_61; +x_10 = x_20; +x_17 = x_62; +goto _start; +} +else +{ +uint8_t x_64; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_64 = !lean_is_exclusive(x_60); +if (x_64 == 0) +{ +return x_60; +} +else +{ lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_59, 1); +x_65 = lean_ctor_get(x_60, 0); +x_66 = lean_ctor_get(x_60, 1); +lean_inc(x_66); lean_inc(x_65); -lean_dec(x_59); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_54); -lean_ctor_set(x_66, 1, x_57); -x_67 = lean_array_push(x_8, x_66); -x_8 = x_67; -x_9 = x_19; -x_16 = x_65; -goto _start; -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = lean_ctor_get(x_53, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_53, 1); -lean_inc(x_70); -lean_dec(x_53); -x_71 = lean_box(0); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_4); -x_72 = l_Lean_Elab_Term_ensureHasType(x_4, x_69, x_71, x_10, x_11, x_12, x_13, x_14, x_15, x_70); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -lean_dec(x_27); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_74); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = l_Lean_Elab_Term_SavedState_restore(x_25, x_10, x_11, x_12, x_13, x_14, x_15, x_77); -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_78, 1); -x_81 = lean_ctor_get(x_78, 0); -lean_dec(x_81); -lean_ctor_set(x_78, 1, x_76); -lean_ctor_set(x_78, 0, x_73); -x_82 = lean_array_push(x_8, x_78); -x_8 = x_82; -x_9 = x_19; -x_16 = x_80; -goto _start; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_78, 1); -lean_inc(x_84); -lean_dec(x_78); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_73); -lean_ctor_set(x_85, 1, x_76); -x_86 = lean_array_push(x_8, x_85); -x_8 = x_86; -x_9 = x_19; -x_16 = x_84; -goto _start; -} -} -else -{ -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_72, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_72, 1); -lean_inc(x_89); -lean_dec(x_72); -x_28 = x_88; -x_29 = x_89; -goto block_52; -} -} -} -else -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_ctor_get(x_53, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_53, 1); -lean_inc(x_91); -lean_dec(x_53); -x_28 = x_90; -x_29 = x_91; -goto block_52; -} -block_52: -{ -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -lean_dec(x_27); -x_30 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = l_Lean_Elab_Term_SavedState_restore(x_25, x_10, x_11, x_12, x_13, x_14, x_15, x_32); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_33, 1); -x_36 = lean_ctor_get(x_33, 0); -lean_dec(x_36); -lean_ctor_set_tag(x_33, 1); -lean_ctor_set(x_33, 1, x_31); -lean_ctor_set(x_33, 0, x_28); -x_37 = lean_array_push(x_8, x_33); -x_8 = x_37; -x_9 = x_19; -x_16 = x_35; -goto _start; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_33, 1); -lean_inc(x_39); -lean_dec(x_33); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_28); -lean_ctor_set(x_40, 1, x_31); -x_41 = lean_array_push(x_8, x_40); -x_8 = x_41; -x_9 = x_19; -x_16 = x_39; -goto _start; -} -} -else -{ -lean_object* x_43; lean_object* x_44; uint8_t x_45; -lean_dec(x_19); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_43 = lean_ctor_get(x_28, 0); -lean_inc(x_43); -x_44 = l_Lean_Elab_postponeExceptionId; -x_45 = lean_nat_dec_eq(x_43, x_44); -lean_dec(x_43); -if (x_45 == 0) -{ -lean_object* x_46; -lean_dec(x_25); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_27)) { - x_46 = lean_alloc_ctor(1, 2, 0); -} else { - x_46 = x_27; - lean_ctor_set_tag(x_46, 1); -} -lean_ctor_set(x_46, 0, x_28); -lean_ctor_set(x_46, 1, x_29); -return x_46; -} -else -{ -lean_object* x_47; uint8_t x_48; -lean_dec(x_27); -x_47 = l_Lean_Elab_Term_SavedState_restore(x_25, x_10, x_11, x_12, x_13, x_14, x_15, x_29); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) -{ -lean_object* x_49; -x_49 = lean_ctor_get(x_47, 0); -lean_dec(x_49); -lean_ctor_set_tag(x_47, 1); -lean_ctor_set(x_47, 0, x_28); -return x_47; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_47, 1); -lean_inc(x_50); -lean_dec(x_47); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_28); -lean_ctor_set(x_51, 1, x_50); -return x_51; +lean_dec(x_60); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } @@ -24607,315 +25107,329 @@ return x_51; } } } -lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +} +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -if (lean_obj_tag(x_9) == 0) +if (lean_obj_tag(x_10) == 0) { -lean_object* x_17; +lean_object* x_18; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_8); -lean_ctor_set(x_17, 1, x_16); -return x_17; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_9); +lean_ctor_set(x_18, 1, x_17); +return x_18; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_53; -x_18 = lean_ctor_get(x_9, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_9, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_10, 0); lean_inc(x_19); -lean_dec(x_9); -x_20 = lean_ctor_get(x_18, 0); +x_20 = lean_ctor_get(x_10, 1); lean_inc(x_20); -x_21 = lean_ctor_get(x_18, 1); +lean_dec(x_10); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = l_List_isEmpty___rarg(x_2); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_inc(x_21); -lean_dec(x_18); -x_22 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2(x_21); lean_inc(x_1); -x_23 = l_List_append___rarg(x_22, x_1); -x_24 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); +x_24 = l_Lean_Elab_Term_addTermInfo(x_1, x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_17); 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); -} +lean_dec(x_24); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_53 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_20, x_23, x_2, x_3, x_4, x_5, x_6, x_10, x_11, x_12, x_13, x_14, x_15, x_26); -if (lean_obj_tag(x_53) == 0) +lean_inc(x_1); +x_27 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1(x_1, x_22, x_2, x_9, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_26); +lean_dec(x_25); +if (lean_obj_tag(x_27) == 0) { -if (x_7 == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); lean_dec(x_27); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_55); -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 = l_Lean_Elab_Term_SavedState_restore(x_25, x_10, x_11, x_12, x_13, x_14, x_15, x_58); -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_59, 1); -x_62 = lean_ctor_get(x_59, 0); -lean_dec(x_62); -lean_ctor_set(x_59, 1, x_57); -lean_ctor_set(x_59, 0, x_54); -x_63 = lean_array_push(x_8, x_59); -x_8 = x_63; -x_9 = x_19; -x_16 = x_61; +x_9 = x_28; +x_10 = x_20; +x_17 = x_29; goto _start; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_59, 1); -lean_inc(x_65); -lean_dec(x_59); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_54); -lean_ctor_set(x_66, 1, x_57); -x_67 = lean_array_push(x_8, x_66); -x_8 = x_67; -x_9 = x_19; -x_16 = x_65; -goto _start; -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = lean_ctor_get(x_53, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_53, 1); -lean_inc(x_70); -lean_dec(x_53); -x_71 = lean_box(0); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_4); -x_72 = l_Lean_Elab_Term_ensureHasType(x_4, x_69, x_71, x_10, x_11, x_12, x_13, x_14, x_15, x_70); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -lean_dec(x_27); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_74); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = l_Lean_Elab_Term_SavedState_restore(x_25, x_10, x_11, x_12, x_13, x_14, x_15, x_77); -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_78, 1); -x_81 = lean_ctor_get(x_78, 0); -lean_dec(x_81); -lean_ctor_set(x_78, 1, x_76); -lean_ctor_set(x_78, 0, x_73); -x_82 = lean_array_push(x_8, x_78); -x_8 = x_82; -x_9 = x_19; -x_16 = x_80; -goto _start; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_78, 1); -lean_inc(x_84); -lean_dec(x_78); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_73); -lean_ctor_set(x_85, 1, x_76); -x_86 = lean_array_push(x_8, x_85); -x_8 = x_86; -x_9 = x_19; -x_16 = x_84; -goto _start; -} -} -else -{ -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_72, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_72, 1); -lean_inc(x_89); -lean_dec(x_72); -x_28 = x_88; -x_29 = x_89; -goto block_52; -} -} -} -else -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_ctor_get(x_53, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_53, 1); -lean_inc(x_91); -lean_dec(x_53); -x_28 = x_90; -x_29 = x_91; -goto block_52; -} -block_52: -{ -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -lean_dec(x_27); -x_30 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = l_Lean_Elab_Term_SavedState_restore(x_25, x_10, x_11, x_12, x_13, x_14, x_15, x_32); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_33, 1); -x_36 = lean_ctor_get(x_33, 0); -lean_dec(x_36); -lean_ctor_set_tag(x_33, 1); -lean_ctor_set(x_33, 1, x_31); -lean_ctor_set(x_33, 0, x_28); -x_37 = lean_array_push(x_8, x_33); -x_8 = x_37; -x_9 = x_19; -x_16 = x_35; -goto _start; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_33, 1); -lean_inc(x_39); -lean_dec(x_33); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_28); -lean_ctor_set(x_40, 1, x_31); -x_41 = lean_array_push(x_8, x_40); -x_8 = x_41; -x_9 = x_19; -x_16 = x_39; -goto _start; -} -} -else -{ -lean_object* x_43; lean_object* x_44; uint8_t x_45; -lean_dec(x_19); -lean_dec(x_8); +uint8_t x_31; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_43 = lean_ctor_get(x_28, 0); -lean_inc(x_43); -x_44 = l_Lean_Elab_postponeExceptionId; -x_45 = lean_nat_dec_eq(x_43, x_44); -lean_dec(x_43); -if (x_45 == 0) +x_31 = !lean_is_exclusive(x_27); +if (x_31 == 0) { -lean_object* x_46; -lean_dec(x_25); +return x_27; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_27, 0); +x_33 = lean_ctor_get(x_27, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_27); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +x_35 = l_Array_isEmpty___rarg(x_4); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_inc(x_21); +lean_inc(x_1); +x_36 = l_Lean_Elab_Term_addTermInfo(x_1, x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_39 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1(x_1, x_22, x_2, x_9, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_37, x_11, x_12, x_13, x_14, x_15, x_16, x_38); +lean_dec(x_37); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_9 = x_40; +x_10 = x_20; +x_17 = x_41; +goto _start; +} +else +{ +uint8_t x_43; +lean_dec(x_20); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_27)) { - x_46 = lean_alloc_ctor(1, 2, 0); -} else { - x_46 = x_27; - lean_ctor_set_tag(x_46, 1); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_43 = !lean_is_exclusive(x_39); +if (x_43 == 0) +{ +return x_39; } -lean_ctor_set(x_46, 0, x_28); -lean_ctor_set(x_46, 1, x_29); +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_39, 0); +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_39); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); return x_46; } +} +} else { -lean_object* x_47; uint8_t x_48; -lean_dec(x_27); -x_47 = l_Lean_Elab_Term_SavedState_restore(x_25, x_10, x_11, x_12, x_13, x_14, x_15, x_29); +uint8_t x_47; +x_47 = l_Array_isEmpty___rarg(x_3); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_inc(x_21); +lean_inc(x_1); +x_48 = l_Lean_Elab_Term_addTermInfo(x_1, x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_51 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1(x_1, x_22, x_2, x_9, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_49, x_11, x_12, x_13, x_14, x_15, x_16, x_50); +lean_dec(x_49); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_9 = x_52; +x_10 = x_20; +x_17 = x_53; +goto _start; +} +else +{ +uint8_t x_55; +lean_dec(x_20); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_51); +if (x_55 == 0) { -lean_object* x_49; -x_49 = lean_ctor_get(x_47, 0); -lean_dec(x_49); -lean_ctor_set_tag(x_47, 1); -lean_ctor_set(x_47, 0, x_28); -return x_47; +return x_51; } else { -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_47, 1); -lean_inc(x_50); -lean_dec(x_47); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_28); -lean_ctor_set(x_51, 1, x_50); -return x_51; +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_51, 0); +x_57 = lean_ctor_get(x_51, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_51); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_box(0); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_60 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1(x_1, x_22, x_2, x_9, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_59, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_9 = x_61; +x_10 = x_20; +x_17 = x_62; +goto _start; +} +else +{ +uint8_t x_64; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_64 = !lean_is_exclusive(x_60); +if (x_64 == 0) +{ +return x_60; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_60, 0); +x_66 = lean_ctor_get(x_60, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_60); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} } } } @@ -24947,7 +25461,6 @@ x_25 = lean_ctor_get(x_15, 5); lean_inc(x_25); x_26 = l_Lean_replaceRef(x_1, x_23); lean_dec(x_23); -lean_dec(x_1); x_27 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_27, 0, x_20); lean_ctor_set(x_27, 1, x_21); @@ -25023,7 +25536,7 @@ x_50 = lean_ctor_get(x_11, 0); lean_dec(x_50); x_51 = 0; lean_ctor_set_uint8(x_11, sizeof(void*)*6 + 1, x_51); -x_52 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3(x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_10, x_29, x_11, x_12, x_13, x_14, x_15, x_16, x_30); +x_52 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_10, x_29, x_11, x_12, x_13, x_14, x_15, x_16, x_30); return x_52; } else @@ -25041,7 +25554,7 @@ lean_ctor_set(x_54, 5, x_38); lean_ctor_set_uint8(x_54, sizeof(void*)*6, x_36); lean_ctor_set_uint8(x_54, sizeof(void*)*6 + 1, x_53); lean_ctor_set_uint8(x_54, sizeof(void*)*6 + 2, x_37); -x_55 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3(x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_10, x_29, x_54, x_12, x_13, x_14, x_15, x_16, x_30); +x_55 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_10, x_29, x_54, x_12, x_13, x_14, x_15, x_16, x_30); return x_55; } } @@ -25064,7 +25577,7 @@ x_61 = lean_ctor_get(x_11, 1); lean_dec(x_61); x_62 = lean_ctor_get(x_11, 0); lean_dec(x_62); -x_63 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4(x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_10, x_29, x_11, x_12, x_13, x_14, x_15, x_16, x_30); +x_63 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_10, x_29, x_11, x_12, x_13, x_14, x_15, x_16, x_30); return x_63; } else @@ -25082,7 +25595,7 @@ lean_ctor_set(x_65, 5, x_38); lean_ctor_set_uint8(x_65, sizeof(void*)*6, x_36); lean_ctor_set_uint8(x_65, sizeof(void*)*6 + 1, x_64); lean_ctor_set_uint8(x_65, sizeof(void*)*6 + 2, x_37); -x_66 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4(x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_10, x_29, x_65, x_12, x_13, x_14, x_15, x_16, x_30); +x_66 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_10, x_29, x_65, x_12, x_13, x_14, x_15, x_16, x_30); return x_66; } } @@ -25102,6 +25615,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_1); x_70 = !lean_is_exclusive(x_28); if (x_70 == 0) { @@ -25157,32 +25671,100 @@ lean_dec(x_1); return x_7; } } -lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; _start: { -uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; -x_17 = lean_unbox(x_5); -lean_dec(x_5); +uint8_t x_20; uint8_t x_21; uint8_t x_22; lean_object* x_23; +x_20 = lean_unbox(x_9); +lean_dec(x_9); +x_21 = lean_unbox(x_10); +lean_dec(x_10); +x_22 = lean_unbox(x_11); +lean_dec(x_11); +x_23 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_20, x_21, x_22, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_12); +return x_23; +} +} +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; x_18 = lean_unbox(x_6); lean_dec(x_6); x_19 = lean_unbox(x_7); lean_dec(x_7); -x_20 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3(x_1, x_2, x_3, x_4, x_17, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_20; +x_20 = lean_unbox(x_8); +lean_dec(x_8); +x_21 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__3(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_21; } } -lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; -x_17 = lean_unbox(x_5); -lean_dec(x_5); +uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; x_18 = lean_unbox(x_6); lean_dec(x_6); x_19 = lean_unbox(x_7); lean_dec(x_7); -x_20 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4(x_1, x_2, x_3, x_4, x_17, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_20; +x_20 = lean_unbox(x_8); +lean_dec(x_8); +x_21 = l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__4(x_1, x_2, x_3, x_4, x_5, x_18, x_19, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_21; } } lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___boxed(lean_object** _args) { @@ -25264,50 +25846,55 @@ return x_22; } } } -lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2(lean_object* x_1) { +lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2(lean_object* x_1, lean_object* x_2) { _start: { -if (lean_obj_tag(x_1) == 0) +if (lean_obj_tag(x_2) == 0) { -lean_object* x_2; -x_2 = lean_box(0); +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +x_7 = l_Lean_Name_toString___closed__1; +x_8 = l_Lean_Name_toStringWithSep(x_7, x_5); +lean_inc(x_1); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +x_10 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2(x_1, x_6); +lean_ctor_set(x_2, 1, x_10); +lean_ctor_set(x_2, 0, x_9); 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; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = l_Lean_Name_toString___closed__1; -x_7 = l_Lean_Name_toStringWithSep(x_6, x_4); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_7); -x_9 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2(x_5); -lean_ctor_set(x_1, 1, x_9); -lean_ctor_set(x_1, 0, x_8); -return x_1; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_10 = lean_ctor_get(x_1, 0); -x_11 = lean_ctor_get(x_1, 1); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_1); -x_12 = l_Lean_Name_toString___closed__1; -x_13 = l_Lean_Name_toStringWithSep(x_12, x_10); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -x_15 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2(x_11); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; +lean_dec(x_2); +x_13 = l_Lean_Name_toString___closed__1; +x_14 = l_Lean_Name_toStringWithSep(x_13, x_11); +lean_inc(x_1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2(x_1, x_12); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; } } } @@ -30384,114 +30971,117 @@ return x_1052; } else { -lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; +lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; x_1053 = lean_unsigned_to_nat(0u); x_1054 = l_Lean_Syntax_getArg(x_1, x_1053); -x_1055 = lean_unsigned_to_nat(2u); +x_1055 = lean_unsigned_to_nat(1u); x_1056 = l_Lean_Syntax_getArg(x_1, x_1055); +x_1057 = lean_unsigned_to_nat(2u); +x_1058 = l_Lean_Syntax_getArg(x_1, x_1057); lean_dec(x_1); -x_1057 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1057, 0, x_1056); -x_1058 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1058, 0, x_1057); -lean_ctor_set(x_1058, 1, x_2); +x_1059 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1059, 0, x_1056); +lean_ctor_set(x_1059, 1, x_1058); +x_1060 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1060, 0, x_1059); +lean_ctor_set(x_1060, 1, x_2); x_1 = x_1054; -x_2 = x_1058; +x_2 = x_1060; goto _start; } } else { -lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; -x_1060 = lean_unsigned_to_nat(0u); -x_1061 = l_Lean_Syntax_getArg(x_1, x_1060); -x_1062 = lean_unsigned_to_nat(2u); +lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; +x_1062 = lean_unsigned_to_nat(0u); x_1063 = l_Lean_Syntax_getArg(x_1, x_1062); +x_1064 = lean_unsigned_to_nat(2u); +x_1065 = l_Lean_Syntax_getArg(x_1, x_1064); lean_dec(x_1); -x_1064 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_14, x_15, x_16); -x_1065 = lean_ctor_get(x_1064, 0); -lean_inc(x_1065); -x_1066 = lean_ctor_get(x_1064, 1); -lean_inc(x_1066); -lean_dec(x_1064); -x_1067 = l_Lean_Elab_Term_getCurrMacroScope(x_10, x_11, x_12, x_13, x_14, x_15, x_1066); -x_1068 = lean_ctor_get(x_1067, 1); +x_1066 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_14, x_15, x_16); +x_1067 = lean_ctor_get(x_1066, 0); +lean_inc(x_1067); +x_1068 = lean_ctor_get(x_1066, 1); lean_inc(x_1068); -lean_dec(x_1067); -x_1069 = l_Lean_Elab_Term_getMainModule___rarg(x_15, x_1068); +lean_dec(x_1066); +x_1069 = l_Lean_Elab_Term_getCurrMacroScope(x_10, x_11, x_12, x_13, x_14, x_15, x_1068); x_1070 = lean_ctor_get(x_1069, 1); lean_inc(x_1070); lean_dec(x_1069); -x_1071 = l_Array_empty___closed__1; -x_1072 = lean_array_push(x_1071, x_1061); -x_1073 = l_Lean_Name_toString___closed__1; -x_1074 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1074, 0, x_1065); -lean_ctor_set(x_1074, 1, x_1073); -x_1075 = lean_array_push(x_1072, x_1074); -x_1076 = lean_array_push(x_1075, x_1063); -x_1077 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1077, 0, x_20); -lean_ctor_set(x_1077, 1, x_1076); -x_1 = x_1077; -x_16 = x_1070; +x_1071 = l_Lean_Elab_Term_getMainModule___rarg(x_15, x_1070); +x_1072 = lean_ctor_get(x_1071, 1); +lean_inc(x_1072); +lean_dec(x_1071); +x_1073 = l_Array_empty___closed__1; +x_1074 = lean_array_push(x_1073, x_1063); +x_1075 = l_Lean_Name_toString___closed__1; +x_1076 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1076, 0, x_1067); +lean_ctor_set(x_1076, 1, x_1075); +x_1077 = lean_array_push(x_1074, x_1076); +x_1078 = lean_array_push(x_1077, x_1065); +x_1079 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1079, 0, x_20); +lean_ctor_set(x_1079, 1, x_1078); +x_1 = x_1079; +x_16 = x_1072; goto _start; } } else { -lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; uint8_t x_1084; -x_1079 = lean_unsigned_to_nat(0u); -x_1080 = l_Lean_Syntax_getArg(x_1, x_1079); -x_1081 = lean_unsigned_to_nat(2u); +lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; uint8_t x_1086; +x_1081 = lean_unsigned_to_nat(0u); x_1082 = l_Lean_Syntax_getArg(x_1, x_1081); -x_1083 = l_Lean_fieldIdxKind___closed__2; -lean_inc(x_1082); -x_1084 = l_Lean_Syntax_isOfKind(x_1082, x_1083); -if (x_1084 == 0) -{ -lean_object* x_1085; uint8_t x_1086; -x_1085 = l_Lean_identKind___closed__2; -lean_inc(x_1082); -x_1086 = l_Lean_Syntax_isOfKind(x_1082, x_1085); +x_1083 = lean_unsigned_to_nat(2u); +x_1084 = l_Lean_Syntax_getArg(x_1, x_1083); +x_1085 = l_Lean_fieldIdxKind___closed__2; +lean_inc(x_1084); +x_1086 = l_Lean_Syntax_isOfKind(x_1084, x_1085); if (x_1086 == 0) { -uint8_t x_1087; uint8_t x_1088; +lean_object* x_1087; uint8_t x_1088; +x_1087 = l_Lean_identKind___closed__2; +lean_inc(x_1084); +x_1088 = l_Lean_Syntax_isOfKind(x_1084, x_1087); +if (x_1088 == 0) +{ +uint8_t x_1089; uint8_t x_1090; +lean_dec(x_1084); lean_dec(x_1082); -lean_dec(x_1080); -x_1087 = l_List_isEmpty___rarg(x_2); +x_1089 = l_List_isEmpty___rarg(x_2); if (x_8 == 0) { -uint8_t x_1411; -x_1411 = 1; -x_1088 = x_1411; -goto block_1410; +uint8_t x_1413; +x_1413 = 1; +x_1090 = x_1413; +goto block_1412; } else { -uint8_t x_1412; -x_1412 = 0; -x_1088 = x_1412; -goto block_1410; +uint8_t x_1414; +x_1414 = 0; +x_1090 = x_1414; +goto block_1412; } -block_1410: +block_1412: { -if (x_1087 == 0) +if (x_1089 == 0) { -lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1126; lean_object* x_1127; lean_object* x_1149; -x_1089 = lean_box(0); -x_1090 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_1091 = lean_ctor_get(x_1090, 0); -lean_inc(x_1091); -x_1092 = lean_ctor_get(x_1090, 1); -lean_inc(x_1092); -if (lean_is_exclusive(x_1090)) { - lean_ctor_release(x_1090, 0); - lean_ctor_release(x_1090, 1); - x_1093 = x_1090; +lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1128; lean_object* x_1129; lean_object* x_1151; +x_1091 = lean_box(0); +x_1092 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); +x_1093 = lean_ctor_get(x_1092, 0); +lean_inc(x_1093); +x_1094 = lean_ctor_get(x_1092, 1); +lean_inc(x_1094); +if (lean_is_exclusive(x_1092)) { + lean_ctor_release(x_1092, 0); + lean_ctor_release(x_1092, 1); + x_1095 = x_1092; } else { - lean_dec_ref(x_1090); - x_1093 = lean_box(0); + lean_dec_ref(x_1092); + x_1095 = lean_box(0); } lean_inc(x_15); lean_inc(x_14); @@ -30499,15 +31089,15 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_1149 = l_Lean_Elab_Term_elabTerm(x_1, x_1089, x_1088, x_10, x_11, x_12, x_13, x_14, x_15, x_1092); -if (lean_obj_tag(x_1149) == 0) +x_1151 = l_Lean_Elab_Term_elabTerm(x_1, x_1091, x_1090, x_10, x_11, x_12, x_13, x_14, x_15, x_1094); +if (lean_obj_tag(x_1151) == 0) { -lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; -x_1150 = lean_ctor_get(x_1149, 0); -lean_inc(x_1150); -x_1151 = lean_ctor_get(x_1149, 1); -lean_inc(x_1151); -lean_dec(x_1149); +lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; +x_1152 = lean_ctor_get(x_1151, 0); +lean_inc(x_1152); +x_1153 = lean_ctor_get(x_1151, 1); +lean_inc(x_1153); +lean_dec(x_1151); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -30515,355 +31105,355 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_5); -x_1152 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_1150, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_1151); -if (lean_obj_tag(x_1152) == 0) +x_1154 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_1152, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_1153); +if (lean_obj_tag(x_1154) == 0) { if (x_8 == 0) { -lean_object* x_1153; lean_object* x_1154; -lean_dec(x_1093); +lean_object* x_1155; lean_object* x_1156; +lean_dec(x_1095); lean_dec(x_5); -x_1153 = lean_ctor_get(x_1152, 0); -lean_inc(x_1153); -x_1154 = lean_ctor_get(x_1152, 1); -lean_inc(x_1154); -lean_dec(x_1152); -x_1126 = x_1153; -x_1127 = x_1154; -goto block_1148; +x_1155 = lean_ctor_get(x_1154, 0); +lean_inc(x_1155); +x_1156 = lean_ctor_get(x_1154, 1); +lean_inc(x_1156); +lean_dec(x_1154); +x_1128 = x_1155; +x_1129 = x_1156; +goto block_1150; } else { -lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; -x_1155 = lean_ctor_get(x_1152, 0); -lean_inc(x_1155); -x_1156 = lean_ctor_get(x_1152, 1); -lean_inc(x_1156); -lean_dec(x_1152); +lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; +x_1157 = lean_ctor_get(x_1154, 0); +lean_inc(x_1157); +x_1158 = lean_ctor_get(x_1154, 1); +lean_inc(x_1158); +lean_dec(x_1154); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_1157 = l_Lean_Elab_Term_ensureHasType(x_5, x_1155, x_1089, x_10, x_11, x_12, x_13, x_14, x_15, x_1156); -if (lean_obj_tag(x_1157) == 0) -{ -lean_object* x_1158; lean_object* x_1159; -lean_dec(x_1093); -x_1158 = lean_ctor_get(x_1157, 0); -lean_inc(x_1158); -x_1159 = lean_ctor_get(x_1157, 1); -lean_inc(x_1159); -lean_dec(x_1157); -x_1126 = x_1158; -x_1127 = x_1159; -goto block_1148; -} -else +x_1159 = l_Lean_Elab_Term_ensureHasType(x_5, x_1157, x_1091, x_10, x_11, x_12, x_13, x_14, x_15, x_1158); +if (lean_obj_tag(x_1159) == 0) { lean_object* x_1160; lean_object* x_1161; -x_1160 = lean_ctor_get(x_1157, 0); +lean_dec(x_1095); +x_1160 = lean_ctor_get(x_1159, 0); lean_inc(x_1160); -x_1161 = lean_ctor_get(x_1157, 1); +x_1161 = lean_ctor_get(x_1159, 1); lean_inc(x_1161); -lean_dec(x_1157); -x_1094 = x_1160; -x_1095 = x_1161; -goto block_1125; -} -} +lean_dec(x_1159); +x_1128 = x_1160; +x_1129 = x_1161; +goto block_1150; } else { lean_object* x_1162; lean_object* x_1163; -lean_dec(x_5); -x_1162 = lean_ctor_get(x_1152, 0); +x_1162 = lean_ctor_get(x_1159, 0); lean_inc(x_1162); -x_1163 = lean_ctor_get(x_1152, 1); +x_1163 = lean_ctor_get(x_1159, 1); lean_inc(x_1163); -lean_dec(x_1152); -x_1094 = x_1162; -x_1095 = x_1163; -goto block_1125; +lean_dec(x_1159); +x_1096 = x_1162; +x_1097 = x_1163; +goto block_1127; +} } } else { lean_object* x_1164; lean_object* x_1165; lean_dec(x_5); +x_1164 = lean_ctor_get(x_1154, 0); +lean_inc(x_1164); +x_1165 = lean_ctor_get(x_1154, 1); +lean_inc(x_1165); +lean_dec(x_1154); +x_1096 = x_1164; +x_1097 = x_1165; +goto block_1127; +} +} +else +{ +lean_object* x_1166; lean_object* x_1167; +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1164 = lean_ctor_get(x_1149, 0); -lean_inc(x_1164); -x_1165 = lean_ctor_get(x_1149, 1); -lean_inc(x_1165); -lean_dec(x_1149); -x_1094 = x_1164; -x_1095 = x_1165; -goto block_1125; +x_1166 = lean_ctor_get(x_1151, 0); +lean_inc(x_1166); +x_1167 = lean_ctor_get(x_1151, 1); +lean_inc(x_1167); +lean_dec(x_1151); +x_1096 = x_1166; +x_1097 = x_1167; +goto block_1127; } -block_1125: +block_1127: { -if (lean_obj_tag(x_1094) == 0) +if (lean_obj_tag(x_1096) == 0) { -lean_object* x_1096; uint8_t x_1097; -lean_dec(x_1093); -x_1096 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1095); -x_1097 = !lean_is_exclusive(x_1096); -if (x_1097 == 0) +lean_object* x_1098; uint8_t x_1099; +lean_dec(x_1095); +x_1098 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1097); +x_1099 = !lean_is_exclusive(x_1098); +if (x_1099 == 0) { -lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; uint8_t x_1101; -x_1098 = lean_ctor_get(x_1096, 0); -x_1099 = lean_ctor_get(x_1096, 1); -x_1100 = l_Lean_Elab_Term_SavedState_restore(x_1091, x_10, x_11, x_12, x_13, x_14, x_15, x_1099); +lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; uint8_t x_1103; +x_1100 = lean_ctor_get(x_1098, 0); +x_1101 = lean_ctor_get(x_1098, 1); +x_1102 = l_Lean_Elab_Term_SavedState_restore(x_1093, x_10, x_11, x_12, x_13, x_14, x_15, x_1101); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_1101 = !lean_is_exclusive(x_1100); -if (x_1101 == 0) +x_1103 = !lean_is_exclusive(x_1102); +if (x_1103 == 0) { -lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; -x_1102 = lean_ctor_get(x_1100, 1); -x_1103 = lean_ctor_get(x_1100, 0); -lean_dec(x_1103); -lean_ctor_set_tag(x_1100, 1); -lean_ctor_set(x_1100, 1, x_1098); -lean_ctor_set(x_1100, 0, x_1094); -x_1104 = lean_array_push(x_9, x_1100); -lean_ctor_set(x_1096, 1, x_1102); -lean_ctor_set(x_1096, 0, x_1104); -return x_1096; +lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; +x_1104 = lean_ctor_get(x_1102, 1); +x_1105 = lean_ctor_get(x_1102, 0); +lean_dec(x_1105); +lean_ctor_set_tag(x_1102, 1); +lean_ctor_set(x_1102, 1, x_1100); +lean_ctor_set(x_1102, 0, x_1096); +x_1106 = lean_array_push(x_9, x_1102); +lean_ctor_set(x_1098, 1, x_1104); +lean_ctor_set(x_1098, 0, x_1106); +return x_1098; } else { -lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; -x_1105 = lean_ctor_get(x_1100, 1); -lean_inc(x_1105); -lean_dec(x_1100); -x_1106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1106, 0, x_1094); -lean_ctor_set(x_1106, 1, x_1098); -x_1107 = lean_array_push(x_9, x_1106); -lean_ctor_set(x_1096, 1, x_1105); -lean_ctor_set(x_1096, 0, x_1107); -return x_1096; +lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; +x_1107 = lean_ctor_get(x_1102, 1); +lean_inc(x_1107); +lean_dec(x_1102); +x_1108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1108, 0, x_1096); +lean_ctor_set(x_1108, 1, x_1100); +x_1109 = lean_array_push(x_9, x_1108); +lean_ctor_set(x_1098, 1, x_1107); +lean_ctor_set(x_1098, 0, x_1109); +return x_1098; } } else { -lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; -x_1108 = lean_ctor_get(x_1096, 0); -x_1109 = lean_ctor_get(x_1096, 1); -lean_inc(x_1109); -lean_inc(x_1108); -lean_dec(x_1096); -x_1110 = l_Lean_Elab_Term_SavedState_restore(x_1091, x_10, x_11, x_12, x_13, x_14, x_15, x_1109); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1111 = lean_ctor_get(x_1110, 1); +lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; +x_1110 = lean_ctor_get(x_1098, 0); +x_1111 = lean_ctor_get(x_1098, 1); lean_inc(x_1111); -if (lean_is_exclusive(x_1110)) { - lean_ctor_release(x_1110, 0); - lean_ctor_release(x_1110, 1); - x_1112 = x_1110; +lean_inc(x_1110); +lean_dec(x_1098); +x_1112 = l_Lean_Elab_Term_SavedState_restore(x_1093, x_10, x_11, x_12, x_13, x_14, x_15, x_1111); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_1113 = lean_ctor_get(x_1112, 1); +lean_inc(x_1113); +if (lean_is_exclusive(x_1112)) { + lean_ctor_release(x_1112, 0); + lean_ctor_release(x_1112, 1); + x_1114 = x_1112; } else { - lean_dec_ref(x_1110); - x_1112 = lean_box(0); + lean_dec_ref(x_1112); + x_1114 = lean_box(0); } -if (lean_is_scalar(x_1112)) { - x_1113 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1114)) { + x_1115 = lean_alloc_ctor(1, 2, 0); } else { - x_1113 = x_1112; - lean_ctor_set_tag(x_1113, 1); + x_1115 = x_1114; + lean_ctor_set_tag(x_1115, 1); } -lean_ctor_set(x_1113, 0, x_1094); -lean_ctor_set(x_1113, 1, x_1108); -x_1114 = lean_array_push(x_9, x_1113); -x_1115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1115, 0, x_1114); -lean_ctor_set(x_1115, 1, x_1111); -return x_1115; +lean_ctor_set(x_1115, 0, x_1096); +lean_ctor_set(x_1115, 1, x_1110); +x_1116 = lean_array_push(x_9, x_1115); +x_1117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1117, 0, x_1116); +lean_ctor_set(x_1117, 1, x_1113); +return x_1117; } } else { -lean_object* x_1116; lean_object* x_1117; uint8_t x_1118; +lean_object* x_1118; lean_object* x_1119; uint8_t x_1120; lean_dec(x_9); -x_1116 = lean_ctor_get(x_1094, 0); -lean_inc(x_1116); -x_1117 = l_Lean_Elab_postponeExceptionId; -x_1118 = lean_nat_dec_eq(x_1116, x_1117); -lean_dec(x_1116); -if (x_1118 == 0) +x_1118 = lean_ctor_get(x_1096, 0); +lean_inc(x_1118); +x_1119 = l_Lean_Elab_postponeExceptionId; +x_1120 = lean_nat_dec_eq(x_1118, x_1119); +lean_dec(x_1118); +if (x_1120 == 0) { -lean_object* x_1119; -lean_dec(x_1091); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_1093)) { - x_1119 = lean_alloc_ctor(1, 2, 0); -} else { - x_1119 = x_1093; - lean_ctor_set_tag(x_1119, 1); -} -lean_ctor_set(x_1119, 0, x_1094); -lean_ctor_set(x_1119, 1, x_1095); -return x_1119; -} -else -{ -lean_object* x_1120; uint8_t x_1121; +lean_object* x_1121; lean_dec(x_1093); -x_1120 = l_Lean_Elab_Term_SavedState_restore(x_1091, x_10, x_11, x_12, x_13, x_14, x_15, x_1095); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_1121 = !lean_is_exclusive(x_1120); -if (x_1121 == 0) +if (lean_is_scalar(x_1095)) { + x_1121 = lean_alloc_ctor(1, 2, 0); +} else { + x_1121 = x_1095; + lean_ctor_set_tag(x_1121, 1); +} +lean_ctor_set(x_1121, 0, x_1096); +lean_ctor_set(x_1121, 1, x_1097); +return x_1121; +} +else { -lean_object* x_1122; -x_1122 = lean_ctor_get(x_1120, 0); +lean_object* x_1122; uint8_t x_1123; +lean_dec(x_1095); +x_1122 = l_Lean_Elab_Term_SavedState_restore(x_1093, x_10, x_11, x_12, x_13, x_14, x_15, x_1097); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_1123 = !lean_is_exclusive(x_1122); +if (x_1123 == 0) +{ +lean_object* x_1124; +x_1124 = lean_ctor_get(x_1122, 0); +lean_dec(x_1124); +lean_ctor_set_tag(x_1122, 1); +lean_ctor_set(x_1122, 0, x_1096); +return x_1122; +} +else +{ +lean_object* x_1125; lean_object* x_1126; +x_1125 = lean_ctor_get(x_1122, 1); +lean_inc(x_1125); lean_dec(x_1122); -lean_ctor_set_tag(x_1120, 1); -lean_ctor_set(x_1120, 0, x_1094); -return x_1120; +x_1126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1126, 0, x_1096); +lean_ctor_set(x_1126, 1, x_1125); +return x_1126; } -else +} +} +} +block_1150: { -lean_object* x_1123; lean_object* x_1124; -x_1123 = lean_ctor_get(x_1120, 1); -lean_inc(x_1123); -lean_dec(x_1120); -x_1124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1124, 0, x_1094); -lean_ctor_set(x_1124, 1, x_1123); -return x_1124; -} -} -} -} -block_1148: +lean_object* x_1130; uint8_t x_1131; +x_1130 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1129); +x_1131 = !lean_is_exclusive(x_1130); +if (x_1131 == 0) { -lean_object* x_1128; uint8_t x_1129; -x_1128 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1127); -x_1129 = !lean_is_exclusive(x_1128); -if (x_1129 == 0) -{ -lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; uint8_t x_1133; -x_1130 = lean_ctor_get(x_1128, 0); -x_1131 = lean_ctor_get(x_1128, 1); -x_1132 = l_Lean_Elab_Term_SavedState_restore(x_1091, x_10, x_11, x_12, x_13, x_14, x_15, x_1131); +lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; uint8_t x_1135; +x_1132 = lean_ctor_get(x_1130, 0); +x_1133 = lean_ctor_get(x_1130, 1); +x_1134 = l_Lean_Elab_Term_SavedState_restore(x_1093, x_10, x_11, x_12, x_13, x_14, x_15, x_1133); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_1133 = !lean_is_exclusive(x_1132); -if (x_1133 == 0) +x_1135 = !lean_is_exclusive(x_1134); +if (x_1135 == 0) { -lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; -x_1134 = lean_ctor_get(x_1132, 1); -x_1135 = lean_ctor_get(x_1132, 0); -lean_dec(x_1135); -lean_ctor_set(x_1132, 1, x_1130); -lean_ctor_set(x_1132, 0, x_1126); -x_1136 = lean_array_push(x_9, x_1132); -lean_ctor_set(x_1128, 1, x_1134); -lean_ctor_set(x_1128, 0, x_1136); -return x_1128; +lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; +x_1136 = lean_ctor_get(x_1134, 1); +x_1137 = lean_ctor_get(x_1134, 0); +lean_dec(x_1137); +lean_ctor_set(x_1134, 1, x_1132); +lean_ctor_set(x_1134, 0, x_1128); +x_1138 = lean_array_push(x_9, x_1134); +lean_ctor_set(x_1130, 1, x_1136); +lean_ctor_set(x_1130, 0, x_1138); +return x_1130; } else { -lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; -x_1137 = lean_ctor_get(x_1132, 1); -lean_inc(x_1137); -lean_dec(x_1132); -x_1138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1138, 0, x_1126); -lean_ctor_set(x_1138, 1, x_1130); -x_1139 = lean_array_push(x_9, x_1138); -lean_ctor_set(x_1128, 1, x_1137); -lean_ctor_set(x_1128, 0, x_1139); -return x_1128; +lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; +x_1139 = lean_ctor_get(x_1134, 1); +lean_inc(x_1139); +lean_dec(x_1134); +x_1140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1140, 0, x_1128); +lean_ctor_set(x_1140, 1, x_1132); +x_1141 = lean_array_push(x_9, x_1140); +lean_ctor_set(x_1130, 1, x_1139); +lean_ctor_set(x_1130, 0, x_1141); +return x_1130; } } else { -lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; -x_1140 = lean_ctor_get(x_1128, 0); -x_1141 = lean_ctor_get(x_1128, 1); -lean_inc(x_1141); -lean_inc(x_1140); -lean_dec(x_1128); -x_1142 = l_Lean_Elab_Term_SavedState_restore(x_1091, x_10, x_11, x_12, x_13, x_14, x_15, x_1141); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1143 = lean_ctor_get(x_1142, 1); +lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; +x_1142 = lean_ctor_get(x_1130, 0); +x_1143 = lean_ctor_get(x_1130, 1); lean_inc(x_1143); -if (lean_is_exclusive(x_1142)) { - lean_ctor_release(x_1142, 0); - lean_ctor_release(x_1142, 1); - x_1144 = x_1142; +lean_inc(x_1142); +lean_dec(x_1130); +x_1144 = l_Lean_Elab_Term_SavedState_restore(x_1093, x_10, x_11, x_12, x_13, x_14, x_15, x_1143); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_1145 = lean_ctor_get(x_1144, 1); +lean_inc(x_1145); +if (lean_is_exclusive(x_1144)) { + lean_ctor_release(x_1144, 0); + lean_ctor_release(x_1144, 1); + x_1146 = x_1144; } else { - lean_dec_ref(x_1142); - x_1144 = lean_box(0); + lean_dec_ref(x_1144); + x_1146 = lean_box(0); } -if (lean_is_scalar(x_1144)) { - x_1145 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_1146)) { + x_1147 = lean_alloc_ctor(0, 2, 0); } else { - x_1145 = x_1144; + x_1147 = x_1146; } -lean_ctor_set(x_1145, 0, x_1126); -lean_ctor_set(x_1145, 1, x_1140); -x_1146 = lean_array_push(x_9, x_1145); -x_1147 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1147, 0, x_1146); -lean_ctor_set(x_1147, 1, x_1143); -return x_1147; +lean_ctor_set(x_1147, 0, x_1128); +lean_ctor_set(x_1147, 1, x_1142); +x_1148 = lean_array_push(x_9, x_1147); +x_1149 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1149, 0, x_1148); +lean_ctor_set(x_1149, 1, x_1145); +return x_1149; } } } else { -uint8_t x_1166; -x_1166 = l_Array_isEmpty___rarg(x_3); -if (x_1166 == 0) +uint8_t x_1168; +x_1168 = l_Array_isEmpty___rarg(x_3); +if (x_1168 == 0) { -lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1204; lean_object* x_1205; lean_object* x_1227; -x_1167 = lean_box(0); -x_1168 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_1169 = lean_ctor_get(x_1168, 0); -lean_inc(x_1169); -x_1170 = lean_ctor_get(x_1168, 1); -lean_inc(x_1170); -if (lean_is_exclusive(x_1168)) { - lean_ctor_release(x_1168, 0); - lean_ctor_release(x_1168, 1); - x_1171 = x_1168; +lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1206; lean_object* x_1207; lean_object* x_1229; +x_1169 = lean_box(0); +x_1170 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); +x_1171 = lean_ctor_get(x_1170, 0); +lean_inc(x_1171); +x_1172 = lean_ctor_get(x_1170, 1); +lean_inc(x_1172); +if (lean_is_exclusive(x_1170)) { + lean_ctor_release(x_1170, 0); + lean_ctor_release(x_1170, 1); + x_1173 = x_1170; } else { - lean_dec_ref(x_1168); - x_1171 = lean_box(0); + lean_dec_ref(x_1170); + x_1173 = lean_box(0); } lean_inc(x_15); lean_inc(x_14); @@ -30871,15 +31461,15 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_1227 = l_Lean_Elab_Term_elabTerm(x_1, x_1167, x_1088, x_10, x_11, x_12, x_13, x_14, x_15, x_1170); -if (lean_obj_tag(x_1227) == 0) +x_1229 = l_Lean_Elab_Term_elabTerm(x_1, x_1169, x_1090, x_10, x_11, x_12, x_13, x_14, x_15, x_1172); +if (lean_obj_tag(x_1229) == 0) { -lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; -x_1228 = lean_ctor_get(x_1227, 0); -lean_inc(x_1228); -x_1229 = lean_ctor_get(x_1227, 1); -lean_inc(x_1229); -lean_dec(x_1227); +lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; +x_1230 = lean_ctor_get(x_1229, 0); +lean_inc(x_1230); +x_1231 = lean_ctor_get(x_1229, 1); +lean_inc(x_1231); +lean_dec(x_1229); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -30887,355 +31477,355 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_5); -x_1230 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_1228, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_1229); -if (lean_obj_tag(x_1230) == 0) +x_1232 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_1230, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_1231); +if (lean_obj_tag(x_1232) == 0) { if (x_8 == 0) { -lean_object* x_1231; lean_object* x_1232; -lean_dec(x_1171); +lean_object* x_1233; lean_object* x_1234; +lean_dec(x_1173); lean_dec(x_5); -x_1231 = lean_ctor_get(x_1230, 0); -lean_inc(x_1231); -x_1232 = lean_ctor_get(x_1230, 1); -lean_inc(x_1232); -lean_dec(x_1230); -x_1204 = x_1231; -x_1205 = x_1232; -goto block_1226; +x_1233 = lean_ctor_get(x_1232, 0); +lean_inc(x_1233); +x_1234 = lean_ctor_get(x_1232, 1); +lean_inc(x_1234); +lean_dec(x_1232); +x_1206 = x_1233; +x_1207 = x_1234; +goto block_1228; } else { -lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; -x_1233 = lean_ctor_get(x_1230, 0); -lean_inc(x_1233); -x_1234 = lean_ctor_get(x_1230, 1); -lean_inc(x_1234); -lean_dec(x_1230); +lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; +x_1235 = lean_ctor_get(x_1232, 0); +lean_inc(x_1235); +x_1236 = lean_ctor_get(x_1232, 1); +lean_inc(x_1236); +lean_dec(x_1232); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_1235 = l_Lean_Elab_Term_ensureHasType(x_5, x_1233, x_1167, x_10, x_11, x_12, x_13, x_14, x_15, x_1234); -if (lean_obj_tag(x_1235) == 0) -{ -lean_object* x_1236; lean_object* x_1237; -lean_dec(x_1171); -x_1236 = lean_ctor_get(x_1235, 0); -lean_inc(x_1236); -x_1237 = lean_ctor_get(x_1235, 1); -lean_inc(x_1237); -lean_dec(x_1235); -x_1204 = x_1236; -x_1205 = x_1237; -goto block_1226; -} -else +x_1237 = l_Lean_Elab_Term_ensureHasType(x_5, x_1235, x_1169, x_10, x_11, x_12, x_13, x_14, x_15, x_1236); +if (lean_obj_tag(x_1237) == 0) { lean_object* x_1238; lean_object* x_1239; -x_1238 = lean_ctor_get(x_1235, 0); +lean_dec(x_1173); +x_1238 = lean_ctor_get(x_1237, 0); lean_inc(x_1238); -x_1239 = lean_ctor_get(x_1235, 1); +x_1239 = lean_ctor_get(x_1237, 1); lean_inc(x_1239); -lean_dec(x_1235); -x_1172 = x_1238; -x_1173 = x_1239; -goto block_1203; -} -} +lean_dec(x_1237); +x_1206 = x_1238; +x_1207 = x_1239; +goto block_1228; } else { lean_object* x_1240; lean_object* x_1241; -lean_dec(x_5); -x_1240 = lean_ctor_get(x_1230, 0); +x_1240 = lean_ctor_get(x_1237, 0); lean_inc(x_1240); -x_1241 = lean_ctor_get(x_1230, 1); +x_1241 = lean_ctor_get(x_1237, 1); lean_inc(x_1241); -lean_dec(x_1230); -x_1172 = x_1240; -x_1173 = x_1241; -goto block_1203; +lean_dec(x_1237); +x_1174 = x_1240; +x_1175 = x_1241; +goto block_1205; +} } } else { lean_object* x_1242; lean_object* x_1243; lean_dec(x_5); +x_1242 = lean_ctor_get(x_1232, 0); +lean_inc(x_1242); +x_1243 = lean_ctor_get(x_1232, 1); +lean_inc(x_1243); +lean_dec(x_1232); +x_1174 = x_1242; +x_1175 = x_1243; +goto block_1205; +} +} +else +{ +lean_object* x_1244; lean_object* x_1245; +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1242 = lean_ctor_get(x_1227, 0); -lean_inc(x_1242); -x_1243 = lean_ctor_get(x_1227, 1); -lean_inc(x_1243); -lean_dec(x_1227); -x_1172 = x_1242; -x_1173 = x_1243; -goto block_1203; +x_1244 = lean_ctor_get(x_1229, 0); +lean_inc(x_1244); +x_1245 = lean_ctor_get(x_1229, 1); +lean_inc(x_1245); +lean_dec(x_1229); +x_1174 = x_1244; +x_1175 = x_1245; +goto block_1205; } -block_1203: +block_1205: { -if (lean_obj_tag(x_1172) == 0) +if (lean_obj_tag(x_1174) == 0) { -lean_object* x_1174; uint8_t x_1175; -lean_dec(x_1171); -x_1174 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1173); -x_1175 = !lean_is_exclusive(x_1174); -if (x_1175 == 0) +lean_object* x_1176; uint8_t x_1177; +lean_dec(x_1173); +x_1176 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1175); +x_1177 = !lean_is_exclusive(x_1176); +if (x_1177 == 0) { -lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; uint8_t x_1179; -x_1176 = lean_ctor_get(x_1174, 0); -x_1177 = lean_ctor_get(x_1174, 1); -x_1178 = l_Lean_Elab_Term_SavedState_restore(x_1169, x_10, x_11, x_12, x_13, x_14, x_15, x_1177); +lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; uint8_t x_1181; +x_1178 = lean_ctor_get(x_1176, 0); +x_1179 = lean_ctor_get(x_1176, 1); +x_1180 = l_Lean_Elab_Term_SavedState_restore(x_1171, x_10, x_11, x_12, x_13, x_14, x_15, x_1179); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_1179 = !lean_is_exclusive(x_1178); -if (x_1179 == 0) +x_1181 = !lean_is_exclusive(x_1180); +if (x_1181 == 0) { -lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; -x_1180 = lean_ctor_get(x_1178, 1); -x_1181 = lean_ctor_get(x_1178, 0); -lean_dec(x_1181); -lean_ctor_set_tag(x_1178, 1); -lean_ctor_set(x_1178, 1, x_1176); -lean_ctor_set(x_1178, 0, x_1172); -x_1182 = lean_array_push(x_9, x_1178); -lean_ctor_set(x_1174, 1, x_1180); -lean_ctor_set(x_1174, 0, x_1182); -return x_1174; +lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; +x_1182 = lean_ctor_get(x_1180, 1); +x_1183 = lean_ctor_get(x_1180, 0); +lean_dec(x_1183); +lean_ctor_set_tag(x_1180, 1); +lean_ctor_set(x_1180, 1, x_1178); +lean_ctor_set(x_1180, 0, x_1174); +x_1184 = lean_array_push(x_9, x_1180); +lean_ctor_set(x_1176, 1, x_1182); +lean_ctor_set(x_1176, 0, x_1184); +return x_1176; } else { -lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; -x_1183 = lean_ctor_get(x_1178, 1); -lean_inc(x_1183); -lean_dec(x_1178); -x_1184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1184, 0, x_1172); -lean_ctor_set(x_1184, 1, x_1176); -x_1185 = lean_array_push(x_9, x_1184); -lean_ctor_set(x_1174, 1, x_1183); -lean_ctor_set(x_1174, 0, x_1185); -return x_1174; +lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; +x_1185 = lean_ctor_get(x_1180, 1); +lean_inc(x_1185); +lean_dec(x_1180); +x_1186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1186, 0, x_1174); +lean_ctor_set(x_1186, 1, x_1178); +x_1187 = lean_array_push(x_9, x_1186); +lean_ctor_set(x_1176, 1, x_1185); +lean_ctor_set(x_1176, 0, x_1187); +return x_1176; } } else { -lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; -x_1186 = lean_ctor_get(x_1174, 0); -x_1187 = lean_ctor_get(x_1174, 1); -lean_inc(x_1187); -lean_inc(x_1186); -lean_dec(x_1174); -x_1188 = l_Lean_Elab_Term_SavedState_restore(x_1169, x_10, x_11, x_12, x_13, x_14, x_15, x_1187); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1189 = lean_ctor_get(x_1188, 1); +lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; +x_1188 = lean_ctor_get(x_1176, 0); +x_1189 = lean_ctor_get(x_1176, 1); lean_inc(x_1189); -if (lean_is_exclusive(x_1188)) { - lean_ctor_release(x_1188, 0); - lean_ctor_release(x_1188, 1); - x_1190 = x_1188; +lean_inc(x_1188); +lean_dec(x_1176); +x_1190 = l_Lean_Elab_Term_SavedState_restore(x_1171, x_10, x_11, x_12, x_13, x_14, x_15, x_1189); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_1191 = lean_ctor_get(x_1190, 1); +lean_inc(x_1191); +if (lean_is_exclusive(x_1190)) { + lean_ctor_release(x_1190, 0); + lean_ctor_release(x_1190, 1); + x_1192 = x_1190; } else { - lean_dec_ref(x_1188); - x_1190 = lean_box(0); + lean_dec_ref(x_1190); + x_1192 = lean_box(0); } -if (lean_is_scalar(x_1190)) { - x_1191 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1192)) { + x_1193 = lean_alloc_ctor(1, 2, 0); } else { - x_1191 = x_1190; - lean_ctor_set_tag(x_1191, 1); + x_1193 = x_1192; + lean_ctor_set_tag(x_1193, 1); } -lean_ctor_set(x_1191, 0, x_1172); -lean_ctor_set(x_1191, 1, x_1186); -x_1192 = lean_array_push(x_9, x_1191); -x_1193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1193, 0, x_1192); -lean_ctor_set(x_1193, 1, x_1189); -return x_1193; +lean_ctor_set(x_1193, 0, x_1174); +lean_ctor_set(x_1193, 1, x_1188); +x_1194 = lean_array_push(x_9, x_1193); +x_1195 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1195, 0, x_1194); +lean_ctor_set(x_1195, 1, x_1191); +return x_1195; } } else { -lean_object* x_1194; lean_object* x_1195; uint8_t x_1196; +lean_object* x_1196; lean_object* x_1197; uint8_t x_1198; lean_dec(x_9); -x_1194 = lean_ctor_get(x_1172, 0); -lean_inc(x_1194); -x_1195 = l_Lean_Elab_postponeExceptionId; -x_1196 = lean_nat_dec_eq(x_1194, x_1195); -lean_dec(x_1194); -if (x_1196 == 0) +x_1196 = lean_ctor_get(x_1174, 0); +lean_inc(x_1196); +x_1197 = l_Lean_Elab_postponeExceptionId; +x_1198 = lean_nat_dec_eq(x_1196, x_1197); +lean_dec(x_1196); +if (x_1198 == 0) { -lean_object* x_1197; -lean_dec(x_1169); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_1171)) { - x_1197 = lean_alloc_ctor(1, 2, 0); -} else { - x_1197 = x_1171; - lean_ctor_set_tag(x_1197, 1); -} -lean_ctor_set(x_1197, 0, x_1172); -lean_ctor_set(x_1197, 1, x_1173); -return x_1197; -} -else -{ -lean_object* x_1198; uint8_t x_1199; +lean_object* x_1199; lean_dec(x_1171); -x_1198 = l_Lean_Elab_Term_SavedState_restore(x_1169, x_10, x_11, x_12, x_13, x_14, x_15, x_1173); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_1199 = !lean_is_exclusive(x_1198); -if (x_1199 == 0) +if (lean_is_scalar(x_1173)) { + x_1199 = lean_alloc_ctor(1, 2, 0); +} else { + x_1199 = x_1173; + lean_ctor_set_tag(x_1199, 1); +} +lean_ctor_set(x_1199, 0, x_1174); +lean_ctor_set(x_1199, 1, x_1175); +return x_1199; +} +else { -lean_object* x_1200; -x_1200 = lean_ctor_get(x_1198, 0); +lean_object* x_1200; uint8_t x_1201; +lean_dec(x_1173); +x_1200 = l_Lean_Elab_Term_SavedState_restore(x_1171, x_10, x_11, x_12, x_13, x_14, x_15, x_1175); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_1201 = !lean_is_exclusive(x_1200); +if (x_1201 == 0) +{ +lean_object* x_1202; +x_1202 = lean_ctor_get(x_1200, 0); +lean_dec(x_1202); +lean_ctor_set_tag(x_1200, 1); +lean_ctor_set(x_1200, 0, x_1174); +return x_1200; +} +else +{ +lean_object* x_1203; lean_object* x_1204; +x_1203 = lean_ctor_get(x_1200, 1); +lean_inc(x_1203); lean_dec(x_1200); -lean_ctor_set_tag(x_1198, 1); -lean_ctor_set(x_1198, 0, x_1172); -return x_1198; +x_1204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1204, 0, x_1174); +lean_ctor_set(x_1204, 1, x_1203); +return x_1204; } -else +} +} +} +block_1228: { -lean_object* x_1201; lean_object* x_1202; -x_1201 = lean_ctor_get(x_1198, 1); -lean_inc(x_1201); -lean_dec(x_1198); -x_1202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1202, 0, x_1172); -lean_ctor_set(x_1202, 1, x_1201); -return x_1202; -} -} -} -} -block_1226: +lean_object* x_1208; uint8_t x_1209; +x_1208 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1207); +x_1209 = !lean_is_exclusive(x_1208); +if (x_1209 == 0) { -lean_object* x_1206; uint8_t x_1207; -x_1206 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1205); -x_1207 = !lean_is_exclusive(x_1206); -if (x_1207 == 0) -{ -lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; uint8_t x_1211; -x_1208 = lean_ctor_get(x_1206, 0); -x_1209 = lean_ctor_get(x_1206, 1); -x_1210 = l_Lean_Elab_Term_SavedState_restore(x_1169, x_10, x_11, x_12, x_13, x_14, x_15, x_1209); +lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; uint8_t x_1213; +x_1210 = lean_ctor_get(x_1208, 0); +x_1211 = lean_ctor_get(x_1208, 1); +x_1212 = l_Lean_Elab_Term_SavedState_restore(x_1171, x_10, x_11, x_12, x_13, x_14, x_15, x_1211); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_1211 = !lean_is_exclusive(x_1210); -if (x_1211 == 0) +x_1213 = !lean_is_exclusive(x_1212); +if (x_1213 == 0) { -lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; -x_1212 = lean_ctor_get(x_1210, 1); -x_1213 = lean_ctor_get(x_1210, 0); -lean_dec(x_1213); -lean_ctor_set(x_1210, 1, x_1208); -lean_ctor_set(x_1210, 0, x_1204); -x_1214 = lean_array_push(x_9, x_1210); -lean_ctor_set(x_1206, 1, x_1212); -lean_ctor_set(x_1206, 0, x_1214); -return x_1206; +lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; +x_1214 = lean_ctor_get(x_1212, 1); +x_1215 = lean_ctor_get(x_1212, 0); +lean_dec(x_1215); +lean_ctor_set(x_1212, 1, x_1210); +lean_ctor_set(x_1212, 0, x_1206); +x_1216 = lean_array_push(x_9, x_1212); +lean_ctor_set(x_1208, 1, x_1214); +lean_ctor_set(x_1208, 0, x_1216); +return x_1208; } else { -lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; -x_1215 = lean_ctor_get(x_1210, 1); -lean_inc(x_1215); -lean_dec(x_1210); -x_1216 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1216, 0, x_1204); -lean_ctor_set(x_1216, 1, x_1208); -x_1217 = lean_array_push(x_9, x_1216); -lean_ctor_set(x_1206, 1, x_1215); -lean_ctor_set(x_1206, 0, x_1217); -return x_1206; +lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; +x_1217 = lean_ctor_get(x_1212, 1); +lean_inc(x_1217); +lean_dec(x_1212); +x_1218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1218, 0, x_1206); +lean_ctor_set(x_1218, 1, x_1210); +x_1219 = lean_array_push(x_9, x_1218); +lean_ctor_set(x_1208, 1, x_1217); +lean_ctor_set(x_1208, 0, x_1219); +return x_1208; } } else { -lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; -x_1218 = lean_ctor_get(x_1206, 0); -x_1219 = lean_ctor_get(x_1206, 1); -lean_inc(x_1219); -lean_inc(x_1218); -lean_dec(x_1206); -x_1220 = l_Lean_Elab_Term_SavedState_restore(x_1169, x_10, x_11, x_12, x_13, x_14, x_15, x_1219); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1221 = lean_ctor_get(x_1220, 1); +lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; +x_1220 = lean_ctor_get(x_1208, 0); +x_1221 = lean_ctor_get(x_1208, 1); lean_inc(x_1221); -if (lean_is_exclusive(x_1220)) { - lean_ctor_release(x_1220, 0); - lean_ctor_release(x_1220, 1); - x_1222 = x_1220; +lean_inc(x_1220); +lean_dec(x_1208); +x_1222 = l_Lean_Elab_Term_SavedState_restore(x_1171, x_10, x_11, x_12, x_13, x_14, x_15, x_1221); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_1223 = lean_ctor_get(x_1222, 1); +lean_inc(x_1223); +if (lean_is_exclusive(x_1222)) { + lean_ctor_release(x_1222, 0); + lean_ctor_release(x_1222, 1); + x_1224 = x_1222; } else { - lean_dec_ref(x_1220); - x_1222 = lean_box(0); + lean_dec_ref(x_1222); + x_1224 = lean_box(0); } -if (lean_is_scalar(x_1222)) { - x_1223 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_1224)) { + x_1225 = lean_alloc_ctor(0, 2, 0); } else { - x_1223 = x_1222; + x_1225 = x_1224; } -lean_ctor_set(x_1223, 0, x_1204); -lean_ctor_set(x_1223, 1, x_1218); -x_1224 = lean_array_push(x_9, x_1223); -x_1225 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1225, 0, x_1224); -lean_ctor_set(x_1225, 1, x_1221); -return x_1225; +lean_ctor_set(x_1225, 0, x_1206); +lean_ctor_set(x_1225, 1, x_1220); +x_1226 = lean_array_push(x_9, x_1225); +x_1227 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1227, 0, x_1226); +lean_ctor_set(x_1227, 1, x_1223); +return x_1227; } } } else { -uint8_t x_1244; -x_1244 = l_Array_isEmpty___rarg(x_4); -if (x_1244 == 0) +uint8_t x_1246; +x_1246 = l_Array_isEmpty___rarg(x_4); +if (x_1246 == 0) { -lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1282; lean_object* x_1283; lean_object* x_1305; -x_1245 = lean_box(0); -x_1246 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_1247 = lean_ctor_get(x_1246, 0); -lean_inc(x_1247); -x_1248 = lean_ctor_get(x_1246, 1); -lean_inc(x_1248); -if (lean_is_exclusive(x_1246)) { - lean_ctor_release(x_1246, 0); - lean_ctor_release(x_1246, 1); - x_1249 = x_1246; +lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1284; lean_object* x_1285; lean_object* x_1307; +x_1247 = lean_box(0); +x_1248 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); +x_1249 = lean_ctor_get(x_1248, 0); +lean_inc(x_1249); +x_1250 = lean_ctor_get(x_1248, 1); +lean_inc(x_1250); +if (lean_is_exclusive(x_1248)) { + lean_ctor_release(x_1248, 0); + lean_ctor_release(x_1248, 1); + x_1251 = x_1248; } else { - lean_dec_ref(x_1246); - x_1249 = lean_box(0); + lean_dec_ref(x_1248); + x_1251 = lean_box(0); } lean_inc(x_15); lean_inc(x_14); @@ -31243,15 +31833,15 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_1305 = l_Lean_Elab_Term_elabTerm(x_1, x_1245, x_1088, x_10, x_11, x_12, x_13, x_14, x_15, x_1248); -if (lean_obj_tag(x_1305) == 0) +x_1307 = l_Lean_Elab_Term_elabTerm(x_1, x_1247, x_1090, x_10, x_11, x_12, x_13, x_14, x_15, x_1250); +if (lean_obj_tag(x_1307) == 0) { -lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; -x_1306 = lean_ctor_get(x_1305, 0); -lean_inc(x_1306); -x_1307 = lean_ctor_get(x_1305, 1); -lean_inc(x_1307); -lean_dec(x_1305); +lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; +x_1308 = lean_ctor_get(x_1307, 0); +lean_inc(x_1308); +x_1309 = lean_ctor_get(x_1307, 1); +lean_inc(x_1309); +lean_dec(x_1307); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -31259,332 +31849,332 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_5); -x_1308 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_1306, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_1307); -if (lean_obj_tag(x_1308) == 0) +x_1310 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_1308, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_1309); +if (lean_obj_tag(x_1310) == 0) { if (x_8 == 0) { -lean_object* x_1309; lean_object* x_1310; -lean_dec(x_1249); +lean_object* x_1311; lean_object* x_1312; +lean_dec(x_1251); lean_dec(x_5); -x_1309 = lean_ctor_get(x_1308, 0); -lean_inc(x_1309); -x_1310 = lean_ctor_get(x_1308, 1); -lean_inc(x_1310); -lean_dec(x_1308); -x_1282 = x_1309; -x_1283 = x_1310; -goto block_1304; +x_1311 = lean_ctor_get(x_1310, 0); +lean_inc(x_1311); +x_1312 = lean_ctor_get(x_1310, 1); +lean_inc(x_1312); +lean_dec(x_1310); +x_1284 = x_1311; +x_1285 = x_1312; +goto block_1306; } else { -lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; -x_1311 = lean_ctor_get(x_1308, 0); -lean_inc(x_1311); -x_1312 = lean_ctor_get(x_1308, 1); -lean_inc(x_1312); -lean_dec(x_1308); +lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; +x_1313 = lean_ctor_get(x_1310, 0); +lean_inc(x_1313); +x_1314 = lean_ctor_get(x_1310, 1); +lean_inc(x_1314); +lean_dec(x_1310); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_1313 = l_Lean_Elab_Term_ensureHasType(x_5, x_1311, x_1245, x_10, x_11, x_12, x_13, x_14, x_15, x_1312); -if (lean_obj_tag(x_1313) == 0) -{ -lean_object* x_1314; lean_object* x_1315; -lean_dec(x_1249); -x_1314 = lean_ctor_get(x_1313, 0); -lean_inc(x_1314); -x_1315 = lean_ctor_get(x_1313, 1); -lean_inc(x_1315); -lean_dec(x_1313); -x_1282 = x_1314; -x_1283 = x_1315; -goto block_1304; -} -else +x_1315 = l_Lean_Elab_Term_ensureHasType(x_5, x_1313, x_1247, x_10, x_11, x_12, x_13, x_14, x_15, x_1314); +if (lean_obj_tag(x_1315) == 0) { lean_object* x_1316; lean_object* x_1317; -x_1316 = lean_ctor_get(x_1313, 0); +lean_dec(x_1251); +x_1316 = lean_ctor_get(x_1315, 0); lean_inc(x_1316); -x_1317 = lean_ctor_get(x_1313, 1); +x_1317 = lean_ctor_get(x_1315, 1); lean_inc(x_1317); -lean_dec(x_1313); -x_1250 = x_1316; -x_1251 = x_1317; -goto block_1281; -} -} +lean_dec(x_1315); +x_1284 = x_1316; +x_1285 = x_1317; +goto block_1306; } else { lean_object* x_1318; lean_object* x_1319; -lean_dec(x_5); -x_1318 = lean_ctor_get(x_1308, 0); +x_1318 = lean_ctor_get(x_1315, 0); lean_inc(x_1318); -x_1319 = lean_ctor_get(x_1308, 1); +x_1319 = lean_ctor_get(x_1315, 1); lean_inc(x_1319); -lean_dec(x_1308); -x_1250 = x_1318; -x_1251 = x_1319; -goto block_1281; +lean_dec(x_1315); +x_1252 = x_1318; +x_1253 = x_1319; +goto block_1283; +} } } else { lean_object* x_1320; lean_object* x_1321; lean_dec(x_5); +x_1320 = lean_ctor_get(x_1310, 0); +lean_inc(x_1320); +x_1321 = lean_ctor_get(x_1310, 1); +lean_inc(x_1321); +lean_dec(x_1310); +x_1252 = x_1320; +x_1253 = x_1321; +goto block_1283; +} +} +else +{ +lean_object* x_1322; lean_object* x_1323; +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1320 = lean_ctor_get(x_1305, 0); -lean_inc(x_1320); -x_1321 = lean_ctor_get(x_1305, 1); -lean_inc(x_1321); -lean_dec(x_1305); -x_1250 = x_1320; -x_1251 = x_1321; -goto block_1281; +x_1322 = lean_ctor_get(x_1307, 0); +lean_inc(x_1322); +x_1323 = lean_ctor_get(x_1307, 1); +lean_inc(x_1323); +lean_dec(x_1307); +x_1252 = x_1322; +x_1253 = x_1323; +goto block_1283; } -block_1281: +block_1283: { -if (lean_obj_tag(x_1250) == 0) +if (lean_obj_tag(x_1252) == 0) { -lean_object* x_1252; uint8_t x_1253; -lean_dec(x_1249); -x_1252 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1251); -x_1253 = !lean_is_exclusive(x_1252); -if (x_1253 == 0) +lean_object* x_1254; uint8_t x_1255; +lean_dec(x_1251); +x_1254 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1253); +x_1255 = !lean_is_exclusive(x_1254); +if (x_1255 == 0) { -lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; uint8_t x_1257; -x_1254 = lean_ctor_get(x_1252, 0); -x_1255 = lean_ctor_get(x_1252, 1); -x_1256 = l_Lean_Elab_Term_SavedState_restore(x_1247, x_10, x_11, x_12, x_13, x_14, x_15, x_1255); +lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; uint8_t x_1259; +x_1256 = lean_ctor_get(x_1254, 0); +x_1257 = lean_ctor_get(x_1254, 1); +x_1258 = l_Lean_Elab_Term_SavedState_restore(x_1249, x_10, x_11, x_12, x_13, x_14, x_15, x_1257); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_1257 = !lean_is_exclusive(x_1256); -if (x_1257 == 0) +x_1259 = !lean_is_exclusive(x_1258); +if (x_1259 == 0) { -lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; -x_1258 = lean_ctor_get(x_1256, 1); -x_1259 = lean_ctor_get(x_1256, 0); -lean_dec(x_1259); -lean_ctor_set_tag(x_1256, 1); -lean_ctor_set(x_1256, 1, x_1254); -lean_ctor_set(x_1256, 0, x_1250); -x_1260 = lean_array_push(x_9, x_1256); -lean_ctor_set(x_1252, 1, x_1258); -lean_ctor_set(x_1252, 0, x_1260); -return x_1252; +lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; +x_1260 = lean_ctor_get(x_1258, 1); +x_1261 = lean_ctor_get(x_1258, 0); +lean_dec(x_1261); +lean_ctor_set_tag(x_1258, 1); +lean_ctor_set(x_1258, 1, x_1256); +lean_ctor_set(x_1258, 0, x_1252); +x_1262 = lean_array_push(x_9, x_1258); +lean_ctor_set(x_1254, 1, x_1260); +lean_ctor_set(x_1254, 0, x_1262); +return x_1254; } else { -lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; -x_1261 = lean_ctor_get(x_1256, 1); -lean_inc(x_1261); -lean_dec(x_1256); -x_1262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1262, 0, x_1250); -lean_ctor_set(x_1262, 1, x_1254); -x_1263 = lean_array_push(x_9, x_1262); -lean_ctor_set(x_1252, 1, x_1261); -lean_ctor_set(x_1252, 0, x_1263); -return x_1252; +lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; +x_1263 = lean_ctor_get(x_1258, 1); +lean_inc(x_1263); +lean_dec(x_1258); +x_1264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1264, 0, x_1252); +lean_ctor_set(x_1264, 1, x_1256); +x_1265 = lean_array_push(x_9, x_1264); +lean_ctor_set(x_1254, 1, x_1263); +lean_ctor_set(x_1254, 0, x_1265); +return x_1254; } } else { -lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; -x_1264 = lean_ctor_get(x_1252, 0); -x_1265 = lean_ctor_get(x_1252, 1); -lean_inc(x_1265); -lean_inc(x_1264); -lean_dec(x_1252); -x_1266 = l_Lean_Elab_Term_SavedState_restore(x_1247, x_10, x_11, x_12, x_13, x_14, x_15, x_1265); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1267 = lean_ctor_get(x_1266, 1); +lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; +x_1266 = lean_ctor_get(x_1254, 0); +x_1267 = lean_ctor_get(x_1254, 1); lean_inc(x_1267); -if (lean_is_exclusive(x_1266)) { - lean_ctor_release(x_1266, 0); - lean_ctor_release(x_1266, 1); - x_1268 = x_1266; +lean_inc(x_1266); +lean_dec(x_1254); +x_1268 = l_Lean_Elab_Term_SavedState_restore(x_1249, x_10, x_11, x_12, x_13, x_14, x_15, x_1267); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_1269 = lean_ctor_get(x_1268, 1); +lean_inc(x_1269); +if (lean_is_exclusive(x_1268)) { + lean_ctor_release(x_1268, 0); + lean_ctor_release(x_1268, 1); + x_1270 = x_1268; } else { - lean_dec_ref(x_1266); - x_1268 = lean_box(0); + lean_dec_ref(x_1268); + x_1270 = lean_box(0); } -if (lean_is_scalar(x_1268)) { - x_1269 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1270)) { + x_1271 = lean_alloc_ctor(1, 2, 0); } else { - x_1269 = x_1268; - lean_ctor_set_tag(x_1269, 1); + x_1271 = x_1270; + lean_ctor_set_tag(x_1271, 1); } -lean_ctor_set(x_1269, 0, x_1250); -lean_ctor_set(x_1269, 1, x_1264); -x_1270 = lean_array_push(x_9, x_1269); -x_1271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1271, 0, x_1270); -lean_ctor_set(x_1271, 1, x_1267); -return x_1271; +lean_ctor_set(x_1271, 0, x_1252); +lean_ctor_set(x_1271, 1, x_1266); +x_1272 = lean_array_push(x_9, x_1271); +x_1273 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1273, 0, x_1272); +lean_ctor_set(x_1273, 1, x_1269); +return x_1273; } } else { -lean_object* x_1272; lean_object* x_1273; uint8_t x_1274; +lean_object* x_1274; lean_object* x_1275; uint8_t x_1276; lean_dec(x_9); -x_1272 = lean_ctor_get(x_1250, 0); -lean_inc(x_1272); -x_1273 = l_Lean_Elab_postponeExceptionId; -x_1274 = lean_nat_dec_eq(x_1272, x_1273); -lean_dec(x_1272); -if (x_1274 == 0) +x_1274 = lean_ctor_get(x_1252, 0); +lean_inc(x_1274); +x_1275 = l_Lean_Elab_postponeExceptionId; +x_1276 = lean_nat_dec_eq(x_1274, x_1275); +lean_dec(x_1274); +if (x_1276 == 0) { -lean_object* x_1275; -lean_dec(x_1247); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_1249)) { - x_1275 = lean_alloc_ctor(1, 2, 0); -} else { - x_1275 = x_1249; - lean_ctor_set_tag(x_1275, 1); -} -lean_ctor_set(x_1275, 0, x_1250); -lean_ctor_set(x_1275, 1, x_1251); -return x_1275; -} -else -{ -lean_object* x_1276; uint8_t x_1277; +lean_object* x_1277; lean_dec(x_1249); -x_1276 = l_Lean_Elab_Term_SavedState_restore(x_1247, x_10, x_11, x_12, x_13, x_14, x_15, x_1251); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_1277 = !lean_is_exclusive(x_1276); -if (x_1277 == 0) +if (lean_is_scalar(x_1251)) { + x_1277 = lean_alloc_ctor(1, 2, 0); +} else { + x_1277 = x_1251; + lean_ctor_set_tag(x_1277, 1); +} +lean_ctor_set(x_1277, 0, x_1252); +lean_ctor_set(x_1277, 1, x_1253); +return x_1277; +} +else { -lean_object* x_1278; -x_1278 = lean_ctor_get(x_1276, 0); +lean_object* x_1278; uint8_t x_1279; +lean_dec(x_1251); +x_1278 = l_Lean_Elab_Term_SavedState_restore(x_1249, x_10, x_11, x_12, x_13, x_14, x_15, x_1253); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_1279 = !lean_is_exclusive(x_1278); +if (x_1279 == 0) +{ +lean_object* x_1280; +x_1280 = lean_ctor_get(x_1278, 0); +lean_dec(x_1280); +lean_ctor_set_tag(x_1278, 1); +lean_ctor_set(x_1278, 0, x_1252); +return x_1278; +} +else +{ +lean_object* x_1281; lean_object* x_1282; +x_1281 = lean_ctor_get(x_1278, 1); +lean_inc(x_1281); lean_dec(x_1278); -lean_ctor_set_tag(x_1276, 1); -lean_ctor_set(x_1276, 0, x_1250); -return x_1276; +x_1282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1282, 0, x_1252); +lean_ctor_set(x_1282, 1, x_1281); +return x_1282; } -else +} +} +} +block_1306: { -lean_object* x_1279; lean_object* x_1280; -x_1279 = lean_ctor_get(x_1276, 1); -lean_inc(x_1279); -lean_dec(x_1276); -x_1280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1280, 0, x_1250); -lean_ctor_set(x_1280, 1, x_1279); -return x_1280; -} -} -} -} -block_1304: +lean_object* x_1286; uint8_t x_1287; +x_1286 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1285); +x_1287 = !lean_is_exclusive(x_1286); +if (x_1287 == 0) { -lean_object* x_1284; uint8_t x_1285; -x_1284 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1283); -x_1285 = !lean_is_exclusive(x_1284); -if (x_1285 == 0) -{ -lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; uint8_t x_1289; -x_1286 = lean_ctor_get(x_1284, 0); -x_1287 = lean_ctor_get(x_1284, 1); -x_1288 = l_Lean_Elab_Term_SavedState_restore(x_1247, x_10, x_11, x_12, x_13, x_14, x_15, x_1287); +lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; uint8_t x_1291; +x_1288 = lean_ctor_get(x_1286, 0); +x_1289 = lean_ctor_get(x_1286, 1); +x_1290 = l_Lean_Elab_Term_SavedState_restore(x_1249, x_10, x_11, x_12, x_13, x_14, x_15, x_1289); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_1289 = !lean_is_exclusive(x_1288); -if (x_1289 == 0) +x_1291 = !lean_is_exclusive(x_1290); +if (x_1291 == 0) { -lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; -x_1290 = lean_ctor_get(x_1288, 1); -x_1291 = lean_ctor_get(x_1288, 0); -lean_dec(x_1291); -lean_ctor_set(x_1288, 1, x_1286); -lean_ctor_set(x_1288, 0, x_1282); -x_1292 = lean_array_push(x_9, x_1288); -lean_ctor_set(x_1284, 1, x_1290); -lean_ctor_set(x_1284, 0, x_1292); -return x_1284; +lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; +x_1292 = lean_ctor_get(x_1290, 1); +x_1293 = lean_ctor_get(x_1290, 0); +lean_dec(x_1293); +lean_ctor_set(x_1290, 1, x_1288); +lean_ctor_set(x_1290, 0, x_1284); +x_1294 = lean_array_push(x_9, x_1290); +lean_ctor_set(x_1286, 1, x_1292); +lean_ctor_set(x_1286, 0, x_1294); +return x_1286; } else { -lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; -x_1293 = lean_ctor_get(x_1288, 1); -lean_inc(x_1293); -lean_dec(x_1288); -x_1294 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1294, 0, x_1282); -lean_ctor_set(x_1294, 1, x_1286); -x_1295 = lean_array_push(x_9, x_1294); -lean_ctor_set(x_1284, 1, x_1293); -lean_ctor_set(x_1284, 0, x_1295); -return x_1284; +lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; +x_1295 = lean_ctor_get(x_1290, 1); +lean_inc(x_1295); +lean_dec(x_1290); +x_1296 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1296, 0, x_1284); +lean_ctor_set(x_1296, 1, x_1288); +x_1297 = lean_array_push(x_9, x_1296); +lean_ctor_set(x_1286, 1, x_1295); +lean_ctor_set(x_1286, 0, x_1297); +return x_1286; } } else { -lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; -x_1296 = lean_ctor_get(x_1284, 0); -x_1297 = lean_ctor_get(x_1284, 1); -lean_inc(x_1297); -lean_inc(x_1296); -lean_dec(x_1284); -x_1298 = l_Lean_Elab_Term_SavedState_restore(x_1247, x_10, x_11, x_12, x_13, x_14, x_15, x_1297); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_1299 = lean_ctor_get(x_1298, 1); +lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; +x_1298 = lean_ctor_get(x_1286, 0); +x_1299 = lean_ctor_get(x_1286, 1); lean_inc(x_1299); -if (lean_is_exclusive(x_1298)) { - lean_ctor_release(x_1298, 0); - lean_ctor_release(x_1298, 1); - x_1300 = x_1298; +lean_inc(x_1298); +lean_dec(x_1286); +x_1300 = l_Lean_Elab_Term_SavedState_restore(x_1249, x_10, x_11, x_12, x_13, x_14, x_15, x_1299); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_1301 = lean_ctor_get(x_1300, 1); +lean_inc(x_1301); +if (lean_is_exclusive(x_1300)) { + lean_ctor_release(x_1300, 0); + lean_ctor_release(x_1300, 1); + x_1302 = x_1300; } else { - lean_dec_ref(x_1298); - x_1300 = lean_box(0); + lean_dec_ref(x_1300); + x_1302 = lean_box(0); } -if (lean_is_scalar(x_1300)) { - x_1301 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_1302)) { + x_1303 = lean_alloc_ctor(0, 2, 0); } else { - x_1301 = x_1300; + x_1303 = x_1302; } -lean_ctor_set(x_1301, 0, x_1282); -lean_ctor_set(x_1301, 1, x_1296); -x_1302 = lean_array_push(x_9, x_1301); -x_1303 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1303, 0, x_1302); -lean_ctor_set(x_1303, 1, x_1299); -return x_1303; +lean_ctor_set(x_1303, 0, x_1284); +lean_ctor_set(x_1303, 1, x_1298); +x_1304 = lean_array_push(x_9, x_1303); +x_1305 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1305, 0, x_1304); +lean_ctor_set(x_1305, 1, x_1301); +return x_1305; } } } @@ -31595,225 +32185,225 @@ lean_dec(x_3); lean_dec(x_2); if (x_8 == 0) { -lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; uint8_t x_1349; lean_object* x_1350; -x_1322 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_1323 = lean_ctor_get(x_1322, 0); -lean_inc(x_1323); -x_1324 = lean_ctor_get(x_1322, 1); -lean_inc(x_1324); -if (lean_is_exclusive(x_1322)) { - lean_ctor_release(x_1322, 0); - lean_ctor_release(x_1322, 1); - x_1325 = x_1322; +lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; uint8_t x_1351; lean_object* x_1352; +x_1324 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); +x_1325 = lean_ctor_get(x_1324, 0); +lean_inc(x_1325); +x_1326 = lean_ctor_get(x_1324, 1); +lean_inc(x_1326); +if (lean_is_exclusive(x_1324)) { + lean_ctor_release(x_1324, 0); + lean_ctor_release(x_1324, 1); + x_1327 = x_1324; } else { - lean_dec_ref(x_1322); - x_1325 = lean_box(0); + lean_dec_ref(x_1324); + x_1327 = lean_box(0); } -x_1349 = 1; +x_1351 = 1; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_1350 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_1349, x_10, x_11, x_12, x_13, x_14, x_15, x_1324); -if (lean_obj_tag(x_1350) == 0) +x_1352 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_1351, x_10, x_11, x_12, x_13, x_14, x_15, x_1326); +if (lean_obj_tag(x_1352) == 0) { -lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; uint8_t x_1357; -lean_dec(x_1325); -x_1351 = lean_ctor_get(x_1350, 0); -lean_inc(x_1351); -x_1352 = lean_ctor_get(x_1350, 1); -lean_inc(x_1352); -lean_dec(x_1350); -x_1353 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1352); -x_1354 = lean_ctor_get(x_1353, 0); +lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; uint8_t x_1359; +lean_dec(x_1327); +x_1353 = lean_ctor_get(x_1352, 0); +lean_inc(x_1353); +x_1354 = lean_ctor_get(x_1352, 1); lean_inc(x_1354); -x_1355 = lean_ctor_get(x_1353, 1); -lean_inc(x_1355); -lean_dec(x_1353); -x_1356 = l_Lean_Elab_Term_SavedState_restore(x_1323, x_10, x_11, x_12, x_13, x_14, x_15, x_1355); -x_1357 = !lean_is_exclusive(x_1356); -if (x_1357 == 0) +lean_dec(x_1352); +x_1355 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1354); +x_1356 = lean_ctor_get(x_1355, 0); +lean_inc(x_1356); +x_1357 = lean_ctor_get(x_1355, 1); +lean_inc(x_1357); +lean_dec(x_1355); +x_1358 = l_Lean_Elab_Term_SavedState_restore(x_1325, x_10, x_11, x_12, x_13, x_14, x_15, x_1357); +x_1359 = !lean_is_exclusive(x_1358); +if (x_1359 == 0) { -lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; -x_1358 = lean_ctor_get(x_1356, 1); -x_1359 = lean_ctor_get(x_1356, 0); -lean_dec(x_1359); -lean_ctor_set(x_1356, 1, x_1354); -lean_ctor_set(x_1356, 0, x_1351); -x_1360 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1356, x_10, x_11, x_12, x_13, x_14, x_15, x_1358); +lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; +x_1360 = lean_ctor_get(x_1358, 1); +x_1361 = lean_ctor_get(x_1358, 0); +lean_dec(x_1361); +lean_ctor_set(x_1358, 1, x_1356); +lean_ctor_set(x_1358, 0, x_1353); +x_1362 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1358, x_10, x_11, x_12, x_13, x_14, x_15, x_1360); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_1360; +return x_1362; } else { -lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; -x_1361 = lean_ctor_get(x_1356, 1); -lean_inc(x_1361); -lean_dec(x_1356); -x_1362 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1362, 0, x_1351); -lean_ctor_set(x_1362, 1, x_1354); -x_1363 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1362, x_10, x_11, x_12, x_13, x_14, x_15, x_1361); +lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; +x_1363 = lean_ctor_get(x_1358, 1); +lean_inc(x_1363); +lean_dec(x_1358); +x_1364 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1364, 0, x_1353); +lean_ctor_set(x_1364, 1, x_1356); +x_1365 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1364, x_10, x_11, x_12, x_13, x_14, x_15, x_1363); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_1363; +return x_1365; } } else { -lean_object* x_1364; lean_object* x_1365; -x_1364 = lean_ctor_get(x_1350, 0); -lean_inc(x_1364); -x_1365 = lean_ctor_get(x_1350, 1); -lean_inc(x_1365); -lean_dec(x_1350); -x_1326 = x_1364; -x_1327 = x_1365; -goto block_1348; +lean_object* x_1366; lean_object* x_1367; +x_1366 = lean_ctor_get(x_1352, 0); +lean_inc(x_1366); +x_1367 = lean_ctor_get(x_1352, 1); +lean_inc(x_1367); +lean_dec(x_1352); +x_1328 = x_1366; +x_1329 = x_1367; +goto block_1350; } -block_1348: +block_1350: { -if (lean_obj_tag(x_1326) == 0) +if (lean_obj_tag(x_1328) == 0) { -lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; uint8_t x_1332; -lean_dec(x_1325); -x_1328 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1327); -x_1329 = lean_ctor_get(x_1328, 0); -lean_inc(x_1329); -x_1330 = lean_ctor_get(x_1328, 1); -lean_inc(x_1330); -lean_dec(x_1328); -x_1331 = l_Lean_Elab_Term_SavedState_restore(x_1323, x_10, x_11, x_12, x_13, x_14, x_15, x_1330); -x_1332 = !lean_is_exclusive(x_1331); -if (x_1332 == 0) +lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; uint8_t x_1334; +lean_dec(x_1327); +x_1330 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1329); +x_1331 = lean_ctor_get(x_1330, 0); +lean_inc(x_1331); +x_1332 = lean_ctor_get(x_1330, 1); +lean_inc(x_1332); +lean_dec(x_1330); +x_1333 = l_Lean_Elab_Term_SavedState_restore(x_1325, x_10, x_11, x_12, x_13, x_14, x_15, x_1332); +x_1334 = !lean_is_exclusive(x_1333); +if (x_1334 == 0) { -lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; -x_1333 = lean_ctor_get(x_1331, 1); -x_1334 = lean_ctor_get(x_1331, 0); -lean_dec(x_1334); -lean_ctor_set_tag(x_1331, 1); -lean_ctor_set(x_1331, 1, x_1329); -lean_ctor_set(x_1331, 0, x_1326); -x_1335 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1331, x_10, x_11, x_12, x_13, x_14, x_15, x_1333); +lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; +x_1335 = lean_ctor_get(x_1333, 1); +x_1336 = lean_ctor_get(x_1333, 0); +lean_dec(x_1336); +lean_ctor_set_tag(x_1333, 1); +lean_ctor_set(x_1333, 1, x_1331); +lean_ctor_set(x_1333, 0, x_1328); +x_1337 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1333, x_10, x_11, x_12, x_13, x_14, x_15, x_1335); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_1335; +return x_1337; } else { -lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; -x_1336 = lean_ctor_get(x_1331, 1); -lean_inc(x_1336); -lean_dec(x_1331); -x_1337 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1337, 0, x_1326); -lean_ctor_set(x_1337, 1, x_1329); -x_1338 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1337, x_10, x_11, x_12, x_13, x_14, x_15, x_1336); +lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; +x_1338 = lean_ctor_get(x_1333, 1); +lean_inc(x_1338); +lean_dec(x_1333); +x_1339 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1339, 0, x_1328); +lean_ctor_set(x_1339, 1, x_1331); +x_1340 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1339, x_10, x_11, x_12, x_13, x_14, x_15, x_1338); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_1338; +return x_1340; } } else { -lean_object* x_1339; lean_object* x_1340; uint8_t x_1341; +lean_object* x_1341; lean_object* x_1342; uint8_t x_1343; lean_dec(x_9); -x_1339 = lean_ctor_get(x_1326, 0); -lean_inc(x_1339); -x_1340 = l_Lean_Elab_postponeExceptionId; -x_1341 = lean_nat_dec_eq(x_1339, x_1340); -lean_dec(x_1339); -if (x_1341 == 0) +x_1341 = lean_ctor_get(x_1328, 0); +lean_inc(x_1341); +x_1342 = l_Lean_Elab_postponeExceptionId; +x_1343 = lean_nat_dec_eq(x_1341, x_1342); +lean_dec(x_1341); +if (x_1343 == 0) { -lean_object* x_1342; -lean_dec(x_1323); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_1325)) { - x_1342 = lean_alloc_ctor(1, 2, 0); -} else { - x_1342 = x_1325; - lean_ctor_set_tag(x_1342, 1); -} -lean_ctor_set(x_1342, 0, x_1326); -lean_ctor_set(x_1342, 1, x_1327); -return x_1342; -} -else -{ -lean_object* x_1343; uint8_t x_1344; +lean_object* x_1344; lean_dec(x_1325); -x_1343 = l_Lean_Elab_Term_SavedState_restore(x_1323, x_10, x_11, x_12, x_13, x_14, x_15, x_1327); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_1344 = !lean_is_exclusive(x_1343); -if (x_1344 == 0) -{ -lean_object* x_1345; -x_1345 = lean_ctor_get(x_1343, 0); -lean_dec(x_1345); -lean_ctor_set_tag(x_1343, 1); -lean_ctor_set(x_1343, 0, x_1326); -return x_1343; -} -else -{ -lean_object* x_1346; lean_object* x_1347; -x_1346 = lean_ctor_get(x_1343, 1); -lean_inc(x_1346); -lean_dec(x_1343); -x_1347 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1347, 0, x_1326); -lean_ctor_set(x_1347, 1, x_1346); -return x_1347; -} -} -} -} -} -else -{ -lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1394; -x_1366 = lean_box(0); -x_1367 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); -x_1368 = lean_ctor_get(x_1367, 0); -lean_inc(x_1368); -x_1369 = lean_ctor_get(x_1367, 1); -lean_inc(x_1369); -if (lean_is_exclusive(x_1367)) { - lean_ctor_release(x_1367, 0); - lean_ctor_release(x_1367, 1); - x_1370 = x_1367; +if (lean_is_scalar(x_1327)) { + x_1344 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_1367); - x_1370 = lean_box(0); + x_1344 = x_1327; + lean_ctor_set_tag(x_1344, 1); +} +lean_ctor_set(x_1344, 0, x_1328); +lean_ctor_set(x_1344, 1, x_1329); +return x_1344; +} +else +{ +lean_object* x_1345; uint8_t x_1346; +lean_dec(x_1327); +x_1345 = l_Lean_Elab_Term_SavedState_restore(x_1325, x_10, x_11, x_12, x_13, x_14, x_15, x_1329); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_1346 = !lean_is_exclusive(x_1345); +if (x_1346 == 0) +{ +lean_object* x_1347; +x_1347 = lean_ctor_get(x_1345, 0); +lean_dec(x_1347); +lean_ctor_set_tag(x_1345, 1); +lean_ctor_set(x_1345, 0, x_1328); +return x_1345; +} +else +{ +lean_object* x_1348; lean_object* x_1349; +x_1348 = lean_ctor_get(x_1345, 1); +lean_inc(x_1348); +lean_dec(x_1345); +x_1349 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1349, 0, x_1328); +lean_ctor_set(x_1349, 1, x_1348); +return x_1349; +} +} +} +} +} +else +{ +lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1396; +x_1368 = lean_box(0); +x_1369 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_16); +x_1370 = lean_ctor_get(x_1369, 0); +lean_inc(x_1370); +x_1371 = lean_ctor_get(x_1369, 1); +lean_inc(x_1371); +if (lean_is_exclusive(x_1369)) { + lean_ctor_release(x_1369, 0); + lean_ctor_release(x_1369, 1); + x_1372 = x_1369; +} else { + lean_dec_ref(x_1369); + x_1372 = lean_box(0); } lean_inc(x_15); lean_inc(x_14); @@ -31821,183 +32411,183 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_1394 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_1088, x_1366, x_10, x_11, x_12, x_13, x_14, x_15, x_1369); -if (lean_obj_tag(x_1394) == 0) +x_1396 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_1090, x_1368, x_10, x_11, x_12, x_13, x_14, x_15, x_1371); +if (lean_obj_tag(x_1396) == 0) { -lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; uint8_t x_1401; -lean_dec(x_1370); -x_1395 = lean_ctor_get(x_1394, 0); -lean_inc(x_1395); -x_1396 = lean_ctor_get(x_1394, 1); -lean_inc(x_1396); -lean_dec(x_1394); -x_1397 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1396); -x_1398 = lean_ctor_get(x_1397, 0); +lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; uint8_t x_1403; +lean_dec(x_1372); +x_1397 = lean_ctor_get(x_1396, 0); +lean_inc(x_1397); +x_1398 = lean_ctor_get(x_1396, 1); lean_inc(x_1398); -x_1399 = lean_ctor_get(x_1397, 1); -lean_inc(x_1399); -lean_dec(x_1397); -x_1400 = l_Lean_Elab_Term_SavedState_restore(x_1368, x_10, x_11, x_12, x_13, x_14, x_15, x_1399); -x_1401 = !lean_is_exclusive(x_1400); -if (x_1401 == 0) +lean_dec(x_1396); +x_1399 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1398); +x_1400 = lean_ctor_get(x_1399, 0); +lean_inc(x_1400); +x_1401 = lean_ctor_get(x_1399, 1); +lean_inc(x_1401); +lean_dec(x_1399); +x_1402 = l_Lean_Elab_Term_SavedState_restore(x_1370, x_10, x_11, x_12, x_13, x_14, x_15, x_1401); +x_1403 = !lean_is_exclusive(x_1402); +if (x_1403 == 0) { -lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; -x_1402 = lean_ctor_get(x_1400, 1); -x_1403 = lean_ctor_get(x_1400, 0); -lean_dec(x_1403); -lean_ctor_set(x_1400, 1, x_1398); -lean_ctor_set(x_1400, 0, x_1395); -x_1404 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1400, x_10, x_11, x_12, x_13, x_14, x_15, x_1402); +lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; +x_1404 = lean_ctor_get(x_1402, 1); +x_1405 = lean_ctor_get(x_1402, 0); +lean_dec(x_1405); +lean_ctor_set(x_1402, 1, x_1400); +lean_ctor_set(x_1402, 0, x_1397); +x_1406 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1402, x_10, x_11, x_12, x_13, x_14, x_15, x_1404); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_1404; +return x_1406; } else { -lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; -x_1405 = lean_ctor_get(x_1400, 1); -lean_inc(x_1405); -lean_dec(x_1400); -x_1406 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1406, 0, x_1395); -lean_ctor_set(x_1406, 1, x_1398); -x_1407 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1406, x_10, x_11, x_12, x_13, x_14, x_15, x_1405); +lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; +x_1407 = lean_ctor_get(x_1402, 1); +lean_inc(x_1407); +lean_dec(x_1402); +x_1408 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1408, 0, x_1397); +lean_ctor_set(x_1408, 1, x_1400); +x_1409 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1408, x_10, x_11, x_12, x_13, x_14, x_15, x_1407); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_1407; +return x_1409; } } else { -lean_object* x_1408; lean_object* x_1409; -x_1408 = lean_ctor_get(x_1394, 0); -lean_inc(x_1408); -x_1409 = lean_ctor_get(x_1394, 1); -lean_inc(x_1409); -lean_dec(x_1394); -x_1371 = x_1408; -x_1372 = x_1409; -goto block_1393; +lean_object* x_1410; lean_object* x_1411; +x_1410 = lean_ctor_get(x_1396, 0); +lean_inc(x_1410); +x_1411 = lean_ctor_get(x_1396, 1); +lean_inc(x_1411); +lean_dec(x_1396); +x_1373 = x_1410; +x_1374 = x_1411; +goto block_1395; } -block_1393: +block_1395: { -if (lean_obj_tag(x_1371) == 0) +if (lean_obj_tag(x_1373) == 0) { -lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; uint8_t x_1377; -lean_dec(x_1370); -x_1373 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1372); -x_1374 = lean_ctor_get(x_1373, 0); -lean_inc(x_1374); -x_1375 = lean_ctor_get(x_1373, 1); -lean_inc(x_1375); -lean_dec(x_1373); -x_1376 = l_Lean_Elab_Term_SavedState_restore(x_1368, x_10, x_11, x_12, x_13, x_14, x_15, x_1375); -x_1377 = !lean_is_exclusive(x_1376); -if (x_1377 == 0) +lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; uint8_t x_1379; +lean_dec(x_1372); +x_1375 = l_Lean_Elab_Term_saveAllState___rarg(x_11, x_12, x_13, x_14, x_15, x_1374); +x_1376 = lean_ctor_get(x_1375, 0); +lean_inc(x_1376); +x_1377 = lean_ctor_get(x_1375, 1); +lean_inc(x_1377); +lean_dec(x_1375); +x_1378 = l_Lean_Elab_Term_SavedState_restore(x_1370, x_10, x_11, x_12, x_13, x_14, x_15, x_1377); +x_1379 = !lean_is_exclusive(x_1378); +if (x_1379 == 0) { -lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; -x_1378 = lean_ctor_get(x_1376, 1); -x_1379 = lean_ctor_get(x_1376, 0); -lean_dec(x_1379); -lean_ctor_set_tag(x_1376, 1); -lean_ctor_set(x_1376, 1, x_1374); -lean_ctor_set(x_1376, 0, x_1371); -x_1380 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1376, x_10, x_11, x_12, x_13, x_14, x_15, x_1378); +lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; +x_1380 = lean_ctor_get(x_1378, 1); +x_1381 = lean_ctor_get(x_1378, 0); +lean_dec(x_1381); +lean_ctor_set_tag(x_1378, 1); +lean_ctor_set(x_1378, 1, x_1376); +lean_ctor_set(x_1378, 0, x_1373); +x_1382 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1378, x_10, x_11, x_12, x_13, x_14, x_15, x_1380); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_1380; +return x_1382; } else { -lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; -x_1381 = lean_ctor_get(x_1376, 1); -lean_inc(x_1381); -lean_dec(x_1376); -x_1382 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1382, 0, x_1371); -lean_ctor_set(x_1382, 1, x_1374); -x_1383 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1382, x_10, x_11, x_12, x_13, x_14, x_15, x_1381); +lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; +x_1383 = lean_ctor_get(x_1378, 1); +lean_inc(x_1383); +lean_dec(x_1378); +x_1384 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1384, 0, x_1373); +lean_ctor_set(x_1384, 1, x_1376); +x_1385 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(x_9, x_1384, x_10, x_11, x_12, x_13, x_14, x_15, x_1383); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_1383; +return x_1385; } } else { -lean_object* x_1384; lean_object* x_1385; uint8_t x_1386; +lean_object* x_1386; lean_object* x_1387; uint8_t x_1388; lean_dec(x_9); -x_1384 = lean_ctor_get(x_1371, 0); -lean_inc(x_1384); -x_1385 = l_Lean_Elab_postponeExceptionId; -x_1386 = lean_nat_dec_eq(x_1384, x_1385); -lean_dec(x_1384); -if (x_1386 == 0) +x_1386 = lean_ctor_get(x_1373, 0); +lean_inc(x_1386); +x_1387 = l_Lean_Elab_postponeExceptionId; +x_1388 = lean_nat_dec_eq(x_1386, x_1387); +lean_dec(x_1386); +if (x_1388 == 0) { -lean_object* x_1387; -lean_dec(x_1368); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -if (lean_is_scalar(x_1370)) { - x_1387 = lean_alloc_ctor(1, 2, 0); -} else { - x_1387 = x_1370; - lean_ctor_set_tag(x_1387, 1); -} -lean_ctor_set(x_1387, 0, x_1371); -lean_ctor_set(x_1387, 1, x_1372); -return x_1387; -} -else -{ -lean_object* x_1388; uint8_t x_1389; +lean_object* x_1389; lean_dec(x_1370); -x_1388 = l_Lean_Elab_Term_SavedState_restore(x_1368, x_10, x_11, x_12, x_13, x_14, x_15, x_1372); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_1389 = !lean_is_exclusive(x_1388); -if (x_1389 == 0) +if (lean_is_scalar(x_1372)) { + x_1389 = lean_alloc_ctor(1, 2, 0); +} else { + x_1389 = x_1372; + lean_ctor_set_tag(x_1389, 1); +} +lean_ctor_set(x_1389, 0, x_1373); +lean_ctor_set(x_1389, 1, x_1374); +return x_1389; +} +else { -lean_object* x_1390; -x_1390 = lean_ctor_get(x_1388, 0); +lean_object* x_1390; uint8_t x_1391; +lean_dec(x_1372); +x_1390 = l_Lean_Elab_Term_SavedState_restore(x_1370, x_10, x_11, x_12, x_13, x_14, x_15, x_1374); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_1391 = !lean_is_exclusive(x_1390); +if (x_1391 == 0) +{ +lean_object* x_1392; +x_1392 = lean_ctor_get(x_1390, 0); +lean_dec(x_1392); +lean_ctor_set_tag(x_1390, 1); +lean_ctor_set(x_1390, 0, x_1373); +return x_1390; +} +else +{ +lean_object* x_1393; lean_object* x_1394; +x_1393 = lean_ctor_get(x_1390, 1); +lean_inc(x_1393); lean_dec(x_1390); -lean_ctor_set_tag(x_1388, 1); -lean_ctor_set(x_1388, 0, x_1371); -return x_1388; -} -else -{ -lean_object* x_1391; lean_object* x_1392; -x_1391 = lean_ctor_get(x_1388, 1); -lean_inc(x_1391); -lean_dec(x_1388); -x_1392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1392, 0, x_1371); -lean_ctor_set(x_1392, 1, x_1391); -return x_1392; +x_1394 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1394, 0, x_1373); +lean_ctor_set(x_1394, 1, x_1393); +return x_1394; } } } @@ -32010,54 +32600,54 @@ return x_1392; } else { -lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; +lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_dec(x_1); -x_1413 = l_Lean_Syntax_getId(x_1082); -lean_dec(x_1082); -x_1414 = lean_erase_macro_scopes(x_1413); -x_1415 = l_Lean_Name_components(x_1414); -x_1416 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2(x_1415); -x_1417 = l_List_append___rarg(x_1416, x_2); -x_1 = x_1080; -x_2 = x_1417; +x_1415 = l_Lean_Syntax_getId(x_1084); +x_1416 = lean_erase_macro_scopes(x_1415); +x_1417 = l_Lean_Name_components(x_1416); +x_1418 = l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2(x_1084, x_1417); +x_1419 = l_List_append___rarg(x_1418, x_2); +x_1 = x_1082; +x_2 = x_1419; goto _start; } } else { -lean_object* x_1419; lean_object* x_1420; +lean_object* x_1421; lean_object* x_1422; lean_dec(x_1); -x_1419 = l_Lean_fieldIdxKind; -x_1420 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_1419, x_1082); -lean_dec(x_1082); -if (lean_obj_tag(x_1420) == 0) +x_1421 = l_Lean_fieldIdxKind; +x_1422 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_1421, x_1084); +if (lean_obj_tag(x_1422) == 0) { -lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; -x_1421 = l_instInhabitedNat; -x_1422 = l_Option_get_x21___rarg___closed__4; -x_1423 = lean_panic_fn(x_1421, x_1422); -x_1424 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1424, 0, x_1423); -x_1425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1425, 0, x_1424); -lean_ctor_set(x_1425, 1, x_2); -x_1 = x_1080; -x_2 = x_1425; +lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; +x_1423 = l_instInhabitedNat; +x_1424 = l_Option_get_x21___rarg___closed__4; +x_1425 = lean_panic_fn(x_1423, x_1424); +x_1426 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1426, 0, x_1084); +lean_ctor_set(x_1426, 1, x_1425); +x_1427 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1427, 0, x_1426); +lean_ctor_set(x_1427, 1, x_2); +x_1 = x_1082; +x_2 = x_1427; goto _start; } else { -lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; -x_1427 = lean_ctor_get(x_1420, 0); -lean_inc(x_1427); -lean_dec(x_1420); -x_1428 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1428, 0, x_1427); -x_1429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1429, 0, x_1428); -lean_ctor_set(x_1429, 1, x_2); -x_1 = x_1080; -x_2 = x_1429; +lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; +x_1429 = lean_ctor_get(x_1422, 0); +lean_inc(x_1429); +lean_dec(x_1422); +x_1430 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1430, 0, x_1084); +lean_ctor_set(x_1430, 1, x_1429); +x_1431 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1431, 0, x_1430); +lean_ctor_set(x_1431, 1, x_2); +x_1 = x_1082; +x_2 = x_1431; goto _start; } } @@ -32065,48 +32655,48 @@ goto _start; } else { -lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; uint8_t x_1434; -x_1431 = l_Lean_Syntax_getArgs(x_1); +lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; uint8_t x_1436; +x_1433 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_1432 = lean_array_get_size(x_1431); -x_1433 = lean_unsigned_to_nat(0u); -x_1434 = lean_nat_dec_lt(x_1433, x_1432); -if (x_1434 == 0) -{ -lean_object* x_1435; -lean_dec(x_1432); -lean_dec(x_1431); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1435 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1435, 0, x_9); -lean_ctor_set(x_1435, 1, x_16); -return x_1435; -} -else -{ -uint8_t x_1436; -x_1436 = !lean_is_exclusive(x_10); +x_1434 = lean_array_get_size(x_1433); +x_1435 = lean_unsigned_to_nat(0u); +x_1436 = lean_nat_dec_lt(x_1435, x_1434); if (x_1436 == 0) { -uint8_t x_1437; uint8_t x_1438; -x_1437 = 0; -lean_ctor_set_uint8(x_10, sizeof(void*)*6 + 1, x_1437); -x_1438 = lean_nat_dec_le(x_1432, x_1432); +lean_object* x_1437; +lean_dec(x_1434); +lean_dec(x_1433); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_1437 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1437, 0, x_9); +lean_ctor_set(x_1437, 1, x_16); +return x_1437; +} +else +{ +uint8_t x_1438; +x_1438 = !lean_is_exclusive(x_10); if (x_1438 == 0) { -lean_object* x_1439; +uint8_t x_1439; uint8_t x_1440; +x_1439 = 0; +lean_ctor_set_uint8(x_10, sizeof(void*)*6 + 1, x_1439); +x_1440 = lean_nat_dec_le(x_1434, x_1434); +if (x_1440 == 0) +{ +lean_object* x_1441; lean_dec(x_10); -lean_dec(x_1432); -lean_dec(x_1431); +lean_dec(x_1434); +lean_dec(x_1433); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -32116,58 +32706,58 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1439 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1439, 0, x_9); -lean_ctor_set(x_1439, 1, x_16); -return x_1439; +x_1441 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1441, 0, x_9); +lean_ctor_set(x_1441, 1, x_16); +return x_1441; } else { -size_t x_1440; size_t x_1441; lean_object* x_1442; -x_1440 = 0; -x_1441 = lean_usize_of_nat(x_1432); -lean_dec(x_1432); -x_1442 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_1431, x_1440, x_1441, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_1431); -return x_1442; +size_t x_1442; size_t x_1443; lean_object* x_1444; +x_1442 = 0; +x_1443 = lean_usize_of_nat(x_1434); +lean_dec(x_1434); +x_1444 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_1433, x_1442, x_1443, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_1433); +return x_1444; } } else { -lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; uint8_t x_1448; uint8_t x_1449; lean_object* x_1450; uint8_t x_1451; lean_object* x_1452; uint8_t x_1453; -x_1443 = lean_ctor_get(x_10, 0); -x_1444 = lean_ctor_get(x_10, 1); -x_1445 = lean_ctor_get(x_10, 2); -x_1446 = lean_ctor_get(x_10, 3); -x_1447 = lean_ctor_get(x_10, 4); -x_1448 = lean_ctor_get_uint8(x_10, sizeof(void*)*6); -x_1449 = lean_ctor_get_uint8(x_10, sizeof(void*)*6 + 2); -x_1450 = lean_ctor_get(x_10, 5); -lean_inc(x_1450); +lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; uint8_t x_1450; uint8_t x_1451; lean_object* x_1452; uint8_t x_1453; lean_object* x_1454; uint8_t x_1455; +x_1445 = lean_ctor_get(x_10, 0); +x_1446 = lean_ctor_get(x_10, 1); +x_1447 = lean_ctor_get(x_10, 2); +x_1448 = lean_ctor_get(x_10, 3); +x_1449 = lean_ctor_get(x_10, 4); +x_1450 = lean_ctor_get_uint8(x_10, sizeof(void*)*6); +x_1451 = lean_ctor_get_uint8(x_10, sizeof(void*)*6 + 2); +x_1452 = lean_ctor_get(x_10, 5); +lean_inc(x_1452); +lean_inc(x_1449); +lean_inc(x_1448); lean_inc(x_1447); lean_inc(x_1446); lean_inc(x_1445); -lean_inc(x_1444); -lean_inc(x_1443); lean_dec(x_10); -x_1451 = 0; -x_1452 = lean_alloc_ctor(0, 6, 3); -lean_ctor_set(x_1452, 0, x_1443); -lean_ctor_set(x_1452, 1, x_1444); -lean_ctor_set(x_1452, 2, x_1445); -lean_ctor_set(x_1452, 3, x_1446); -lean_ctor_set(x_1452, 4, x_1447); -lean_ctor_set(x_1452, 5, x_1450); -lean_ctor_set_uint8(x_1452, sizeof(void*)*6, x_1448); -lean_ctor_set_uint8(x_1452, sizeof(void*)*6 + 1, x_1451); -lean_ctor_set_uint8(x_1452, sizeof(void*)*6 + 2, x_1449); -x_1453 = lean_nat_dec_le(x_1432, x_1432); -if (x_1453 == 0) +x_1453 = 0; +x_1454 = lean_alloc_ctor(0, 6, 3); +lean_ctor_set(x_1454, 0, x_1445); +lean_ctor_set(x_1454, 1, x_1446); +lean_ctor_set(x_1454, 2, x_1447); +lean_ctor_set(x_1454, 3, x_1448); +lean_ctor_set(x_1454, 4, x_1449); +lean_ctor_set(x_1454, 5, x_1452); +lean_ctor_set_uint8(x_1454, sizeof(void*)*6, x_1450); +lean_ctor_set_uint8(x_1454, sizeof(void*)*6 + 1, x_1453); +lean_ctor_set_uint8(x_1454, sizeof(void*)*6 + 2, x_1451); +x_1455 = lean_nat_dec_le(x_1434, x_1434); +if (x_1455 == 0) { -lean_object* x_1454; -lean_dec(x_1452); -lean_dec(x_1432); -lean_dec(x_1431); +lean_object* x_1456; +lean_dec(x_1454); +lean_dec(x_1434); +lean_dec(x_1433); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -32177,20 +32767,20 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1454 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1454, 0, x_9); -lean_ctor_set(x_1454, 1, x_16); -return x_1454; +x_1456 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1456, 0, x_9); +lean_ctor_set(x_1456, 1, x_16); +return x_1456; } else { -size_t x_1455; size_t x_1456; lean_object* x_1457; -x_1455 = 0; -x_1456 = lean_usize_of_nat(x_1432); -lean_dec(x_1432); -x_1457 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_1431, x_1455, x_1456, x_9, x_1452, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_1431); -return x_1457; +size_t x_1457; size_t x_1458; lean_object* x_1459; +x_1457 = 0; +x_1458 = lean_usize_of_nat(x_1434); +lean_dec(x_1434); +x_1459 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_1433, x_1457, x_1458, x_9, x_1454, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_1433); +return x_1459; } } } @@ -32773,7 +33363,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_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__1; x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(856u); +x_3 = lean_unsigned_to_nat(863u); x_4 = lean_unsigned_to_nat(35u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -33130,7 +33720,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_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__1; x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__1___closed__1; -x_3 = lean_unsigned_to_nat(874u); +x_3 = lean_unsigned_to_nat(881u); x_4 = lean_unsigned_to_nat(35u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -36599,7 +37189,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_App___hyg_7997_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_8141_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -36929,7 +37519,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__1); res = l___regBuiltin_Lean_Elab_Term_elabBinRel(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_App___hyg_7997_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_8141_(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/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 7ebff43923..370b7acd73 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -80,6 +80,7 @@ lean_object* l_Lean_Elab_Term_elabBinder___rarg(lean_object*, lean_object*, uint lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_Term_elabFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___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_elabLetDeclCore_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__2; extern lean_object* l_Lean_identKind___closed__2; @@ -99,6 +100,7 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux(lean lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___closed__2; +extern lean_object* l_Std_PersistentArray_empty___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecls_loop___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow___closed__1; @@ -130,7 +132,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__11; lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__3; lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___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_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); @@ -142,7 +144,7 @@ lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic(lean_object*, lean_ lean_object* l_Lean_Elab_Term_expandFunBinders_loop(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_getPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTypeWithAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_109____spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__2; @@ -217,16 +219,18 @@ lean_object* l_Lean_Elab_Term_mkLetIdDeclView___boxed(lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, 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_4976_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5084_(lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__20; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__8; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2; +lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore(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___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -260,6 +264,7 @@ lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__10; lean_object* l_Lean_Elab_Term_elabLetDeclCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__2; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo___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_elabBinder___rarg___lambda__1(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_Binders_0__Lean_Elab_Term_matchBinder___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_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -292,6 +297,7 @@ lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType_match__2(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__1; lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg(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___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -429,7 +435,7 @@ lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__4(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_elabLetDeclAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__1; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__1; @@ -5006,15 +5012,125 @@ lean_dec(x_1); return x_10; } } -lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_unsigned_to_nat(1u); -x_15 = lean_nat_add(x_1, x_14); -x_16 = lean_array_push(x_2, x_6); -x_17 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg(x_3, x_4, x_5, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_17; +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_st_ref_get(x_9, x_10); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_st_ref_get(x_5, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 5); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); +lean_dec(x_15); +if (x_16 == 0) +{ +uint8_t x_17; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_13, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_13, 0, x_19); +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_dec(x_13); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec(x_13); +x_24 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_3); +lean_ctor_set(x_24, 2, x_2); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Std_PersistentArray_empty___closed__1; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__1(x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +return x_28; +} +} +} +lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___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_Binders_0__Lean_Elab_Term_addLocalVarInfoCore(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +x_11 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_5); +return x_11; +} +} +lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +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_inc(x_10); +lean_inc(x_7); +x_15 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_2, x_17); +x_19 = lean_array_push(x_3, x_7); +x_20 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg(x_4, x_5, x_6, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_16); +return x_20; } } lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { @@ -5026,15 +5142,18 @@ x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); x_18 = lean_ctor_get(x_2, 0); +lean_inc(x_18); x_19 = l_Lean_Syntax_getId(x_18); x_20 = lean_ctor_get_uint8(x_2, sizeof(void*)*2); +lean_dec(x_2); x_21 = lean_box(x_6); -x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1___boxed), 13, 5); -lean_closure_set(x_22, 0, x_3); -lean_closure_set(x_22, 1, x_4); -lean_closure_set(x_22, 2, x_5); -lean_closure_set(x_22, 3, x_21); -lean_closure_set(x_22, 4, x_7); +x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1___boxed), 14, 6); +lean_closure_set(x_22, 0, x_18); +lean_closure_set(x_22, 1, x_3); +lean_closure_set(x_22, 2, x_4); +lean_closure_set(x_22, 3, x_5); +lean_closure_set(x_22, 4, x_21); +lean_closure_set(x_22, 5, x_7); x_23 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg(x_19, x_20, x_8, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_17); return x_23; } @@ -5086,16 +5205,16 @@ lean_dec(x_21); x_23 = lean_ctor_get(x_16, 0); lean_inc(x_23); x_24 = l_Lean_Syntax_getId(x_23); -lean_dec(x_23); x_25 = lean_ctor_get_uint8(x_16, sizeof(void*)*2); lean_dec(x_16); x_26 = lean_box(x_2); -x_27 = lean_alloc_closure((void*)(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1___boxed), 13, 5); -lean_closure_set(x_27, 0, x_4); -lean_closure_set(x_27, 1, x_5); -lean_closure_set(x_27, 2, x_1); -lean_closure_set(x_27, 3, x_26); -lean_closure_set(x_27, 4, x_3); +x_27 = lean_alloc_closure((void*)(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1___boxed), 14, 6); +lean_closure_set(x_27, 0, x_23); +lean_closure_set(x_27, 1, x_4); +lean_closure_set(x_27, 2, x_5); +lean_closure_set(x_27, 3, x_1); +lean_closure_set(x_27, 4, x_26); +lean_closure_set(x_27, 5, x_3); x_28 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg(x_24, x_25, x_19, x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_22); return x_28; } @@ -5163,15 +5282,15 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Binders_0__Lean_Elab_Term return x_2; } } -lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_4); -lean_dec(x_4); -x_15 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_1); -return x_15; +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_5); +lean_dec(x_5); +x_16 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1(x_1, x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_2); +return x_16; } } lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { @@ -5181,7 +5300,6 @@ uint8_t x_16; lean_object* x_17; x_16 = lean_unbox(x_6); lean_dec(x_6); x_17 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_2); return x_17; } } @@ -17481,7 +17599,7 @@ return x_6; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; 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_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; x_16 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo(x_8, x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_15); x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); @@ -17508,374 +17626,204 @@ lean_ctor_set(x_25, 1, x_3); lean_ctor_set(x_25, 2, x_4); lean_ctor_set(x_25, 3, x_24); x_26 = lean_ctor_get(x_5, 0); +lean_inc(x_26); x_27 = l_Lean_Syntax_getId(x_26); x_28 = lean_ctor_get_uint8(x_5, sizeof(void*)*2); +lean_dec(x_5); lean_inc(x_8); x_29 = lean_local_ctx_mk_local_decl(x_3, x_19, x_27, x_8, x_28); -x_30 = lean_ctor_get(x_13, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_26); +lean_inc(x_29); +x_30 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore(x_29, x_26, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_20); +x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_13, 2); +lean_dec(x_30); +x_32 = lean_ctor_get(x_13, 0); lean_inc(x_32); -x_33 = lean_ctor_get(x_13, 3); +x_33 = lean_ctor_get(x_13, 1); lean_inc(x_33); -x_34 = lean_ctor_get(x_13, 4); +x_34 = lean_ctor_get(x_13, 2); lean_inc(x_34); -x_35 = lean_ctor_get(x_13, 5); +x_35 = lean_ctor_get(x_13, 3); lean_inc(x_35); -x_36 = l_Lean_replaceRef(x_26, x_33); -lean_dec(x_33); -x_37 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_37, 0, x_30); -lean_ctor_set(x_37, 1, x_31); -lean_ctor_set(x_37, 2, x_32); -lean_ctor_set(x_37, 3, x_36); -lean_ctor_set(x_37, 4, x_34); -lean_ctor_set(x_37, 5, x_35); +x_36 = lean_ctor_get(x_13, 4); +lean_inc(x_36); +x_37 = lean_ctor_get(x_13, 5); +lean_inc(x_37); +x_38 = l_Lean_replaceRef(x_26, x_35); +lean_dec(x_35); +lean_dec(x_26); +x_39 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_39, 0, x_32); +lean_ctor_set(x_39, 1, x_33); +lean_ctor_set(x_39, 2, x_34); +lean_ctor_set(x_39, 3, x_38); +lean_ctor_set(x_39, 4, x_36); +lean_ctor_set(x_39, 5, x_37); lean_inc(x_14); lean_inc(x_12); lean_inc(x_11); lean_inc(x_8); -x_38 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType(x_21, x_8, x_25, x_9, x_10, x_11, x_12, x_37, x_14, x_20); -if (lean_obj_tag(x_38) == 0) +x_40 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType(x_21, x_8, x_25, x_9, x_10, x_11, x_12, x_39, x_14, x_31); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = !lean_is_exclusive(x_39); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_42 = lean_ctor_get(x_39, 0); -x_43 = lean_ctor_get(x_39, 2); -x_44 = lean_ctor_get(x_39, 3); -x_45 = lean_ctor_get(x_39, 1); -lean_dec(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_29); +lean_object* x_41; lean_object* x_42; uint8_t x_43; +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_ctor_set(x_39, 1, x_29); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_46 = l_Lean_Meta_isClass_x3f(x_8, x_11, x_12, x_13, x_14, x_40); -if (lean_obj_tag(x_46) == 0) +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) { -lean_object* x_47; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_44); -lean_dec(x_43); -lean_dec(x_42); -lean_dec(x_29); -lean_dec(x_21); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = lean_unsigned_to_nat(1u); -x_50 = lean_nat_add(x_6, x_49); -x_51 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_50, x_39, x_9, x_10, x_11, x_12, x_13, x_14, x_48); -return x_51; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -lean_dec(x_39); -x_52 = lean_ctor_get(x_46, 1); -lean_inc(x_52); -lean_dec(x_46); -x_53 = lean_ctor_get(x_47, 0); -lean_inc(x_53); +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_41, 0); +x_45 = lean_ctor_get(x_41, 2); +x_46 = lean_ctor_get(x_41, 3); +x_47 = lean_ctor_get(x_41, 1); lean_dec(x_47); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_21); -x_55 = lean_array_push(x_43, x_54); -x_56 = lean_unsigned_to_nat(1u); -x_57 = lean_nat_add(x_6, x_56); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_42); -lean_ctor_set(x_58, 1, x_29); -lean_ctor_set(x_58, 2, x_55); -lean_ctor_set(x_58, 3, x_44); -x_59 = l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(x_12, x_13, x_14, x_52); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_62 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_57, x_58, x_9, x_10, x_11, x_12, x_13, x_14, x_61); -if (lean_obj_tag(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_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = l_Lean_Meta_restoreSynthInstanceCache(x_60, x_11, x_12, x_13, x_14, x_64); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_66 = !lean_is_exclusive(x_65); -if (x_66 == 0) -{ -lean_object* x_67; -x_67 = lean_ctor_get(x_65, 0); -lean_dec(x_67); -lean_ctor_set(x_65, 0, x_63); -return x_65; -} -else -{ -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); -lean_dec(x_65); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_63); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_70 = lean_ctor_get(x_62, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_62, 1); -lean_inc(x_71); -lean_dec(x_62); -x_72 = l_Lean_Meta_restoreSynthInstanceCache(x_60, x_11, x_12, x_13, x_14, x_71); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_73 = !lean_is_exclusive(x_72); -if (x_73 == 0) -{ -lean_object* x_74; -x_74 = lean_ctor_get(x_72, 0); -lean_dec(x_74); -lean_ctor_set_tag(x_72, 1); -lean_ctor_set(x_72, 0, x_70); -return x_72; -} -else -{ -lean_object* x_75; lean_object* x_76; -x_75 = lean_ctor_get(x_72, 1); -lean_inc(x_75); -lean_dec(x_72); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_70); -lean_ctor_set(x_76, 1, x_75); -return x_76; -} -} -} -} -else -{ -uint8_t x_77; -lean_dec(x_39); -lean_dec(x_44); -lean_dec(x_43); -lean_dec(x_42); -lean_dec(x_29); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -x_77 = !lean_is_exclusive(x_46); -if (x_77 == 0) -{ -return x_46; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_46, 0); -x_79 = lean_ctor_get(x_46, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_46); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; -} -} -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_81 = lean_ctor_get(x_39, 0); -x_82 = lean_ctor_get(x_39, 2); -x_83 = lean_ctor_get(x_39, 3); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_39); -lean_inc(x_83); -lean_inc(x_82); +lean_inc(x_46); +lean_inc(x_45); lean_inc(x_29); -lean_inc(x_81); -x_84 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_84, 0, x_81); -lean_ctor_set(x_84, 1, x_29); -lean_ctor_set(x_84, 2, x_82); -lean_ctor_set(x_84, 3, x_83); +lean_inc(x_44); +lean_ctor_set(x_41, 1, x_29); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_85 = l_Lean_Meta_isClass_x3f(x_8, x_11, x_12, x_13, x_14, x_40); -if (lean_obj_tag(x_85) == 0) +x_48 = l_Lean_Meta_isClass_x3f(x_8, x_11, x_12, x_13, x_14, x_42); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_86; -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -if (lean_obj_tag(x_86) == 0) +lean_object* x_49; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -lean_dec(x_83); -lean_dec(x_82); -lean_dec(x_81); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_46); +lean_dec(x_45); +lean_dec(x_44); lean_dec(x_29); lean_dec(x_21); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -x_88 = lean_unsigned_to_nat(1u); -x_89 = lean_nat_add(x_6, x_88); -x_90 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_89, x_84, x_9, x_10, x_11, x_12, x_13, x_14, x_87); -return x_90; +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_unsigned_to_nat(1u); +x_52 = lean_nat_add(x_6, x_51); +x_53 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_52, x_41, x_9, x_10, x_11, x_12, x_13, x_14, x_50); +return x_53; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -lean_dec(x_84); -x_91 = lean_ctor_get(x_85, 1); -lean_inc(x_91); -lean_dec(x_85); -x_92 = lean_ctor_get(x_86, 0); -lean_inc(x_92); -lean_dec(x_86); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_21); -x_94 = lean_array_push(x_82, x_93); -x_95 = lean_unsigned_to_nat(1u); -x_96 = lean_nat_add(x_6, x_95); -x_97 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_97, 0, x_81); -lean_ctor_set(x_97, 1, x_29); -lean_ctor_set(x_97, 2, x_94); -lean_ctor_set(x_97, 3, x_83); -x_98 = l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(x_12, x_13, x_14, x_91); -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); +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_dec(x_41); +x_54 = lean_ctor_get(x_48, 1); +lean_inc(x_54); +lean_dec(x_48); +x_55 = lean_ctor_get(x_49, 0); +lean_inc(x_55); +lean_dec(x_49); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_21); +x_57 = lean_array_push(x_45, x_56); +x_58 = lean_unsigned_to_nat(1u); +x_59 = lean_nat_add(x_6, x_58); +x_60 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_60, 0, x_44); +lean_ctor_set(x_60, 1, x_29); +lean_ctor_set(x_60, 2, x_57); +lean_ctor_set(x_60, 3, x_46); +x_61 = l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(x_12, x_13, x_14, x_54); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_101 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_96, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_100); -if (lean_obj_tag(x_101) == 0) +x_64 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_59, x_60, x_9, x_10, x_11, x_12, x_13, x_14, x_63); +if (lean_obj_tag(x_64) == 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; -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); -x_104 = l_Lean_Meta_restoreSynthInstanceCache(x_99, x_11, x_12, x_13, x_14, x_103); +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = l_Lean_Meta_restoreSynthInstanceCache(x_62, x_11, x_12, x_13, x_14, x_66); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - x_106 = x_104; -} else { - lean_dec_ref(x_104); - x_106 = lean_box(0); -} -if (lean_is_scalar(x_106)) { - x_107 = lean_alloc_ctor(0, 2, 0); -} else { - x_107 = x_106; -} -lean_ctor_set(x_107, 0, x_102); -lean_ctor_set(x_107, 1, x_105); -return x_107; +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) +{ +lean_object* x_69; +x_69 = lean_ctor_get(x_67, 0); +lean_dec(x_69); +lean_ctor_set(x_67, 0, x_65); +return x_67; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_108 = lean_ctor_get(x_101, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_101, 1); -lean_inc(x_109); -lean_dec(x_101); -x_110 = l_Lean_Meta_restoreSynthInstanceCache(x_99, x_11, x_12, x_13, x_14, x_109); +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_65); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_72 = lean_ctor_get(x_64, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_64, 1); +lean_inc(x_73); +lean_dec(x_64); +x_74 = l_Lean_Meta_restoreSynthInstanceCache(x_62, x_11, x_12, x_13, x_14, x_73); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -x_111 = lean_ctor_get(x_110, 1); -lean_inc(x_111); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_112 = x_110; -} else { - lean_dec_ref(x_110); - x_112 = lean_box(0); +x_75 = !lean_is_exclusive(x_74); +if (x_75 == 0) +{ +lean_object* x_76; +x_76 = lean_ctor_get(x_74, 0); +lean_dec(x_76); +lean_ctor_set_tag(x_74, 1); +lean_ctor_set(x_74, 0, x_72); +return x_74; } -if (lean_is_scalar(x_112)) { - x_113 = lean_alloc_ctor(1, 2, 0); -} else { - x_113 = x_112; - lean_ctor_set_tag(x_113, 1); +else +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_74, 1); +lean_inc(x_77); +lean_dec(x_74); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_72); +lean_ctor_set(x_78, 1, x_77); +return x_78; } -lean_ctor_set(x_113, 0, x_108); -lean_ctor_set(x_113, 1, x_111); -return x_113; } } } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_82); -lean_dec(x_81); +uint8_t x_79; +lean_dec(x_41); +lean_dec(x_46); +lean_dec(x_45); +lean_dec(x_44); lean_dec(x_29); lean_dec(x_21); lean_dec(x_14); @@ -17885,32 +17833,212 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_7); -x_114 = lean_ctor_get(x_85, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_85, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_116 = x_85; -} else { - lean_dec_ref(x_85); - x_116 = lean_box(0); +x_79 = !lean_is_exclusive(x_48); +if (x_79 == 0) +{ +return x_48; } -if (lean_is_scalar(x_116)) { - x_117 = lean_alloc_ctor(1, 2, 0); -} else { - x_117 = x_116; -} -lean_ctor_set(x_117, 0, x_114); -lean_ctor_set(x_117, 1, x_115); -return x_117; +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_48, 0); +x_81 = lean_ctor_get(x_48, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_48); +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; } } } else { -uint8_t x_118; +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_83 = lean_ctor_get(x_41, 0); +x_84 = lean_ctor_get(x_41, 2); +x_85 = lean_ctor_get(x_41, 3); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_41); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_29); +lean_inc(x_83); +x_86 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_86, 0, x_83); +lean_ctor_set(x_86, 1, x_29); +lean_ctor_set(x_86, 2, x_84); +lean_ctor_set(x_86, 3, x_85); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_87 = l_Lean_Meta_isClass_x3f(x_8, x_11, x_12, x_13, x_14, x_42); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +if (lean_obj_tag(x_88) == 0) +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_83); +lean_dec(x_29); +lean_dec(x_21); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = lean_unsigned_to_nat(1u); +x_91 = lean_nat_add(x_6, x_90); +x_92 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_91, x_86, x_9, x_10, x_11, x_12, x_13, x_14, x_89); +return x_92; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_86); +x_93 = lean_ctor_get(x_87, 1); +lean_inc(x_93); +lean_dec(x_87); +x_94 = lean_ctor_get(x_88, 0); +lean_inc(x_94); +lean_dec(x_88); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_21); +x_96 = lean_array_push(x_84, x_95); +x_97 = lean_unsigned_to_nat(1u); +x_98 = lean_nat_add(x_6, x_97); +x_99 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_99, 0, x_83); +lean_ctor_set(x_99, 1, x_29); +lean_ctor_set(x_99, 2, x_96); +lean_ctor_set(x_99, 3, x_85); +x_100 = l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(x_12, x_13, x_14, x_93); +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); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_103 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_98, x_99, x_9, x_10, x_11, x_12, x_13, x_14, x_102); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = l_Lean_Meta_restoreSynthInstanceCache(x_101, x_11, x_12, x_13, x_14, x_105); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_108 = x_106; +} else { + lean_dec_ref(x_106); + x_108 = lean_box(0); +} +if (lean_is_scalar(x_108)) { + x_109 = lean_alloc_ctor(0, 2, 0); +} else { + x_109 = x_108; +} +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_107); +return x_109; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_110 = lean_ctor_get(x_103, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_103, 1); +lean_inc(x_111); +lean_dec(x_103); +x_112 = l_Lean_Meta_restoreSynthInstanceCache(x_101, x_11, x_12, x_13, x_14, x_111); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_114 = x_112; +} else { + lean_dec_ref(x_112); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; + lean_ctor_set_tag(x_115, 1); +} +lean_ctor_set(x_115, 0, x_110); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_dec(x_86); +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_83); +lean_dec(x_29); +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +x_116 = lean_ctor_get(x_87, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_87, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_118 = x_87; +} else { + lean_dec_ref(x_87); + x_118 = lean_box(0); +} +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(1, 2, 0); +} else { + x_119 = x_118; +} +lean_ctor_set(x_119, 0, x_116); +lean_ctor_set(x_119, 1, x_117); +return x_119; +} +} +} +else +{ +uint8_t x_120; lean_dec(x_29); lean_dec(x_21); lean_dec(x_14); @@ -17921,23 +18049,23 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_118 = !lean_is_exclusive(x_38); -if (x_118 == 0) +x_120 = !lean_is_exclusive(x_40); +if (x_120 == 0) { -return x_38; +return x_40; } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_38, 0); -x_120 = lean_ctor_get(x_38, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_38); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_40, 0); +x_122 = lean_ctor_get(x_40, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_40); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; } } } @@ -18064,7 +18192,6 @@ _start: lean_object* x_16; x_16 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_6); -lean_dec(x_5); return x_16; } } @@ -18609,7 +18736,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_expandWhereDecls___closed__3; -x_3 = lean_unsigned_to_nat(364u); +x_3 = lean_unsigned_to_nat(374u); x_4 = lean_unsigned_to_nat(9u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -21533,98 +21660,104 @@ return x_25; } } } -lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = 1; -lean_inc(x_9); -lean_inc(x_8); +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_inc(x_7); -lean_inc(x_6); -x_12 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_4); +x_12 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); lean_dec(x_12); +x_14 = 1; +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -x_15 = l_Lean_Meta_instantiateMVars(x_13, x_6, x_7, x_8, x_9, x_14); +x_15 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_13); if (lean_obj_tag(x_15) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_object* x_16; lean_object* x_17; lean_object* x_18; x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_mkOptionalNode___closed__2; -x_19 = lean_array_push(x_18, x_3); -x_20 = l_Lean_Meta_mkLambdaFVars(x_19, x_16, x_6, x_7, x_8, x_9, x_17); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_18 = l_Lean_Meta_instantiateMVars(x_16, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_18) == 0) +{ +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_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_mkOptionalNode___closed__2; +x_22 = lean_array_push(x_21, x_4); +x_23 = l_Lean_Meta_mkLambdaFVars(x_22, x_19, x_7, x_8, x_9, x_10, x_20); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -return x_20; +return x_23; } else { -uint8_t x_21; +uint8_t x_24; +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_21 = !lean_is_exclusive(x_15); -if (x_21 == 0) +lean_dec(x_4); +x_24 = !lean_is_exclusive(x_18); +if (x_24 == 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_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; +} +} +} +else +{ +uint8_t x_28; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) { return x_15; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_15, 0); -x_23 = lean_ctor_get(x_15, 1); -lean_inc(x_23); -lean_inc(x_22); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_15); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -else -{ -uint8_t x_25; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_25 = !lean_is_exclusive(x_12); -if (x_25 == 0) -{ -return x_12; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_12, 0); -x_27 = lean_ctor_get(x_12, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_12); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +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; } } } @@ -21677,7 +21810,7 @@ lean_inc(x_9); x_19 = l_Lean_Elab_Term_elabBinders___rarg(x_2, x_17, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_19) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_48; lean_object* x_49; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_50; lean_object* x_51; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_20, 1); @@ -21693,52 +21826,54 @@ lean_inc(x_24); x_25 = lean_ctor_get(x_21, 1); lean_inc(x_25); lean_dec(x_21); -x_66 = lean_st_ref_get(x_14, x_22); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_67, 3); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_ctor_get_uint8(x_68, sizeof(void*)*1); -lean_dec(x_68); -if (x_69 == 0) -{ -lean_object* x_70; -x_70 = lean_ctor_get(x_66, 1); +x_69 = lean_st_ref_get(x_14, x_22); +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -lean_dec(x_66); -x_48 = x_18; -x_49 = x_70; -goto block_65; +x_71 = lean_ctor_get(x_70, 3); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*1); +lean_dec(x_71); +if (x_72 == 0) +{ +lean_object* x_73; +x_73 = lean_ctor_get(x_69, 1); +lean_inc(x_73); +lean_dec(x_69); +x_50 = x_18; +x_51 = x_73; +goto block_68; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_71 = lean_ctor_get(x_66, 1); -lean_inc(x_71); -lean_dec(x_66); -x_72 = l_Lean_Elab_Term_elabLetDeclAux___closed__3; -x_73 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_72, x_9, x_10, x_11, x_12, x_13, x_14, x_71); -x_74 = lean_ctor_get(x_73, 0); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_74 = lean_ctor_get(x_69, 1); lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_76 = lean_unbox(x_74); -lean_dec(x_74); -x_48 = x_76; -x_49 = x_75; -goto block_65; +lean_dec(x_69); +x_75 = l_Lean_Elab_Term_elabLetDeclAux___closed__3; +x_76 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_75, x_9, x_10, x_11, x_12, x_13, x_14, x_74); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_unbox(x_77); +lean_dec(x_77); +x_50 = x_79; +x_51 = x_78; +goto block_68; } -block_47: +block_49: { if (x_7 == 0) { -lean_object* x_27; uint8_t x_28; lean_object* x_29; -x_27 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__4), 10, 2); -lean_closure_set(x_27, 0, x_5); -lean_closure_set(x_27, 1, x_6); -x_28 = 0; +lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_27 = l_Lean_Syntax_getId(x_1); +x_28 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__4), 11, 3); +lean_closure_set(x_28, 0, x_1); +lean_closure_set(x_28, 1, x_5); +lean_closure_set(x_28, 2, x_6); +x_29 = 0; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -21746,23 +21881,23 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_23); -x_29 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg(x_1, x_28, x_23, x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_26); -if (lean_obj_tag(x_29) == 0) +x_30 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg(x_27, x_29, x_23, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_26); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); lean_inc(x_24); -x_32 = l_Lean_mkApp(x_30, x_24); -x_33 = l_Lean_Elab_Term_elabLetDeclAux___lambda__3(x_8, x_25, x_4, x_24, x_23, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_31); -return x_33; +x_33 = l_Lean_mkApp(x_31, x_24); +x_34 = l_Lean_Elab_Term_elabLetDeclAux___lambda__3(x_8, x_25, x_4, x_24, x_23, x_33, x_9, x_10, x_11, x_12, x_13, x_14, x_32); +return x_34; } else { -uint8_t x_34; +uint8_t x_35; lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); @@ -21773,32 +21908,34 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_4); -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) +x_35 = !lean_is_exclusive(x_30); +if (x_35 == 0) { -return x_29; +return x_30; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_29, 0); -x_36 = lean_ctor_get(x_29, 1); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_30, 0); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_29); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_dec(x_30); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } else { -lean_object* x_38; lean_object* x_39; -x_38 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__4), 10, 2); -lean_closure_set(x_38, 0, x_5); -lean_closure_set(x_38, 1, x_6); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = l_Lean_Syntax_getId(x_1); +x_40 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__4), 11, 3); +lean_closure_set(x_40, 0, x_1); +lean_closure_set(x_40, 1, x_5); +lean_closure_set(x_40, 2, x_6); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -21807,21 +21944,21 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_24); lean_inc(x_23); -x_39 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__3___rarg(x_1, x_23, x_24, x_38, x_9, x_10, x_11, x_12, x_13, x_14, x_26); -if (lean_obj_tag(x_39) == 0) +x_41 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__3___rarg(x_39, x_23, x_24, x_40, x_9, x_10, x_11, x_12, x_13, x_14, x_26); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Elab_Term_elabLetDeclAux___lambda__3(x_8, x_25, x_4, x_24, x_23, x_40, x_9, x_10, x_11, x_12, x_13, x_14, x_41); -return x_42; +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l_Lean_Elab_Term_elabLetDeclAux___lambda__3(x_8, x_25, x_4, x_24, x_23, x_42, x_9, x_10, x_11, x_12, x_13, x_14, x_43); +return x_44; } else { -uint8_t x_43; +uint8_t x_45; lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); @@ -21832,80 +21969,80 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_4); -x_43 = !lean_is_exclusive(x_39); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_41); +if (x_45 == 0) { -return x_39; +return x_41; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_39, 0); -x_45 = lean_ctor_get(x_39, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_39); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_41, 0); +x_47 = lean_ctor_get(x_41, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_41); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } } -block_65: +block_68: { -if (x_48 == 0) +if (x_50 == 0) { -x_26 = x_49; -goto block_47; +x_26 = x_51; +goto block_49; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -lean_inc(x_1); -x_50 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_50, 0, x_1); -x_51 = l_Lean_KernelException_toMessageData___closed__15; -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -x_53 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__7; -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_52 = l_Lean_Syntax_getId(x_1); +x_53 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_53, 0, x_52); +x_54 = l_Lean_KernelException_toMessageData___closed__15; +x_55 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__7; +x_57 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); lean_inc(x_23); -x_55 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_55, 0, x_23); -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -lean_inc(x_24); -x_59 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_59, 0, x_24); -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); +x_58 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_58, 0, x_23); +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; x_61 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_51); -x_62 = l_Lean_Elab_Term_elabLetDeclAux___closed__3; -x_63 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_62, x_61, x_9, x_10, x_11, x_12, x_13, x_14, x_49); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_26 = x_64; -goto block_47; +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +lean_inc(x_24); +x_62 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_62, 0, x_24); +x_63 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_54); +x_65 = l_Lean_Elab_Term_elabLetDeclAux___closed__3; +x_66 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_65, x_64, x_9, x_10, x_11, x_12, x_13, x_14, x_51); +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec(x_66); +x_26 = x_67; +goto block_49; } } } else { -uint8_t x_77; +uint8_t x_80; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -21916,23 +22053,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_77 = !lean_is_exclusive(x_19); -if (x_77 == 0) +x_80 = !lean_is_exclusive(x_19); +if (x_80 == 0) { return x_19; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_19, 0); -x_79 = lean_ctor_get(x_19, 1); -lean_inc(x_79); -lean_inc(x_78); +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_19, 0); +x_82 = lean_ctor_get(x_19, 1); +lean_inc(x_82); +lean_inc(x_81); lean_dec(x_19); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } @@ -21985,27 +22122,25 @@ return x_18; lean_object* l_Lean_Elab_Term_mkLetIdDeclView(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; lean_object* x_13; +lean_object* x_2; lean_object* x_3; lean_object* x_4; 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 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Syntax_getArg(x_1, x_2); -x_4 = l_Lean_Syntax_getId(x_3); -lean_dec(x_3); -x_5 = lean_unsigned_to_nat(1u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = l_Lean_Syntax_getArgs(x_6); -lean_dec(x_6); -x_8 = lean_unsigned_to_nat(2u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_Elab_Term_expandOptType(x_1, x_9); -lean_dec(x_9); -x_11 = lean_unsigned_to_nat(4u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_7); -lean_ctor_set(x_13, 2, x_10); -lean_ctor_set(x_13, 3, x_12); -return x_13; +x_4 = lean_unsigned_to_nat(1u); +x_5 = l_Lean_Syntax_getArg(x_1, x_4); +x_6 = l_Lean_Syntax_getArgs(x_5); +lean_dec(x_5); +x_7 = lean_unsigned_to_nat(2u); +x_8 = l_Lean_Syntax_getArg(x_1, x_7); +x_9 = l_Lean_Elab_Term_expandOptType(x_1, x_8); +lean_dec(x_8); +x_10 = lean_unsigned_to_nat(4u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_12, 0, x_3); +lean_ctor_set(x_12, 1, x_6); +lean_ctor_set(x_12, 2, x_9); +lean_ctor_set(x_12, 3, x_11); +return x_12; } } lean_object* l_Lean_Elab_Term_mkLetIdDeclView___boxed(lean_object* x_1) { @@ -22199,7 +22334,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(557u); +x_3 = lean_unsigned_to_nat(569u); x_4 = lean_unsigned_to_nat(24u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -22704,7 +22839,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_4976_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5084_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -22925,7 +23060,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetStarDecl___closed__1); res = l___regBuiltin_Lean_Elab_Term_elabLetStarDecl(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_4976_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5084_(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/Command.c b/stage0/stdlib/Lean/Elab/Command.c index fe2d657ce4..818f80ec4a 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -50,7 +50,7 @@ lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1(lean_object*, l lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; lean_object* l_Lean_Elab_Command_instAddMessageContextCommandElabM___closed__1; @@ -226,7 +226,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabOpenHiding___s lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addOpenDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_Elab_Command_elabCommand_match__2(lean_object*); -lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getLevelNames___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_popScopes_match__1(lean_object*, lean_object*); @@ -252,7 +252,7 @@ lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__2; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_popScopes(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSynth___closed__2; lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___closed__2; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariables___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabUniverses___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -405,7 +405,7 @@ lean_object* l_Lean_Elab_Command_liftCoreM___rarg___boxed(lean_object*, lean_obj lean_object* l_Lean_ScopedEnvExtension_pushScope___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption(lean_object*); @@ -512,7 +512,7 @@ lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3(lean_objec lean_object* l_Lean_Elab_Command_runLinters_match__1___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Unhygienic_run___rarg___closed__2; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEnd___closed__2; @@ -786,14 +786,14 @@ lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec lean_object* l_Lean_Elab_Command_elabChoiceAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Core_State_ngen___default___closed__1; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabVariable___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes_match__1(lean_object*); lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7; lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -855,7 +855,7 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_mkSimpleThunk(lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabNamespace___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l_Lean_Elab_getMacroStackOption(lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -867,7 +867,7 @@ lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__1___boxed(le lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__5; lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__3; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2___closed__2; lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__7; @@ -880,7 +880,7 @@ lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM___rarg___boxed(lea lean_object* l_Lean_Elab_Command_instInhabitedScope___closed__1; extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__2; lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__2; lean_object* l_Lean_Elab_Command_liftEIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -10946,274 +10946,280 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Command_liftTermElabM_match__2___ra return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(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* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { _start: { -uint8_t x_8; -x_8 = x_6 < x_5; -if (x_8 == 0) +uint8_t x_9; +x_9 = x_7 < x_6; +if (x_9 == 0) { -lean_object* x_9; -lean_dec(x_4); -x_9 = x_7; -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; -x_10 = lean_array_uget(x_7, x_6); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_array_uset(x_7, x_6, x_11); -x_13 = x_10; -lean_inc(x_4); -x_14 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(x_1, x_2, x_3, x_4, x_13); -x_15 = 1; -x_16 = x_6 + x_15; -x_17 = x_14; -x_18 = lean_array_uset(x_12, x_6, x_17); -x_6 = x_16; -x_7 = x_18; -goto _start; -} -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(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) { -_start: -{ -uint8_t x_8; -x_8 = x_6 < x_5; -if (x_8 == 0) -{ -lean_object* x_9; -lean_dec(x_4); -x_9 = x_7; -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; -x_10 = lean_array_uget(x_7, x_6); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_array_uset(x_7, x_6, x_11); -x_13 = x_10; -x_14 = lean_ctor_get(x_4, 5); -lean_inc(x_14); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); -x_16 = l_Lean_Elab_InfoTree_substitute(x_13, x_15); -x_17 = lean_ctor_get(x_3, 0); -x_18 = lean_ctor_get(x_2, 0); -x_19 = lean_ctor_get(x_1, 1); -x_20 = lean_ctor_get(x_1, 2); -x_21 = lean_ctor_get(x_1, 3); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -x_22 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_22, 0, x_17); -lean_ctor_set(x_22, 1, x_18); -lean_ctor_set(x_22, 2, x_19); -lean_ctor_set(x_22, 3, x_20); -lean_ctor_set(x_22, 4, 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_16); -x_24 = 1; -x_25 = x_6 + x_24; -x_26 = x_23; -x_27 = lean_array_uset(x_12, x_6, x_26); -x_6 = x_25; -x_7 = x_27; -goto _start; -} -} -} -lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_array_get_size(x_7); -x_9 = lean_usize_of_nat(x_8); -lean_dec(x_8); -x_10 = 0; -x_11 = x_7; -x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(x_1, x_2, x_3, x_4, x_9, x_10, x_11); -x_13 = x_12; -lean_ctor_set(x_5, 0, x_13); -return x_5; -} -else -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_14 = lean_ctor_get(x_5, 0); -lean_inc(x_14); +lean_object* x_10; lean_dec(x_5); -x_15 = lean_array_get_size(x_14); -x_16 = lean_usize_of_nat(x_15); -lean_dec(x_15); -x_17 = 0; -x_18 = x_14; -x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(x_1, x_2, x_3, x_4, x_16, x_17, x_18); -x_20 = x_19; -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_20); -return x_21; -} +x_10 = x_8; +return x_10; } else { -uint8_t x_22; -x_22 = !lean_is_exclusive(x_5); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_23 = lean_ctor_get(x_5, 0); -x_24 = lean_array_get_size(x_23); -x_25 = lean_usize_of_nat(x_24); -lean_dec(x_24); -x_26 = 0; -x_27 = x_23; -x_28 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(x_1, x_2, x_3, x_4, x_25, x_26, x_27); -x_29 = x_28; -lean_ctor_set(x_5, 0, x_29); -return x_5; -} -else -{ -lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_30 = lean_ctor_get(x_5, 0); -lean_inc(x_30); -lean_dec(x_5); -x_31 = lean_array_get_size(x_30); -x_32 = lean_usize_of_nat(x_31); -lean_dec(x_31); -x_33 = 0; -x_34 = x_30; -x_35 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(x_1, x_2, x_3, x_4, x_32, x_33, x_34); -x_36 = x_35; -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_36); -return x_37; -} -} -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(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) { -_start: -{ -uint8_t x_8; -x_8 = x_6 < x_5; -if (x_8 == 0) -{ -lean_object* x_9; -lean_dec(x_4); -x_9 = x_7; -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; -x_10 = lean_array_uget(x_7, x_6); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_array_uset(x_7, x_6, x_11); -x_13 = x_10; -x_14 = lean_ctor_get(x_4, 5); -lean_inc(x_14); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); -x_16 = l_Lean_Elab_InfoTree_substitute(x_13, x_15); -x_17 = lean_ctor_get(x_3, 0); -x_18 = lean_ctor_get(x_2, 0); -x_19 = lean_ctor_get(x_1, 1); -x_20 = lean_ctor_get(x_1, 2); -x_21 = lean_ctor_get(x_1, 3); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -x_22 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_22, 0, x_17); -lean_ctor_set(x_22, 1, x_18); -lean_ctor_set(x_22, 2, x_19); -lean_ctor_set(x_22, 3, x_20); -lean_ctor_set(x_22, 4, 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_16); -x_24 = 1; -x_25 = x_6 + x_24; -x_26 = x_23; -x_27 = lean_array_uset(x_12, x_6, x_26); -x_6 = x_25; -x_7 = x_27; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +x_11 = lean_array_uget(x_8, x_7); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_8, x_7, x_12); +x_14 = x_11; +lean_inc(x_5); +x_15 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(x_1, x_2, x_3, x_4, x_5, x_14); +x_16 = 1; +x_17 = x_7 + x_16; +x_18 = x_15; +x_19 = lean_array_uset(x_13, x_7, x_18); +x_7 = x_17; +x_8 = x_19; goto _start; } } } -lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(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) { _start: { -uint8_t x_6; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) +uint8_t x_9; +x_9 = x_7 < x_6; +if (x_9 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); -lean_inc(x_4); -x_9 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(x_1, x_2, x_3, x_4, x_7); -x_10 = lean_array_get_size(x_8); -x_11 = lean_usize_of_nat(x_10); -lean_dec(x_10); -x_12 = 0; -x_13 = x_8; -x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(x_1, x_2, x_3, x_4, x_11, x_12, x_13); -x_15 = x_14; -lean_ctor_set(x_5, 1, x_15); -lean_ctor_set(x_5, 0, x_9); -return x_5; +lean_object* x_10; +lean_dec(x_5); +x_10 = x_8; +return x_10; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_16 = lean_ctor_get(x_5, 0); -x_17 = lean_ctor_get(x_5, 1); -x_18 = lean_ctor_get(x_5, 2); -x_19 = lean_ctor_get_usize(x_5, 4); -x_20 = lean_ctor_get(x_5, 3); -lean_inc(x_20); -lean_inc(x_18); -lean_inc(x_17); +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; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; +x_11 = lean_array_uget(x_8, x_7); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_8, x_7, x_12); +x_14 = x_11; +x_15 = lean_ctor_get(x_5, 5); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); +lean_dec(x_15); +x_17 = l_Lean_Elab_InfoTree_substitute(x_14, x_16); +x_18 = lean_ctor_get(x_4, 0); +x_19 = lean_ctor_get(x_1, 1); +x_20 = lean_ctor_get(x_3, 0); +x_21 = lean_ctor_get(x_2, 1); +x_22 = lean_ctor_get(x_2, 2); +x_23 = lean_ctor_get(x_2, 3); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +x_24 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_19); +lean_ctor_set(x_24, 2, x_20); +lean_ctor_set(x_24, 3, x_21); +lean_ctor_set(x_24, 4, x_22); +lean_ctor_set(x_24, 5, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_17); +x_26 = 1; +x_27 = x_7 + x_26; +x_28 = x_25; +x_29 = lean_array_uset(x_13, x_7, x_28); +x_7 = x_27; +x_8 = x_29; +goto _start; +} +} +} +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_array_get_size(x_8); +x_10 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_11 = 0; +x_12 = x_8; +x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_12); +x_14 = x_13; +lean_ctor_set(x_6, 0, x_14); +return x_6; +} +else +{ +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; lean_object* x_22; +x_15 = lean_ctor_get(x_6, 0); +lean_inc(x_15); +lean_dec(x_6); +x_16 = lean_array_get_size(x_15); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +x_19 = x_15; +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(x_1, x_2, x_3, x_4, x_5, x_17, x_18, x_19); +x_21 = x_20; +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_6); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_24 = lean_ctor_get(x_6, 0); +x_25 = lean_array_get_size(x_24); +x_26 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_27 = 0; +x_28 = x_24; +x_29 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(x_1, x_2, x_3, x_4, x_5, x_26, x_27, x_28); +x_30 = x_29; +lean_ctor_set(x_6, 0, x_30); +return x_6; +} +else +{ +lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_31 = lean_ctor_get(x_6, 0); +lean_inc(x_31); +lean_dec(x_6); +x_32 = lean_array_get_size(x_31); +x_33 = lean_usize_of_nat(x_32); +lean_dec(x_32); +x_34 = 0; +x_35 = x_31; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(x_1, x_2, x_3, x_4, x_5, x_33, x_34, x_35); +x_37 = x_36; +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +return x_38; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(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) { +_start: +{ +uint8_t x_9; +x_9 = x_7 < x_6; +if (x_9 == 0) +{ +lean_object* x_10; lean_dec(x_5); -lean_inc(x_4); -x_21 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(x_1, x_2, x_3, x_4, x_16); -x_22 = lean_array_get_size(x_17); -x_23 = lean_usize_of_nat(x_22); -lean_dec(x_22); -x_24 = 0; -x_25 = x_17; -x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(x_1, x_2, x_3, x_4, x_23, x_24, x_25); -x_27 = x_26; -x_28 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(x_28, 0, x_21); -lean_ctor_set(x_28, 1, x_27); -lean_ctor_set(x_28, 2, x_18); -lean_ctor_set(x_28, 3, x_20); -lean_ctor_set_usize(x_28, 4, x_19); -return x_28; +x_10 = x_8; +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; +x_11 = lean_array_uget(x_8, x_7); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_8, x_7, x_12); +x_14 = x_11; +x_15 = lean_ctor_get(x_5, 5); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +x_17 = l_Lean_Elab_InfoTree_substitute(x_14, x_16); +x_18 = lean_ctor_get(x_4, 0); +x_19 = lean_ctor_get(x_1, 1); +x_20 = lean_ctor_get(x_3, 0); +x_21 = lean_ctor_get(x_2, 1); +x_22 = lean_ctor_get(x_2, 2); +x_23 = lean_ctor_get(x_2, 3); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +x_24 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_19); +lean_ctor_set(x_24, 2, x_20); +lean_ctor_set(x_24, 3, x_21); +lean_ctor_set(x_24, 4, x_22); +lean_ctor_set(x_24, 5, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_17); +x_26 = 1; +x_27 = x_7 + x_26; +x_28 = x_25; +x_29 = lean_array_uset(x_13, x_7, x_28); +x_7 = x_27; +x_8 = x_29; +goto _start; +} +} +} +lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_5); +x_10 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(x_1, x_2, x_3, x_4, x_5, x_8); +x_11 = lean_array_get_size(x_9); +x_12 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_13 = 0; +x_14 = x_9; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(x_1, x_2, x_3, x_4, x_5, x_12, x_13, x_14); +x_16 = x_15; +lean_ctor_set(x_6, 1, x_16); +lean_ctor_set(x_6, 0, x_10); +return x_6; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_17 = lean_ctor_get(x_6, 0); +x_18 = lean_ctor_get(x_6, 1); +x_19 = lean_ctor_get(x_6, 2); +x_20 = lean_ctor_get_usize(x_6, 4); +x_21 = lean_ctor_get(x_6, 3); +lean_inc(x_21); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_6); +lean_inc(x_5); +x_22 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(x_1, x_2, x_3, x_4, x_5, x_17); +x_23 = lean_array_get_size(x_18); +x_24 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_25 = 0; +x_26 = x_18; +x_27 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(x_1, x_2, x_3, x_4, x_5, x_24, x_25, x_26); +x_28 = x_27; +x_29 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_29, 0, x_22); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_19); +lean_ctor_set(x_29, 3, x_21); +lean_ctor_set_usize(x_29, 4, x_20); +return x_29; } } } @@ -11409,7 +11415,7 @@ x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); lean_inc(x_39); -x_42 = l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1(x_13, x_33, x_36, x_39, x_41); +x_42 = l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1(x_3, x_13, x_33, x_36, x_39, x_41); lean_dec(x_33); lean_dec(x_13); x_43 = lean_st_ref_take(x_4, x_37); @@ -11712,71 +11718,76 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_liftTermElabM___rarg___boxe return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_5); -lean_dec(x_5); +size_t x_9; size_t x_10; lean_object* x_11; x_9 = lean_unbox_usize(x_6); lean_dec(x_6); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__3(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_10; +return x_11; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_5); -lean_dec(x_5); +size_t x_9; size_t x_10; lean_object* x_11; x_9 = lean_unbox_usize(x_6); lean_dec(x_6); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_10; +return x_11; } } -lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_6; -x_6 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(x_1, x_2, x_3, x_4, x_5); +lean_object* x_7; +x_7 = l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_6; +return x_7; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_5); -lean_dec(x_5); +size_t x_9; size_t x_10; lean_object* x_11; x_9 = lean_unbox_usize(x_6); lean_dec(x_6); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_10; +return x_11; } } -lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___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* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_6; -x_6 = l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_object* x_7; +x_7 = l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_6; +return x_7; } } lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -14619,7 +14630,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_Command_modifyScope___closed__1; x_2 = l_Lean_Elab_Command_modifyScope___closed__2; -x_3 = lean_unsigned_to_nat(396u); +x_3 = lean_unsigned_to_nat(398u); x_4 = lean_unsigned_to_nat(16u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index 3de27149df..f0b7706fbf 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -381,7 +381,7 @@ extern lean_object* l_Lean_Parser_Command_constant___elambda__1___closed__1; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfConstant___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__5; -extern lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__1; +extern lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__2; extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__2; lean_object* l_Lean_Elab_Command_expandBuiltinInitialize(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); @@ -5760,7 +5760,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1098____closed__3; -x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__1; +x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index f965e2ddae..06e11ae63b 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -88,13 +88,12 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJmp(lean_object*, lean_object*, lean_o lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__34; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__21; -lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTermCore(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTermCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__8___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__38; -lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_eraseOptVar_match__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2137____closed__3; @@ -359,7 +358,6 @@ extern lean_object* l_Lean_Meta_Closure_mkNewLevelParam___closed__1; lean_object* l_Lean_Elab_Term_Do_getPatternVarNames(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__3; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__30; -lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_14562____closed__1; extern lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__6; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__15; @@ -793,6 +791,7 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit(lean_objec lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__4; lean_object* l_Lean_Elab_Term_Do_hasExitPointPred(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; +lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__2; lean_object* l_Lean_Elab_Term_Do_concat_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_getLetDeclVars___closed__3; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__20; @@ -827,7 +826,7 @@ lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__3(lean_object*, lea lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__10___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24; lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1___boxed(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_27009_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_27250_(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS___closed__3; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__3; lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__8; @@ -850,6 +849,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_12458____closed__13; lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Do_hasReturn___boxed(lean_object*); extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1; +lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__4; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__16; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__2(lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___boxed(lean_object*); @@ -881,6 +881,7 @@ lean_object* lean_environment_main_module(lean_object*); extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2885____closed__5; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1340____closed__8; +lean_object* l_Lean_Syntax_copyRangePos(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___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_Do_ToTerm_breakToTermCore___closed__11; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1015,6 +1016,7 @@ extern lean_object* l_Lean_Parser_Term_doContinue___elambda__1___closed__5; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__30; lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__4; +lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__3; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1125,6 +1127,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__3; lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__15; extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__4(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__5; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__35; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__39; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1185,7 +1188,7 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__2; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__12; -lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__12___closed__7; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); @@ -31643,778 +31646,914 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__1() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__4; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___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_Do_ToTerm_seqToTermCore___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__3; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2137____closed__2; x_2 = l_Lean_Meta_assert___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTermCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTermCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_inc(x_1); -x_5 = l_Lean_Syntax_getKind(x_1); -x_6 = l_Lean_Parser_Term_doDbgTrace___elambda__1___closed__2; -x_7 = lean_name_eq(x_5, x_6); -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_4, x_8); -x_10 = !lean_is_exclusive(x_3); -if (x_10 == 0) +x_6 = l_Lean_Syntax_getKind(x_1); +x_7 = l_Lean_Parser_Term_doDbgTrace___elambda__1___closed__2; +x_8 = lean_name_eq(x_6, x_7); +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_3, 1); -x_12 = lean_ctor_get(x_3, 2); -lean_dec(x_12); -lean_inc(x_4); -lean_inc(x_11); -lean_ctor_set(x_3, 2, x_4); -if (x_7 == 0) +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_4, 1); +x_13 = lean_ctor_get(x_4, 2); +lean_dec(x_13); +lean_inc(x_5); +lean_inc(x_12); +lean_ctor_set(x_4, 2, x_5); +if (x_8 == 0) { -lean_object* x_13; uint8_t x_14; -x_13 = l_Lean_Parser_Term_doAssert___elambda__1___closed__2; -x_14 = lean_name_eq(x_5, x_13); -lean_dec(x_5); -if (x_14 == 0) +lean_object* x_14; uint8_t x_15; +x_14 = l_Lean_Parser_Term_doAssert___elambda__1___closed__2; +x_15 = lean_name_eq(x_6, x_14); +lean_dec(x_6); +if (x_15 == 0) { -lean_object* x_15; uint8_t x_16; -x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_109____spec__1(x_3, x_9); +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; uint8_t x_56; +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_4, x_10); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_prec_x28___x29___closed__3; +lean_inc(x_17); +x_20 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Array_empty___closed__1; +x_22 = lean_array_push(x_21, x_20); +lean_inc(x_1); +x_23 = lean_array_push(x_21, x_1); +x_24 = l_myMacro____x40_Init_Notation___hyg_13985____closed__9; +lean_inc(x_17); +x_25 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_array_push(x_21, x_25); +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); lean_dec(x_3); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_17 = lean_ctor_get(x_15, 0); -x_18 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; -lean_inc(x_4); -lean_inc(x_11); -x_19 = l_Lean_addMacroScope(x_11, x_18, x_4); -x_20 = l_Lean_instInhabitedSourceInfo___closed__1; -x_21 = l_myMacro____x40_Init_Notation___hyg_11084____closed__3; -x_22 = l_myMacro____x40_Init_Notation___hyg_11084____closed__9; -x_23 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_23, 0, x_20); -lean_ctor_set(x_23, 1, x_21); -lean_ctor_set(x_23, 2, x_19); -lean_ctor_set(x_23, 3, x_22); -x_24 = l_Array_empty___closed__1; -x_25 = lean_array_push(x_24, x_23); -x_26 = lean_array_push(x_24, x_1); -x_27 = l_prec_x28___x29___closed__3; -lean_inc(x_17); -x_28 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_28, 0, x_17); -lean_ctor_set(x_28, 1, x_27); -x_29 = lean_array_push(x_24, x_28); -x_30 = l_myMacro____x40_Init_Notation___hyg_12458____closed__9; -lean_inc(x_17); -x_31 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_31, 0, x_17); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_array_push(x_24, x_31); -x_33 = l_myMacro____x40_Init_Notation___hyg_13068____closed__14; -lean_inc(x_17); -x_34 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_34, 0, x_17); -lean_ctor_set(x_34, 1, x_33); -x_35 = lean_array_push(x_24, x_34); -x_36 = l_myMacro____x40_Init_Notation___hyg_13068____closed__13; +x_28 = lean_array_push(x_21, x_27); +x_29 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__4; +lean_inc(x_5); +lean_inc(x_12); +x_30 = l_Lean_addMacroScope(x_12, x_29, x_5); +x_31 = l_Lean_instInhabitedSourceInfo___closed__1; +x_32 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__4; +x_33 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__2; +x_34 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_30); +lean_ctor_set(x_34, 3, x_33); +lean_inc(x_34); +x_35 = lean_array_push(x_21, x_34); +x_36 = l_Lean_nullKind___closed__2; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); -x_38 = lean_array_push(x_24, x_37); -x_39 = l_myMacro____x40_Init_Notation___hyg_13985____closed__9; -lean_inc(x_17); -x_40 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_40, 0, x_17); -lean_ctor_set(x_40, 1, x_39); -x_41 = lean_array_push(x_24, x_40); -x_42 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__4; -x_43 = l_Lean_addMacroScope(x_11, x_42, x_4); -x_44 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__4; -x_45 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__6; -x_46 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_46, 0, x_20); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_46, 2, x_43); -lean_ctor_set(x_46, 3, x_45); -x_47 = lean_array_push(x_41, x_46); -x_48 = l_myMacro____x40_Init_Notation___hyg_13985____closed__8; -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_24, x_49); -x_51 = l_Lean_nullKind___closed__2; -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -x_53 = lean_array_push(x_38, x_52); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_51); -lean_ctor_set(x_54, 1, x_53); -lean_inc(x_29); -x_55 = lean_array_push(x_29, x_54); -x_56 = l_prec_x28___x29___closed__7; -lean_inc(x_17); -x_57 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_57, 0, x_17); -lean_ctor_set(x_57, 1, x_56); +x_38 = lean_array_push(x_28, x_37); +x_39 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = lean_array_push(x_26, x_40); +x_42 = l_myMacro____x40_Init_Notation___hyg_13985____closed__8; +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_21, x_43); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_36); +lean_ctor_set(x_45, 1, x_44); +x_46 = lean_array_push(x_23, x_45); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_36); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_array_push(x_22, x_47); +x_49 = l_prec_x28___x29___closed__7; +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_17); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_array_push(x_48, x_50); +x_52 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_54 = l_Lean_Syntax_copyRangePos(x_53, x_1); +x_55 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_4, x_18); +lean_dec(x_4); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_57 = lean_ctor_get(x_55, 0); +x_58 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; +x_59 = l_Lean_addMacroScope(x_12, x_58, x_5); +x_60 = l_myMacro____x40_Init_Notation___hyg_11084____closed__3; +x_61 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__4; +x_62 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_62, 0, x_31); +lean_ctor_set(x_62, 1, x_60); +lean_ctor_set(x_62, 2, x_59); +lean_ctor_set(x_62, 3, x_61); +x_63 = lean_array_push(x_21, x_62); +x_64 = lean_array_push(x_21, x_54); lean_inc(x_57); -x_58 = lean_array_push(x_55, x_57); -x_59 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -x_61 = lean_array_push(x_24, x_60); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_51); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_array_push(x_24, x_62); -x_64 = l_myMacro____x40_Init_Notation___hyg_12458____closed__13; x_65 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_65, 0, x_17); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_array_push(x_63, x_65); -x_67 = lean_array_push(x_66, x_2); -x_68 = l_myMacro____x40_Init_Notation___hyg_12458____closed__12; -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_32, x_69); -x_71 = l_myMacro____x40_Init_Notation___hyg_12458____closed__10; -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = lean_array_push(x_24, x_72); -x_74 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; -x_75 = lean_array_push(x_73, x_74); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_51); -lean_ctor_set(x_76, 1, x_75); -x_77 = lean_array_push(x_29, x_76); -x_78 = lean_array_push(x_77, x_57); +lean_ctor_set(x_65, 0, x_57); +lean_ctor_set(x_65, 1, x_19); +x_66 = lean_array_push(x_21, x_65); +x_67 = l_myMacro____x40_Init_Notation___hyg_12458____closed__9; +lean_inc(x_57); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_57); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_array_push(x_21, x_68); +x_70 = l_myMacro____x40_Init_Notation___hyg_13068____closed__14; +lean_inc(x_57); +x_71 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_71, 0, x_57); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_array_push(x_21, x_71); +x_73 = l_myMacro____x40_Init_Notation___hyg_13068____closed__13; +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_21, x_74); +lean_inc(x_57); +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_57); +lean_ctor_set(x_76, 1, x_24); +x_77 = lean_array_push(x_21, x_76); +x_78 = lean_array_push(x_77, x_34); x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_59); +lean_ctor_set(x_79, 0, x_42); lean_ctor_set(x_79, 1, x_78); -x_80 = lean_array_push(x_26, x_79); +x_80 = lean_array_push(x_21, x_79); x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_51); +lean_ctor_set(x_81, 0, x_36); lean_ctor_set(x_81, 1, x_80); -x_82 = lean_array_push(x_25, x_81); -x_83 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_82); -lean_ctor_set(x_15, 0, x_84); -return x_15; +x_82 = lean_array_push(x_75, x_81); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_36); +lean_ctor_set(x_83, 1, x_82); +lean_inc(x_66); +x_84 = lean_array_push(x_66, x_83); +lean_inc(x_57); +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_57); +lean_ctor_set(x_85, 1, x_49); +lean_inc(x_85); +x_86 = lean_array_push(x_84, x_85); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_52); +lean_ctor_set(x_87, 1, x_86); +x_88 = lean_array_push(x_21, x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_36); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_21, x_89); +x_91 = l_myMacro____x40_Init_Notation___hyg_12458____closed__13; +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_57); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_array_push(x_90, x_92); +x_94 = lean_array_push(x_93, x_2); +x_95 = l_myMacro____x40_Init_Notation___hyg_12458____closed__12; +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_69, x_96); +x_98 = l_myMacro____x40_Init_Notation___hyg_12458____closed__10; +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = lean_array_push(x_21, x_99); +x_101 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; +x_102 = lean_array_push(x_100, x_101); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_36); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_array_push(x_66, x_103); +x_105 = lean_array_push(x_104, x_85); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_52); +lean_ctor_set(x_106, 1, x_105); +x_107 = lean_array_push(x_64, x_106); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_36); +lean_ctor_set(x_108, 1, x_107); +x_109 = lean_array_push(x_63, x_108); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_39); +lean_ctor_set(x_110, 1, x_109); +lean_ctor_set(x_55, 0, x_110); +return x_55; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_85 = lean_ctor_get(x_15, 0); -x_86 = lean_ctor_get(x_15, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_15); -x_87 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; -lean_inc(x_4); -lean_inc(x_11); -x_88 = l_Lean_addMacroScope(x_11, x_87, x_4); -x_89 = l_Lean_instInhabitedSourceInfo___closed__1; -x_90 = l_myMacro____x40_Init_Notation___hyg_11084____closed__3; -x_91 = l_myMacro____x40_Init_Notation___hyg_11084____closed__9; -x_92 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_92, 0, x_89); -lean_ctor_set(x_92, 1, x_90); -lean_ctor_set(x_92, 2, x_88); -lean_ctor_set(x_92, 3, x_91); -x_93 = l_Array_empty___closed__1; -x_94 = lean_array_push(x_93, x_92); -x_95 = lean_array_push(x_93, x_1); -x_96 = l_prec_x28___x29___closed__3; -lean_inc(x_85); -x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_85); -lean_ctor_set(x_97, 1, x_96); -x_98 = lean_array_push(x_93, x_97); -x_99 = l_myMacro____x40_Init_Notation___hyg_12458____closed__9; -lean_inc(x_85); -x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_85); -lean_ctor_set(x_100, 1, x_99); -x_101 = lean_array_push(x_93, x_100); -x_102 = l_myMacro____x40_Init_Notation___hyg_13068____closed__14; -lean_inc(x_85); -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_85); -lean_ctor_set(x_103, 1, x_102); -x_104 = lean_array_push(x_93, x_103); -x_105 = l_myMacro____x40_Init_Notation___hyg_13068____closed__13; -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_104); -x_107 = lean_array_push(x_93, x_106); -x_108 = l_myMacro____x40_Init_Notation___hyg_13985____closed__9; -lean_inc(x_85); -x_109 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_109, 0, x_85); -lean_ctor_set(x_109, 1, x_108); -x_110 = lean_array_push(x_93, x_109); -x_111 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__4; -x_112 = l_Lean_addMacroScope(x_11, x_111, x_4); -x_113 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__4; -x_114 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__6; -x_115 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_115, 0, x_89); -lean_ctor_set(x_115, 1, x_113); -lean_ctor_set(x_115, 2, x_112); -lean_ctor_set(x_115, 3, x_114); -x_116 = lean_array_push(x_110, x_115); -x_117 = l_myMacro____x40_Init_Notation___hyg_13985____closed__8; -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_116); -x_119 = lean_array_push(x_93, x_118); -x_120 = l_Lean_nullKind___closed__2; -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = lean_array_push(x_107, x_121); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_120); +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_111 = lean_ctor_get(x_55, 0); +x_112 = lean_ctor_get(x_55, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_55); +x_113 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; +x_114 = l_Lean_addMacroScope(x_12, x_113, x_5); +x_115 = l_myMacro____x40_Init_Notation___hyg_11084____closed__3; +x_116 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__4; +x_117 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_117, 0, x_31); +lean_ctor_set(x_117, 1, x_115); +lean_ctor_set(x_117, 2, x_114); +lean_ctor_set(x_117, 3, x_116); +x_118 = lean_array_push(x_21, x_117); +x_119 = lean_array_push(x_21, x_54); +lean_inc(x_111); +x_120 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_120, 0, x_111); +lean_ctor_set(x_120, 1, x_19); +x_121 = lean_array_push(x_21, x_120); +x_122 = l_myMacro____x40_Init_Notation___hyg_12458____closed__9; +lean_inc(x_111); +x_123 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_123, 0, x_111); lean_ctor_set(x_123, 1, x_122); -lean_inc(x_98); -x_124 = lean_array_push(x_98, x_123); -x_125 = l_prec_x28___x29___closed__7; -lean_inc(x_85); +x_124 = lean_array_push(x_21, x_123); +x_125 = l_myMacro____x40_Init_Notation___hyg_13068____closed__14; +lean_inc(x_111); x_126 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_126, 0, x_85); +lean_ctor_set(x_126, 0, x_111); lean_ctor_set(x_126, 1, x_125); -lean_inc(x_126); -x_127 = lean_array_push(x_124, x_126); -x_128 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; +x_127 = lean_array_push(x_21, x_126); +x_128 = l_myMacro____x40_Init_Notation___hyg_13068____closed__13; x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_128); lean_ctor_set(x_129, 1, x_127); -x_130 = lean_array_push(x_93, x_129); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_120); -lean_ctor_set(x_131, 1, x_130); -x_132 = lean_array_push(x_93, x_131); -x_133 = l_myMacro____x40_Init_Notation___hyg_12458____closed__13; -x_134 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_134, 0, x_85); +x_130 = lean_array_push(x_21, x_129); +lean_inc(x_111); +x_131 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_131, 0, x_111); +lean_ctor_set(x_131, 1, x_24); +x_132 = lean_array_push(x_21, x_131); +x_133 = lean_array_push(x_132, x_34); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_42); lean_ctor_set(x_134, 1, x_133); -x_135 = lean_array_push(x_132, x_134); -x_136 = lean_array_push(x_135, x_2); -x_137 = l_myMacro____x40_Init_Notation___hyg_12458____closed__12; +x_135 = lean_array_push(x_21, x_134); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_36); +lean_ctor_set(x_136, 1, x_135); +x_137 = lean_array_push(x_130, x_136); x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -x_139 = lean_array_push(x_101, x_138); -x_140 = l_myMacro____x40_Init_Notation___hyg_12458____closed__10; -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_139); -x_142 = lean_array_push(x_93, x_141); -x_143 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; -x_144 = lean_array_push(x_142, x_143); -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_120); -lean_ctor_set(x_145, 1, x_144); -x_146 = lean_array_push(x_98, x_145); -x_147 = lean_array_push(x_146, x_126); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_128); -lean_ctor_set(x_148, 1, x_147); -x_149 = lean_array_push(x_95, x_148); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_120); -lean_ctor_set(x_150, 1, x_149); -x_151 = lean_array_push(x_94, x_150); -x_152 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_151); -x_154 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_36); +lean_ctor_set(x_138, 1, x_137); +lean_inc(x_121); +x_139 = lean_array_push(x_121, x_138); +lean_inc(x_111); +x_140 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_140, 0, x_111); +lean_ctor_set(x_140, 1, x_49); +lean_inc(x_140); +x_141 = lean_array_push(x_139, x_140); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_52); +lean_ctor_set(x_142, 1, x_141); +x_143 = lean_array_push(x_21, x_142); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_36); +lean_ctor_set(x_144, 1, x_143); +x_145 = lean_array_push(x_21, x_144); +x_146 = l_myMacro____x40_Init_Notation___hyg_12458____closed__13; +x_147 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_147, 0, x_111); +lean_ctor_set(x_147, 1, x_146); +x_148 = lean_array_push(x_145, x_147); +x_149 = lean_array_push(x_148, x_2); +x_150 = l_myMacro____x40_Init_Notation___hyg_12458____closed__12; +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +x_152 = lean_array_push(x_124, x_151); +x_153 = l_myMacro____x40_Init_Notation___hyg_12458____closed__10; +x_154 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_86); -return x_154; -} -} -else -{ -lean_object* x_155; lean_object* x_156; uint8_t x_157; -lean_dec(x_11); -lean_dec(x_4); -x_155 = l_Lean_Syntax_getArg(x_1, x_8); -lean_dec(x_1); -x_156 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_109____spec__1(x_3, x_9); -lean_dec(x_3); -x_157 = !lean_is_exclusive(x_156); -if (x_157 == 0) -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_158 = lean_ctor_get(x_156, 0); -x_159 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__19; -lean_inc(x_158); -x_160 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_160, 0, x_158); -lean_ctor_set(x_160, 1, x_159); -x_161 = l_Array_empty___closed__1; -x_162 = lean_array_push(x_161, x_160); -x_163 = lean_array_push(x_162, x_155); -x_164 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; -x_165 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_165, 0, x_158); +lean_ctor_set(x_154, 1, x_152); +x_155 = lean_array_push(x_21, x_154); +x_156 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; +x_157 = lean_array_push(x_155, x_156); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_36); +lean_ctor_set(x_158, 1, x_157); +x_159 = lean_array_push(x_121, x_158); +x_160 = lean_array_push(x_159, x_140); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_52); +lean_ctor_set(x_161, 1, x_160); +x_162 = lean_array_push(x_119, x_161); +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_36); +lean_ctor_set(x_163, 1, x_162); +x_164 = lean_array_push(x_118, x_163); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_39); lean_ctor_set(x_165, 1, x_164); -x_166 = lean_array_push(x_161, x_165); -x_167 = l_Lean_nullKind___closed__2; -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_166); -x_169 = lean_array_push(x_163, x_168); -x_170 = lean_array_push(x_169, x_2); -x_171 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__1; -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_170); -lean_ctor_set(x_156, 0, x_172); -return x_156; +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_112); +return x_166; +} } else { -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; -x_173 = lean_ctor_get(x_156, 0); -x_174 = lean_ctor_get(x_156, 1); -lean_inc(x_174); -lean_inc(x_173); -lean_dec(x_156); -x_175 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__19; -lean_inc(x_173); -x_176 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_176, 0, x_173); -lean_ctor_set(x_176, 1, x_175); -x_177 = l_Array_empty___closed__1; -x_178 = lean_array_push(x_177, x_176); -x_179 = lean_array_push(x_178, x_155); -x_180 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; -x_181 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_181, 0, x_173); -lean_ctor_set(x_181, 1, x_180); -x_182 = lean_array_push(x_177, x_181); -x_183 = l_Lean_nullKind___closed__2; +lean_object* x_167; lean_object* x_168; uint8_t x_169; +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_3); +x_167 = l_Lean_Syntax_getArg(x_1, x_9); +lean_dec(x_1); +x_168 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_4, x_10); +lean_dec(x_4); +x_169 = !lean_is_exclusive(x_168); +if (x_169 == 0) +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_170 = lean_ctor_get(x_168, 0); +x_171 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__19; +lean_inc(x_170); +x_172 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +x_173 = l_Array_empty___closed__1; +x_174 = lean_array_push(x_173, x_172); +x_175 = lean_array_push(x_174, x_167); +x_176 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; +x_177 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_177, 0, x_170); +lean_ctor_set(x_177, 1, x_176); +x_178 = lean_array_push(x_173, x_177); +x_179 = l_Lean_nullKind___closed__2; +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_178); +x_181 = lean_array_push(x_175, x_180); +x_182 = lean_array_push(x_181, x_2); +x_183 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__5; x_184 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_184, 0, x_183); lean_ctor_set(x_184, 1, x_182); -x_185 = lean_array_push(x_179, x_184); -x_186 = lean_array_push(x_185, x_2); -x_187 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__1; -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_186); -x_189 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_174); -return x_189; +lean_ctor_set(x_168, 0, x_184); +return x_168; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_185 = lean_ctor_get(x_168, 0); +x_186 = lean_ctor_get(x_168, 1); +lean_inc(x_186); +lean_inc(x_185); +lean_dec(x_168); +x_187 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__19; +lean_inc(x_185); +x_188 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_188, 0, x_185); +lean_ctor_set(x_188, 1, x_187); +x_189 = l_Array_empty___closed__1; +x_190 = lean_array_push(x_189, x_188); +x_191 = lean_array_push(x_190, x_167); +x_192 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; +x_193 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_193, 0, x_185); +lean_ctor_set(x_193, 1, x_192); +x_194 = lean_array_push(x_189, x_193); +x_195 = l_Lean_nullKind___closed__2; +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = lean_array_push(x_191, x_196); +x_198 = lean_array_push(x_197, x_2); +x_199 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__5; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_186); +return x_201; } } } else { -lean_object* x_190; lean_object* x_191; uint8_t x_192; -lean_dec(x_11); +lean_object* x_202; lean_object* x_203; uint8_t x_204; +lean_dec(x_12); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -x_190 = l_Lean_Syntax_getArg(x_1, x_8); -lean_dec(x_1); -x_191 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_109____spec__1(x_3, x_9); lean_dec(x_3); -x_192 = !lean_is_exclusive(x_191); -if (x_192 == 0) +x_202 = l_Lean_Syntax_getArg(x_1, x_9); +lean_dec(x_1); +x_203 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_4, x_10); +lean_dec(x_4); +x_204 = !lean_is_exclusive(x_203); +if (x_204 == 0) { -lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_193 = lean_ctor_get(x_191, 0); -x_194 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__24; -lean_inc(x_193); -x_195 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_195, 0, x_193); -lean_ctor_set(x_195, 1, x_194); -x_196 = l_Array_empty___closed__1; -x_197 = lean_array_push(x_196, x_195); -x_198 = lean_array_push(x_197, x_190); -x_199 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; -x_200 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_200, 0, x_193); -lean_ctor_set(x_200, 1, x_199); -x_201 = lean_array_push(x_196, x_200); -x_202 = l_Lean_nullKind___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); -x_204 = lean_array_push(x_198, x_203); -x_205 = lean_array_push(x_204, x_2); -x_206 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_207 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_207, 0, x_206); -lean_ctor_set(x_207, 1, x_205); -lean_ctor_set(x_191, 0, x_207); -return x_191; -} -else -{ -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_208 = lean_ctor_get(x_191, 0); -x_209 = lean_ctor_get(x_191, 1); -lean_inc(x_209); -lean_inc(x_208); -lean_dec(x_191); -x_210 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__24; -lean_inc(x_208); -x_211 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_211, 0, x_208); -lean_ctor_set(x_211, 1, x_210); -x_212 = l_Array_empty___closed__1; -x_213 = lean_array_push(x_212, x_211); -x_214 = lean_array_push(x_213, x_190); -x_215 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; -x_216 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_216, 0, x_208); -lean_ctor_set(x_216, 1, x_215); -x_217 = lean_array_push(x_212, x_216); -x_218 = l_Lean_nullKind___closed__2; +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; +x_205 = lean_ctor_get(x_203, 0); +x_206 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__24; +lean_inc(x_205); +x_207 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_207, 0, x_205); +lean_ctor_set(x_207, 1, x_206); +x_208 = l_Array_empty___closed__1; +x_209 = lean_array_push(x_208, x_207); +x_210 = lean_array_push(x_209, x_202); +x_211 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; +x_212 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_212, 0, x_205); +lean_ctor_set(x_212, 1, x_211); +x_213 = lean_array_push(x_208, x_212); +x_214 = l_Lean_nullKind___closed__2; +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_213); +x_216 = lean_array_push(x_210, x_215); +x_217 = lean_array_push(x_216, x_2); +x_218 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; x_219 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_219, 0, x_218); lean_ctor_set(x_219, 1, x_217); -x_220 = lean_array_push(x_214, x_219); -x_221 = lean_array_push(x_220, x_2); -x_222 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_221); -x_224 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_209); -return x_224; +lean_ctor_set(x_203, 0, x_219); +return x_203; +} +else +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +x_220 = lean_ctor_get(x_203, 0); +x_221 = lean_ctor_get(x_203, 1); +lean_inc(x_221); +lean_inc(x_220); +lean_dec(x_203); +x_222 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__24; +lean_inc(x_220); +x_223 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_223, 0, x_220); +lean_ctor_set(x_223, 1, x_222); +x_224 = l_Array_empty___closed__1; +x_225 = lean_array_push(x_224, x_223); +x_226 = lean_array_push(x_225, x_202); +x_227 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; +x_228 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_228, 0, x_220); +lean_ctor_set(x_228, 1, x_227); +x_229 = lean_array_push(x_224, x_228); +x_230 = l_Lean_nullKind___closed__2; +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_229); +x_232 = lean_array_push(x_226, x_231); +x_233 = lean_array_push(x_232, x_2); +x_234 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_235, 0, x_234); +lean_ctor_set(x_235, 1, x_233); +x_236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_221); +return x_236; } } } 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; -x_225 = lean_ctor_get(x_3, 0); -x_226 = lean_ctor_get(x_3, 1); -x_227 = lean_ctor_get(x_3, 3); -x_228 = lean_ctor_get(x_3, 4); -x_229 = lean_ctor_get(x_3, 5); -lean_inc(x_229); -lean_inc(x_228); -lean_inc(x_227); -lean_inc(x_226); -lean_inc(x_225); +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +x_237 = lean_ctor_get(x_4, 0); +x_238 = lean_ctor_get(x_4, 1); +x_239 = lean_ctor_get(x_4, 3); +x_240 = lean_ctor_get(x_4, 4); +x_241 = lean_ctor_get(x_4, 5); +lean_inc(x_241); +lean_inc(x_240); +lean_inc(x_239); +lean_inc(x_238); +lean_inc(x_237); +lean_dec(x_4); +lean_inc(x_5); +lean_inc(x_238); +x_242 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_242, 0, x_237); +lean_ctor_set(x_242, 1, x_238); +lean_ctor_set(x_242, 2, x_5); +lean_ctor_set(x_242, 3, x_239); +lean_ctor_set(x_242, 4, x_240); +lean_ctor_set(x_242, 5, x_241); +if (x_8 == 0) +{ +lean_object* x_243; uint8_t x_244; +x_243 = l_Lean_Parser_Term_doAssert___elambda__1___closed__2; +x_244 = lean_name_eq(x_6, x_243); +lean_dec(x_6); +if (x_244 == 0) +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; +x_245 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_242, x_10); +x_246 = lean_ctor_get(x_245, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_245, 1); +lean_inc(x_247); +lean_dec(x_245); +x_248 = l_prec_x28___x29___closed__3; +lean_inc(x_246); +x_249 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_249, 0, x_246); +lean_ctor_set(x_249, 1, x_248); +x_250 = l_Array_empty___closed__1; +x_251 = lean_array_push(x_250, x_249); +lean_inc(x_1); +x_252 = lean_array_push(x_250, x_1); +x_253 = l_myMacro____x40_Init_Notation___hyg_13985____closed__9; +lean_inc(x_246); +x_254 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_254, 0, x_246); +lean_ctor_set(x_254, 1, x_253); +x_255 = lean_array_push(x_250, x_254); +x_256 = lean_ctor_get(x_3, 0); +lean_inc(x_256); lean_dec(x_3); -lean_inc(x_4); -lean_inc(x_226); -x_230 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_230, 0, x_225); -lean_ctor_set(x_230, 1, x_226); -lean_ctor_set(x_230, 2, x_4); -lean_ctor_set(x_230, 3, x_227); -lean_ctor_set(x_230, 4, x_228); -lean_ctor_set(x_230, 5, x_229); -if (x_7 == 0) -{ -lean_object* x_231; uint8_t x_232; -x_231 = l_Lean_Parser_Term_doAssert___elambda__1___closed__2; -x_232 = lean_name_eq(x_5, x_231); -lean_dec(x_5); -if (x_232 == 0) -{ -lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; -x_233 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_109____spec__1(x_230, x_9); -lean_dec(x_230); -x_234 = lean_ctor_get(x_233, 0); -lean_inc(x_234); -x_235 = lean_ctor_get(x_233, 1); -lean_inc(x_235); -if (lean_is_exclusive(x_233)) { - lean_ctor_release(x_233, 0); - lean_ctor_release(x_233, 1); - x_236 = x_233; -} else { - lean_dec_ref(x_233); - x_236 = lean_box(0); -} -x_237 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; -lean_inc(x_4); -lean_inc(x_226); -x_238 = l_Lean_addMacroScope(x_226, x_237, x_4); -x_239 = l_Lean_instInhabitedSourceInfo___closed__1; -x_240 = l_myMacro____x40_Init_Notation___hyg_11084____closed__3; -x_241 = l_myMacro____x40_Init_Notation___hyg_11084____closed__9; -x_242 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_242, 0, x_239); -lean_ctor_set(x_242, 1, x_240); -lean_ctor_set(x_242, 2, x_238); -lean_ctor_set(x_242, 3, x_241); -x_243 = l_Array_empty___closed__1; -x_244 = lean_array_push(x_243, x_242); -x_245 = lean_array_push(x_243, x_1); -x_246 = l_prec_x28___x29___closed__3; -lean_inc(x_234); -x_247 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_247, 0, x_234); -lean_ctor_set(x_247, 1, x_246); -x_248 = lean_array_push(x_243, x_247); -x_249 = l_myMacro____x40_Init_Notation___hyg_12458____closed__9; -lean_inc(x_234); -x_250 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_250, 0, x_234); -lean_ctor_set(x_250, 1, x_249); -x_251 = lean_array_push(x_243, x_250); -x_252 = l_myMacro____x40_Init_Notation___hyg_13068____closed__14; -lean_inc(x_234); -x_253 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_253, 0, x_234); -lean_ctor_set(x_253, 1, x_252); -x_254 = lean_array_push(x_243, x_253); -x_255 = l_myMacro____x40_Init_Notation___hyg_13068____closed__13; -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_255); -lean_ctor_set(x_256, 1, x_254); -x_257 = lean_array_push(x_243, x_256); -x_258 = l_myMacro____x40_Init_Notation___hyg_13985____closed__9; -lean_inc(x_234); -x_259 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_259, 0, x_234); -lean_ctor_set(x_259, 1, x_258); -x_260 = lean_array_push(x_243, x_259); -x_261 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__4; -x_262 = l_Lean_addMacroScope(x_226, x_261, x_4); -x_263 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__4; -x_264 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__6; -x_265 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_265, 0, x_239); -lean_ctor_set(x_265, 1, x_263); -lean_ctor_set(x_265, 2, x_262); -lean_ctor_set(x_265, 3, x_264); -x_266 = lean_array_push(x_260, x_265); -x_267 = l_myMacro____x40_Init_Notation___hyg_13985____closed__8; -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_267); -lean_ctor_set(x_268, 1, x_266); -x_269 = lean_array_push(x_243, x_268); -x_270 = l_Lean_nullKind___closed__2; -x_271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_269); -x_272 = lean_array_push(x_257, x_271); -x_273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_273, 0, x_270); -lean_ctor_set(x_273, 1, x_272); -lean_inc(x_248); -x_274 = lean_array_push(x_248, x_273); -x_275 = l_prec_x28___x29___closed__7; -lean_inc(x_234); -x_276 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_276, 0, x_234); +x_257 = lean_array_push(x_250, x_256); +x_258 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__4; +lean_inc(x_5); +lean_inc(x_238); +x_259 = l_Lean_addMacroScope(x_238, x_258, x_5); +x_260 = l_Lean_instInhabitedSourceInfo___closed__1; +x_261 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__4; +x_262 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__2; +x_263 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_263, 0, x_260); +lean_ctor_set(x_263, 1, x_261); +lean_ctor_set(x_263, 2, x_259); +lean_ctor_set(x_263, 3, x_262); +lean_inc(x_263); +x_264 = lean_array_push(x_250, x_263); +x_265 = l_Lean_nullKind___closed__2; +x_266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_265); +lean_ctor_set(x_266, 1, x_264); +x_267 = lean_array_push(x_257, x_266); +x_268 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; +x_269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_269, 0, x_268); +lean_ctor_set(x_269, 1, x_267); +x_270 = lean_array_push(x_255, x_269); +x_271 = l_myMacro____x40_Init_Notation___hyg_13985____closed__8; +x_272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_272, 0, x_271); +lean_ctor_set(x_272, 1, x_270); +x_273 = lean_array_push(x_250, x_272); +x_274 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_274, 0, x_265); +lean_ctor_set(x_274, 1, x_273); +x_275 = lean_array_push(x_252, x_274); +x_276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_276, 0, x_265); lean_ctor_set(x_276, 1, x_275); -lean_inc(x_276); -x_277 = lean_array_push(x_274, x_276); -x_278 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; -x_279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_277); -x_280 = lean_array_push(x_243, x_279); -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_270); -lean_ctor_set(x_281, 1, x_280); -x_282 = lean_array_push(x_243, x_281); -x_283 = l_myMacro____x40_Init_Notation___hyg_12458____closed__13; -x_284 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_284, 0, x_234); -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_2); -x_287 = l_myMacro____x40_Init_Notation___hyg_12458____closed__12; -x_288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_288, 0, x_287); -lean_ctor_set(x_288, 1, x_286); -x_289 = lean_array_push(x_251, x_288); -x_290 = l_myMacro____x40_Init_Notation___hyg_12458____closed__10; -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_289); -x_292 = lean_array_push(x_243, x_291); -x_293 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; -x_294 = lean_array_push(x_292, x_293); -x_295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_295, 0, x_270); -lean_ctor_set(x_295, 1, x_294); -x_296 = lean_array_push(x_248, x_295); -x_297 = lean_array_push(x_296, x_276); -x_298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_298, 0, x_278); +x_277 = lean_array_push(x_251, x_276); +x_278 = l_prec_x28___x29___closed__7; +x_279 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_279, 0, x_246); +lean_ctor_set(x_279, 1, x_278); +x_280 = lean_array_push(x_277, x_279); +x_281 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; +x_282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_282, 0, x_281); +lean_ctor_set(x_282, 1, x_280); +x_283 = l_Lean_Syntax_copyRangePos(x_282, x_1); +x_284 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_242, x_247); +lean_dec(x_242); +x_285 = lean_ctor_get(x_284, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_284, 1); +lean_inc(x_286); +if (lean_is_exclusive(x_284)) { + lean_ctor_release(x_284, 0); + lean_ctor_release(x_284, 1); + x_287 = x_284; +} else { + lean_dec_ref(x_284); + x_287 = lean_box(0); +} +x_288 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; +x_289 = l_Lean_addMacroScope(x_238, x_288, x_5); +x_290 = l_myMacro____x40_Init_Notation___hyg_11084____closed__3; +x_291 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__4; +x_292 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_292, 0, x_260); +lean_ctor_set(x_292, 1, x_290); +lean_ctor_set(x_292, 2, x_289); +lean_ctor_set(x_292, 3, x_291); +x_293 = lean_array_push(x_250, x_292); +x_294 = lean_array_push(x_250, x_283); +lean_inc(x_285); +x_295 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_295, 0, x_285); +lean_ctor_set(x_295, 1, x_248); +x_296 = lean_array_push(x_250, x_295); +x_297 = l_myMacro____x40_Init_Notation___hyg_12458____closed__9; +lean_inc(x_285); +x_298 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_298, 0, x_285); lean_ctor_set(x_298, 1, x_297); -x_299 = lean_array_push(x_245, x_298); -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_270); -lean_ctor_set(x_300, 1, x_299); -x_301 = lean_array_push(x_244, x_300); -x_302 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_302); -lean_ctor_set(x_303, 1, x_301); -if (lean_is_scalar(x_236)) { - x_304 = lean_alloc_ctor(0, 2, 0); -} else { - x_304 = x_236; -} +x_299 = lean_array_push(x_250, x_298); +x_300 = l_myMacro____x40_Init_Notation___hyg_13068____closed__14; +lean_inc(x_285); +x_301 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_301, 0, x_285); +lean_ctor_set(x_301, 1, x_300); +x_302 = lean_array_push(x_250, x_301); +x_303 = l_myMacro____x40_Init_Notation___hyg_13068____closed__13; +x_304 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_304, 0, x_303); -lean_ctor_set(x_304, 1, x_235); -return x_304; -} -else -{ -lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; -lean_dec(x_226); -lean_dec(x_4); -x_305 = l_Lean_Syntax_getArg(x_1, x_8); -lean_dec(x_1); -x_306 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_109____spec__1(x_230, x_9); -lean_dec(x_230); -x_307 = lean_ctor_get(x_306, 0); -lean_inc(x_307); -x_308 = lean_ctor_get(x_306, 1); -lean_inc(x_308); -if (lean_is_exclusive(x_306)) { - lean_ctor_release(x_306, 0); - lean_ctor_release(x_306, 1); - x_309 = x_306; -} else { - lean_dec_ref(x_306); - x_309 = lean_box(0); -} -x_310 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__19; -lean_inc(x_307); -x_311 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_311, 0, x_307); +lean_ctor_set(x_304, 1, x_302); +x_305 = lean_array_push(x_250, x_304); +lean_inc(x_285); +x_306 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_306, 0, x_285); +lean_ctor_set(x_306, 1, x_253); +x_307 = lean_array_push(x_250, x_306); +x_308 = lean_array_push(x_307, x_263); +x_309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_309, 0, x_271); +lean_ctor_set(x_309, 1, x_308); +x_310 = lean_array_push(x_250, x_309); +x_311 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_311, 0, x_265); lean_ctor_set(x_311, 1, x_310); -x_312 = l_Array_empty___closed__1; -x_313 = lean_array_push(x_312, x_311); -x_314 = lean_array_push(x_313, x_305); -x_315 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; -x_316 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_316, 0, x_307); -lean_ctor_set(x_316, 1, x_315); -x_317 = lean_array_push(x_312, x_316); -x_318 = l_Lean_nullKind___closed__2; +x_312 = lean_array_push(x_305, x_311); +x_313 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_313, 0, x_265); +lean_ctor_set(x_313, 1, x_312); +lean_inc(x_296); +x_314 = lean_array_push(x_296, x_313); +lean_inc(x_285); +x_315 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_315, 0, x_285); +lean_ctor_set(x_315, 1, x_278); +lean_inc(x_315); +x_316 = lean_array_push(x_314, x_315); +x_317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_317, 0, x_281); +lean_ctor_set(x_317, 1, x_316); +x_318 = lean_array_push(x_250, x_317); x_319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_317); -x_320 = lean_array_push(x_314, x_319); -x_321 = lean_array_push(x_320, x_2); -x_322 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__1; -x_323 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_323, 0, x_322); -lean_ctor_set(x_323, 1, x_321); -if (lean_is_scalar(x_309)) { - x_324 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_319, 0, x_265); +lean_ctor_set(x_319, 1, x_318); +x_320 = lean_array_push(x_250, x_319); +x_321 = l_myMacro____x40_Init_Notation___hyg_12458____closed__13; +x_322 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_322, 0, x_285); +lean_ctor_set(x_322, 1, x_321); +x_323 = lean_array_push(x_320, x_322); +x_324 = lean_array_push(x_323, x_2); +x_325 = l_myMacro____x40_Init_Notation___hyg_12458____closed__12; +x_326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_326, 0, x_325); +lean_ctor_set(x_326, 1, x_324); +x_327 = lean_array_push(x_299, x_326); +x_328 = l_myMacro____x40_Init_Notation___hyg_12458____closed__10; +x_329 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_329, 0, x_328); +lean_ctor_set(x_329, 1, x_327); +x_330 = lean_array_push(x_250, x_329); +x_331 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; +x_332 = lean_array_push(x_330, x_331); +x_333 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_333, 0, x_265); +lean_ctor_set(x_333, 1, x_332); +x_334 = lean_array_push(x_296, x_333); +x_335 = lean_array_push(x_334, x_315); +x_336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_336, 0, x_281); +lean_ctor_set(x_336, 1, x_335); +x_337 = lean_array_push(x_294, x_336); +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_265); +lean_ctor_set(x_338, 1, x_337); +x_339 = lean_array_push(x_293, x_338); +x_340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_340, 0, x_268); +lean_ctor_set(x_340, 1, x_339); +if (lean_is_scalar(x_287)) { + x_341 = lean_alloc_ctor(0, 2, 0); } else { - x_324 = x_309; + x_341 = x_287; } -lean_ctor_set(x_324, 0, x_323); -lean_ctor_set(x_324, 1, x_308); -return x_324; +lean_ctor_set(x_341, 0, x_340); +lean_ctor_set(x_341, 1, x_286); +return x_341; +} +else +{ +lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; +lean_dec(x_238); +lean_dec(x_5); +lean_dec(x_3); +x_342 = l_Lean_Syntax_getArg(x_1, x_9); +lean_dec(x_1); +x_343 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_242, x_10); +lean_dec(x_242); +x_344 = lean_ctor_get(x_343, 0); +lean_inc(x_344); +x_345 = lean_ctor_get(x_343, 1); +lean_inc(x_345); +if (lean_is_exclusive(x_343)) { + lean_ctor_release(x_343, 0); + lean_ctor_release(x_343, 1); + x_346 = x_343; +} else { + lean_dec_ref(x_343); + x_346 = lean_box(0); +} +x_347 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__19; +lean_inc(x_344); +x_348 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_348, 0, x_344); +lean_ctor_set(x_348, 1, x_347); +x_349 = l_Array_empty___closed__1; +x_350 = lean_array_push(x_349, x_348); +x_351 = lean_array_push(x_350, x_342); +x_352 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; +x_353 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_353, 0, x_344); +lean_ctor_set(x_353, 1, x_352); +x_354 = lean_array_push(x_349, x_353); +x_355 = l_Lean_nullKind___closed__2; +x_356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_356, 0, x_355); +lean_ctor_set(x_356, 1, x_354); +x_357 = lean_array_push(x_351, x_356); +x_358 = lean_array_push(x_357, x_2); +x_359 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__5; +x_360 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_360, 0, x_359); +lean_ctor_set(x_360, 1, x_358); +if (lean_is_scalar(x_346)) { + x_361 = lean_alloc_ctor(0, 2, 0); +} else { + x_361 = x_346; +} +lean_ctor_set(x_361, 0, x_360); +lean_ctor_set(x_361, 1, x_345); +return x_361; } } else { -lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; -lean_dec(x_226); +lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; +lean_dec(x_238); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -x_325 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_3); +x_362 = l_Lean_Syntax_getArg(x_1, x_9); lean_dec(x_1); -x_326 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_109____spec__1(x_230, x_9); -lean_dec(x_230); -x_327 = lean_ctor_get(x_326, 0); -lean_inc(x_327); -x_328 = lean_ctor_get(x_326, 1); -lean_inc(x_328); -if (lean_is_exclusive(x_326)) { - lean_ctor_release(x_326, 0); - lean_ctor_release(x_326, 1); - x_329 = x_326; +x_363 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_242, x_10); +lean_dec(x_242); +x_364 = lean_ctor_get(x_363, 0); +lean_inc(x_364); +x_365 = lean_ctor_get(x_363, 1); +lean_inc(x_365); +if (lean_is_exclusive(x_363)) { + lean_ctor_release(x_363, 0); + lean_ctor_release(x_363, 1); + x_366 = x_363; } else { - lean_dec_ref(x_326); - x_329 = lean_box(0); + lean_dec_ref(x_363); + x_366 = lean_box(0); } -x_330 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__24; -lean_inc(x_327); -x_331 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_331, 0, x_327); -lean_ctor_set(x_331, 1, x_330); -x_332 = l_Array_empty___closed__1; -x_333 = lean_array_push(x_332, x_331); -x_334 = lean_array_push(x_333, x_325); -x_335 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; -x_336 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_336, 0, x_327); -lean_ctor_set(x_336, 1, x_335); -x_337 = lean_array_push(x_332, x_336); -x_338 = l_Lean_nullKind___closed__2; -x_339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_337); -x_340 = lean_array_push(x_334, x_339); -x_341 = lean_array_push(x_340, x_2); -x_342 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_343, 0, x_342); -lean_ctor_set(x_343, 1, x_341); -if (lean_is_scalar(x_329)) { - x_344 = lean_alloc_ctor(0, 2, 0); +x_367 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__24; +lean_inc(x_364); +x_368 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_368, 0, x_364); +lean_ctor_set(x_368, 1, x_367); +x_369 = l_Array_empty___closed__1; +x_370 = lean_array_push(x_369, x_368); +x_371 = lean_array_push(x_370, x_362); +x_372 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; +x_373 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_373, 0, x_364); +lean_ctor_set(x_373, 1, x_372); +x_374 = lean_array_push(x_369, x_373); +x_375 = l_Lean_nullKind___closed__2; +x_376 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_376, 0, x_375); +lean_ctor_set(x_376, 1, x_374); +x_377 = lean_array_push(x_371, x_376); +x_378 = lean_array_push(x_377, x_2); +x_379 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_380 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_380, 0, x_379); +lean_ctor_set(x_380, 1, x_378); +if (lean_is_scalar(x_366)) { + x_381 = lean_alloc_ctor(0, 2, 0); } else { - x_344 = x_329; + x_381 = x_366; } -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_328); -return x_344; +lean_ctor_set(x_381, 0, x_380); +lean_ctor_set(x_381, 1, x_365); +return x_381; } } } } -lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; uint8_t x_6; +lean_object* x_6; uint8_t x_7; lean_inc(x_1); -x_5 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore(x_1, x_2, x_3, x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) +x_6 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore(x_1, x_2, x_3, x_4, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_5, 0); -x_8 = l_Lean_Syntax_copyInfo(x_7, x_1); +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 0); +x_9 = l_Lean_Syntax_copyInfo(x_8, x_1); lean_dec(x_1); -lean_ctor_set(x_5, 0, x_8); -return x_5; +lean_ctor_set(x_6, 0, x_9); +return x_6; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_5, 0); -x_10 = lean_ctor_get(x_5, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_5); -x_11 = l_Lean_Syntax_copyInfo(x_9, x_1); +lean_dec(x_6); +x_12 = l_Lean_Syntax_copyInfo(x_10, x_1); lean_dec(x_1); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; } } } @@ -32484,6 +32623,7 @@ if (x_17 == 0) lean_object* x_18; uint8_t x_19; lean_dec(x_12); lean_dec(x_5); +lean_dec(x_3); x_18 = l_Lean_Parser_Term_doHave___elambda__1___closed__2; x_19 = lean_name_eq(x_6, x_18); lean_dec(x_6); @@ -32533,6 +32673,7 @@ lean_object* x_34; lean_object* x_35; lean_dec(x_30); lean_dec(x_12); lean_dec(x_5); +lean_dec(x_3); lean_dec(x_2); x_34 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__1; x_35 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_34, x_4, x_10); @@ -32558,6 +32699,7 @@ lean_dec(x_39); lean_dec(x_37); lean_dec(x_12); lean_dec(x_5); +lean_dec(x_3); lean_dec(x_2); x_43 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__1; x_44 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_43, x_4, x_10); @@ -32566,685 +32708,779 @@ return x_44; } else { -lean_object* x_45; lean_object* x_46; uint8_t x_47; +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; 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; uint8_t x_80; lean_dec(x_1); x_45 = lean_ctor_get(x_42, 0); lean_inc(x_45); lean_dec(x_42); x_46 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_4, x_10); -lean_dec(x_4); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_48 = lean_ctor_get(x_46, 0); -x_49 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; -x_50 = l_Lean_addMacroScope(x_12, x_49, x_5); -x_51 = l_Lean_instInhabitedSourceInfo___closed__1; -x_52 = l_myMacro____x40_Init_Notation___hyg_11084____closed__3; -x_53 = l_myMacro____x40_Init_Notation___hyg_11084____closed__9; -x_54 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_54, 0, x_51); -lean_ctor_set(x_54, 1, x_52); -lean_ctor_set(x_54, 2, x_50); -lean_ctor_set(x_54, 3, x_53); -x_55 = l_Array_empty___closed__1; -x_56 = lean_array_push(x_55, x_54); -x_57 = lean_array_push(x_55, x_45); -x_58 = l_prec_x28___x29___closed__3; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); -x_59 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_59, 0, x_48); -lean_ctor_set(x_59, 1, x_58); -x_60 = lean_array_push(x_55, x_59); -x_61 = l_myMacro____x40_Init_Notation___hyg_12458____closed__9; -lean_inc(x_48); -x_62 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_62, 0, x_48); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_array_push(x_55, x_62); -x_64 = lean_array_push(x_55, x_37); -x_65 = l_myMacro____x40_Init_Notation___hyg_13985____closed__9; -lean_inc(x_48); -x_66 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_66, 0, x_48); -lean_ctor_set(x_66, 1, x_65); -x_67 = lean_array_push(x_55, x_66); -x_68 = lean_array_push(x_67, x_39); -x_69 = l_myMacro____x40_Init_Notation___hyg_13985____closed__8; -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -x_71 = lean_array_push(x_55, x_70); -x_72 = l_Lean_nullKind___closed__2; -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -x_74 = lean_array_push(x_64, x_73); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_72); -lean_ctor_set(x_75, 1, x_74); -lean_inc(x_60); -x_76 = lean_array_push(x_60, x_75); -x_77 = l_prec_x28___x29___closed__7; -lean_inc(x_48); -x_78 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_78, 0, x_48); -lean_ctor_set(x_78, 1, x_77); -lean_inc(x_78); -x_79 = lean_array_push(x_76, x_78); -x_80 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -x_82 = lean_array_push(x_55, x_81); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_72); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_array_push(x_55, x_83); -x_85 = l_myMacro____x40_Init_Notation___hyg_12458____closed__13; -x_86 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_86, 0, x_48); -lean_ctor_set(x_86, 1, x_85); -x_87 = lean_array_push(x_84, x_86); -x_88 = lean_array_push(x_87, x_2); -x_89 = l_myMacro____x40_Init_Notation___hyg_12458____closed__12; -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_63, x_90); -x_92 = l_myMacro____x40_Init_Notation___hyg_12458____closed__10; -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_55, x_93); -x_95 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; -x_96 = lean_array_push(x_94, x_95); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_72); -lean_ctor_set(x_97, 1, x_96); -x_98 = lean_array_push(x_60, x_97); -x_99 = lean_array_push(x_98, x_78); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_80); -lean_ctor_set(x_100, 1, x_99); -x_101 = lean_array_push(x_57, x_100); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_72); -lean_ctor_set(x_102, 1, x_101); -x_103 = lean_array_push(x_56, x_102); -x_104 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; -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_46, 0, x_105); -return x_46; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_106 = lean_ctor_get(x_46, 0); -x_107 = lean_ctor_get(x_46, 1); -lean_inc(x_107); -lean_inc(x_106); lean_dec(x_46); -x_108 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; -x_109 = l_Lean_addMacroScope(x_12, x_108, x_5); -x_110 = l_Lean_instInhabitedSourceInfo___closed__1; -x_111 = l_myMacro____x40_Init_Notation___hyg_11084____closed__3; -x_112 = l_myMacro____x40_Init_Notation___hyg_11084____closed__9; -x_113 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_113, 0, x_110); -lean_ctor_set(x_113, 1, x_111); -lean_ctor_set(x_113, 2, x_109); -lean_ctor_set(x_113, 3, x_112); -x_114 = l_Array_empty___closed__1; -x_115 = lean_array_push(x_114, x_113); -x_116 = lean_array_push(x_114, x_45); -x_117 = l_prec_x28___x29___closed__3; -lean_inc(x_106); -x_118 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_118, 0, x_106); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_array_push(x_114, x_118); -x_120 = l_myMacro____x40_Init_Notation___hyg_12458____closed__9; -lean_inc(x_106); -x_121 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_121, 0, x_106); -lean_ctor_set(x_121, 1, x_120); -x_122 = lean_array_push(x_114, x_121); -x_123 = lean_array_push(x_114, x_37); -x_124 = l_myMacro____x40_Init_Notation___hyg_13985____closed__9; -lean_inc(x_106); -x_125 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_125, 0, x_106); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_array_push(x_114, x_125); -x_127 = lean_array_push(x_126, x_39); -x_128 = l_myMacro____x40_Init_Notation___hyg_13985____closed__8; -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = lean_array_push(x_114, x_129); -x_131 = l_Lean_nullKind___closed__2; -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_130); -x_133 = lean_array_push(x_123, x_132); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_131); -lean_ctor_set(x_134, 1, x_133); -lean_inc(x_119); -x_135 = lean_array_push(x_119, x_134); -x_136 = l_prec_x28___x29___closed__7; -lean_inc(x_106); -x_137 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_137, 0, x_106); -lean_ctor_set(x_137, 1, x_136); -lean_inc(x_137); -x_138 = lean_array_push(x_135, x_137); -x_139 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -x_141 = lean_array_push(x_114, x_140); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_131); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_array_push(x_114, x_142); -x_144 = l_myMacro____x40_Init_Notation___hyg_12458____closed__13; -x_145 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_145, 0, x_106); -lean_ctor_set(x_145, 1, x_144); -x_146 = lean_array_push(x_143, x_145); -x_147 = lean_array_push(x_146, x_2); -x_148 = l_myMacro____x40_Init_Notation___hyg_12458____closed__12; -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_147); -x_150 = lean_array_push(x_122, x_149); -x_151 = l_myMacro____x40_Init_Notation___hyg_12458____closed__10; +x_49 = l_prec_x28___x29___closed__3; +lean_inc(x_47); +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Array_empty___closed__1; +x_52 = lean_array_push(x_51, x_50); +lean_inc(x_45); +x_53 = lean_array_push(x_51, x_45); +x_54 = l_myMacro____x40_Init_Notation___hyg_13985____closed__9; +lean_inc(x_47); +x_55 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_55, 0, x_47); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_array_push(x_51, x_55); +x_57 = lean_ctor_get(x_3, 0); +lean_inc(x_57); +lean_dec(x_3); +x_58 = lean_array_push(x_51, x_57); +lean_inc(x_39); +x_59 = lean_array_push(x_51, x_39); +x_60 = l_Lean_nullKind___closed__2; +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +x_62 = lean_array_push(x_58, x_61); +x_63 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; +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_56, x_64); +x_66 = l_myMacro____x40_Init_Notation___hyg_13985____closed__8; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +x_68 = lean_array_push(x_51, x_67); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_60); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_array_push(x_53, x_69); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_60); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_array_push(x_52, x_71); +x_73 = l_prec_x28___x29___closed__7; +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_47); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_array_push(x_72, x_74); +x_76 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; +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 = l_Lean_Syntax_copyRangePos(x_77, x_45); +x_79 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_4, x_48); +lean_dec(x_4); +x_80 = !lean_is_exclusive(x_79); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_81 = lean_ctor_get(x_79, 0); +x_82 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; +x_83 = l_Lean_addMacroScope(x_12, x_82, x_5); +x_84 = l_Lean_instInhabitedSourceInfo___closed__1; +x_85 = l_myMacro____x40_Init_Notation___hyg_11084____closed__3; +x_86 = l_myMacro____x40_Init_Notation___hyg_11084____closed__9; +x_87 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_87, 0, x_84); +lean_ctor_set(x_87, 1, x_85); +lean_ctor_set(x_87, 2, x_83); +lean_ctor_set(x_87, 3, x_86); +x_88 = lean_array_push(x_51, x_87); +x_89 = lean_array_push(x_51, x_78); +lean_inc(x_81); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_81); +lean_ctor_set(x_90, 1, x_49); +x_91 = lean_array_push(x_51, x_90); +x_92 = l_myMacro____x40_Init_Notation___hyg_12458____closed__9; +lean_inc(x_81); +x_93 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_93, 0, x_81); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_array_push(x_51, x_93); +x_95 = lean_array_push(x_51, x_37); +lean_inc(x_81); +x_96 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_54); +x_97 = lean_array_push(x_51, x_96); +x_98 = lean_array_push(x_97, x_39); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_66); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_array_push(x_51, x_99); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_60); +lean_ctor_set(x_101, 1, x_100); +x_102 = lean_array_push(x_95, x_101); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_60); +lean_ctor_set(x_103, 1, x_102); +lean_inc(x_91); +x_104 = lean_array_push(x_91, x_103); +lean_inc(x_81); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_81); +lean_ctor_set(x_105, 1, x_73); +lean_inc(x_105); +x_106 = lean_array_push(x_104, x_105); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_76); +lean_ctor_set(x_107, 1, x_106); +x_108 = lean_array_push(x_51, x_107); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_60); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_array_push(x_51, x_109); +x_111 = l_myMacro____x40_Init_Notation___hyg_12458____closed__13; +x_112 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_112, 0, x_81); +lean_ctor_set(x_112, 1, x_111); +x_113 = lean_array_push(x_110, x_112); +x_114 = lean_array_push(x_113, x_2); +x_115 = l_myMacro____x40_Init_Notation___hyg_12458____closed__12; +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_94, x_116); +x_118 = l_myMacro____x40_Init_Notation___hyg_12458____closed__10; +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_117); +x_120 = lean_array_push(x_51, x_119); +x_121 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; +x_122 = lean_array_push(x_120, x_121); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_60); +lean_ctor_set(x_123, 1, x_122); +x_124 = lean_array_push(x_91, x_123); +x_125 = lean_array_push(x_124, x_105); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_76); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_array_push(x_89, x_126); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_60); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_array_push(x_88, x_128); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_63); +lean_ctor_set(x_130, 1, x_129); +lean_ctor_set(x_79, 0, x_130); +return x_79; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_131 = lean_ctor_get(x_79, 0); +x_132 = lean_ctor_get(x_79, 1); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_79); +x_133 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; +x_134 = l_Lean_addMacroScope(x_12, x_133, x_5); +x_135 = l_Lean_instInhabitedSourceInfo___closed__1; +x_136 = l_myMacro____x40_Init_Notation___hyg_11084____closed__3; +x_137 = l_myMacro____x40_Init_Notation___hyg_11084____closed__9; +x_138 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +lean_ctor_set(x_138, 2, x_134); +lean_ctor_set(x_138, 3, x_137); +x_139 = lean_array_push(x_51, x_138); +x_140 = lean_array_push(x_51, x_78); +lean_inc(x_131); +x_141 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_141, 0, x_131); +lean_ctor_set(x_141, 1, x_49); +x_142 = lean_array_push(x_51, x_141); +x_143 = l_myMacro____x40_Init_Notation___hyg_12458____closed__9; +lean_inc(x_131); +x_144 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_144, 0, x_131); +lean_ctor_set(x_144, 1, x_143); +x_145 = lean_array_push(x_51, x_144); +x_146 = lean_array_push(x_51, x_37); +lean_inc(x_131); +x_147 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_147, 0, x_131); +lean_ctor_set(x_147, 1, x_54); +x_148 = lean_array_push(x_51, x_147); +x_149 = lean_array_push(x_148, x_39); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_66); +lean_ctor_set(x_150, 1, x_149); +x_151 = lean_array_push(x_51, x_150); x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -x_153 = lean_array_push(x_114, x_152); -x_154 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; -x_155 = lean_array_push(x_153, x_154); -x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_60); +lean_ctor_set(x_152, 1, x_151); +x_153 = lean_array_push(x_146, x_152); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_60); +lean_ctor_set(x_154, 1, x_153); +lean_inc(x_142); +x_155 = lean_array_push(x_142, x_154); +lean_inc(x_131); +x_156 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_156, 0, x_131); -lean_ctor_set(x_156, 1, x_155); -x_157 = lean_array_push(x_119, x_156); -x_158 = lean_array_push(x_157, x_137); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_139); -lean_ctor_set(x_159, 1, x_158); -x_160 = lean_array_push(x_116, x_159); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_131); -lean_ctor_set(x_161, 1, x_160); -x_162 = lean_array_push(x_115, x_161); -x_163 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_162); -x_165 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_107); -return x_165; -} -} -} -} -} -else -{ -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_dec(x_4); -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_5); -x_166 = lean_unsigned_to_nat(0u); -x_167 = l_Lean_Syntax_getArg(x_1, x_166); -x_168 = l_Lean_Syntax_getArg(x_1, x_9); -lean_dec(x_1); -x_169 = l_Lean_Json_Parser_anyCore___rarg___closed__6; -x_170 = lean_array_push(x_169, x_167); -x_171 = lean_array_push(x_170, x_168); -x_172 = l_Lean_mkOptionalNode___closed__1; +lean_ctor_set(x_156, 1, x_73); +lean_inc(x_156); +x_157 = lean_array_push(x_155, x_156); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_76); +lean_ctor_set(x_158, 1, x_157); +x_159 = lean_array_push(x_51, x_158); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_60); +lean_ctor_set(x_160, 1, x_159); +x_161 = lean_array_push(x_51, x_160); +x_162 = l_myMacro____x40_Init_Notation___hyg_12458____closed__13; +x_163 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_163, 0, x_131); +lean_ctor_set(x_163, 1, x_162); +x_164 = lean_array_push(x_161, x_163); +x_165 = lean_array_push(x_164, x_2); +x_166 = l_myMacro____x40_Init_Notation___hyg_12458____closed__12; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_168 = lean_array_push(x_145, x_167); +x_169 = l_myMacro____x40_Init_Notation___hyg_12458____closed__10; +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_168); +x_171 = lean_array_push(x_51, x_170); +x_172 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; x_173 = lean_array_push(x_171, x_172); -x_174 = lean_array_push(x_173, x_2); -x_175 = l_Lean_Parser_Term_letrec___elambda__1___closed__1; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_10); -return x_177; +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_60); +lean_ctor_set(x_174, 1, x_173); +x_175 = lean_array_push(x_142, x_174); +x_176 = lean_array_push(x_175, x_156); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_76); +lean_ctor_set(x_177, 1, x_176); +x_178 = lean_array_push(x_140, x_177); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_60); +lean_ctor_set(x_179, 1, x_178); +x_180 = lean_array_push(x_139, x_179); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_63); +lean_ctor_set(x_181, 1, x_180); +x_182 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_132); +return x_182; +} +} +} } } else { -lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; +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_dec(x_4); lean_dec(x_12); lean_dec(x_6); lean_dec(x_5); -x_178 = lean_unsigned_to_nat(2u); -x_179 = l_Lean_Syntax_getArg(x_1, x_178); +lean_dec(x_3); +x_183 = lean_unsigned_to_nat(0u); +x_184 = l_Lean_Syntax_getArg(x_1, x_183); +x_185 = l_Lean_Syntax_getArg(x_1, x_9); lean_dec(x_1); -x_180 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_4, x_10); +x_186 = l_Lean_Json_Parser_anyCore___rarg___closed__6; +x_187 = lean_array_push(x_186, x_184); +x_188 = lean_array_push(x_187, x_185); +x_189 = l_Lean_mkOptionalNode___closed__1; +x_190 = lean_array_push(x_188, x_189); +x_191 = lean_array_push(x_190, x_2); +x_192 = l_Lean_Parser_Term_letrec___elambda__1___closed__1; +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_191); +x_194 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_10); +return x_194; +} +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_195 = lean_unsigned_to_nat(2u); +x_196 = l_Lean_Syntax_getArg(x_1, x_195); +lean_dec(x_1); +x_197 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_4, x_10); lean_dec(x_4); -x_181 = !lean_is_exclusive(x_180); -if (x_181 == 0) +x_198 = !lean_is_exclusive(x_197); +if (x_198 == 0) { -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_182 = lean_ctor_get(x_180, 0); -x_183 = l_myMacro____x40_Init_Notation___hyg_14562____closed__1; -lean_inc(x_182); -x_184 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_184, 0, x_182); -lean_ctor_set(x_184, 1, x_183); -x_185 = l_Array_empty___closed__1; -x_186 = lean_array_push(x_185, x_184); -x_187 = lean_array_push(x_186, x_179); -x_188 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; -x_189 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_189, 0, x_182); -lean_ctor_set(x_189, 1, x_188); -x_190 = lean_array_push(x_185, x_189); -x_191 = l_Lean_nullKind___closed__2; -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_190); -x_193 = lean_array_push(x_187, x_192); -x_194 = lean_array_push(x_193, x_2); -x_195 = l_myMacro____x40_Init_Notation___hyg_14562____closed__2; -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_194); -lean_ctor_set(x_180, 0, x_196); -return x_180; -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_197 = lean_ctor_get(x_180, 0); -x_198 = lean_ctor_get(x_180, 1); -lean_inc(x_198); -lean_inc(x_197); -lean_dec(x_180); -x_199 = l_myMacro____x40_Init_Notation___hyg_14562____closed__1; -lean_inc(x_197); -x_200 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_200, 0, x_197); -lean_ctor_set(x_200, 1, x_199); -x_201 = l_Array_empty___closed__1; -x_202 = lean_array_push(x_201, x_200); -x_203 = lean_array_push(x_202, x_179); -x_204 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; -x_205 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_205, 0, x_197); -lean_ctor_set(x_205, 1, x_204); -x_206 = lean_array_push(x_201, x_205); -x_207 = l_Lean_nullKind___closed__2; -x_208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_206); -x_209 = lean_array_push(x_203, x_208); -x_210 = lean_array_push(x_209, x_2); -x_211 = l_myMacro____x40_Init_Notation___hyg_14562____closed__2; -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_210); -x_213 = lean_alloc_ctor(0, 2, 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; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_199 = lean_ctor_get(x_197, 0); +x_200 = l_myMacro____x40_Init_Notation___hyg_14562____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_push(x_203, x_196); +x_205 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; +x_206 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_206, 0, x_199); +lean_ctor_set(x_206, 1, x_205); +x_207 = lean_array_push(x_202, x_206); +x_208 = l_Lean_nullKind___closed__2; +x_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_208); +lean_ctor_set(x_209, 1, x_207); +x_210 = lean_array_push(x_204, x_209); +x_211 = lean_array_push(x_210, x_2); +x_212 = l_myMacro____x40_Init_Notation___hyg_14562____closed__2; +x_213 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_198); -return x_213; -} -} +lean_ctor_set(x_213, 1, x_211); +lean_ctor_set(x_197, 0, x_213); +return x_197; } else { -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -x_214 = lean_ctor_get(x_4, 0); -x_215 = lean_ctor_get(x_4, 1); -x_216 = lean_ctor_get(x_4, 3); -x_217 = lean_ctor_get(x_4, 4); -x_218 = lean_ctor_get(x_4, 5); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_214 = lean_ctor_get(x_197, 0); +x_215 = lean_ctor_get(x_197, 1); lean_inc(x_215); lean_inc(x_214); +lean_dec(x_197); +x_216 = l_myMacro____x40_Init_Notation___hyg_14562____closed__1; +lean_inc(x_214); +x_217 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_217, 0, x_214); +lean_ctor_set(x_217, 1, x_216); +x_218 = l_Array_empty___closed__1; +x_219 = lean_array_push(x_218, x_217); +x_220 = lean_array_push(x_219, x_196); +x_221 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; +x_222 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_222, 0, x_214); +lean_ctor_set(x_222, 1, x_221); +x_223 = lean_array_push(x_218, x_222); +x_224 = l_Lean_nullKind___closed__2; +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_224); +lean_ctor_set(x_225, 1, x_223); +x_226 = lean_array_push(x_220, x_225); +x_227 = lean_array_push(x_226, x_2); +x_228 = l_myMacro____x40_Init_Notation___hyg_14562____closed__2; +x_229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_227); +x_230 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_215); +return x_230; +} +} +} +else +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +x_231 = lean_ctor_get(x_4, 0); +x_232 = lean_ctor_get(x_4, 1); +x_233 = lean_ctor_get(x_4, 3); +x_234 = lean_ctor_get(x_4, 4); +x_235 = lean_ctor_get(x_4, 5); +lean_inc(x_235); +lean_inc(x_234); +lean_inc(x_233); +lean_inc(x_232); +lean_inc(x_231); lean_dec(x_4); lean_inc(x_5); -lean_inc(x_215); -x_219 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_219, 0, x_214); -lean_ctor_set(x_219, 1, x_215); -lean_ctor_set(x_219, 2, x_5); -lean_ctor_set(x_219, 3, x_216); -lean_ctor_set(x_219, 4, x_217); -lean_ctor_set(x_219, 5, x_218); +lean_inc(x_232); +x_236 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_236, 0, x_231); +lean_ctor_set(x_236, 1, x_232); +lean_ctor_set(x_236, 2, x_5); +lean_ctor_set(x_236, 3, x_233); +lean_ctor_set(x_236, 4, x_234); +lean_ctor_set(x_236, 5, x_235); if (x_8 == 0) { -lean_object* x_220; uint8_t x_221; -x_220 = l_Lean_Parser_Term_doLetRec___elambda__1___closed__2; -x_221 = lean_name_eq(x_6, x_220); -if (x_221 == 0) +lean_object* x_237; uint8_t x_238; +x_237 = l_Lean_Parser_Term_doLetRec___elambda__1___closed__2; +x_238 = lean_name_eq(x_6, x_237); +if (x_238 == 0) { -lean_object* x_222; uint8_t x_223; -x_222 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; -x_223 = lean_name_eq(x_6, x_222); -if (x_223 == 0) +lean_object* x_239; uint8_t x_240; +x_239 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; +x_240 = lean_name_eq(x_6, x_239); +if (x_240 == 0) { -lean_object* x_224; uint8_t x_225; -lean_dec(x_215); +lean_object* x_241; uint8_t x_242; +lean_dec(x_232); lean_dec(x_5); -x_224 = l_Lean_Parser_Term_doHave___elambda__1___closed__2; -x_225 = lean_name_eq(x_6, x_224); +lean_dec(x_3); +x_241 = l_Lean_Parser_Term_doHave___elambda__1___closed__2; +x_242 = lean_name_eq(x_6, x_241); lean_dec(x_6); -if (x_225 == 0) +if (x_242 == 0) { -lean_object* x_226; lean_object* x_227; +lean_object* x_243; lean_object* x_244; lean_dec(x_2); -x_226 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__1; -x_227 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_226, x_219, x_10); +x_243 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__1; +x_244 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_243, x_236, x_10); lean_dec(x_1); -return x_227; +return x_244; } else { -lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -lean_dec(x_219); -x_228 = l_Lean_Syntax_getArgs(x_1); +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_dec(x_236); +x_245 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_229 = l_Lean_Elab_Term_elabNoMatch___closed__1; -x_230 = lean_array_push(x_229, x_2); -x_231 = l_Array_append___rarg(x_228, x_230); -lean_dec(x_230); -x_232 = l_Lean_Parser_Term_have___elambda__1___closed__1; -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_231); -x_234 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_10); -return x_234; +x_246 = l_Lean_Elab_Term_elabNoMatch___closed__1; +x_247 = lean_array_push(x_246, x_2); +x_248 = l_Array_append___rarg(x_245, x_247); +lean_dec(x_247); +x_249 = l_Lean_Parser_Term_have___elambda__1___closed__1; +x_250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_250, 0, x_249); +lean_ctor_set(x_250, 1, x_248); +x_251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_10); +return x_251; } } else { -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; lean_dec(x_6); -x_235 = lean_unsigned_to_nat(2u); -x_236 = l_Lean_Syntax_getArg(x_1, x_235); -lean_inc(x_236); -x_237 = l_Lean_Syntax_getKind(x_236); -x_238 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; -x_239 = lean_name_eq(x_237, x_238); -lean_dec(x_237); -if (x_239 == 0) +x_252 = lean_unsigned_to_nat(2u); +x_253 = l_Lean_Syntax_getArg(x_1, x_252); +lean_inc(x_253); +x_254 = l_Lean_Syntax_getKind(x_253); +x_255 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; +x_256 = lean_name_eq(x_254, x_255); +lean_dec(x_254); +if (x_256 == 0) { -lean_object* x_240; lean_object* x_241; -lean_dec(x_236); -lean_dec(x_215); +lean_object* x_257; lean_object* x_258; +lean_dec(x_253); +lean_dec(x_232); lean_dec(x_5); +lean_dec(x_3); lean_dec(x_2); -x_240 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__1; -x_241 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_240, x_219, x_10); +x_257 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__1; +x_258 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_257, x_236, x_10); lean_dec(x_1); -return x_241; +return x_258; } else { -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; -x_242 = lean_unsigned_to_nat(0u); -x_243 = l_Lean_Syntax_getArg(x_236, x_242); -x_244 = l_Lean_Syntax_getArg(x_236, x_9); -x_245 = l_Lean_Elab_Term_expandOptType(x_236, x_244); -lean_dec(x_244); -x_246 = lean_unsigned_to_nat(3u); -x_247 = l_Lean_Syntax_getArg(x_236, x_246); -lean_dec(x_236); -x_248 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_247); -if (lean_obj_tag(x_248) == 0) +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; +x_259 = lean_unsigned_to_nat(0u); +x_260 = l_Lean_Syntax_getArg(x_253, x_259); +x_261 = l_Lean_Syntax_getArg(x_253, x_9); +x_262 = l_Lean_Elab_Term_expandOptType(x_253, x_261); +lean_dec(x_261); +x_263 = lean_unsigned_to_nat(3u); +x_264 = l_Lean_Syntax_getArg(x_253, x_263); +lean_dec(x_253); +x_265 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_264); +if (lean_obj_tag(x_265) == 0) { -lean_object* x_249; lean_object* x_250; -lean_dec(x_245); -lean_dec(x_243); -lean_dec(x_215); +lean_object* x_266; lean_object* x_267; +lean_dec(x_262); +lean_dec(x_260); +lean_dec(x_232); lean_dec(x_5); +lean_dec(x_3); lean_dec(x_2); -x_249 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__1; -x_250 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_249, x_219, x_10); +x_266 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__1; +x_267 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_266, x_236, x_10); lean_dec(x_1); -return x_250; +return x_267; } else { -lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_dec(x_1); -x_251 = lean_ctor_get(x_248, 0); -lean_inc(x_251); -lean_dec(x_248); -x_252 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_219, x_10); -lean_dec(x_219); -x_253 = lean_ctor_get(x_252, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_252, 1); -lean_inc(x_254); -if (lean_is_exclusive(x_252)) { - lean_ctor_release(x_252, 0); - lean_ctor_release(x_252, 1); - x_255 = x_252; -} else { - lean_dec_ref(x_252); - x_255 = lean_box(0); -} -x_256 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; -x_257 = l_Lean_addMacroScope(x_215, x_256, x_5); -x_258 = l_Lean_instInhabitedSourceInfo___closed__1; -x_259 = l_myMacro____x40_Init_Notation___hyg_11084____closed__3; -x_260 = l_myMacro____x40_Init_Notation___hyg_11084____closed__9; -x_261 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_261, 0, x_258); -lean_ctor_set(x_261, 1, x_259); -lean_ctor_set(x_261, 2, x_257); -lean_ctor_set(x_261, 3, x_260); -x_262 = l_Array_empty___closed__1; -x_263 = lean_array_push(x_262, x_261); -x_264 = lean_array_push(x_262, x_251); -x_265 = l_prec_x28___x29___closed__3; -lean_inc(x_253); -x_266 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_266, 0, x_253); -lean_ctor_set(x_266, 1, x_265); -x_267 = lean_array_push(x_262, x_266); -x_268 = l_myMacro____x40_Init_Notation___hyg_12458____closed__9; -lean_inc(x_253); -x_269 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_269, 0, x_253); -lean_ctor_set(x_269, 1, x_268); -x_270 = lean_array_push(x_262, x_269); -x_271 = lean_array_push(x_262, x_243); -x_272 = l_myMacro____x40_Init_Notation___hyg_13985____closed__9; -lean_inc(x_253); +x_268 = lean_ctor_get(x_265, 0); +lean_inc(x_268); +lean_dec(x_265); +x_269 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_236, x_10); +x_270 = lean_ctor_get(x_269, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_269, 1); +lean_inc(x_271); +lean_dec(x_269); +x_272 = l_prec_x28___x29___closed__3; +lean_inc(x_270); x_273 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_273, 0, x_253); +lean_ctor_set(x_273, 0, x_270); lean_ctor_set(x_273, 1, x_272); -x_274 = lean_array_push(x_262, x_273); -x_275 = lean_array_push(x_274, x_245); -x_276 = l_myMacro____x40_Init_Notation___hyg_13985____closed__8; -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_276); -lean_ctor_set(x_277, 1, x_275); -x_278 = lean_array_push(x_262, x_277); -x_279 = l_Lean_nullKind___closed__2; -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_278); -x_281 = lean_array_push(x_271, x_280); -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_279); -lean_ctor_set(x_282, 1, x_281); -lean_inc(x_267); -x_283 = lean_array_push(x_267, x_282); -x_284 = l_prec_x28___x29___closed__7; -lean_inc(x_253); -x_285 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_285, 0, x_253); -lean_ctor_set(x_285, 1, x_284); -lean_inc(x_285); -x_286 = lean_array_push(x_283, x_285); -x_287 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; -x_288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_288, 0, x_287); -lean_ctor_set(x_288, 1, x_286); -x_289 = lean_array_push(x_262, x_288); +x_274 = l_Array_empty___closed__1; +x_275 = lean_array_push(x_274, x_273); +lean_inc(x_268); +x_276 = lean_array_push(x_274, x_268); +x_277 = l_myMacro____x40_Init_Notation___hyg_13985____closed__9; +lean_inc(x_270); +x_278 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_278, 0, x_270); +lean_ctor_set(x_278, 1, x_277); +x_279 = lean_array_push(x_274, x_278); +x_280 = lean_ctor_get(x_3, 0); +lean_inc(x_280); +lean_dec(x_3); +x_281 = lean_array_push(x_274, x_280); +lean_inc(x_262); +x_282 = lean_array_push(x_274, x_262); +x_283 = l_Lean_nullKind___closed__2; +x_284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_284, 0, x_283); +lean_ctor_set(x_284, 1, x_282); +x_285 = lean_array_push(x_281, x_284); +x_286 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; +x_287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_285); +x_288 = lean_array_push(x_279, x_287); +x_289 = l_myMacro____x40_Init_Notation___hyg_13985____closed__8; x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_279); -lean_ctor_set(x_290, 1, x_289); -x_291 = lean_array_push(x_262, x_290); -x_292 = l_myMacro____x40_Init_Notation___hyg_12458____closed__13; -x_293 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_293, 0, x_253); -lean_ctor_set(x_293, 1, x_292); -x_294 = lean_array_push(x_291, x_293); -x_295 = lean_array_push(x_294, x_2); -x_296 = l_myMacro____x40_Init_Notation___hyg_12458____closed__12; -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_295); -x_298 = lean_array_push(x_270, x_297); -x_299 = l_myMacro____x40_Init_Notation___hyg_12458____closed__10; +lean_ctor_set(x_290, 0, x_289); +lean_ctor_set(x_290, 1, x_288); +x_291 = lean_array_push(x_274, x_290); +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_283); +lean_ctor_set(x_292, 1, x_291); +x_293 = lean_array_push(x_276, x_292); +x_294 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_294, 0, x_283); +lean_ctor_set(x_294, 1, x_293); +x_295 = lean_array_push(x_275, x_294); +x_296 = l_prec_x28___x29___closed__7; +x_297 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_297, 0, x_270); +lean_ctor_set(x_297, 1, x_296); +x_298 = lean_array_push(x_295, x_297); +x_299 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; x_300 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_300, 0, x_299); lean_ctor_set(x_300, 1, x_298); -x_301 = lean_array_push(x_262, x_300); -x_302 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; -x_303 = lean_array_push(x_301, x_302); -x_304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_304, 0, x_279); -lean_ctor_set(x_304, 1, x_303); -x_305 = lean_array_push(x_267, x_304); -x_306 = lean_array_push(x_305, x_285); -x_307 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_307, 0, x_287); -lean_ctor_set(x_307, 1, x_306); -x_308 = lean_array_push(x_264, x_307); -x_309 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_309, 0, x_279); -lean_ctor_set(x_309, 1, x_308); -x_310 = lean_array_push(x_263, x_309); -x_311 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; -x_312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_312, 0, x_311); -lean_ctor_set(x_312, 1, x_310); -if (lean_is_scalar(x_255)) { - x_313 = lean_alloc_ctor(0, 2, 0); +x_301 = l_Lean_Syntax_copyRangePos(x_300, x_268); +x_302 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_236, x_271); +lean_dec(x_236); +x_303 = lean_ctor_get(x_302, 0); +lean_inc(x_303); +x_304 = lean_ctor_get(x_302, 1); +lean_inc(x_304); +if (lean_is_exclusive(x_302)) { + lean_ctor_release(x_302, 0); + lean_ctor_release(x_302, 1); + x_305 = x_302; } else { - x_313 = x_255; + lean_dec_ref(x_302); + x_305 = lean_box(0); } -lean_ctor_set(x_313, 0, x_312); -lean_ctor_set(x_313, 1, x_254); -return x_313; -} -} -} -} -else -{ -lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; -lean_dec(x_219); -lean_dec(x_215); -lean_dec(x_6); -lean_dec(x_5); -x_314 = lean_unsigned_to_nat(0u); -x_315 = l_Lean_Syntax_getArg(x_1, x_314); -x_316 = l_Lean_Syntax_getArg(x_1, x_9); -lean_dec(x_1); -x_317 = l_Lean_Json_Parser_anyCore___rarg___closed__6; -x_318 = lean_array_push(x_317, x_315); -x_319 = lean_array_push(x_318, x_316); -x_320 = l_Lean_mkOptionalNode___closed__1; -x_321 = lean_array_push(x_319, x_320); -x_322 = lean_array_push(x_321, x_2); -x_323 = l_Lean_Parser_Term_letrec___elambda__1___closed__1; -x_324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_324, 0, x_323); -lean_ctor_set(x_324, 1, x_322); -x_325 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_325, 0, x_324); -lean_ctor_set(x_325, 1, x_10); -return x_325; -} -} -else -{ -lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; -lean_dec(x_215); -lean_dec(x_6); -lean_dec(x_5); -x_326 = lean_unsigned_to_nat(2u); -x_327 = l_Lean_Syntax_getArg(x_1, x_326); -lean_dec(x_1); -x_328 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_219, x_10); -lean_dec(x_219); -x_329 = lean_ctor_get(x_328, 0); +x_306 = l_myMacro____x40_Init_Notation___hyg_11084____closed__7; +x_307 = l_Lean_addMacroScope(x_232, x_306, x_5); +x_308 = l_Lean_instInhabitedSourceInfo___closed__1; +x_309 = l_myMacro____x40_Init_Notation___hyg_11084____closed__3; +x_310 = l_myMacro____x40_Init_Notation___hyg_11084____closed__9; +x_311 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_311, 0, x_308); +lean_ctor_set(x_311, 1, x_309); +lean_ctor_set(x_311, 2, x_307); +lean_ctor_set(x_311, 3, x_310); +x_312 = lean_array_push(x_274, x_311); +x_313 = lean_array_push(x_274, x_301); +lean_inc(x_303); +x_314 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_314, 0, x_303); +lean_ctor_set(x_314, 1, x_272); +x_315 = lean_array_push(x_274, x_314); +x_316 = l_myMacro____x40_Init_Notation___hyg_12458____closed__9; +lean_inc(x_303); +x_317 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_317, 0, x_303); +lean_ctor_set(x_317, 1, x_316); +x_318 = lean_array_push(x_274, x_317); +x_319 = lean_array_push(x_274, x_260); +lean_inc(x_303); +x_320 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_320, 0, x_303); +lean_ctor_set(x_320, 1, x_277); +x_321 = lean_array_push(x_274, x_320); +x_322 = lean_array_push(x_321, x_262); +x_323 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_323, 0, x_289); +lean_ctor_set(x_323, 1, x_322); +x_324 = lean_array_push(x_274, x_323); +x_325 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_325, 0, x_283); +lean_ctor_set(x_325, 1, x_324); +x_326 = lean_array_push(x_319, x_325); +x_327 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_327, 0, x_283); +lean_ctor_set(x_327, 1, x_326); +lean_inc(x_315); +x_328 = lean_array_push(x_315, x_327); +lean_inc(x_303); +x_329 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_329, 0, x_303); +lean_ctor_set(x_329, 1, x_296); lean_inc(x_329); -x_330 = lean_ctor_get(x_328, 1); -lean_inc(x_330); -if (lean_is_exclusive(x_328)) { - lean_ctor_release(x_328, 0); - lean_ctor_release(x_328, 1); - x_331 = x_328; -} else { - lean_dec_ref(x_328); - x_331 = lean_box(0); -} -x_332 = l_myMacro____x40_Init_Notation___hyg_14562____closed__1; -lean_inc(x_329); -x_333 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_333, 0, x_329); +x_330 = lean_array_push(x_328, x_329); +x_331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_331, 0, x_299); +lean_ctor_set(x_331, 1, x_330); +x_332 = lean_array_push(x_274, x_331); +x_333 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_333, 0, x_283); lean_ctor_set(x_333, 1, x_332); -x_334 = l_Array_empty___closed__1; -x_335 = lean_array_push(x_334, x_333); -x_336 = lean_array_push(x_335, x_327); -x_337 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; -x_338 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_338, 0, x_329); -lean_ctor_set(x_338, 1, x_337); -x_339 = lean_array_push(x_334, x_338); -x_340 = l_Lean_nullKind___closed__2; -x_341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_341, 0, x_340); -lean_ctor_set(x_341, 1, x_339); -x_342 = lean_array_push(x_336, x_341); -x_343 = lean_array_push(x_342, x_2); -x_344 = l_myMacro____x40_Init_Notation___hyg_14562____closed__2; -x_345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_345, 0, x_344); -lean_ctor_set(x_345, 1, x_343); -if (lean_is_scalar(x_331)) { - x_346 = lean_alloc_ctor(0, 2, 0); +x_334 = lean_array_push(x_274, x_333); +x_335 = l_myMacro____x40_Init_Notation___hyg_12458____closed__13; +x_336 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_336, 0, x_303); +lean_ctor_set(x_336, 1, x_335); +x_337 = lean_array_push(x_334, x_336); +x_338 = lean_array_push(x_337, x_2); +x_339 = l_myMacro____x40_Init_Notation___hyg_12458____closed__12; +x_340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_340, 0, x_339); +lean_ctor_set(x_340, 1, x_338); +x_341 = lean_array_push(x_318, x_340); +x_342 = l_myMacro____x40_Init_Notation___hyg_12458____closed__10; +x_343 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_343, 0, x_342); +lean_ctor_set(x_343, 1, x_341); +x_344 = lean_array_push(x_274, x_343); +x_345 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; +x_346 = lean_array_push(x_344, x_345); +x_347 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_347, 0, x_283); +lean_ctor_set(x_347, 1, x_346); +x_348 = lean_array_push(x_315, x_347); +x_349 = lean_array_push(x_348, x_329); +x_350 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_350, 0, x_299); +lean_ctor_set(x_350, 1, x_349); +x_351 = lean_array_push(x_313, x_350); +x_352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_352, 0, x_283); +lean_ctor_set(x_352, 1, x_351); +x_353 = lean_array_push(x_312, x_352); +x_354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_354, 0, x_286); +lean_ctor_set(x_354, 1, x_353); +if (lean_is_scalar(x_305)) { + x_355 = lean_alloc_ctor(0, 2, 0); } else { - x_346 = x_331; + x_355 = x_305; } -lean_ctor_set(x_346, 0, x_345); -lean_ctor_set(x_346, 1, x_330); -return x_346; +lean_ctor_set(x_355, 0, x_354); +lean_ctor_set(x_355, 1, x_304); +return x_355; } } } } -lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: +else { -lean_object* x_6; -x_6 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore(x_1, x_2, x_3, x_4, x_5); +lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; +lean_dec(x_236); +lean_dec(x_232); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); -return x_6; +x_356 = lean_unsigned_to_nat(0u); +x_357 = l_Lean_Syntax_getArg(x_1, x_356); +x_358 = l_Lean_Syntax_getArg(x_1, x_9); +lean_dec(x_1); +x_359 = l_Lean_Json_Parser_anyCore___rarg___closed__6; +x_360 = lean_array_push(x_359, x_357); +x_361 = lean_array_push(x_360, x_358); +x_362 = l_Lean_mkOptionalNode___closed__1; +x_363 = lean_array_push(x_361, x_362); +x_364 = lean_array_push(x_363, x_2); +x_365 = l_Lean_Parser_Term_letrec___elambda__1___closed__1; +x_366 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_364); +x_367 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_367, 0, x_366); +lean_ctor_set(x_367, 1, x_10); +return x_367; +} +} +else +{ +lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; +lean_dec(x_232); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_368 = lean_unsigned_to_nat(2u); +x_369 = l_Lean_Syntax_getArg(x_1, x_368); +lean_dec(x_1); +x_370 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(x_236, x_10); +lean_dec(x_236); +x_371 = lean_ctor_get(x_370, 0); +lean_inc(x_371); +x_372 = lean_ctor_get(x_370, 1); +lean_inc(x_372); +if (lean_is_exclusive(x_370)) { + lean_ctor_release(x_370, 0); + lean_ctor_release(x_370, 1); + x_373 = x_370; +} else { + lean_dec_ref(x_370); + x_373 = lean_box(0); +} +x_374 = l_myMacro____x40_Init_Notation___hyg_14562____closed__1; +lean_inc(x_371); +x_375 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_375, 0, x_371); +lean_ctor_set(x_375, 1, x_374); +x_376 = l_Array_empty___closed__1; +x_377 = lean_array_push(x_376, x_375); +x_378 = lean_array_push(x_377, x_369); +x_379 = l_myMacro____x40_Init_Notation___hyg_14562____closed__12; +x_380 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_380, 0, x_371); +lean_ctor_set(x_380, 1, x_379); +x_381 = lean_array_push(x_376, x_380); +x_382 = l_Lean_nullKind___closed__2; +x_383 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_383, 0, x_382); +lean_ctor_set(x_383, 1, x_381); +x_384 = lean_array_push(x_378, x_383); +x_385 = lean_array_push(x_384, x_2); +x_386 = l_myMacro____x40_Init_Notation___hyg_14562____closed__2; +x_387 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_387, 0, x_386); +lean_ctor_set(x_387, 1, x_385); +if (lean_is_scalar(x_373)) { + x_388 = lean_alloc_ctor(0, 2, 0); +} else { + x_388 = x_373; +} +lean_ctor_set(x_388, 0, x_387); +lean_ctor_set(x_388, 1, x_372); +return x_388; +} +} } } lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -33307,15 +33543,6 @@ return x_17; } } } -lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_Elab_Term_Do_ToTerm_declToTerm(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_3); -return x_6; -} -} static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__1() { _start: { @@ -35080,7 +35307,6 @@ x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); x_10 = l_Lean_Elab_Term_Do_ToTerm_declToTerm(x_5, x_8, x_2, x_3, x_9); -lean_dec(x_2); return x_10; } else @@ -35257,6 +35483,7 @@ x_45 = lean_ctor_get(x_1, 1); lean_inc(x_45); lean_dec(x_1); lean_inc(x_3); +lean_inc(x_2); x_46 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_45, x_2, x_3, x_4); if (lean_obj_tag(x_46) == 0) { @@ -35266,7 +35493,7 @@ lean_inc(x_47); x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); lean_dec(x_46); -x_49 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm(x_44, x_47, x_3, x_48); +x_49 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm(x_44, x_47, x_2, x_3, x_48); return x_49; } else @@ -35274,6 +35501,7 @@ else uint8_t x_50; lean_dec(x_44); lean_dec(x_3); +lean_dec(x_2); x_50 = !lean_is_exclusive(x_46); if (x_50 == 0) { @@ -35791,7 +36019,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_Do_ToTerm_returnToTermCore___closed__17; x_2 = l_Lean_Elab_Term_Do_ToTerm_mkNestedKind___closed__1; -x_3 = lean_unsigned_to_nat(1027u); +x_3 = lean_unsigned_to_nat(1030u); x_4 = lean_unsigned_to_nat(27u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -36100,7 +36328,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_Do_ToTerm_returnToTermCore___closed__17; x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__3; -x_3 = lean_unsigned_to_nat(1083u); +x_3 = lean_unsigned_to_nat(1086u); x_4 = lean_unsigned_to_nat(27u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -60233,7 +60461,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_27009_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_27250_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -60941,6 +61169,14 @@ l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__20 = _init_l_Lean_ lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__20); l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__1 = _init_l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__1); +l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__2 = _init_l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__2); +l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__3 = _init_l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__3); +l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__4 = _init_l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__4); +l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__5 = _init_l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__5); l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__1 = _init_l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__1); l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2 = _init_l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2(); @@ -61203,7 +61439,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__1); res = l___regBuiltin_Lean_Elab_Term_Do_elabDo(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_27009_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_27250_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/InfoTree.c b/stage0/stdlib/Lean/Elab/InfoTree.c index 4c8b11c37b..6055b7667a 100644 --- a/stage0/stdlib/Lean/Elab/InfoTree.c +++ b/stage0/stdlib/Lean/Elab/InfoTree.c @@ -19,6 +19,7 @@ lean_object* l_Lean_Elab_Info_format(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoContext(lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Elab_InfoTree_substitute_match__1(lean_object*); +lean_object* l_Std_fmt___at_Lean_Elab_TermInfo_format___spec__1(lean_object*); extern lean_object* l_Lean_Meta_ppGoal_ppVars___closed__1; extern lean_object* l_Lean_InternalExceptionId_toString___closed__1; lean_object* lean_array_uget(lean_object*, size_t); @@ -28,6 +29,7 @@ extern lean_object* l_Lean_LocalContext_fvarIdToDecl___default___closed__1; lean_object* l_Lean_Elab_withInfoContext_x27(lean_object*); 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_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*); lean_object* l_Lean_Elab_assignInfoHoleId___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -49,9 +51,12 @@ lean_object* l_Lean_Elab_MacroExpansionInfo_format(lean_object*, lean_object*, l extern lean_object* l_Std_PersistentArray_empty___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_modifyInfoTrees(lean_object*); +extern lean_object* l_instReprSigma___rarg___closed__1; lean_object* l_Lean_Elab_ContextInfo_runMetaM_match__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_TermInfo_format___lambda__1___closed__3; lean_object* l_Lean_Elab_Info_format_match__1(lean_object*); lean_object* l_Lean_Elab_getInfoTrees___rarg___lambda__1(lean_object*, lean_object*); +extern lean_object* l_instReprSigma___rarg___closed__7; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); @@ -62,7 +67,6 @@ lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); lean_object* l_Lean_Elab_MacroExpansionInfo_format___closed__3; lean_object* l_Lean_Elab_withInfoHole___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_TermInfo_format___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_format(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); @@ -121,6 +125,8 @@ lean_object* l_Lean_Elab_mkInfoNode___rarg(lean_object*, lean_object*, lean_obje lean_object* l_Lean_Elab_ContextInfo_ppSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_runMetaM(lean_object*); +lean_object* l_Lean_Elab_TermInfo_format___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_TermInfo_format___lambda__1___closed__1; lean_object* l_Lean_Elab_TacticInfo_format___closed__1; size_t l_Lean_Name_hash(lean_object*); lean_object* l_Nat_repr(lean_object*); @@ -128,12 +134,13 @@ lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Elab_assignInf lean_object* l_Lean_Elab_getInfoHoleIdAssignment_x3f___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedTacticInfo___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_InfoTree_substitute___spec__5(lean_object*, size_t, size_t, lean_object*); +extern lean_object* l_instReprSigma___rarg___closed__5; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__1; lean_object* l_Lean_Elab_withInfoHole_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_toPPContext(lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoState_assignment___default; -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* 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*); 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*); size_t l_USize_shiftLeft(size_t, size_t); @@ -149,6 +156,7 @@ lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Elab_assignInf lean_object* l_Lean_Elab_withInfoHole___rarg___lambda__1___closed__1; lean_object* l_Lean_Elab_InfoTree_substitute_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Elab_InfoTree_substitute___spec__7(lean_object*, size_t, lean_object*); +lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ppExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__5; @@ -171,6 +179,7 @@ lean_object* l_Lean_Elab_MacroExpansionInfo_format___closed__4; lean_object* l_Lean_Elab_getInfoHoleIdAssignment_x3f(lean_object*); lean_object* l_Std_PersistentArray_toList___rarg(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_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_ReaderT_instMonadReaderT___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*); @@ -208,7 +217,10 @@ extern lean_object* l_Lean_instInhabitedLocalContext___closed__1; lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Elab_InfoTree_substitute___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instMonadInfoTree(lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_ppGoals___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getPos(lean_object*); +lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__2(lean_object*); lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedFileMap___closed__1; lean_object* l_Lean_Elab_withInfoContext_x27_match__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedContextInfo; lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); @@ -225,6 +237,7 @@ extern lean_object* l_Lean_Meta_Context_config___default___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_InfoTree_substitute___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2; lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__3; +lean_object* l_Lean_Syntax_getTailPos(lean_object*); extern lean_object* l_Lean_Core_instInhabitedState___closed__1; lean_object* l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoTree(lean_object*); @@ -300,18 +313,20 @@ return x_1; static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = lean_box(0); x_2 = l_Lean_Core_instInhabitedState___closed__1; -x_3 = l_Lean_MetavarContext_instInhabitedMetavarContext___closed__1; -x_4 = lean_box(0); -x_5 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_5, 0, x_2); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_1); -lean_ctor_set(x_5, 3, x_4); -lean_ctor_set(x_5, 4, x_1); -return x_5; +x_3 = l_Lean_instInhabitedFileMap___closed__1; +x_4 = l_Lean_MetavarContext_instInhabitedMetavarContext___closed__1; +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set(x_6, 2, x_4); +lean_ctor_set(x_6, 3, x_1); +lean_ctor_set(x_6, 4, x_5); +lean_ctor_set(x_6, 5, x_1); +return x_6; } } static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo() { @@ -1205,10 +1220,10 @@ lean_ctor_set(x_7, 0, x_5); lean_ctor_set(x_7, 1, x_2); lean_ctor_set(x_7, 2, x_6); x_8 = lean_ctor_get(x_1, 0); -x_9 = lean_ctor_get(x_1, 1); -x_10 = lean_ctor_get(x_1, 2); -x_11 = lean_ctor_get(x_1, 3); -x_12 = lean_ctor_get(x_1, 4); +x_9 = lean_ctor_get(x_1, 2); +x_10 = lean_ctor_get(x_1, 3); +x_11 = lean_ctor_get(x_1, 4); +x_12 = lean_ctor_get(x_1, 5); x_13 = l_Lean_Meta_instInhabitedCache___closed__1; x_14 = l_Lean_NameSet_empty; x_15 = l_Std_PersistentArray_empty___closed__1; @@ -1436,10 +1451,10 @@ _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_3 = lean_ctor_get(x_1, 0); -x_4 = lean_ctor_get(x_1, 1); -x_5 = lean_ctor_get(x_1, 2); -x_6 = lean_ctor_get(x_1, 3); -x_7 = lean_ctor_get(x_1, 4); +x_4 = lean_ctor_get(x_1, 2); +x_5 = lean_ctor_get(x_1, 3); +x_6 = lean_ctor_get(x_1, 4); +x_7 = lean_ctor_get(x_1, 5); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -1482,130 +1497,229 @@ lean_dec(x_1); return x_5; } } -lean_object* l_Lean_Elab_TermInfo_format___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Std_fmt___at_Lean_Elab_TermInfo_format___spec__1(lean_object* x_1) { _start: { -lean_object* x_8; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); +lean_object* x_2; lean_object* x_3; lean_object* x_4; 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 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); lean_inc(x_3); -x_8 = l_Lean_Meta_inferType(x_1, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_8) == 0) +lean_dec(x_1); +x_4 = l_Std_fmt___at_Lean_Level_PP_Result_format___spec__2(x_2); +x_5 = l_instReprSigma___rarg___closed__5; +x_6 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = l_instReprSigma___rarg___closed__1; +x_8 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = l_Std_fmt___at_Lean_Level_PP_Result_format___spec__2(x_3); +x_10 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +x_11 = l_instReprSigma___rarg___closed__7; +x_12 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +static lean_object* _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__1() { +_start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_8, 0); +lean_object* x_1; +x_1 = lean_mk_string(" @ "); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_TermInfo_format___lambda__1___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_term_x2d_____closed__3; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_TermInfo_format___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_Meta_ppExpr(x_9, x_3, x_4, x_5, x_6, x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_11 = l_Lean_Meta_inferType(x_1, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Meta_ppExpr(x_12, x_6, x_7, x_8, x_9, x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +if (lean_obj_tag(x_14) == 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; -x_13 = lean_ctor_get(x_11, 0); -x_14 = l_Std_Format_join___closed__1; -x_15 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_2); -x_16 = l_Lean_Meta_ppGoal_ppVars___closed__1; -x_17 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l_Std_Format_join___closed__1; x_18 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_13); -x_19 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_14); -lean_ctor_set(x_11, 0, x_19); -return x_11; -} -else -{ -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; -x_20 = lean_ctor_get(x_11, 0); -x_21 = lean_ctor_get(x_11, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_11); -x_22 = l_Std_Format_join___closed__1; +lean_ctor_set(x_18, 1, x_5); +x_19 = l_Lean_Meta_ppGoal_ppVars___closed__1; +x_20 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_16); +x_22 = l_Lean_Elab_TermInfo_format___lambda__1___closed__2; x_23 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_2); -x_24 = l_Lean_Meta_ppGoal_ppVars___closed__1; -x_25 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -x_26 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_20); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_ctor_get(x_2, 1); +x_25 = l_Lean_FileMap_toPosition(x_24, x_3); +x_26 = l_Std_fmt___at_Lean_Elab_TermInfo_format___spec__1(x_25); x_27 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_22); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_21); -return x_28; -} -} -else -{ -uint8_t x_29; -lean_dec(x_2); -x_29 = !lean_is_exclusive(x_11); -if (x_29 == 0) -{ -return x_11; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_11, 0); -x_31 = lean_ctor_get(x_11, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_11); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_Elab_TermInfo_format___lambda__1___closed__3; +x_29 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_FileMap_toPosition(x_24, x_4); +x_31 = l_Std_fmt___at_Lean_Elab_TermInfo_format___spec__1(x_30); +x_32 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_32, 0, x_29); lean_ctor_set(x_32, 1, x_31); -return x_32; +x_33 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_17); +lean_ctor_set(x_14, 0, x_33); +return x_14; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_34 = lean_ctor_get(x_14, 0); +x_35 = lean_ctor_get(x_14, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_14); +x_36 = l_Std_Format_join___closed__1; +x_37 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_5); +x_38 = l_Lean_Meta_ppGoal_ppVars___closed__1; +x_39 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_39, 0, x_37); +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_34); +x_41 = l_Lean_Elab_TermInfo_format___lambda__1___closed__2; +x_42 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_ctor_get(x_2, 1); +x_44 = l_Lean_FileMap_toPosition(x_43, x_3); +x_45 = l_Std_fmt___at_Lean_Elab_TermInfo_format___spec__1(x_44); +x_46 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_46, 0, x_42); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Elab_TermInfo_format___lambda__1___closed__3; +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 = l_Lean_FileMap_toPosition(x_43, x_4); +x_50 = l_Std_fmt___at_Lean_Elab_TermInfo_format___spec__1(x_49); +x_51 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_50); +x_52 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_36); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_35); +return x_53; +} +} +else +{ +uint8_t x_54; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_54 = !lean_is_exclusive(x_14); +if (x_54 == 0) +{ +return x_14; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_14, 0); +x_56 = lean_ctor_get(x_14, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_14); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } else { -uint8_t x_33; +uint8_t x_58; +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_33 = !lean_is_exclusive(x_8); -if (x_33 == 0) +x_58 = !lean_is_exclusive(x_11); +if (x_58 == 0) { -return x_8; +return x_11; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_8, 0); -x_35 = lean_ctor_get(x_8, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_8); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_11, 0); +x_60 = lean_ctor_get(x_11, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_11); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; } } } @@ -1613,31 +1727,79 @@ return x_36; lean_object* l_Lean_Elab_TermInfo_format(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_4 = lean_ctor_get(x_2, 0); lean_inc(x_4); -x_5 = lean_ctor_get(x_2, 1); +x_5 = lean_ctor_get(x_2, 2); lean_inc(x_5); +x_6 = l_Lean_Syntax_getPos(x_5); +x_7 = l_Lean_Syntax_getTailPos(x_5); +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); lean_dec(x_2); -lean_inc(x_5); -x_6 = lean_alloc_closure((void*)(l_Lean_Meta_ppExpr___boxed), 6, 1); -lean_closure_set(x_6, 0, x_5); -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_TermInfo_format___lambda__1), 7, 1); -lean_closure_set(x_7, 0, x_5); -x_8 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); -lean_closure_set(x_8, 0, x_6); -lean_closure_set(x_8, 1, x_7); -x_9 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_1, x_4, x_8, x_3); -return x_9; +lean_inc(x_8); +x_9 = lean_alloc_closure((void*)(l_Lean_Meta_ppExpr___boxed), 6, 1); +lean_closure_set(x_9, 0, x_8); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_18; +x_18 = lean_unsigned_to_nat(0u); +x_10 = x_18; +goto block_17; +} +else +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_6, 0); +lean_inc(x_19); +lean_dec(x_6); +x_10 = x_19; +goto block_17; +} +block_17: +{ +lean_object* x_11; +if (lean_obj_tag(x_7) == 0) +{ +lean_inc(x_10); +x_11 = x_10; +goto block_15; +} +else +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_7, 0); +lean_inc(x_16); +lean_dec(x_7); +x_11 = x_16; +goto block_15; +} +block_15: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_inc(x_1); +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_TermInfo_format___lambda__1___boxed), 10, 4); +lean_closure_set(x_12, 0, x_8); +lean_closure_set(x_12, 1, x_1); +lean_closure_set(x_12, 2, x_10); +lean_closure_set(x_12, 3, x_11); +x_13 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); +lean_closure_set(x_13, 0, x_9); +lean_closure_set(x_13, 1, x_12); +x_14 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_1, x_4, x_13, x_3); +lean_dec(x_1); +return x_14; } } -lean_object* l_Lean_Elab_TermInfo_format___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +} +} +lean_object* l_Lean_Elab_TermInfo_format___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_4; -x_4 = l_Lean_Elab_TermInfo_format(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; +lean_object* x_11; +x_11 = l_Lean_Elab_TermInfo_format___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_11; } } lean_object* l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___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) { @@ -2050,288 +2212,296 @@ uint8_t x_4; x_4 = !lean_is_exclusive(x_1); if (x_4 == 0) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 2); +x_6 = lean_ctor_get(x_1, 1); x_7 = lean_ctor_get(x_1, 3); x_8 = lean_ctor_get(x_1, 4); -x_9 = lean_ctor_get(x_1, 1); -lean_dec(x_9); -x_10 = lean_ctor_get(x_2, 0); -lean_inc(x_10); +x_9 = lean_ctor_get(x_1, 5); +x_10 = lean_ctor_get(x_1, 2); +lean_dec(x_10); +x_11 = lean_ctor_get(x_2, 0); +lean_inc(x_11); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_ctor_set(x_1, 1, x_10); -x_11 = lean_ctor_get(x_2, 3); -lean_inc(x_11); -x_12 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_12, 0, x_5); -lean_ctor_set(x_12, 1, x_11); -lean_ctor_set(x_12, 2, x_6); -lean_ctor_set(x_12, 3, x_7); -lean_ctor_set(x_12, 4, x_8); -x_13 = lean_ctor_get(x_2, 1); -lean_inc(x_13); -x_14 = l_Lean_Elab_ContextInfo_ppGoals(x_1, x_13, x_3); +lean_ctor_set(x_1, 2, x_11); +x_12 = lean_ctor_get(x_2, 3); +lean_inc(x_12); +x_13 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_13, 0, x_5); +lean_ctor_set(x_13, 1, x_6); +lean_ctor_set(x_13, 2, x_12); +lean_ctor_set(x_13, 3, x_7); +lean_ctor_set(x_13, 4, x_8); +lean_ctor_set(x_13, 5, x_9); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +x_15 = l_Lean_Elab_ContextInfo_ppGoals(x_1, x_14, x_3); lean_dec(x_1); -if (lean_obj_tag(x_14) == 0) +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_2, 4); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -lean_dec(x_2); -x_18 = l_Lean_Elab_ContextInfo_ppGoals(x_12, x_17, x_16); -lean_dec(x_12); -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; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_20 = lean_ctor_get(x_18, 0); -x_21 = l_Lean_Elab_TacticInfo_format___closed__2; -x_22 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_15); -x_23 = l_Lean_Elab_TacticInfo_format___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); -x_25 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_20); -x_26 = l_Std_Format_join___closed__1; -x_27 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_18, 0, x_27); -return x_18; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_28 = lean_ctor_get(x_18, 0); -x_29 = lean_ctor_get(x_18, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_18); -x_30 = l_Lean_Elab_TacticInfo_format___closed__2; -x_31 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_15); -x_32 = l_Lean_Elab_TacticInfo_format___closed__4; -x_33 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -x_34 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_28); -x_35 = l_Std_Format_join___closed__1; -x_36 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, 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_29); -return x_37; -} -} -else -{ -uint8_t x_38; lean_dec(x_15); -x_38 = !lean_is_exclusive(x_18); -if (x_38 == 0) -{ -return x_18; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_18, 0); -x_40 = lean_ctor_get(x_18, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_18); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else -{ -uint8_t x_42; -lean_dec(x_12); +x_18 = lean_ctor_get(x_2, 4); +lean_inc(x_18); lean_dec(x_2); -x_42 = !lean_is_exclusive(x_14); -if (x_42 == 0) +x_19 = l_Lean_Elab_ContextInfo_ppGoals(x_13, x_18, x_17); +lean_dec(x_13); +if (lean_obj_tag(x_19) == 0) { -return x_14; +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_21 = lean_ctor_get(x_19, 0); +x_22 = l_Lean_Elab_TacticInfo_format___closed__2; +x_23 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_16); +x_24 = l_Lean_Elab_TacticInfo_format___closed__4; +x_25 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_21); +x_27 = l_Std_Format_join___closed__1; +x_28 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_19, 0, x_28); +return x_19; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_14, 0); -x_44 = lean_ctor_get(x_14, 1); +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; +x_29 = lean_ctor_get(x_19, 0); +x_30 = lean_ctor_get(x_19, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_19); +x_31 = l_Lean_Elab_TacticInfo_format___closed__2; +x_32 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_16); +x_33 = l_Lean_Elab_TacticInfo_format___closed__4; +x_34 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_35 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_29); +x_36 = l_Std_Format_join___closed__1; +x_37 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_30); +return x_38; +} +} +else +{ +uint8_t x_39; +lean_dec(x_16); +x_39 = !lean_is_exclusive(x_19); +if (x_39 == 0) +{ +return x_19; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_19, 0); +x_41 = lean_ctor_get(x_19, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_19); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +lean_dec(x_13); +lean_dec(x_2); +x_43 = !lean_is_exclusive(x_15); +if (x_43 == 0) +{ +return x_15; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_15, 0); +x_45 = lean_ctor_get(x_15, 1); +lean_inc(x_45); lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_14); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_dec(x_15); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } else { -lean_object* x_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; -x_46 = lean_ctor_get(x_1, 0); -x_47 = lean_ctor_get(x_1, 2); -x_48 = lean_ctor_get(x_1, 3); -x_49 = lean_ctor_get(x_1, 4); -lean_inc(x_49); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_1); -x_50 = lean_ctor_get(x_2, 0); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_47 = lean_ctor_get(x_1, 0); +x_48 = lean_ctor_get(x_1, 1); +x_49 = lean_ctor_get(x_1, 3); +x_50 = lean_ctor_get(x_1, 4); +x_51 = lean_ctor_get(x_1, 5); +lean_inc(x_51); lean_inc(x_50); lean_inc(x_49); lean_inc(x_48); lean_inc(x_47); -lean_inc(x_46); -x_51 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_51, 0, x_46); -lean_ctor_set(x_51, 1, x_50); -lean_ctor_set(x_51, 2, x_47); -lean_ctor_set(x_51, 3, x_48); -lean_ctor_set(x_51, 4, x_49); -x_52 = lean_ctor_get(x_2, 3); +lean_dec(x_1); +x_52 = lean_ctor_get(x_2, 0); lean_inc(x_52); -x_53 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_53, 0, x_46); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_53, 2, x_47); -lean_ctor_set(x_53, 3, x_48); -lean_ctor_set(x_53, 4, x_49); -x_54 = lean_ctor_get(x_2, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +x_53 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_53, 0, x_47); +lean_ctor_set(x_53, 1, x_48); +lean_ctor_set(x_53, 2, x_52); +lean_ctor_set(x_53, 3, x_49); +lean_ctor_set(x_53, 4, x_50); +lean_ctor_set(x_53, 5, x_51); +x_54 = lean_ctor_get(x_2, 3); lean_inc(x_54); -x_55 = l_Lean_Elab_ContextInfo_ppGoals(x_51, x_54, x_3); -lean_dec(x_51); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_55, 0); +x_55 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_55, 0, x_47); +lean_ctor_set(x_55, 1, x_48); +lean_ctor_set(x_55, 2, x_54); +lean_ctor_set(x_55, 3, x_49); +lean_ctor_set(x_55, 4, x_50); +lean_ctor_set(x_55, 5, x_51); +x_56 = lean_ctor_get(x_2, 1); lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = lean_ctor_get(x_2, 4); +x_57 = l_Lean_Elab_ContextInfo_ppGoals(x_53, x_56, x_3); +lean_dec(x_53); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); -lean_dec(x_2); -x_59 = l_Lean_Elab_ContextInfo_ppGoals(x_53, x_58, x_57); -lean_dec(x_53); -if (lean_obj_tag(x_59) == 0) -{ -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_59, 0); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_ctor_get(x_2, 4); lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_62 = x_59; -} else { - lean_dec_ref(x_59); - x_62 = lean_box(0); -} -x_63 = l_Lean_Elab_TacticInfo_format___closed__2; -x_64 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_56); -x_65 = l_Lean_Elab_TacticInfo_format___closed__4; -x_66 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -x_67 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_60); -x_68 = l_Std_Format_join___closed__1; -x_69 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -if (lean_is_scalar(x_62)) { - x_70 = lean_alloc_ctor(0, 2, 0); -} else { - x_70 = x_62; -} -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_61); -return x_70; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -lean_dec(x_56); -x_71 = lean_ctor_get(x_59, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_59, 1); -lean_inc(x_72); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_73 = x_59; -} else { - lean_dec_ref(x_59); - x_73 = lean_box(0); -} -if (lean_is_scalar(x_73)) { - x_74 = lean_alloc_ctor(1, 2, 0); -} else { - x_74 = x_73; -} -lean_ctor_set(x_74, 0, x_71); -lean_ctor_set(x_74, 1, x_72); -return x_74; -} -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_53); lean_dec(x_2); -x_75 = lean_ctor_get(x_55, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_55, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_77 = x_55; +x_61 = l_Lean_Elab_ContextInfo_ppGoals(x_55, x_60, x_59); +lean_dec(x_55); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_64 = x_61; } else { - lean_dec_ref(x_55); - x_77 = lean_box(0); + lean_dec_ref(x_61); + x_64 = lean_box(0); } -if (lean_is_scalar(x_77)) { - x_78 = lean_alloc_ctor(1, 2, 0); +x_65 = l_Lean_Elab_TacticInfo_format___closed__2; +x_66 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_58); +x_67 = l_Lean_Elab_TacticInfo_format___closed__4; +x_68 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_62); +x_70 = l_Std_Format_join___closed__1; +x_71 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +if (lean_is_scalar(x_64)) { + x_72 = lean_alloc_ctor(0, 2, 0); } else { - x_78 = x_77; + x_72 = x_64; } -lean_ctor_set(x_78, 0, x_75); -lean_ctor_set(x_78, 1, x_76); -return x_78; +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_63); +return x_72; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_58); +x_73 = lean_ctor_get(x_61, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_61, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_75 = x_61; +} else { + lean_dec_ref(x_61); + x_75 = lean_box(0); +} +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(1, 2, 0); +} else { + x_76 = x_75; +} +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_74); +return x_76; +} +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_55); +lean_dec(x_2); +x_77 = lean_ctor_get(x_57, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_57, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_79 = x_57; +} else { + lean_dec_ref(x_57); + x_79 = lean_box(0); +} +if (lean_is_scalar(x_79)) { + x_80 = lean_alloc_ctor(1, 2, 0); +} else { + x_80 = x_79; +} +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_78); +return x_80; } } } @@ -2576,7 +2746,6 @@ x_6 = lean_ctor_get(x_2, 0); lean_inc(x_6); lean_dec(x_2); x_7 = l_Lean_Elab_TermInfo_format(x_1, x_6, x_3); -lean_dec(x_1); return x_7; } default: @@ -4596,7 +4765,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(181u); +x_3 = lean_unsigned_to_nat(184u); 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); @@ -4887,7 +5056,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_withInfoHole___rarg___lambda__1___closed__3; -x_3 = lean_unsigned_to_nat(201u); +x_3 = lean_unsigned_to_nat(204u); x_4 = lean_unsigned_to_nat(8u); x_5 = l_Lean_Elab_withInfoHole___rarg___lambda__1___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -5306,6 +5475,12 @@ l_Lean_Elab_instInhabitedInfoState___closed__1 = _init_l_Lean_Elab_instInhabited lean_mark_persistent(l_Lean_Elab_instInhabitedInfoState___closed__1); l_Lean_Elab_instInhabitedInfoState = _init_l_Lean_Elab_instInhabitedInfoState(); lean_mark_persistent(l_Lean_Elab_instInhabitedInfoState); +l_Lean_Elab_TermInfo_format___lambda__1___closed__1 = _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_TermInfo_format___lambda__1___closed__1); +l_Lean_Elab_TermInfo_format___lambda__1___closed__2 = _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_TermInfo_format___lambda__1___closed__2); +l_Lean_Elab_TermInfo_format___lambda__1___closed__3 = _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_TermInfo_format___lambda__1___closed__3); l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__1 = _init_l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__1); l_Lean_Elab_ContextInfo_ppGoals___closed__1 = _init_l_Lean_Elab_ContextInfo_ppGoals___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index 847f830fb4..29af86b9a1 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -124,6 +124,7 @@ lean_object* l_Lean_Elab_Term_withDepElimPatterns(lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processExplicitArg___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getHead_x3f(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_14562____closed__6; lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -22906,7 +22907,7 @@ lean_inc(x_10); x_11 = l_List_isEmpty___rarg(x_10); if (x_11 == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +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_dec(x_2); x_12 = l_Lean_Meta_Match_counterExamplesToMessageData(x_10); x_13 = l_Lean_Elab_Term_reportMatcherResultErrors___closed__2; @@ -22917,39 +22918,159 @@ x_15 = l_Lean_KernelException_toMessageData___closed__15; x_16 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_17 = lean_ctor_get(x_7, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_7, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_7, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_7, 3); +lean_inc(x_20); +x_21 = lean_ctor_get(x_7, 4); +lean_inc(x_21); +x_22 = lean_ctor_get(x_7, 5); +lean_inc(x_22); +lean_inc(x_20); +x_23 = l_Lean_Syntax_getHead_x3f(x_20); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; uint8_t x_25; +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +x_24 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) { -return x_17; +return x_24; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_17); -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_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_24); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } else { -lean_object* x_22; lean_object* x_23; +uint8_t x_29; +x_29 = !lean_is_exclusive(x_7); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_30 = lean_ctor_get(x_7, 5); +lean_dec(x_30); +x_31 = lean_ctor_get(x_7, 4); +lean_dec(x_31); +x_32 = lean_ctor_get(x_7, 3); +lean_dec(x_32); +x_33 = lean_ctor_get(x_7, 2); +lean_dec(x_33); +x_34 = lean_ctor_get(x_7, 1); +lean_dec(x_34); +x_35 = lean_ctor_get(x_7, 0); +lean_dec(x_35); +x_36 = lean_ctor_get(x_23, 0); +lean_inc(x_36); +lean_dec(x_23); +x_37 = l_Lean_replaceRef(x_36, x_20); +lean_dec(x_20); +lean_dec(x_36); +lean_ctor_set(x_7, 3, x_37); +x_38 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +return x_38; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_38, 0); +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_38); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +else +{ +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_dec(x_7); +x_43 = lean_ctor_get(x_23, 0); +lean_inc(x_43); +lean_dec(x_23); +x_44 = l_Lean_replaceRef(x_43, x_20); +lean_dec(x_20); +lean_dec(x_43); +x_45 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_45, 0, x_17); +lean_ctor_set(x_45, 1, x_18); +lean_ctor_set(x_45, 2, x_19); +lean_ctor_set(x_45, 3, x_44); +lean_ctor_set(x_45, 4, x_21); +lean_ctor_set(x_45, 5, x_22); +x_46 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_16, x_3, x_4, x_5, x_6, x_45, x_8, x_9); +lean_dec(x_8); +lean_dec(x_45); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_49 = x_46; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(1, 2, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_dec(x_10); -x_22 = lean_box(0); -x_23 = l_Lean_Elab_Term_reportMatcherResultErrors___lambda__1(x_2, x_1, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_51 = lean_box(0); +x_52 = l_Lean_Elab_Term_reportMatcherResultErrors___lambda__1(x_2, x_1, x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_2); -return x_23; +return x_52; } } } diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index 81d4e2b5f3..9bc40a72f6 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -19,7 +19,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18___boxed(lean_object**); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_getQuotContent___closed__1; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__11; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__16___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___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7___rarg(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__17; @@ -64,8 +63,8 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__1; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__26; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3986____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_9278____closed__3; extern lean_object* l_Lean_nullKind; @@ -76,6 +75,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead extern lean_object* l_term_x5b___x5d___closed__9; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__3___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_2137____closed__3; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3996____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__2___closed__6; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__26; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__17; @@ -85,13 +85,12 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean extern lean_object* l_myMacro____x40_Init_Notation___hyg_12458____closed__10; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4113____closed__1; uint8_t l_USize_decEq(size_t, size_t); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12458____closed__7; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__4; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__5___rarg(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4138____closed__1; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__9; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__2___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__44; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__5; @@ -100,6 +99,7 @@ extern lean_object* l_term___x2d_____closed__2; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__4(size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__8; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__19; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -117,23 +117,22 @@ lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__26; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__3___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__27; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__15; lean_object* l_Lean_Elab_Term_Quotation_mkTuple_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4128____closed__1; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__17; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__55; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__12; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__18; extern lean_object* l_Lean_identKind___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__8; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__71; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___boxed(lean_object**); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4133____closed__1; extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -146,7 +145,6 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_doElem_quot___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__2; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__4(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63; extern lean_object* l_Lean_Meta_mkPure___closed__4; @@ -169,14 +167,12 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__14; lean_object* l_List_append___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__75; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__5; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__26; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__68; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__6; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__19; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__7; @@ -226,11 +222,11 @@ lean_object* l_ReaderT_pure___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term lean_object* l_Lean_Syntax_getAntiquotTerm(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__11; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__11; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__11; extern lean_object* l_Std_Format_sbracket___closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6051____closed__4; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__27; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__23; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2___boxed(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3(size_t, size_t, lean_object*); @@ -241,7 +237,6 @@ extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1098____close lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__13; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -259,12 +254,11 @@ lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__13; lean_object* l_ReaderT_pure___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__14; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1098____closed__10; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__4; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__19; extern lean_object* l_myMacro____x40_Init_Notation___hyg_14562____closed__5; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__82; extern lean_object* l_Lean_instToMessageDataOption___rarg___closed__4; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -272,19 +266,19 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4133_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4138_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4128_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4143_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4118_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4103_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4108_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4123_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4113_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4006_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4021_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4011_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4001_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3971_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4016_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3976_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3981_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3991_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3996_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3986_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3966_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___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_Term_Quotation_match__syntax_expand_match__5(lean_object*); @@ -294,13 +288,13 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_109____spec__1(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__3___closed__6; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__3; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__74; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__47; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9(lean_object*, lean_object*, size_t, size_t); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1340____closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__7; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__1___closed__3; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3981____closed__1; lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__18; extern lean_object* l_myMacro____x40_Init_Notation___hyg_14562____closed__4; @@ -313,11 +307,9 @@ lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Qu lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_zip___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26___closed__4; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__72; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__30; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__6(lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__10; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_14562____closed__1; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(lean_object*, lean_object*, lean_object*); @@ -345,6 +337,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_dedupli extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__6; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__5; +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__26; extern lean_object* l_Lean_instQuoteBool___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -352,13 +345,16 @@ lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lea lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__29; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3966____closed__1; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_911____closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__7; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__6; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___boxed__const__1; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8(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___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__2___closed__7; lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -383,21 +379,22 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__6; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__17; lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_10295____closed__7; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__4; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4006____closed__1; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4; lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__7; extern lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__8; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6311____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___closed__1; extern lean_object* l_Lean_instQuoteProd___rarg___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4001____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__23; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4143____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__11; extern lean_object* l_myMacro____x40_Init_Notation___hyg_990____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__13; @@ -405,6 +402,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__57; extern lean_object* l_Lean_Meta_mkArrow___closed__2; lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_2885____spec__3(size_t, size_t, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4011____closed__1; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12136____closed__6; @@ -418,6 +416,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy extern lean_object* l_instReprBool___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__6; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate_match__3(lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__21; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__3___closed__3; extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__2; @@ -434,14 +433,11 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_sepByElemParser___closed__1; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1098____closed__11; -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__20; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__3(lean_object*); extern lean_object* l_Lean_MessageData_instCoeOptionExprMessageData___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__15___boxed(lean_object**); extern lean_object* l_myMacro____x40_Init_Notation___hyg_14562____closed__2; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4118____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__4; extern lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__13; @@ -468,11 +464,14 @@ extern lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__22(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__13; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__13; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__19; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__10(lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__12; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__21; lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__4; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3991____closed__1; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__23; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2885____closed__1; @@ -481,7 +480,6 @@ lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__14; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__1; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4123____closed__1; lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__8; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1098____closed__33; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; @@ -498,18 +496,17 @@ lean_object* l_Lean_Elab_Term_Quotation_mkTuple___boxed(lean_object*, lean_objec lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__20; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__28; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__8; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__14; lean_object* l___private_Init_Meta_0__Lean_quoteName(lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__78; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__2; extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3357____closed__30; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__2(lean_object*); +lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -519,7 +516,7 @@ lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Qu lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__24; extern lean_object* l_Std_Format_paren___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_11738_(lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_11601_(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__3; @@ -536,7 +533,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__5; extern lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__2; lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__49; @@ -548,6 +544,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__1; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1098____closed__25; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__25; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__28; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__4___rarg(lean_object*, lean_object*); extern lean_object* l_instReprList___rarg___closed__2; @@ -558,7 +555,6 @@ extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__10; extern lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__1; lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23(lean_object*); lean_object* l_String_dropRight(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__77; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15; extern lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__2; @@ -594,9 +590,9 @@ lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__2; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__8; extern lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__1; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__7; extern lean_object* l_Lean_instToExprUnit___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__20; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__22; @@ -610,7 +606,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lea lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__18___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*); extern lean_object* l_Lean_Meta_DiscrTree_Trie_format___rarg___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__27___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_5890____closed__20; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isAtom(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__9; @@ -624,15 +619,19 @@ extern lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__4(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, 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_6168____closed__20; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms_match__1(lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__25; extern lean_object* l_Lean_Parser_Term_let_x2a___elambda__1___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4016____closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__7; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__2___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3(lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___boxed(lean_object**); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1202____closed__7; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4021____closed__1; extern lean_object* l_term_x2d_____closed__3; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__25; @@ -650,7 +649,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__32; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__10; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__24; extern lean_object* l_Option_get_x21___rarg___closed__4; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_mkApp___closed__1; @@ -660,15 +658,16 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOu lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__13(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12458____closed__13; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__13___rarg(lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__22; lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1; extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__12; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__17___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_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__29; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___boxed(lean_object**); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__15; lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__6; @@ -679,32 +678,30 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__20; lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__7; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__4___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5271____closed__3; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4138_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4128_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4123_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4133_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4113_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4118_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4108_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4103_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4143_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3976_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4016_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4021_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3971_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3981_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3966_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4011_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4001_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3996_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4006_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3991_(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3986_(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__5; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1340____closed__8; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__76; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__1(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__18; @@ -715,8 +712,6 @@ extern lean_object* l_Id_instMonadId; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__22; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__53; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__15; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__18; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -731,11 +726,14 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lea lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__1(lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7(lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__5; lean_object* l_Lean_Syntax_getAntiquotSpliceSuffix(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__14; extern lean_object* l_Lean_Parser_Term_prio_quot___elambda__1___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__2___closed__9; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__14; @@ -747,7 +745,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead extern lean_object* l_Lean_instQuoteSubstring___closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__3; lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__16; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__5; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(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*); @@ -757,6 +754,7 @@ lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Ter lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__5; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__6; +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3971____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -771,13 +769,13 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy extern lean_object* l_List_head_x21___rarg___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__1___rarg(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3976____closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__14; lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__2___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__28; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4103____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__13; lean_object* l_Lean_Syntax_getPos(lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_911____closed__10; @@ -793,7 +791,6 @@ lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Qu lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__1; extern lean_object* l_Lean_instInhabitedName; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___boxed(lean_object**); @@ -802,18 +799,15 @@ lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__12(lean_object*); lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__17; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11084____closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__5___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4108____closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__12___closed__2; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__45; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__4; -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__5; extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3424____closed__5; @@ -829,14 +823,12 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__9; lean_object* lean_mk_array(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__8; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__1; lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; lean_object* l_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__16; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__22; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1340____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__58; @@ -847,6 +839,7 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__8; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__12___closed__1; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__26; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13; lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2885____closed__6; @@ -858,7 +851,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__32; extern lean_object* l_Lean_Parser_Tactic_changeWith___closed__3; lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__73; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__17; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2; @@ -876,10 +869,10 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__3; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__24; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__16; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__6; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__80; extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -888,16 +881,15 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead extern lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__23; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__31; lean_object* l_Lean_Syntax_antiquotSpliceKind_x3f(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(lean_object*, lean_object*); extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__6; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__14; lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__7; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__10; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___boxed(lean_object**); @@ -917,7 +909,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate_match__2(lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___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*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__6; lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1(lean_object*, lean_object*); @@ -925,13 +917,13 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lea lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26___closed__6; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__79; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__2(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__1___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__18; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__9; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__20; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___boxed(lean_object**); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1098____closed__15; @@ -939,16 +931,14 @@ lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__15; lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__9; +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__24; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__21; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__2___closed__1; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__13; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1098____closed__5; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13985____closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__6___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3; -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__29; extern lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___closed__2; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -957,7 +947,6 @@ extern lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__2___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___boxed__const__1; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__81; lean_object* l_Lean_Syntax_antiquotKind_x3f(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3; @@ -984,14 +973,15 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMat extern lean_object* l___regBuiltinParser_Lean_Parser_Term_ident___closed__1; lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__25; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__5(lean_object*); extern lean_object* l_Std_Format_paren___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__43; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__1(lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__18; extern lean_object* l_myMacro____x40_Init_Notation___hyg_2137____closed__2; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__15; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__4___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); @@ -10288,7 +10278,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; -x_1 = lean_mk_string("SourceInfo.mk"); +x_1 = lean_mk_string("addMacroScope"); return x_1; } } @@ -10318,17 +10308,19 @@ return x_4; static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__59() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("SourceInfo"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__56; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__59; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__56; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -10337,9 +10329,11 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; -x_2 = l_Lean_instQuoteProd___rarg___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -10347,169 +10341,38 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__59; -x_3 = lean_name_mk_string(x_1, x_2); +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62; -x_2 = l_Lean_instQuoteProd___rarg___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__66() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__3; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__67() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__66; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__68() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("addMacroScope"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__69() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__68; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__68; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__69; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__71() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__68; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__72() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__68; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__73() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__72; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__74() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__73; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__75() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("mainModule"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__76() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__75; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__77() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__75; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__76; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -10517,17 +10380,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__78() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__66() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__75; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__79() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__67() { _start: { lean_object* x_1; @@ -10535,22 +10398,22 @@ x_1 = lean_mk_string("scp"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__80() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__68() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__79; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__67; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__81() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__69() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__79; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__67; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__80; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__68; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -10558,12 +10421,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__82() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__79; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__67; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -11719,7 +11582,7 @@ lean_dec(x_7); x_472 = !lean_is_exclusive(x_471); if (x_472 == 0) { -lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; +lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; x_473 = lean_ctor_get(x_471, 0); x_474 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__52; lean_inc(x_469); @@ -11735,531 +11598,420 @@ lean_ctor_set(x_1, 1, x_478); lean_ctor_set(x_1, 0, x_477); x_480 = l_Array_empty___closed__1; x_481 = lean_array_push(x_480, x_1); -x_482 = l_prec_x28___x29___closed__3; +x_482 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__48; +lean_inc(x_469); +lean_inc(x_473); +x_483 = l_Lean_addMacroScope(x_473, x_482, x_469); +x_484 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__47; +x_485 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_485, 0, x_477); +lean_ctor_set(x_485, 1, x_484); +lean_ctor_set(x_485, 2, x_483); +lean_ctor_set(x_485, 3, x_476); +x_486 = lean_array_push(x_480, x_485); +x_487 = l_prec_x28___x29___closed__3; lean_inc(x_466); -x_483 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_483, 0, x_466); -lean_ctor_set(x_483, 1, x_482); -x_484 = lean_array_push(x_480, x_483); -x_485 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; +x_488 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_488, 0, x_466); +lean_ctor_set(x_488, 1, x_487); +x_489 = lean_array_push(x_480, x_488); +x_490 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__59; lean_inc(x_469); lean_inc(x_473); -x_486 = l_Lean_addMacroScope(x_473, x_485, x_469); -x_487 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__58; -x_488 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; -x_489 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_489, 0, x_477); -lean_ctor_set(x_489, 1, x_487); -lean_ctor_set(x_489, 2, x_486); -lean_ctor_set(x_489, 3, x_488); -x_490 = lean_array_push(x_480, x_489); -x_491 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__3___closed__6; +x_491 = l_Lean_addMacroScope(x_473, x_490, x_469); +x_492 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__58; +x_493 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62; +x_494 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_494, 0, x_477); +lean_ctor_set(x_494, 1, x_492); +lean_ctor_set(x_494, 2, x_491); +lean_ctor_set(x_494, 3, x_493); +x_495 = lean_array_push(x_480, x_494); +x_496 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__66; lean_inc(x_469); lean_inc(x_473); -x_492 = l_Lean_addMacroScope(x_473, x_491, x_469); -x_493 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__3___closed__5; -x_494 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__67; -x_495 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_495, 0, x_477); -lean_ctor_set(x_495, 1, x_493); -lean_ctor_set(x_495, 2, x_492); -lean_ctor_set(x_495, 3, x_494); -lean_inc(x_495); -x_496 = lean_array_push(x_480, x_495); -lean_inc(x_495); -x_497 = lean_array_push(x_496, x_495); -x_498 = lean_array_push(x_497, x_495); -x_499 = l_Lean_nullKind___closed__2; -x_500 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_500, 0, x_499); -lean_ctor_set(x_500, 1, x_498); -x_501 = lean_array_push(x_490, x_500); -x_502 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; -x_503 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_503, 0, x_502); -lean_ctor_set(x_503, 1, x_501); -x_504 = lean_array_push(x_480, x_503); -x_505 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; -x_506 = lean_array_push(x_504, x_505); -x_507 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_507, 0, x_499); -lean_ctor_set(x_507, 1, x_506); -lean_inc(x_484); -x_508 = lean_array_push(x_484, x_507); -x_509 = l_prec_x28___x29___closed__7; -x_510 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_510, 0, x_466); -lean_ctor_set(x_510, 1, x_509); -lean_inc(x_510); -x_511 = lean_array_push(x_508, x_510); -x_512 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; -x_513 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_513, 0, x_512); -lean_ctor_set(x_513, 1, x_511); -x_514 = lean_array_push(x_480, x_513); -x_515 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__71; -lean_inc(x_469); -lean_inc(x_473); -x_516 = l_Lean_addMacroScope(x_473, x_515, x_469); -x_517 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70; -x_518 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__74; -x_519 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_519, 0, x_477); -lean_ctor_set(x_519, 1, x_517); -lean_ctor_set(x_519, 2, x_516); -lean_ctor_set(x_519, 3, x_518); -x_520 = lean_array_push(x_480, x_519); -x_521 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__78; -lean_inc(x_469); -lean_inc(x_473); -x_522 = l_Lean_addMacroScope(x_473, x_521, x_469); -x_523 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__77; -x_524 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_524, 0, x_477); -lean_ctor_set(x_524, 1, x_523); -lean_ctor_set(x_524, 2, x_522); -lean_ctor_set(x_524, 3, x_476); -x_525 = lean_array_push(x_480, x_524); -x_526 = lean_array_push(x_525, x_464); -x_527 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__82; -x_528 = l_Lean_addMacroScope(x_473, x_527, x_469); -x_529 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__81; -x_530 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_530, 0, x_477); -lean_ctor_set(x_530, 1, x_529); -lean_ctor_set(x_530, 2, x_528); -lean_ctor_set(x_530, 3, x_476); -x_531 = lean_array_push(x_526, x_530); -x_532 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_532, 0, x_499); -lean_ctor_set(x_532, 1, x_531); -x_533 = lean_array_push(x_520, x_532); -x_534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_534, 0, x_502); -lean_ctor_set(x_534, 1, x_533); -x_535 = lean_array_push(x_480, x_534); -x_536 = lean_array_push(x_535, x_505); -x_537 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_537, 0, x_499); -lean_ctor_set(x_537, 1, x_536); -x_538 = lean_array_push(x_484, x_537); -x_539 = lean_array_push(x_538, x_510); -x_540 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_540, 0, x_512); -lean_ctor_set(x_540, 1, x_539); -x_541 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__22(x_463); -x_542 = lean_ctor_get(x_456, 0); -lean_inc(x_542); -x_543 = lean_ctor_get(x_456, 1); -lean_inc(x_543); -x_544 = lean_ctor_get(x_456, 2); -lean_inc(x_544); +x_497 = l_Lean_addMacroScope(x_473, x_496, x_469); +x_498 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; +x_499 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_499, 0, x_477); +lean_ctor_set(x_499, 1, x_498); +lean_ctor_set(x_499, 2, x_497); +lean_ctor_set(x_499, 3, x_476); +x_500 = lean_array_push(x_480, x_499); +x_501 = lean_array_push(x_500, x_464); +x_502 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70; +x_503 = l_Lean_addMacroScope(x_473, x_502, x_469); +x_504 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__69; +x_505 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_505, 0, x_477); +lean_ctor_set(x_505, 1, x_504); +lean_ctor_set(x_505, 2, x_503); +lean_ctor_set(x_505, 3, x_476); +x_506 = lean_array_push(x_501, x_505); +x_507 = l_Lean_nullKind___closed__2; +x_508 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_508, 0, x_507); +lean_ctor_set(x_508, 1, x_506); +x_509 = lean_array_push(x_495, x_508); +x_510 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; +x_511 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_511, 0, x_510); +lean_ctor_set(x_511, 1, x_509); +x_512 = lean_array_push(x_480, x_511); +x_513 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; +x_514 = lean_array_push(x_512, x_513); +x_515 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_515, 0, x_507); +lean_ctor_set(x_515, 1, x_514); +x_516 = lean_array_push(x_489, x_515); +x_517 = l_prec_x28___x29___closed__7; +x_518 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_518, 0, x_466); +lean_ctor_set(x_518, 1, x_517); +x_519 = lean_array_push(x_516, x_518); +x_520 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; +x_521 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_521, 0, x_520); +lean_ctor_set(x_521, 1, x_519); +x_522 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__22(x_463); +x_523 = lean_ctor_get(x_456, 0); +lean_inc(x_523); +x_524 = lean_ctor_get(x_456, 1); +lean_inc(x_524); +x_525 = lean_ctor_get(x_456, 2); +lean_inc(x_525); lean_dec(x_456); -x_545 = lean_string_utf8_extract(x_542, x_543, x_544); -lean_dec(x_544); -lean_dec(x_543); -lean_dec(x_542); -x_546 = l_Lean_Syntax_mkStrLit(x_545, x_477); -lean_dec(x_545); -x_547 = l_Lean_mkOptionalNode___closed__2; -x_548 = lean_array_push(x_547, x_546); -x_549 = l_Lean_instQuoteSubstring___closed__4; -x_550 = l_Lean_Syntax_mkCApp(x_549, x_548); -x_551 = lean_array_push(x_514, x_550); -x_552 = lean_array_push(x_551, x_540); -x_553 = lean_array_push(x_552, x_541); -x_554 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_554, 0, x_499); -lean_ctor_set(x_554, 1, x_553); -x_555 = lean_array_push(x_481, x_554); -x_556 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_556, 0, x_502); -lean_ctor_set(x_556, 1, x_555); -lean_ctor_set(x_471, 0, x_556); +x_526 = lean_string_utf8_extract(x_523, x_524, x_525); +lean_dec(x_525); +lean_dec(x_524); +lean_dec(x_523); +x_527 = l_Lean_Syntax_mkStrLit(x_526, x_477); +lean_dec(x_526); +x_528 = l_Lean_mkOptionalNode___closed__2; +x_529 = lean_array_push(x_528, x_527); +x_530 = l_Lean_instQuoteSubstring___closed__4; +x_531 = l_Lean_Syntax_mkCApp(x_530, x_529); +x_532 = lean_array_push(x_486, x_531); +x_533 = lean_array_push(x_532, x_521); +x_534 = lean_array_push(x_533, x_522); +x_535 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_535, 0, x_507); +lean_ctor_set(x_535, 1, x_534); +x_536 = lean_array_push(x_481, x_535); +x_537 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_537, 0, x_510); +lean_ctor_set(x_537, 1, x_536); +lean_ctor_set(x_471, 0, x_537); return x_471; } else { -lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; -x_557 = lean_ctor_get(x_471, 0); -x_558 = lean_ctor_get(x_471, 1); -lean_inc(x_558); -lean_inc(x_557); +lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; +x_538 = lean_ctor_get(x_471, 0); +x_539 = lean_ctor_get(x_471, 1); +lean_inc(x_539); +lean_inc(x_538); lean_dec(x_471); -x_559 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__52; +x_540 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__52; lean_inc(x_469); -lean_inc(x_557); -x_560 = l_Lean_addMacroScope(x_557, x_559, x_469); -x_561 = lean_box(0); -x_562 = l_Lean_instInhabitedSourceInfo___closed__1; -x_563 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__51; -x_564 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__55; -lean_ctor_set(x_1, 3, x_564); -lean_ctor_set(x_1, 2, x_560); -lean_ctor_set(x_1, 1, x_563); -lean_ctor_set(x_1, 0, x_562); -x_565 = l_Array_empty___closed__1; -x_566 = lean_array_push(x_565, x_1); -x_567 = l_prec_x28___x29___closed__3; +lean_inc(x_538); +x_541 = l_Lean_addMacroScope(x_538, x_540, x_469); +x_542 = lean_box(0); +x_543 = l_Lean_instInhabitedSourceInfo___closed__1; +x_544 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__51; +x_545 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__55; +lean_ctor_set(x_1, 3, x_545); +lean_ctor_set(x_1, 2, x_541); +lean_ctor_set(x_1, 1, x_544); +lean_ctor_set(x_1, 0, x_543); +x_546 = l_Array_empty___closed__1; +x_547 = lean_array_push(x_546, x_1); +x_548 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__48; +lean_inc(x_469); +lean_inc(x_538); +x_549 = l_Lean_addMacroScope(x_538, x_548, x_469); +x_550 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__47; +x_551 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_551, 0, x_543); +lean_ctor_set(x_551, 1, x_550); +lean_ctor_set(x_551, 2, x_549); +lean_ctor_set(x_551, 3, x_542); +x_552 = lean_array_push(x_546, x_551); +x_553 = l_prec_x28___x29___closed__3; lean_inc(x_466); -x_568 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_568, 0, x_466); -lean_ctor_set(x_568, 1, x_567); -x_569 = lean_array_push(x_565, x_568); -x_570 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; +x_554 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_554, 0, x_466); +lean_ctor_set(x_554, 1, x_553); +x_555 = lean_array_push(x_546, x_554); +x_556 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__59; lean_inc(x_469); -lean_inc(x_557); -x_571 = l_Lean_addMacroScope(x_557, x_570, x_469); -x_572 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__58; -x_573 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; -x_574 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_574, 0, x_562); +lean_inc(x_538); +x_557 = l_Lean_addMacroScope(x_538, x_556, x_469); +x_558 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__58; +x_559 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62; +x_560 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_560, 0, x_543); +lean_ctor_set(x_560, 1, x_558); +lean_ctor_set(x_560, 2, x_557); +lean_ctor_set(x_560, 3, x_559); +x_561 = lean_array_push(x_546, x_560); +x_562 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__66; +lean_inc(x_469); +lean_inc(x_538); +x_563 = l_Lean_addMacroScope(x_538, x_562, x_469); +x_564 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; +x_565 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_565, 0, x_543); +lean_ctor_set(x_565, 1, x_564); +lean_ctor_set(x_565, 2, x_563); +lean_ctor_set(x_565, 3, x_542); +x_566 = lean_array_push(x_546, x_565); +x_567 = lean_array_push(x_566, x_464); +x_568 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70; +x_569 = l_Lean_addMacroScope(x_538, x_568, x_469); +x_570 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__69; +x_571 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_571, 0, x_543); +lean_ctor_set(x_571, 1, x_570); +lean_ctor_set(x_571, 2, x_569); +lean_ctor_set(x_571, 3, x_542); +x_572 = lean_array_push(x_567, x_571); +x_573 = l_Lean_nullKind___closed__2; +x_574 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_574, 0, x_573); lean_ctor_set(x_574, 1, x_572); -lean_ctor_set(x_574, 2, x_571); -lean_ctor_set(x_574, 3, x_573); -x_575 = lean_array_push(x_565, x_574); -x_576 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__3___closed__6; -lean_inc(x_469); -lean_inc(x_557); -x_577 = l_Lean_addMacroScope(x_557, x_576, x_469); -x_578 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__3___closed__5; -x_579 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__67; -x_580 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_580, 0, x_562); -lean_ctor_set(x_580, 1, x_578); -lean_ctor_set(x_580, 2, x_577); -lean_ctor_set(x_580, 3, x_579); -lean_inc(x_580); -x_581 = lean_array_push(x_565, x_580); -lean_inc(x_580); -x_582 = lean_array_push(x_581, x_580); -x_583 = lean_array_push(x_582, x_580); -x_584 = l_Lean_nullKind___closed__2; -x_585 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_585, 0, x_584); -lean_ctor_set(x_585, 1, x_583); -x_586 = lean_array_push(x_575, x_585); -x_587 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; -x_588 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_588, 0, x_587); -lean_ctor_set(x_588, 1, x_586); -x_589 = lean_array_push(x_565, x_588); -x_590 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; -x_591 = lean_array_push(x_589, x_590); -x_592 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_592, 0, x_584); -lean_ctor_set(x_592, 1, x_591); -lean_inc(x_569); -x_593 = lean_array_push(x_569, x_592); -x_594 = l_prec_x28___x29___closed__7; -x_595 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_595, 0, x_466); -lean_ctor_set(x_595, 1, x_594); -lean_inc(x_595); -x_596 = lean_array_push(x_593, x_595); -x_597 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; -x_598 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_598, 0, x_597); -lean_ctor_set(x_598, 1, x_596); -x_599 = lean_array_push(x_565, x_598); -x_600 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__71; -lean_inc(x_469); -lean_inc(x_557); -x_601 = l_Lean_addMacroScope(x_557, x_600, x_469); -x_602 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70; -x_603 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__74; -x_604 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_604, 0, x_562); -lean_ctor_set(x_604, 1, x_602); -lean_ctor_set(x_604, 2, x_601); -lean_ctor_set(x_604, 3, x_603); -x_605 = lean_array_push(x_565, x_604); -x_606 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__78; -lean_inc(x_469); -lean_inc(x_557); -x_607 = l_Lean_addMacroScope(x_557, x_606, x_469); -x_608 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__77; -x_609 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_609, 0, x_562); -lean_ctor_set(x_609, 1, x_608); -lean_ctor_set(x_609, 2, x_607); -lean_ctor_set(x_609, 3, x_561); -x_610 = lean_array_push(x_565, x_609); -x_611 = lean_array_push(x_610, x_464); -x_612 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__82; -x_613 = l_Lean_addMacroScope(x_557, x_612, x_469); -x_614 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__81; -x_615 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_615, 0, x_562); -lean_ctor_set(x_615, 1, x_614); -lean_ctor_set(x_615, 2, x_613); -lean_ctor_set(x_615, 3, x_561); -x_616 = lean_array_push(x_611, x_615); -x_617 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_617, 0, x_584); -lean_ctor_set(x_617, 1, x_616); -x_618 = lean_array_push(x_605, x_617); -x_619 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_619, 0, x_587); -lean_ctor_set(x_619, 1, x_618); -x_620 = lean_array_push(x_565, x_619); -x_621 = lean_array_push(x_620, x_590); -x_622 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_622, 0, x_584); -lean_ctor_set(x_622, 1, x_621); -x_623 = lean_array_push(x_569, x_622); -x_624 = lean_array_push(x_623, x_595); -x_625 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_625, 0, x_597); -lean_ctor_set(x_625, 1, x_624); -x_626 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__22(x_463); -x_627 = lean_ctor_get(x_456, 0); -lean_inc(x_627); -x_628 = lean_ctor_get(x_456, 1); -lean_inc(x_628); -x_629 = lean_ctor_get(x_456, 2); -lean_inc(x_629); +x_575 = lean_array_push(x_561, x_574); +x_576 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; +x_577 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_577, 0, x_576); +lean_ctor_set(x_577, 1, x_575); +x_578 = lean_array_push(x_546, x_577); +x_579 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; +x_580 = lean_array_push(x_578, x_579); +x_581 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_581, 0, x_573); +lean_ctor_set(x_581, 1, x_580); +x_582 = lean_array_push(x_555, x_581); +x_583 = l_prec_x28___x29___closed__7; +x_584 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_584, 0, x_466); +lean_ctor_set(x_584, 1, x_583); +x_585 = lean_array_push(x_582, x_584); +x_586 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; +x_587 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_587, 0, x_586); +lean_ctor_set(x_587, 1, x_585); +x_588 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__22(x_463); +x_589 = lean_ctor_get(x_456, 0); +lean_inc(x_589); +x_590 = lean_ctor_get(x_456, 1); +lean_inc(x_590); +x_591 = lean_ctor_get(x_456, 2); +lean_inc(x_591); lean_dec(x_456); -x_630 = lean_string_utf8_extract(x_627, x_628, x_629); -lean_dec(x_629); -lean_dec(x_628); -lean_dec(x_627); -x_631 = l_Lean_Syntax_mkStrLit(x_630, x_562); -lean_dec(x_630); -x_632 = l_Lean_mkOptionalNode___closed__2; -x_633 = lean_array_push(x_632, x_631); -x_634 = l_Lean_instQuoteSubstring___closed__4; -x_635 = l_Lean_Syntax_mkCApp(x_634, x_633); -x_636 = lean_array_push(x_599, x_635); -x_637 = lean_array_push(x_636, x_625); -x_638 = lean_array_push(x_637, x_626); -x_639 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_639, 0, x_584); -lean_ctor_set(x_639, 1, x_638); -x_640 = lean_array_push(x_566, x_639); -x_641 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_641, 0, x_587); -lean_ctor_set(x_641, 1, x_640); -x_642 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_642, 0, x_641); -lean_ctor_set(x_642, 1, x_558); -return x_642; +x_592 = lean_string_utf8_extract(x_589, x_590, x_591); +lean_dec(x_591); +lean_dec(x_590); +lean_dec(x_589); +x_593 = l_Lean_Syntax_mkStrLit(x_592, x_543); +lean_dec(x_592); +x_594 = l_Lean_mkOptionalNode___closed__2; +x_595 = lean_array_push(x_594, x_593); +x_596 = l_Lean_instQuoteSubstring___closed__4; +x_597 = l_Lean_Syntax_mkCApp(x_596, x_595); +x_598 = lean_array_push(x_552, x_597); +x_599 = lean_array_push(x_598, x_587); +x_600 = lean_array_push(x_599, x_588); +x_601 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_601, 0, x_573); +lean_ctor_set(x_601, 1, x_600); +x_602 = lean_array_push(x_547, x_601); +x_603 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_603, 0, x_576); +lean_ctor_set(x_603, 1, x_602); +x_604 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_604, 0, x_603); +lean_ctor_set(x_604, 1, x_539); +return x_604; } } else { -lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; -x_643 = lean_ctor_get(x_1, 1); -x_644 = lean_ctor_get(x_1, 2); -x_645 = lean_ctor_get(x_1, 3); -lean_inc(x_645); -lean_inc(x_644); -lean_inc(x_643); +lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; +x_605 = lean_ctor_get(x_1, 1); +x_606 = lean_ctor_get(x_1, 2); +x_607 = lean_ctor_get(x_1, 3); +lean_inc(x_607); +lean_inc(x_606); +lean_inc(x_605); lean_dec(x_1); lean_inc(x_6); -lean_inc(x_644); -x_646 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(x_644, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_647 = lean_ctor_get(x_646, 0); -lean_inc(x_647); -x_648 = lean_ctor_get(x_646, 1); -lean_inc(x_648); -lean_dec(x_646); -x_649 = l_List_append___rarg(x_647, x_645); -x_650 = l___private_Init_Meta_0__Lean_quoteName(x_644); -x_651 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_648); -x_652 = lean_ctor_get(x_651, 0); -lean_inc(x_652); -x_653 = lean_ctor_get(x_651, 1); -lean_inc(x_653); -lean_dec(x_651); -x_654 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_653); +lean_inc(x_606); +x_608 = l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(x_606, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_609 = lean_ctor_get(x_608, 0); +lean_inc(x_609); +x_610 = lean_ctor_get(x_608, 1); +lean_inc(x_610); +lean_dec(x_608); +x_611 = l_List_append___rarg(x_609, x_607); +x_612 = l___private_Init_Meta_0__Lean_quoteName(x_606); +x_613 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(x_6, x_7, x_610); +x_614 = lean_ctor_get(x_613, 0); +lean_inc(x_614); +x_615 = lean_ctor_get(x_613, 1); +lean_inc(x_615); +lean_dec(x_613); +x_616 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_615); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_655 = lean_ctor_get(x_654, 0); -lean_inc(x_655); -x_656 = lean_ctor_get(x_654, 1); -lean_inc(x_656); -lean_dec(x_654); -x_657 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_656); +x_617 = lean_ctor_get(x_616, 0); +lean_inc(x_617); +x_618 = lean_ctor_get(x_616, 1); +lean_inc(x_618); +lean_dec(x_616); +x_619 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_618); lean_dec(x_7); -x_658 = lean_ctor_get(x_657, 0); -lean_inc(x_658); -x_659 = lean_ctor_get(x_657, 1); -lean_inc(x_659); -if (lean_is_exclusive(x_657)) { - lean_ctor_release(x_657, 0); - lean_ctor_release(x_657, 1); - x_660 = x_657; +x_620 = lean_ctor_get(x_619, 0); +lean_inc(x_620); +x_621 = lean_ctor_get(x_619, 1); +lean_inc(x_621); +if (lean_is_exclusive(x_619)) { + lean_ctor_release(x_619, 0); + lean_ctor_release(x_619, 1); + x_622 = x_619; } else { - lean_dec_ref(x_657); - x_660 = lean_box(0); + lean_dec_ref(x_619); + x_622 = lean_box(0); +} +x_623 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__52; +lean_inc(x_617); +lean_inc(x_620); +x_624 = l_Lean_addMacroScope(x_620, x_623, x_617); +x_625 = lean_box(0); +x_626 = l_Lean_instInhabitedSourceInfo___closed__1; +x_627 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__51; +x_628 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__55; +x_629 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_629, 0, x_626); +lean_ctor_set(x_629, 1, x_627); +lean_ctor_set(x_629, 2, x_624); +lean_ctor_set(x_629, 3, x_628); +x_630 = l_Array_empty___closed__1; +x_631 = lean_array_push(x_630, x_629); +x_632 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__48; +lean_inc(x_617); +lean_inc(x_620); +x_633 = l_Lean_addMacroScope(x_620, x_632, x_617); +x_634 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__47; +x_635 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_635, 0, x_626); +lean_ctor_set(x_635, 1, x_634); +lean_ctor_set(x_635, 2, x_633); +lean_ctor_set(x_635, 3, x_625); +x_636 = lean_array_push(x_630, x_635); +x_637 = l_prec_x28___x29___closed__3; +lean_inc(x_614); +x_638 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_638, 0, x_614); +lean_ctor_set(x_638, 1, x_637); +x_639 = lean_array_push(x_630, x_638); +x_640 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__59; +lean_inc(x_617); +lean_inc(x_620); +x_641 = l_Lean_addMacroScope(x_620, x_640, x_617); +x_642 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__58; +x_643 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62; +x_644 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_644, 0, x_626); +lean_ctor_set(x_644, 1, x_642); +lean_ctor_set(x_644, 2, x_641); +lean_ctor_set(x_644, 3, x_643); +x_645 = lean_array_push(x_630, x_644); +x_646 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__66; +lean_inc(x_617); +lean_inc(x_620); +x_647 = l_Lean_addMacroScope(x_620, x_646, x_617); +x_648 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; +x_649 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_649, 0, x_626); +lean_ctor_set(x_649, 1, x_648); +lean_ctor_set(x_649, 2, x_647); +lean_ctor_set(x_649, 3, x_625); +x_650 = lean_array_push(x_630, x_649); +x_651 = lean_array_push(x_650, x_612); +x_652 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70; +x_653 = l_Lean_addMacroScope(x_620, x_652, x_617); +x_654 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__69; +x_655 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_655, 0, x_626); +lean_ctor_set(x_655, 1, x_654); +lean_ctor_set(x_655, 2, x_653); +lean_ctor_set(x_655, 3, x_625); +x_656 = lean_array_push(x_651, x_655); +x_657 = l_Lean_nullKind___closed__2; +x_658 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_658, 0, x_657); +lean_ctor_set(x_658, 1, x_656); +x_659 = lean_array_push(x_645, x_658); +x_660 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; +x_661 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_661, 0, x_660); +lean_ctor_set(x_661, 1, x_659); +x_662 = lean_array_push(x_630, x_661); +x_663 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; +x_664 = lean_array_push(x_662, x_663); +x_665 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_665, 0, x_657); +lean_ctor_set(x_665, 1, x_664); +x_666 = lean_array_push(x_639, x_665); +x_667 = l_prec_x28___x29___closed__7; +x_668 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_668, 0, x_614); +lean_ctor_set(x_668, 1, x_667); +x_669 = lean_array_push(x_666, x_668); +x_670 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; +x_671 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_671, 0, x_670); +lean_ctor_set(x_671, 1, x_669); +x_672 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__22(x_611); +x_673 = lean_ctor_get(x_605, 0); +lean_inc(x_673); +x_674 = lean_ctor_get(x_605, 1); +lean_inc(x_674); +x_675 = lean_ctor_get(x_605, 2); +lean_inc(x_675); +lean_dec(x_605); +x_676 = lean_string_utf8_extract(x_673, x_674, x_675); +lean_dec(x_675); +lean_dec(x_674); +lean_dec(x_673); +x_677 = l_Lean_Syntax_mkStrLit(x_676, x_626); +lean_dec(x_676); +x_678 = l_Lean_mkOptionalNode___closed__2; +x_679 = lean_array_push(x_678, x_677); +x_680 = l_Lean_instQuoteSubstring___closed__4; +x_681 = l_Lean_Syntax_mkCApp(x_680, x_679); +x_682 = lean_array_push(x_636, x_681); +x_683 = lean_array_push(x_682, x_671); +x_684 = lean_array_push(x_683, x_672); +x_685 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_685, 0, x_657); +lean_ctor_set(x_685, 1, x_684); +x_686 = lean_array_push(x_631, x_685); +x_687 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_687, 0, x_660); +lean_ctor_set(x_687, 1, x_686); +if (lean_is_scalar(x_622)) { + x_688 = lean_alloc_ctor(0, 2, 0); +} else { + x_688 = x_622; } -x_661 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__52; -lean_inc(x_655); -lean_inc(x_658); -x_662 = l_Lean_addMacroScope(x_658, x_661, x_655); -x_663 = lean_box(0); -x_664 = l_Lean_instInhabitedSourceInfo___closed__1; -x_665 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__51; -x_666 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__55; -x_667 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_667, 0, x_664); -lean_ctor_set(x_667, 1, x_665); -lean_ctor_set(x_667, 2, x_662); -lean_ctor_set(x_667, 3, x_666); -x_668 = l_Array_empty___closed__1; -x_669 = lean_array_push(x_668, x_667); -x_670 = l_prec_x28___x29___closed__3; -lean_inc(x_652); -x_671 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_671, 0, x_652); -lean_ctor_set(x_671, 1, x_670); -x_672 = lean_array_push(x_668, x_671); -x_673 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__61; -lean_inc(x_655); -lean_inc(x_658); -x_674 = l_Lean_addMacroScope(x_658, x_673, x_655); -x_675 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__58; -x_676 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; -x_677 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_677, 0, x_664); -lean_ctor_set(x_677, 1, x_675); -lean_ctor_set(x_677, 2, x_674); -lean_ctor_set(x_677, 3, x_676); -x_678 = lean_array_push(x_668, x_677); -x_679 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__3___closed__6; -lean_inc(x_655); -lean_inc(x_658); -x_680 = l_Lean_addMacroScope(x_658, x_679, x_655); -x_681 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__3___closed__5; -x_682 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__67; -x_683 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_683, 0, x_664); -lean_ctor_set(x_683, 1, x_681); -lean_ctor_set(x_683, 2, x_680); -lean_ctor_set(x_683, 3, x_682); -lean_inc(x_683); -x_684 = lean_array_push(x_668, x_683); -lean_inc(x_683); -x_685 = lean_array_push(x_684, x_683); -x_686 = lean_array_push(x_685, x_683); -x_687 = l_Lean_nullKind___closed__2; -x_688 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_688, 0, x_687); -lean_ctor_set(x_688, 1, x_686); -x_689 = lean_array_push(x_678, x_688); -x_690 = l_myMacro____x40_Init_Notation___hyg_2137____closed__4; -x_691 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_691, 0, x_690); -lean_ctor_set(x_691, 1, x_689); -x_692 = lean_array_push(x_668, x_691); -x_693 = l_myMacro____x40_Init_Notation___hyg_1340____closed__8; -x_694 = lean_array_push(x_692, x_693); -x_695 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_695, 0, x_687); -lean_ctor_set(x_695, 1, x_694); -lean_inc(x_672); -x_696 = lean_array_push(x_672, x_695); -x_697 = l_prec_x28___x29___closed__7; -x_698 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_698, 0, x_652); -lean_ctor_set(x_698, 1, x_697); -lean_inc(x_698); -x_699 = lean_array_push(x_696, x_698); -x_700 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; -x_701 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_701, 0, x_700); -lean_ctor_set(x_701, 1, x_699); -x_702 = lean_array_push(x_668, x_701); -x_703 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__71; -lean_inc(x_655); -lean_inc(x_658); -x_704 = l_Lean_addMacroScope(x_658, x_703, x_655); -x_705 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70; -x_706 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__74; -x_707 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_707, 0, x_664); -lean_ctor_set(x_707, 1, x_705); -lean_ctor_set(x_707, 2, x_704); -lean_ctor_set(x_707, 3, x_706); -x_708 = lean_array_push(x_668, x_707); -x_709 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__78; -lean_inc(x_655); -lean_inc(x_658); -x_710 = l_Lean_addMacroScope(x_658, x_709, x_655); -x_711 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__77; -x_712 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_712, 0, x_664); -lean_ctor_set(x_712, 1, x_711); -lean_ctor_set(x_712, 2, x_710); -lean_ctor_set(x_712, 3, x_663); -x_713 = lean_array_push(x_668, x_712); -x_714 = lean_array_push(x_713, x_650); -x_715 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__82; -x_716 = l_Lean_addMacroScope(x_658, x_715, x_655); -x_717 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__81; -x_718 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_718, 0, x_664); -lean_ctor_set(x_718, 1, x_717); -lean_ctor_set(x_718, 2, x_716); -lean_ctor_set(x_718, 3, x_663); -x_719 = lean_array_push(x_714, x_718); -x_720 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_720, 0, x_687); -lean_ctor_set(x_720, 1, x_719); -x_721 = lean_array_push(x_708, x_720); -x_722 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_722, 0, x_690); -lean_ctor_set(x_722, 1, x_721); -x_723 = lean_array_push(x_668, x_722); -x_724 = lean_array_push(x_723, x_693); -x_725 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_725, 0, x_687); -lean_ctor_set(x_725, 1, x_724); -x_726 = lean_array_push(x_672, x_725); -x_727 = lean_array_push(x_726, x_698); -x_728 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_728, 0, x_700); -lean_ctor_set(x_728, 1, x_727); -x_729 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__22(x_649); -x_730 = lean_ctor_get(x_643, 0); -lean_inc(x_730); -x_731 = lean_ctor_get(x_643, 1); -lean_inc(x_731); -x_732 = lean_ctor_get(x_643, 2); -lean_inc(x_732); -lean_dec(x_643); -x_733 = lean_string_utf8_extract(x_730, x_731, x_732); -lean_dec(x_732); -lean_dec(x_731); -lean_dec(x_730); -x_734 = l_Lean_Syntax_mkStrLit(x_733, x_664); -lean_dec(x_733); -x_735 = l_Lean_mkOptionalNode___closed__2; -x_736 = lean_array_push(x_735, x_734); -x_737 = l_Lean_instQuoteSubstring___closed__4; -x_738 = l_Lean_Syntax_mkCApp(x_737, x_736); -x_739 = lean_array_push(x_702, x_738); -x_740 = lean_array_push(x_739, x_728); -x_741 = lean_array_push(x_740, x_729); -x_742 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_742, 0, x_687); -lean_ctor_set(x_742, 1, x_741); -x_743 = lean_array_push(x_669, x_742); -x_744 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_744, 0, x_690); -lean_ctor_set(x_744, 1, x_743); -if (lean_is_scalar(x_660)) { - x_745 = lean_alloc_ctor(0, 2, 0); -} else { - x_745 = x_660; -} -lean_ctor_set(x_745, 0, x_744); -lean_ctor_set(x_745, 1, x_659); -return x_745; +lean_ctor_set(x_688, 1, x_621); +return x_688; } } } @@ -13130,11 +12882,11 @@ lean_ctor_set(x_58, 1, x_56); lean_ctor_set(x_58, 2, x_55); lean_ctor_set(x_58, 3, x_57); x_59 = lean_array_push(x_29, x_58); -x_60 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__82; +x_60 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70; lean_inc(x_17); lean_inc(x_21); x_61 = l_Lean_addMacroScope(x_21, x_60, x_17); -x_62 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__81; +x_62 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__69; x_63 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_63, 0, x_25); lean_ctor_set(x_63, 1, x_62); @@ -13159,11 +12911,11 @@ lean_ctor_set(x_72, 1, x_70); lean_ctor_set(x_72, 2, x_69); lean_ctor_set(x_72, 3, x_71); x_73 = lean_array_push(x_29, x_72); -x_74 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__78; +x_74 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__66; lean_inc(x_17); lean_inc(x_21); x_75 = l_Lean_addMacroScope(x_21, x_74, x_17); -x_76 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__77; +x_76 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; x_77 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_77, 0, x_25); lean_ctor_set(x_77, 1, x_76); @@ -13373,11 +13125,11 @@ lean_ctor_set(x_179, 1, x_177); lean_ctor_set(x_179, 2, x_176); lean_ctor_set(x_179, 3, x_178); x_180 = lean_array_push(x_150, x_179); -x_181 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__82; +x_181 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70; lean_inc(x_17); lean_inc(x_141); x_182 = l_Lean_addMacroScope(x_141, x_181, x_17); -x_183 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__81; +x_183 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__69; x_184 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_184, 0, x_146); lean_ctor_set(x_184, 1, x_183); @@ -13402,11 +13154,11 @@ lean_ctor_set(x_193, 1, x_191); lean_ctor_set(x_193, 2, x_190); lean_ctor_set(x_193, 3, x_192); x_194 = lean_array_push(x_150, x_193); -x_195 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__78; +x_195 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__66; lean_inc(x_17); lean_inc(x_141); x_196 = l_Lean_addMacroScope(x_141, x_195, x_17); -x_197 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__77; +x_197 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; x_198 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_198, 0, x_146); lean_ctor_set(x_198, 1, x_197); @@ -13667,7 +13419,7 @@ x_1 = l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__9; return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -13676,13 +13428,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__4; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__1; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__1; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -13690,7 +13442,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__3() { _start: { lean_object* x_1; @@ -13698,22 +13450,22 @@ x_1 = lean_mk_string("elabQuot"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__3; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__3; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__3; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__4; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -13721,17 +13473,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__6() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__3; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__7() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -13740,13 +13492,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__8() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__8; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__7; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__7; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -13754,7 +13506,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__9() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -13764,7 +13516,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__10() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -13776,19 +13528,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__11() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__10; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__10; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__12() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__12() { _start: { lean_object* x_1; @@ -13796,22 +13548,22 @@ x_1 = lean_mk_string("adaptExpander"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__13() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__12; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__12; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__14() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__12; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__12; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__13; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__13; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -13819,51 +13571,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__15() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__12; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__16() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__12; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__17() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__16; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__16; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__18() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__17; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__17; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__19() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__19() { _start: { lean_object* x_1; @@ -13871,22 +13623,22 @@ x_1 = lean_mk_string("stxQuot.expand"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__20() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__19; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__19; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__21() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__19; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__19; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__20; +x_3 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__20; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -13894,7 +13646,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__22() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__22() { _start: { lean_object* x_1; @@ -13902,17 +13654,17 @@ x_1 = lean_mk_string("stxQuot"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__23() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__22; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__22; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__24() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__24() { _start: { lean_object* x_1; @@ -13920,61 +13672,61 @@ x_1 = lean_mk_string("expand"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__25() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__23; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__24; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__23; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__24; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__26() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__2; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__22; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__22; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__27() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__26; -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__24; +x_1 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__26; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__24; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__28() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__27; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__27; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__29() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__28; +x_2 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__28; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -14022,7 +13774,7 @@ lean_inc(x_14); x_20 = l_Lean_addMacroScope(x_14, x_19, x_13); x_21 = lean_box(0); x_22 = l_Lean_instInhabitedSourceInfo___closed__1; -x_23 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__2; +x_23 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__2; x_24 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); @@ -14082,11 +13834,11 @@ x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_12); lean_ctor_set(x_57, 1, x_56); x_58 = lean_array_push(x_17, x_57); -x_59 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__6; +x_59 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__6; lean_inc(x_13); lean_inc(x_14); x_60 = l_Lean_addMacroScope(x_14, x_59, x_13); -x_61 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__5; +x_61 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__5; x_62 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_62, 0, x_22); lean_ctor_set(x_62, 1, x_61); @@ -14105,12 +13857,12 @@ x_69 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_69, 0, x_12); lean_ctor_set(x_69, 1, x_68); x_70 = lean_array_push(x_17, x_69); -x_71 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__9; +x_71 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__9; lean_inc(x_13); lean_inc(x_14); x_72 = l_Lean_addMacroScope(x_14, x_71, x_13); -x_73 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__8; -x_74 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__11; +x_73 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__8; +x_74 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__11; x_75 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_75, 0, x_22); lean_ctor_set(x_75, 1, x_73); @@ -14136,22 +13888,22 @@ x_86 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_86, 0, x_12); lean_ctor_set(x_86, 1, x_85); x_87 = lean_array_push(x_17, x_86); -x_88 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__15; +x_88 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__15; lean_inc(x_13); lean_inc(x_14); x_89 = l_Lean_addMacroScope(x_14, x_88, x_13); -x_90 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__14; -x_91 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__18; +x_90 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__14; +x_91 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__18; x_92 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_92, 0, x_22); lean_ctor_set(x_92, 1, x_90); lean_ctor_set(x_92, 2, x_89); lean_ctor_set(x_92, 3, x_91); x_93 = lean_array_push(x_17, x_92); -x_94 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__25; +x_94 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__25; x_95 = l_Lean_addMacroScope(x_14, x_94, x_13); -x_96 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__21; -x_97 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__29; +x_96 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__21; +x_97 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__29; x_98 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_98, 0, x_22); lean_ctor_set(x_98, 1, x_96); @@ -14211,7 +13963,7 @@ lean_inc(x_117); x_123 = l_Lean_addMacroScope(x_117, x_122, x_116); x_124 = lean_box(0); x_125 = l_Lean_instInhabitedSourceInfo___closed__1; -x_126 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__2; +x_126 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__2; x_127 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_127, 0, x_125); lean_ctor_set(x_127, 1, x_126); @@ -14271,11 +14023,11 @@ x_160 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_160, 0, x_114); lean_ctor_set(x_160, 1, x_159); x_161 = lean_array_push(x_120, x_160); -x_162 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__6; +x_162 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__6; lean_inc(x_116); lean_inc(x_117); x_163 = l_Lean_addMacroScope(x_117, x_162, x_116); -x_164 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__5; +x_164 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__5; x_165 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_165, 0, x_125); lean_ctor_set(x_165, 1, x_164); @@ -14294,12 +14046,12 @@ x_172 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_172, 0, x_114); lean_ctor_set(x_172, 1, x_171); x_173 = lean_array_push(x_120, x_172); -x_174 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__9; +x_174 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__9; lean_inc(x_116); lean_inc(x_117); x_175 = l_Lean_addMacroScope(x_117, x_174, x_116); -x_176 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__8; -x_177 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__11; +x_176 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__8; +x_177 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__11; x_178 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_178, 0, x_125); lean_ctor_set(x_178, 1, x_176); @@ -14325,22 +14077,22 @@ x_189 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_189, 0, x_114); lean_ctor_set(x_189, 1, x_188); x_190 = lean_array_push(x_120, x_189); -x_191 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__15; +x_191 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__15; lean_inc(x_116); lean_inc(x_117); x_192 = l_Lean_addMacroScope(x_117, x_191, x_116); -x_193 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__14; -x_194 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__18; +x_193 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__14; +x_194 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__18; x_195 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_195, 0, x_125); lean_ctor_set(x_195, 1, x_193); lean_ctor_set(x_195, 2, x_192); lean_ctor_set(x_195, 3, x_194); x_196 = lean_array_push(x_120, x_195); -x_197 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__25; +x_197 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__25; x_198 = l_Lean_addMacroScope(x_117, x_197, x_116); -x_199 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__21; -x_200 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__29; +x_199 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__21; +x_200 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__29; x_201 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_201, 0, x_125); lean_ctor_set(x_201, 1, x_199); @@ -14379,7 +14131,7 @@ return x_217; } } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1() { _start: { lean_object* x_1; @@ -14387,366 +14139,366 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_stxQuot_expand), 8, return x_1; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Parser_Level_quot___elambda__1___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4103_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3966_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4103____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3966____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4103_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3966_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4103_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3966_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4103____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3966____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4108_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3971_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4108____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3971____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4108_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3971_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4108_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3971_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__3; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4108____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3971____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4113_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3976_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4113____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3976____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4113_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3976_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4113_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3976_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4113____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3976____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4118_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3981_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4118____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3981____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4118_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3981_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4118_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3981_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4118____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3981____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4123_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3986_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4123____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3986____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4123_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3986_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4123_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3986_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Parser_Tactic_quot___elambda__1___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4123____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3986____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4128_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3991_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4128____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3991____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4128_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3991_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4128_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3991_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4128____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3991____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4133_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3996_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4133____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3996____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4133_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3996_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4133_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3996_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_stx_quot___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4133____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3996____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4138_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4001_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4138____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4001____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4138_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4001_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4138_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4001_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_prec_quot___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4138____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4001____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4143_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4006_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4143____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4006____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4143_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4006_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4143_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4006_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_attr_quot___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4143____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4006____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4011_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4011____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4011_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4011_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_prio_quot___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4011____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4016_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4016____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4016_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4016_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Parser_Term_doElem_quot___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4016____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4021_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4021____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4021_), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4021_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l_Lean_Syntax_getQuotContent___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4021____closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } @@ -20425,7 +20177,7 @@ lean_ctor_set(x_40, 0, x_21); lean_ctor_set(x_40, 1, x_39); lean_inc(x_2); x_41 = lean_array_push(x_2, x_40); -x_42 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__20; +x_42 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20; lean_inc(x_1); x_43 = lean_name_mk_string(x_1, x_42); lean_inc(x_2); @@ -20748,7 +20500,7 @@ lean_ctor_set(x_180, 0, x_21); lean_ctor_set(x_180, 1, x_179); lean_inc(x_2); x_181 = lean_array_push(x_2, x_180); -x_182 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__20; +x_182 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20; lean_inc(x_1); x_183 = lean_name_mk_string(x_1, x_182); lean_inc(x_2); @@ -21586,27 +21338,51 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("yes"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__3; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("yes"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__9; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -21614,17 +21390,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14() { _start: { lean_object* x_1; @@ -21632,22 +21408,22 @@ x_1 = lean_mk_string("discr.isNone"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13; +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -21655,7 +21431,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17() { _start: { lean_object* x_1; @@ -21663,17 +21439,17 @@ x_1 = lean_mk_string("isNone"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17() { +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__19() { _start: { lean_object* x_1; @@ -22139,7 +21915,7 @@ x_196 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Ela x_197 = l_Lean_addMacroScope(x_194, x_196, x_191); x_198 = l_Lean_instInhabitedSourceInfo___closed__1; x_199 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21___lambda__3___closed__5; -x_200 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__67; +x_200 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__9; x_201 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_201, 0, x_198); lean_ctor_set(x_201, 1, x_199); @@ -22179,11 +21955,11 @@ lean_ctor_set(x_214, 0, x_205); lean_ctor_set(x_214, 1, x_213); x_215 = l_Array_empty___closed__1; x_216 = lean_array_push(x_215, x_214); -x_217 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11; +x_217 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13; lean_inc(x_208); lean_inc(x_212); x_218 = l_Lean_addMacroScope(x_212, x_217, x_208); -x_219 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10; +x_219 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12; x_220 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_220, 0, x_198); lean_ctor_set(x_220, 1, x_219); @@ -22254,18 +22030,18 @@ x_256 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_256, 0, x_205); lean_ctor_set(x_256, 1, x_255); x_257 = lean_array_push(x_215, x_256); -x_258 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16; +x_258 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18; lean_inc(x_208); lean_inc(x_212); x_259 = l_Lean_addMacroScope(x_212, x_258, x_208); -x_260 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14; +x_260 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16; x_261 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_261, 0, x_198); lean_ctor_set(x_261, 1, x_260); lean_ctor_set(x_261, 2, x_259); lean_ctor_set(x_261, 3, x_16); x_262 = lean_array_push(x_257, x_261); -x_263 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17; +x_263 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__19; lean_inc(x_205); x_264 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_264, 0, x_205); @@ -22458,11 +22234,11 @@ lean_ctor_set(x_362, 0, x_205); lean_ctor_set(x_362, 1, x_361); x_363 = l_Array_empty___closed__1; x_364 = lean_array_push(x_363, x_362); -x_365 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11; +x_365 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13; lean_inc(x_208); lean_inc(x_359); x_366 = l_Lean_addMacroScope(x_359, x_365, x_208); -x_367 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__10; +x_367 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12; x_368 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_368, 0, x_198); lean_ctor_set(x_368, 1, x_367); @@ -22533,18 +22309,18 @@ x_404 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_404, 0, x_205); lean_ctor_set(x_404, 1, x_403); x_405 = lean_array_push(x_363, x_404); -x_406 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16; +x_406 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18; lean_inc(x_208); lean_inc(x_359); x_407 = l_Lean_addMacroScope(x_359, x_406, x_208); -x_408 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14; +x_408 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16; x_409 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_409, 0, x_198); lean_ctor_set(x_409, 1, x_408); lean_ctor_set(x_409, 2, x_407); lean_ctor_set(x_409, 3, x_16); x_410 = lean_array_push(x_405, x_409); -x_411 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17; +x_411 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__19; lean_inc(x_205); x_412 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_412, 0, x_205); @@ -34523,7 +34299,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_11738_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_11601_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -34872,30 +34648,6 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__69); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__70); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__71 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__71(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__71); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__72 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__72(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__72); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__73 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__73(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__73); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__74 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__74(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__74); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__75 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__75(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__75); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__76 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__76(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__76); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__77 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__77(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__77); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__78 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__78(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__78); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__79 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__79(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__79); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__80 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__80(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__80); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__81 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__81(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__81); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__82 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__82(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__82); l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1); l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__2 = _init_l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__2(); @@ -34980,129 +34732,129 @@ l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__9 = _init_l_Lean lean_mark_persistent(l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__9); l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21____ = _init_l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21____(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21____); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__1 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__1); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__2 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__2); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__3 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__3); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__4 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__4); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__5 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__5); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__6 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__6); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__7 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__7); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__8 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__8); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__9 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__9); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__10 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__10); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__11 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__11); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__12 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__12); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__13 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__13); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__14 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__14); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__15 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__15); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__16 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__16(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__16); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__17 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__17(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__17); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__18 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__18(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__18); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__19 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__19(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__19); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__20 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__20(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__20); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__21 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__21(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__21); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__22 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__22(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__22); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__23 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__23(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__23); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__24 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__24(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__24); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__25 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__25(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__25); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__26 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__26(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__26); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__27 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__27(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__27); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__28 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__28(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__28); -l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__29 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__29(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3653____closed__29); -l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1 = _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4098_(lean_io_mk_world()); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__1 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__1); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__2 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__2); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__3 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__3); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__4 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__4); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__5 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__5); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__6 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__6); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__7 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__7); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__8 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__8); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__9 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__9); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__10 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__10); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__11 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__11); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__12 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__12); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__13 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__13); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__14 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__14); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__15 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__15); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__16 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__16(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__16); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__17 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__17(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__17); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__18 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__18(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__18); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__19 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__19(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__19); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__20 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__20(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__20); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__21 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__21(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__21); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__22 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__22(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__22); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__23 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__23(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__23); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__24 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__24(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__24); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__25 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__25(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__25); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__26 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__26(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__26); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__27 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__27(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__27); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__28 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__28(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__28); +l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__29 = _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__29(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3516____closed__29); +l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1 = _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3961_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4103____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4103____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4103____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4103_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3966____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3966____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3966____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3966_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4108____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4108____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4108____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4108_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3971____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3971____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3971____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3971_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4113____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4113____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4113____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4113_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3976____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3976____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3976____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3976_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4118____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4118____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4118____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4118_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3981____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3981____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3981____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3981_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4123____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4123____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4123____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4123_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3986____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3986____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3986____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3986_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4128____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4128____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4128____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4128_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3991____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3991____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3991____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3991_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4133____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4133____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4133____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4133_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3996____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3996____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3996____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3996_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4138____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4138____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4138____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4138_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4001____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4001____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4001____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4001_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4143____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4143____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4143____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4143_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4006____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4006____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4006____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4006_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4148_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4011____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4011____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4011____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4011_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4153_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4016____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4016____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4016____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4016_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158____closed__1); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4158_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4021____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4021____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4021____closed__1); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4021_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1(); @@ -35307,6 +35059,10 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__18); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__19 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__19(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__19); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__2(); @@ -35420,7 +35176,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___c res = l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_11738_(lean_io_mk_world()); +res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_11601_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index c1e456db2c..db3be7ce3f 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -41,6 +41,7 @@ lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_match__1(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__4; lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___closed__4; @@ -158,7 +159,6 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___closed__4; lean_object* l_Lean_Elab_Term_StructInst_Struct_setFields(lean_object*, lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__4; lean_object* l_Std_HashMap_toList___rarg(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__18; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__1(lean_object*); @@ -5830,7 +5830,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_5890____closed__4; +x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____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/Term.c b/stage0/stdlib/Lean/Elab/Term.c index f68144e9c6..07f7977de5 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -63,7 +63,6 @@ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp___boxed(lean_object*); lean_object* l_ReaderT_read___at_Lean_Elab_Term_instMonadLogTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwMVarError___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_evalExpr___rarg___closed__2; @@ -119,7 +118,6 @@ lean_object* l_Lean_Elab_Term_setLevelNames(lean_object*, lean_object*, lean_obj lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__4; lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__2; @@ -144,7 +142,6 @@ lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___boxed(l uint8_t l_Lean_Elab_isValidAutoBoundImplicitName(lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__2; extern lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam___closed__1; @@ -156,6 +153,7 @@ lean_object* l_Lean_Elab_log___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exc lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1; lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_match__2___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkFreshTypeMVarFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_type___elambda__1___closed__2; @@ -276,7 +274,6 @@ lean_object* l_Lean_Elab_Term_instInhabitedTermElabResult___closed__1; extern lean_object* l_Lean_Expr_getAppArgs___closed__1; lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar___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_throwKernelException___at_Lean_Elab_Term_evalExpr___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3; lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__3; lean_object* l_Lean_Elab_Term_elabTypeWithAutoBoundImplicit_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel(lean_object*, lean_object*, lean_object*); @@ -348,6 +345,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___boxed(lea lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__5(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_Term_0__Lean_Elab_Term_elabImplicitLambda_match__1(lean_object*); lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266____closed__1; extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwTypeMismatchError___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedException___closed__1; @@ -369,6 +367,7 @@ lean_object* l_Lean_Elab_Term_liftMetaM(lean_object*); extern lean_object* l_Lean_Elab_throwAbortCommand___rarg___closed__1; lean_object* l_Lean_Elab_Term_saveAllState___boxed(lean_object*); lean_object* l_List_map___at_Lean_Elab_Term_resolveId_x3f___spec__3(lean_object*); +lean_object* l_Lean_Elab_Term_LVal_getRef___boxed(lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabM___closed__1; extern lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__6; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Term_addAutoBoundImplicits___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -406,6 +405,7 @@ lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermE lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__4; lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8246____closed__1; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5; @@ -469,6 +469,7 @@ lean_object* l_Lean_Elab_Term_elabProp___rarg(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___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_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__3; lean_object* l_Lean_Elab_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__1; lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -579,8 +580,8 @@ lean_object* l_Lean_Elab_Term_mkTypeMismatchError_match__1___rarg(lean_object*, lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabOptLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633_(lean_object*); lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setElabConfig(lean_object*); lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__4; @@ -589,8 +590,8 @@ lean_object* l_Lean_Elab_Term_liftLevelM___rarg(lean_object*, lean_object*, lean extern lean_object* l_myMacro____x40_Init_Notation___hyg_12458____closed__12; lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_848_(lean_object*); lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167____closed__1; lean_object* l_Lean_Meta_whnfD___at_Lean_Elab_Term_evalExpr___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__5; lean_object* l_Lean_Syntax_getId(lean_object*); extern lean_object* l_Lean_Parser_Tactic_letrec___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux_match__2(lean_object*); @@ -688,6 +689,7 @@ lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__ lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_evalExpr___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkConst___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__6; @@ -719,6 +721,7 @@ lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDelayedRoot(lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_LVal_getRef(lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal(lean_object*); lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__4; extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__2; @@ -821,6 +824,7 @@ lean_object* l_Lean_Elab_Term_elabRawNatLit_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__1; +extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3; extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1; extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; @@ -833,6 +837,7 @@ lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, extern lean_object* l_Lean_Elab_postponeExceptionId; lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1___rarg(lean_object*); lean_object* lean_environment_main_module(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__1; lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_match__1___boxed(lean_object*, lean_object*); @@ -841,12 +846,12 @@ extern lean_object* l_Lean_resetTraceState___rarg___lambda__1___closed__1; lean_object* l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwTypeMismatchError___spec__1(lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__2; lean_object* l_Lean_Elab_Term_elabScientificLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__1; uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshIdent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8147____closed__1; lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__6; lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos___closed__1; @@ -896,6 +901,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___b lean_object* l_Lean_Elab_Term_applyAttributes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNumLit_match__1(lean_object*); lean_object* l_Lean_Elab_Term_resolveId_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_assign_level(lean_object*, lean_object*, lean_object*); @@ -923,6 +929,7 @@ lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_traceAtCmdPos___spec__3___box lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___spec__5(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_evalExpr___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__4; lean_object* l_Lean_Elab_Term_mkAuxName_match__1(lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -994,11 +1001,11 @@ lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__ lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_toIO_match__1(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabDoubleQuotedName_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_LVal_getRef_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_evalExpr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedMessageData___closed__1; @@ -1087,7 +1094,7 @@ lean_object* l_IO_println___at_Lean_instEval___spec__1(lean_object*, lean_object lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwErrorIfErrors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8147_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8246_(lean_object*); lean_object* l_Lean_Elab_Term_elabByTactic_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1153,6 +1160,7 @@ lean_object* l_Lean_Elab_Term_throwMVarError(lean_object*); lean_object* l_Lean_Elab_Term_elabDoubleQuotedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___spec__2(lean_object*, lean_object*); @@ -1219,6 +1227,7 @@ lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__8; uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__3; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_LVal_getRef_match__1(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___closed__1; lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1273,7 +1282,6 @@ lean_object* l_Lean_Meta_whnfD___at_Lean_Elab_Term_evalExpr___spec__3(lean_objec extern lean_object* l_Lean_Elab_instInhabitedInfoState___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__1; uint8_t l_Lean_Syntax_isIdent(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__5; lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Context_mayPostpone___default; @@ -4184,42 +4192,120 @@ x_2 = l_Lean_Elab_Term_mkTermElabAttributeUnsafe(x_1); return x_2; } } +lean_object* l_Lean_Elab_Term_LVal_getRef_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_object* x_12; lean_object* x_13; +lean_dec(x_3); +lean_dec(x_2); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +lean_dec(x_1); +x_13 = lean_apply_2(x_4, x_11, x_12); +return x_13; +} +} +} +} +lean_object* l_Lean_Elab_Term_LVal_getRef_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_LVal_getRef_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_LVal_getRef(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_LVal_getRef___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Term_LVal_getRef(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Lean_Elab_Term_instToStringLVal_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_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_6 = lean_apply_1(x_2, x_5); -return x_6; +x_7 = lean_apply_2(x_2, x_5, x_6); +return x_7; } case 1: { -lean_object* x_7; lean_object* x_8; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_dec(x_4); lean_dec(x_2); -x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); +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_8 = lean_apply_1(x_3, x_7); -return x_8; +x_10 = lean_apply_2(x_3, x_8, x_9); +return x_10; } default: { -lean_object* x_9; lean_object* x_10; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_dec(x_3); lean_dec(x_2); -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); lean_dec(x_1); -x_10 = lean_apply_1(x_4, x_9); -return x_10; +x_13 = lean_apply_2(x_4, x_11, x_12); +return x_13; } } } @@ -4239,7 +4325,7 @@ switch (lean_obj_tag(x_1)) { case 0: { lean_object* x_2; lean_object* x_3; -x_2 = lean_ctor_get(x_1, 0); +x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); lean_dec(x_1); x_3 = l_Nat_repr(x_2); @@ -4248,7 +4334,7 @@ return x_3; case 1: { lean_object* x_4; -x_4 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); lean_dec(x_1); return x_4; @@ -4256,7 +4342,7 @@ return x_4; default: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_5 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); lean_inc(x_5); lean_dec(x_1); x_6 = lean_box(0); @@ -10538,7 +10624,7 @@ x_42 = l_Lean_KernelException_toMessageData___closed__15; x_43 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); -x_44 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3; +x_44 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3; x_45 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); @@ -10571,7 +10657,7 @@ x_54 = l_Lean_KernelException_toMessageData___closed__15; x_55 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); -x_56 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3; +x_56 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3; x_57 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_57, 0, x_55); lean_ctor_set(x_57, 1, x_56); @@ -11382,7 +11468,7 @@ x_1 = lean_unsigned_to_nat(16u); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__1() { _start: { lean_object* x_1; @@ -11390,17 +11476,17 @@ x_1 = lean_mk_string("maxCoeSize"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -11410,7 +11496,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__4() { _start: { lean_object* x_1; @@ -11418,13 +11504,13 @@ x_1 = lean_mk_string("maximum number of instances used to construct an automatic return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__3; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__3; x_2 = l_Lean_instInhabitedParserDescr___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__4; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -11432,12 +11518,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__5; x_4 = lean_register_option(x_2, x_3, x_1); return x_4; } @@ -11446,7 +11532,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_getCoeMaxSize(lean_obj _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__2; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__2; x_3 = l_Lean_Elab_Term_maxCoeSizeDefault; x_4 = l_Lean_KVMap_getNat(x_1, x_2, x_3); return x_4; @@ -26869,6 +26955,303 @@ x_14 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(x_1, x_12, x_13, return x_14; } } +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_st_ref_get(x_3, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 5); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*2); +lean_dec(x_13); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_1); +x_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_11, 0); +lean_dec(x_16); +x_17 = lean_box(0); +lean_ctor_set(x_11, 0, x_17); +return x_11; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_dec(x_11); +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_18); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); +lean_dec(x_11); +x_22 = lean_st_ref_get(x_7, x_21); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_st_ref_take(x_3, x_23); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_25, 5); +lean_inc(x_26); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = !lean_is_exclusive(x_25); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_25, 5); +lean_dec(x_29); +x_30 = !lean_is_exclusive(x_26); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_26, 1); +x_32 = l_Std_PersistentArray_push___rarg(x_31, x_1); +lean_ctor_set(x_26, 1, x_32); +x_33 = lean_st_ref_set(x_3, x_25, x_27); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +x_36 = lean_box(0); +lean_ctor_set(x_33, 0, x_36); +return x_33; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +lean_dec(x_33); +x_38 = lean_box(0); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +else +{ +uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_40 = lean_ctor_get_uint8(x_26, sizeof(void*)*2); +x_41 = lean_ctor_get(x_26, 0); +x_42 = lean_ctor_get(x_26, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_26); +x_43 = l_Std_PersistentArray_push___rarg(x_42, x_1); +x_44 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_44, 0, x_41); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set_uint8(x_44, sizeof(void*)*2, x_40); +lean_ctor_set(x_25, 5, x_44); +x_45 = lean_st_ref_set(x_3, x_25, x_27); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_47 = x_45; +} else { + lean_dec_ref(x_45); + x_47 = lean_box(0); +} +x_48 = lean_box(0); +if (lean_is_scalar(x_47)) { + x_49 = lean_alloc_ctor(0, 2, 0); +} else { + x_49 = x_47; +} +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_46); +return x_49; +} +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t 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; +x_50 = lean_ctor_get(x_25, 0); +x_51 = lean_ctor_get(x_25, 1); +x_52 = lean_ctor_get(x_25, 2); +x_53 = lean_ctor_get(x_25, 3); +x_54 = lean_ctor_get(x_25, 4); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_25); +x_55 = lean_ctor_get_uint8(x_26, sizeof(void*)*2); +x_56 = lean_ctor_get(x_26, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_26, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_58 = x_26; +} else { + lean_dec_ref(x_26); + x_58 = lean_box(0); +} +x_59 = l_Std_PersistentArray_push___rarg(x_57, x_1); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(0, 2, 1); +} else { + x_60 = x_58; +} +lean_ctor_set(x_60, 0, x_56); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set_uint8(x_60, sizeof(void*)*2, x_55); +x_61 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_61, 0, x_50); +lean_ctor_set(x_61, 1, x_51); +lean_ctor_set(x_61, 2, x_52); +lean_ctor_set(x_61, 3, x_53); +lean_ctor_set(x_61, 4, x_54); +lean_ctor_set(x_61, 5, x_60); +x_62 = lean_st_ref_set(x_3, x_61, x_27); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +x_65 = lean_box(0); +if (lean_is_scalar(x_64)) { + x_66 = lean_alloc_ctor(0, 2, 0); +} else { + x_66 = x_64; +} +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_63); +return x_66; +} +} +} +} +lean_object* l_Lean_Elab_Term_addTermInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_st_ref_get(x_4, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_13, 5); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_ctor_get_uint8(x_14, sizeof(void*)*2); +lean_dec(x_14); +if (x_15 == 0) +{ +uint8_t x_16; +lean_dec(x_2); +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_12); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_12, 0); +lean_dec(x_17); +x_18 = lean_box(0); +lean_ctor_set(x_12, 0, x_18); +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_dec(x_12); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_dec(x_12); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +x_24 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_2); +lean_ctor_set(x_24, 2, x_1); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Std_PersistentArray_empty___closed__1; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__1(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +return x_28; +} +} +} +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_addTermInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Term_addTermInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} lean_object* l_Lean_Elab_Term_mkTermInfo_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -30689,7 +31072,7 @@ lean_dec(x_3); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -30699,11 +31082,11 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -30874,7 +31257,7 @@ lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lea x_97 = lean_ctor_get(x_91, 1); lean_inc(x_97); lean_dec(x_91); -x_98 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167____closed__1; +x_98 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266____closed__1; x_99 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_98, x_2, x_3, x_4, x_5, x_6, x_7, x_97); x_100 = lean_ctor_get(x_99, 0); lean_inc(x_100); @@ -30916,7 +31299,7 @@ lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean x_53 = lean_ctor_get(x_47, 1); lean_inc(x_53); lean_dec(x_47); -x_54 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167____closed__1; +x_54 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266____closed__1; x_55 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_53); x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); @@ -30997,7 +31380,7 @@ x_41 = l_Lean_KernelException_toMessageData___closed__15; x_42 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_42, 0, x_40); lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167____closed__1; +x_43 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266____closed__1; x_44 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_43, x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_36); x_45 = lean_ctor_get(x_44, 1); lean_inc(x_45); @@ -31059,7 +31442,7 @@ x_79 = l_Lean_KernelException_toMessageData___closed__15; x_80 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167____closed__1; +x_81 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266____closed__1; x_82 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_81, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_61); x_83 = lean_ctor_get(x_82, 1); lean_inc(x_83); @@ -41322,7 +41705,7 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8147____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8246____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -41332,7 +41715,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8147_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8246_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -41344,7 +41727,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8147____closed__1; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8246____closed__1; x_6 = l_Lean_registerTraceClass(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -41666,17 +42049,17 @@ l_Lean_Elab_Term_synthesizeInstMVarCore___closed__6 = _init_l_Lean_Elab_Term_syn lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__6); l_Lean_Elab_Term_maxCoeSizeDefault = _init_l_Lean_Elab_Term_maxCoeSizeDefault(); lean_mark_persistent(l_Lean_Elab_Term_maxCoeSizeDefault); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577____closed__5); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2577_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633____closed__5); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_2633_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_tryCoeThunk_x3f_match__1___rarg___closed__1 = _init_l_Lean_Elab_Term_tryCoeThunk_x3f_match__1___rarg___closed__1(); @@ -41793,9 +42176,9 @@ l_Lean_Elab_Term_mkAuxName___closed__2 = _init_l_Lean_Elab_Term_mkAuxName___clos lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__2); l_Lean_Elab_Term_mkAuxName___closed__3 = _init_l_Lean_Elab_Term_mkAuxName___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167____closed__1); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6167_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266____closed__1); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_6266_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_isLetRecAuxMVar___closed__1 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__1(); @@ -41989,9 +42372,9 @@ l_Lean_Elab_Term_evalExpr___rarg___closed__3 = _init_l_Lean_Elab_Term_evalExpr__ lean_mark_persistent(l_Lean_Elab_Term_evalExpr___rarg___closed__3); l_Lean_Elab_Term_evalExpr___rarg___closed__4 = _init_l_Lean_Elab_Term_evalExpr___rarg___closed__4(); lean_mark_persistent(l_Lean_Elab_Term_evalExpr___rarg___closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8147____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8147____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8147____closed__1); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8147_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8246____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8246____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8246____closed__1); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_8246_(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/Expr.c b/stage0/stdlib/Lean/Expr.c index 2abb7da38e..cedc3c1a77 100644 --- a/stage0/stdlib/Lean/Expr.c +++ b/stage0/stdlib/Lean/Expr.c @@ -487,10 +487,10 @@ lean_object* lean_expr_update_proj(lean_object*, lean_object*); lean_object* l_Lean_Expr_setPPExplicit___boxed(lean_object*, lean_object*); lean_object* l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_looseBVarRange(lean_object*); -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__20; lean_object* l_Lean_Expr_bvarIdx_x21(lean_object*); lean_object* l_Lean_Expr_updateProj_x21___closed__2; lean_object* l_Lean_Expr_constName_x21_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20; lean_object* l_Lean_Expr_consumeMData_match__1(lean_object*); lean_object* l_Lean_Expr_bindingBody_x21_match__1(lean_object*); lean_object* l_Lean_Expr_setAppPPExplicit(lean_object*); @@ -3388,7 +3388,7 @@ return x_12; default: { lean_object* x_13; -x_13 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__20; +x_13 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20; return x_13; } } diff --git a/stage0/stdlib/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Lean/Meta/ExprDefEq.c index 51e6e8ed56..cd49ffe0ae 100644 --- a/stage0/stdlib/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Lean/Meta/ExprDefEq.c @@ -56,6 +56,7 @@ lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2303_(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); extern lean_object* l_termDepIfThenElse___closed__11; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8355____closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldBothDefEq_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* l_Lean_Meta_CheckAssignment_checkMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -78,7 +79,6 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___pri extern lean_object* l_Lean_Meta_isExprDefEq___closed__2; lean_object* l_Lean_Meta_whnfD___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqRight___closed__1; -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfold_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignmentQuick_check_visit_match__2(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -106,7 +106,6 @@ lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_check___spec_ lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__55___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8347____closed__1; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process_match__3(lean_object*); lean_object* lean_local_ctx_erase(lean_object*, lean_object*); @@ -184,7 +183,6 @@ lean_object* l_Lean_Meta_getConst_x3f(lean_object*, lean_object*, lean_object*, extern lean_object* l_Lean_Expr_getAppArgs___closed__1; lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_trySynthPending_match__1(lean_object*); -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3; lean_object* l_Lean_Meta_isDefEqNative(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_check___spec__20(lean_object*, lean_object*, size_t, size_t); lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_check___spec__46___boxed(lean_object*, lean_object*); @@ -217,6 +215,7 @@ lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_de lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_commitWhen___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssignable_match__1(lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDelayedAssignedHead_match__1(lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_check___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_etaEq(lean_object*, lean_object*); @@ -300,6 +299,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___sp extern lean_object* l_Lean_Meta_toCtorIfLit___closed__3; lean_object* l_Lean_Meta_commitWhen___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___lambda__3___closed__2; 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_CheckAssignment_checkMVar___closed__8; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssignable_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -341,6 +341,7 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel_matc lean_object* l_Lean_Meta_throwIsDefEqStuck___rarg(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_check___spec__35___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadFunctorReaderT___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__6; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isListLevelDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_AssocList_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__2(lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_check___spec__31(lean_object*, lean_object*); @@ -510,6 +511,7 @@ lean_object* l_Lean_LocalDecl_index(lean_object*); uint8_t l_Lean_MetavarKind_isSyntheticOpaque(uint8_t); lean_object* l_Lean_Meta_CheckAssignmentQuick_check_visit_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3; lean_object* l_Lean_Meta_CheckAssignmentQuick_check_visit_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_check___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -521,6 +523,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___sp lean_object* l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_check___spec__60(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__64(lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__7; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDeltaCandidate_x3f_match__1(lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4; uint8_t l_Lean_Expr_isMVar(lean_object*); @@ -609,8 +612,8 @@ lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_de lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_check___spec__53(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssigned_match__1(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8347_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8356_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8364_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8355_(lean_object*); lean_object* l_Lean_Meta_CheckAssignment_assignToConstFun_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instAddMessageContext___rarg(lean_object*, lean_object*, lean_object*); @@ -656,8 +659,6 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApp uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_check___spec__42(lean_object*, lean_object*, size_t, size_t); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__4; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssignable___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__2; -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__1; lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_check___spec__18___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_shouldReduceReducibleOnly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_check___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -681,7 +682,6 @@ extern lean_object* l_Lean_Expr_updateLet_x21___closed__2; lean_object* l_Lean_Meta_whenUndefDo_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_isExprDefEqAuxImpl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_check___spec__32(lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_check___spec__46(lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -707,7 +707,7 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_consumeLet_match__1(le lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_check___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux_match__1(lean_object*); lean_object* lean_usize_to_nat(size_t); -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___boxed(lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs_match__1(lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApproxAux_match__1(lean_object*); lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__5; @@ -721,6 +721,7 @@ lean_object* l_Lean_mkBVar(lean_object*); lean_object* l_Lean_mkFreshId___at_Lean_Meta_mkFreshExprMVarAt___spec__1___rarg(lean_object*, lean_object*); uint8_t l_Lean_Expr_hasFVar(lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__2; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_check___spec__37___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_check___spec__47___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -736,7 +737,7 @@ lean_object* l_Lean_Meta_isDefEqBindingDomain_loop_match__1___rarg(lean_object*, lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__17; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_sameHeadSymbol_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(lean_object*); +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqMVarSelf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isSynthetic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_check___spec__48___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -12937,7 +12938,7 @@ return x_31; } } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__1() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__1() { _start: { lean_object* x_1; @@ -12945,16 +12946,16 @@ x_1 = lean_mk_string(" @ "); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__2() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__1; +x_1 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3() { +static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -12963,82 +12964,71 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___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* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(lean_object* x_1, lean_object* x_2, 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_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); -x_9 = l_Lean_mkMVar(x_8); -x_10 = lean_alloc_ctor(2, 1, 0); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_9 = l_Lean_KernelException_toMessageData___closed__15; +x_10 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_10, 0, x_9); -x_11 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__2; +lean_ctor_set(x_10, 1, x_1); +x_11 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__2; x_12 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -x_13 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3; -x_14 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -x_15 = lean_ctor_get(x_1, 2); -lean_inc(x_15); -x_16 = lean_array_to_list(lean_box(0), x_15); -x_17 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_16); -x_18 = l_Lean_MessageData_ofList(x_17); -lean_dec(x_17); -x_19 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_19, 0, x_14); -lean_ctor_set(x_19, 1, x_18); -x_20 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; -x_21 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -x_22 = lean_ctor_get(x_1, 3); -lean_inc(x_22); -lean_dec(x_1); -x_23 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_23, 0, x_22); -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_21); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_KernelException_toMessageData___closed__15; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = lean_ctor_get(x_2, 0); +lean_inc(x_13); +x_14 = l_Lean_mkMVar(x_13); +x_15 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_15); +x_17 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = lean_ctor_get(x_2, 2); +lean_inc(x_19); +x_20 = lean_array_to_list(lean_box(0), x_19); +x_21 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_20); +x_22 = l_Lean_MessageData_ofList(x_21); +lean_dec(x_21); +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_18); +lean_ctor_set(x_23, 1, x_22); +x_24 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_ctor_get(x_2, 3); +lean_inc(x_26); +lean_dec(x_2); +x_27 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_7); -return x_27; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_25); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_9); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_8); +return x_30; } } -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(lean_object* x_1) { +lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___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_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___boxed), 7, 0); -return x_2; -} -} -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___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) { -_start: -{ -lean_object* x_8; -x_8 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_9; +x_9 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_1); -lean_dec(x_1); -return x_2; +return x_9; } } lean_object* l_Lean_Meta_CheckAssignment_checkFVar_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -13310,360 +13300,368 @@ x_17 = l_Array_contains___rarg(x_16, x_15, x_2); lean_dec(x_15); if (x_17 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -lean_dec(x_2); -x_18 = lean_st_ref_get(x_8, x_9); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_19, 3); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_18, 0, x_2); +x_19 = lean_st_ref_get(x_8, x_9); +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_ctor_get_uint8(x_20, sizeof(void*)*1); +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); lean_dec(x_20); -if (x_21 == 0) +x_22 = lean_ctor_get_uint8(x_21, sizeof(void*)*1); +lean_dec(x_21); +if (x_22 == 0) { -lean_object* x_22; lean_object* x_23; +lean_object* x_23; lean_object* x_24; +lean_dec(x_18); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_22 = lean_ctor_get(x_18, 1); -lean_inc(x_22); -lean_dec(x_18); -x_23 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_22); -return x_23; +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_dec(x_19); +x_24 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_23); +return x_24; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_24 = lean_ctor_get(x_18, 1); -lean_inc(x_24); -lean_dec(x_18); -x_25 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; -x_26 = l_Lean_Meta_CheckAssignment_checkFVar___closed__16; -x_27 = l_Lean_Meta_CheckAssignment_checkFVar___closed__18; -x_28 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_25, x_26, x_27); +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_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +lean_dec(x_19); +x_26 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; +x_27 = l_Lean_Meta_CheckAssignment_checkFVar___closed__16; +x_28 = l_Lean_Meta_CheckAssignment_checkFVar___closed__18; +x_29 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_26, x_27, x_28); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_29 = lean_apply_7(x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_24); -if (lean_obj_tag(x_29) == 0) +x_30 = lean_apply_7(x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_30; uint8_t x_31; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_unbox(x_30); +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_18); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); lean_dec(x_30); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_dec(x_29); -x_33 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_32); -return x_33; +x_34 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_33); +return x_34; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_34 = lean_ctor_get(x_29, 1); -lean_inc(x_34); -lean_dec(x_29); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_30, 1); +lean_inc(x_35); +lean_dec(x_30); lean_inc(x_3); -x_35 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_34); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); +x_36 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_35); +x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_Meta_CheckAssignment_checkFVar___closed__6; -x_39 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; -x_40 = l_Lean_Meta_CheckAssignment_checkFVar___closed__12; -x_41 = l_Lean_addTrace___rarg(x_25, x_38, x_39, x_40, x_27, x_36); -x_42 = lean_apply_7(x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_37); -if (lean_obj_tag(x_42) == 0) +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Meta_CheckAssignment_checkFVar___closed__6; +x_40 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; +x_41 = l_Lean_Meta_CheckAssignment_checkFVar___closed__12; +x_42 = l_Lean_addTrace___rarg(x_26, x_39, x_40, x_41, x_28, x_37); +x_43 = lean_apply_7(x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_38); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); -x_44 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_43); -return x_44; +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_44); +return x_45; } else { -uint8_t x_45; -x_45 = !lean_is_exclusive(x_42); -if (x_45 == 0) +uint8_t x_46; +x_46 = !lean_is_exclusive(x_43); +if (x_46 == 0) { -return x_42; +return x_43; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 0); -x_47 = lean_ctor_get(x_42, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_43, 0); +x_48 = lean_ctor_get(x_43, 1); +lean_inc(x_48); lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_42); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; +lean_dec(x_43); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; } } } } else { -uint8_t x_49; +uint8_t x_50; +lean_dec(x_18); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_49 = !lean_is_exclusive(x_29); -if (x_49 == 0) +x_50 = !lean_is_exclusive(x_30); +if (x_50 == 0) { -return x_29; +return x_30; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_29, 0); -x_51 = lean_ctor_get(x_29, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_30, 0); +x_52 = lean_ctor_get(x_30, 1); +lean_inc(x_52); lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_29); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -} -} -else -{ -lean_object* x_53; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_2); -lean_ctor_set(x_53, 1, x_9); +lean_dec(x_30); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); return x_53; } } +} +} else { lean_object* x_54; -x_54 = lean_ctor_get(x_14, 0); -lean_inc(x_54); -lean_dec(x_14); -if (lean_obj_tag(x_54) == 0) -{ -lean_object* x_55; lean_object* x_56; uint8_t x_57; -lean_dec(x_54); -lean_dec(x_1); -x_55 = lean_ctor_get(x_3, 2); -lean_inc(x_55); -x_56 = l_Lean_Expr_instBEqExpr; -lean_inc(x_2); -x_57 = l_Array_contains___rarg(x_56, x_55, x_2); -lean_dec(x_55); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -lean_dec(x_2); -x_58 = lean_st_ref_get(x_8, x_9); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_59, 3); -lean_inc(x_60); -lean_dec(x_59); -x_61 = lean_ctor_get_uint8(x_60, sizeof(void*)*1); -lean_dec(x_60); -if (x_61 == 0) -{ -lean_object* x_62; lean_object* x_63; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_62 = lean_ctor_get(x_58, 1); -lean_inc(x_62); -lean_dec(x_58); -x_63 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_62); -return x_63; +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_2); +lean_ctor_set(x_54, 1, x_9); +return x_54; +} } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_64 = lean_ctor_get(x_58, 1); +lean_object* x_55; +x_55 = lean_ctor_get(x_14, 0); +lean_inc(x_55); +lean_dec(x_14); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +lean_dec(x_55); +lean_dec(x_1); +x_56 = lean_ctor_get(x_3, 2); +lean_inc(x_56); +x_57 = l_Lean_Expr_instBEqExpr; +lean_inc(x_2); +x_58 = l_Array_contains___rarg(x_57, x_56, x_2); +lean_dec(x_56); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_59 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_59, 0, x_2); +x_60 = lean_st_ref_get(x_8, x_9); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_61, 3); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_ctor_get_uint8(x_62, sizeof(void*)*1); +lean_dec(x_62); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; +lean_dec(x_59); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_64 = lean_ctor_get(x_60, 1); lean_inc(x_64); -lean_dec(x_58); -x_65 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; -x_66 = l_Lean_Meta_CheckAssignment_checkFVar___closed__16; -x_67 = l_Lean_Meta_CheckAssignment_checkFVar___closed__18; -x_68 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_65, x_66, x_67); +lean_dec(x_60); +x_65 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_64); +return x_65; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_66 = lean_ctor_get(x_60, 1); +lean_inc(x_66); +lean_dec(x_60); +x_67 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; +x_68 = l_Lean_Meta_CheckAssignment_checkFVar___closed__16; +x_69 = l_Lean_Meta_CheckAssignment_checkFVar___closed__18; +x_70 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_67, x_68, x_69); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_69 = lean_apply_7(x_68, x_3, x_4, x_5, x_6, x_7, x_8, x_64); -if (lean_obj_tag(x_69) == 0) +x_71 = lean_apply_7(x_70, x_3, x_4, x_5, x_6, x_7, x_8, x_66); +if (lean_obj_tag(x_71) == 0) { -lean_object* x_70; uint8_t x_71; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_unbox(x_70); -lean_dec(x_70); -if (x_71 == 0) +lean_object* x_72; uint8_t x_73; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_unbox(x_72); +lean_dec(x_72); +if (x_73 == 0) { -lean_object* x_72; lean_object* x_73; +lean_object* x_74; lean_object* x_75; +lean_dec(x_59); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_72 = lean_ctor_get(x_69, 1); -lean_inc(x_72); -lean_dec(x_69); -x_73 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_72); -return x_73; +x_74 = lean_ctor_get(x_71, 1); +lean_inc(x_74); +lean_dec(x_71); +x_75 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_74); +return x_75; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_74 = lean_ctor_get(x_69, 1); -lean_inc(x_74); -lean_dec(x_69); -lean_inc(x_3); -x_75 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_74); -x_76 = lean_ctor_get(x_75, 0); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_76 = lean_ctor_get(x_71, 1); lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = l_Lean_Meta_CheckAssignment_checkFVar___closed__6; -x_79 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; -x_80 = l_Lean_Meta_CheckAssignment_checkFVar___closed__12; -x_81 = l_Lean_addTrace___rarg(x_65, x_78, x_79, x_80, x_67, x_76); -x_82 = lean_apply_7(x_81, x_3, x_4, x_5, x_6, x_7, x_8, x_77); -if (lean_obj_tag(x_82) == 0) +lean_dec(x_71); +lean_inc(x_3); +x_77 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_59, x_3, x_4, x_5, x_6, x_7, x_8, x_76); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = l_Lean_Meta_CheckAssignment_checkFVar___closed__6; +x_81 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; +x_82 = l_Lean_Meta_CheckAssignment_checkFVar___closed__12; +x_83 = l_Lean_addTrace___rarg(x_67, x_80, x_81, x_82, x_69, x_78); +x_84 = lean_apply_7(x_83, x_3, x_4, x_5, x_6, x_7, x_8, x_79); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +lean_dec(x_84); +x_86 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_85); +return x_86; +} +else +{ +uint8_t x_87; +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) { -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_83); return x_84; } else { -uint8_t x_85; -x_85 = !lean_is_exclusive(x_82); -if (x_85 == 0) -{ -return x_82; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_82, 0); -x_87 = lean_ctor_get(x_82, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_82); -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_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_84, 0); +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_84); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; } } } } else { -uint8_t x_89; +uint8_t x_91; +lean_dec(x_59); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_89 = !lean_is_exclusive(x_69); -if (x_89 == 0) +x_91 = !lean_is_exclusive(x_71); +if (x_91 == 0) { -return x_69; +return x_71; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_69, 0); -x_91 = lean_ctor_get(x_69, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_69); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_71, 0); +x_93 = lean_ctor_get(x_71, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_71); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } } } else { -lean_object* x_93; +lean_object* x_95; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_2); -lean_ctor_set(x_93, 1, x_9); -return x_93; +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_2); +lean_ctor_set(x_95, 1, x_9); +return x_95; } } else { -lean_object* x_94; lean_object* x_95; uint8_t x_118; +lean_object* x_96; lean_object* x_97; uint8_t x_120; lean_dec(x_2); -x_94 = lean_ctor_get(x_54, 4); -lean_inc(x_94); -lean_dec(x_54); -x_118 = l_Lean_Expr_hasExprMVar(x_94); -if (x_118 == 0) +x_96 = lean_ctor_get(x_55, 4); +lean_inc(x_96); +lean_dec(x_55); +x_120 = l_Lean_Expr_hasExprMVar(x_96); +if (x_120 == 0) { -uint8_t x_119; -x_119 = l_Lean_Expr_hasFVar(x_94); -if (x_119 == 0) +uint8_t x_121; +x_121 = l_Lean_Expr_hasFVar(x_96); +if (x_121 == 0) { -lean_object* x_120; +lean_object* x_122; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -13671,150 +13669,150 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_94); -lean_ctor_set(x_120, 1, x_9); -return x_120; +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_96); +lean_ctor_set(x_122, 1, x_9); +return x_122; } else { -lean_object* x_121; -x_121 = lean_box(0); -x_95 = x_121; -goto block_117; +lean_object* x_123; +x_123 = lean_box(0); +x_97 = x_123; +goto block_119; } } else { -lean_object* x_122; -x_122 = lean_box(0); -x_95 = x_122; -goto block_117; +lean_object* x_124; +x_124 = lean_box(0); +x_97 = x_124; +goto block_119; } -block_117: -{ -lean_object* x_96; lean_object* x_97; -lean_dec(x_95); -x_96 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_94, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -if (lean_obj_tag(x_97) == 0) +block_119: { lean_object* x_98; lean_object* x_99; -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); +lean_dec(x_97); +x_98 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_96, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; lean_object* x_101; +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_94); -x_99 = lean_apply_8(x_1, x_94, x_3, x_4, x_5, x_6, x_7, x_8, x_98); -if (lean_obj_tag(x_99) == 0) +lean_inc(x_96); +x_101 = lean_apply_8(x_1, x_96, x_3, x_4, x_5, x_6, x_7, x_8, x_100); +if (lean_obj_tag(x_101) == 0) { -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -lean_inc(x_100); -x_102 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_94, x_100, x_3, x_4, x_5, x_6, x_7, x_8, x_101); +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +lean_inc(x_102); +x_104 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_96, x_102, x_3, x_4, x_5, x_6, x_7, x_8, x_103); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) +x_105 = !lean_is_exclusive(x_104); +if (x_105 == 0) { -lean_object* x_104; -x_104 = lean_ctor_get(x_102, 0); +lean_object* x_106; +x_106 = lean_ctor_get(x_104, 0); +lean_dec(x_106); +lean_ctor_set(x_104, 0, x_102); +return x_104; +} +else +{ +lean_object* x_107; lean_object* x_108; +x_107 = lean_ctor_get(x_104, 1); +lean_inc(x_107); lean_dec(x_104); -lean_ctor_set(x_102, 0, x_100); -return x_102; -} -else -{ -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -lean_dec(x_102); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_100); -lean_ctor_set(x_106, 1, x_105); -return x_106; +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_102); +lean_ctor_set(x_108, 1, x_107); +return x_108; } } else { -uint8_t x_107; -lean_dec(x_94); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_107 = !lean_is_exclusive(x_99); -if (x_107 == 0) -{ -return x_99; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_99, 0); -x_109 = lean_ctor_get(x_99, 1); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_99); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; -} -} -} -else -{ -uint8_t x_111; -lean_dec(x_94); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_111 = !lean_is_exclusive(x_96); -if (x_111 == 0) -{ -lean_object* x_112; lean_object* x_113; -x_112 = lean_ctor_get(x_96, 0); -lean_dec(x_112); -x_113 = lean_ctor_get(x_97, 0); -lean_inc(x_113); -lean_dec(x_97); -lean_ctor_set(x_96, 0, x_113); -return x_96; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_96, 1); -lean_inc(x_114); +uint8_t x_109; lean_dec(x_96); -x_115 = lean_ctor_get(x_97, 0); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_109 = !lean_is_exclusive(x_101); +if (x_109 == 0) +{ +return x_101; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_101, 0); +x_111 = lean_ctor_get(x_101, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_101); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +return x_112; +} +} +} +else +{ +uint8_t x_113; +lean_dec(x_96); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_113 = !lean_is_exclusive(x_98); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; +x_114 = lean_ctor_get(x_98, 0); +lean_dec(x_114); +x_115 = lean_ctor_get(x_99, 0); lean_inc(x_115); -lean_dec(x_97); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_114); -return x_116; +lean_dec(x_99); +lean_ctor_set(x_98, 0, x_115); +return x_98; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_98, 1); +lean_inc(x_116); +lean_dec(x_98); +x_117 = lean_ctor_get(x_99, 0); +lean_inc(x_117); +lean_dec(x_99); +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_116); +return x_118; } } } @@ -13823,7 +13821,7 @@ return x_116; } else { -lean_object* x_123; +lean_object* x_125; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -13831,10 +13829,10 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_2); -lean_ctor_set(x_123, 1, x_9); -return x_123; +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_2); +lean_ctor_set(x_125, 1, x_9); +return x_125; } } } @@ -14248,6 +14246,34 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Meta_CheckAssignment_checkMVar___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("occurs check failed"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_CheckAssignment_checkMVar___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_CheckAssignment_checkMVar___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_Lean_Meta_CheckAssignment_checkMVar___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_CheckAssignment_checkMVar___closed__7; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} lean_object* l_Lean_Meta_CheckAssignment_checkMVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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: { @@ -14261,135 +14287,109 @@ x_13 = lean_st_ref_get(x_6, x_12); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_55; uint8_t x_56; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_57; uint8_t x_58; x_15 = lean_ctor_get(x_13, 0); x_16 = lean_ctor_get(x_13, 1); x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); lean_dec(x_15); -x_55 = lean_ctor_get(x_3, 0); -lean_inc(x_55); -x_56 = lean_name_eq(x_10, x_55); -lean_dec(x_55); -if (x_56 == 0) -{ -lean_object* x_57; -lean_inc(x_10); -lean_inc(x_17); -x_57 = lean_metavar_ctx_get_expr_assignment(x_17, x_10); -if (lean_obj_tag(x_57) == 0) -{ -lean_object* x_58; -lean_inc(x_10); -lean_inc(x_17); -x_58 = lean_metavar_ctx_find_decl(x_17, x_10); -if (lean_obj_tag(x_58) == 0) +x_57 = lean_ctor_get(x_3, 0); +lean_inc(x_57); +x_58 = lean_name_eq(x_10, x_57); +lean_dec(x_57); +if (x_58 == 0) { lean_object* x_59; +lean_inc(x_10); +lean_inc(x_17); +x_59 = lean_metavar_ctx_get_expr_assignment(x_17, x_10); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; +lean_inc(x_10); +lean_inc(x_17); +x_60 = lean_metavar_ctx_find_decl(x_17, x_10); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_dec(x_17); lean_free_object(x_13); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_59 = l_Lean_Meta_throwUnknownMVar___rarg(x_10, x_5, x_6, x_7, x_8, x_16); +x_61 = l_Lean_Meta_throwUnknownMVar___rarg(x_10, x_5, x_6, x_7, x_8, x_16); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_59; +return x_61; } else { -uint8_t x_60; -x_60 = lean_ctor_get_uint8(x_3, sizeof(void*)*4); -if (x_60 == 0) +uint8_t x_62; +x_62 = lean_ctor_get_uint8(x_3, sizeof(void*)*4); +if (x_62 == 0) { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_61 = lean_ctor_get(x_58, 0); -lean_inc(x_61); -lean_dec(x_58); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -x_63 = lean_ctor_get(x_3, 1); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_63 = lean_ctor_get(x_60, 0); lean_inc(x_63); +lean_dec(x_60); x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); -lean_dec(x_63); -x_65 = lean_ctor_get(x_3, 2); +x_65 = lean_ctor_get(x_3, 1); lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_62); -x_66 = l_Lean_LocalContext_isSubPrefixOf(x_62, x_64, x_65); -if (x_66 == 0) -{ -lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_67 = lean_ctor_get(x_61, 3); -lean_inc(x_67); -x_68 = lean_ctor_get(x_17, 0); -lean_inc(x_68); -x_69 = lean_nat_dec_eq(x_67, x_68); -lean_dec(x_68); -lean_dec(x_67); -if (x_69 == 0) -{ -lean_object* x_70; +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); lean_dec(x_65); +x_67 = lean_ctor_get(x_3, 2); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_64); +x_68 = l_Lean_LocalContext_isSubPrefixOf(x_64, x_66, x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_69 = lean_ctor_get(x_63, 3); +lean_inc(x_69); +x_70 = lean_ctor_get(x_17, 0); +lean_inc(x_70); +x_71 = lean_nat_dec_eq(x_69, x_70); +lean_dec(x_70); +lean_dec(x_69); +if (x_71 == 0) +{ +lean_object* x_72; +lean_dec(x_67); +lean_dec(x_66); lean_dec(x_64); -lean_dec(x_62); -lean_dec(x_61); +lean_dec(x_63); lean_dec(x_17); lean_free_object(x_13); -lean_dec(x_10); lean_dec(x_2); lean_dec(x_1); -x_70 = lean_box(0); -x_18 = x_70; -goto block_54; +x_72 = lean_box(0); +x_18 = x_72; +goto block_56; } else { -uint8_t x_71; uint8_t x_72; -x_71 = lean_ctor_get_uint8(x_61, sizeof(void*)*6); -x_72 = l_Lean_MetavarKind_isSyntheticOpaque(x_71); -if (x_72 == 0) -{ -lean_object* x_73; uint8_t x_74; -x_73 = lean_ctor_get(x_5, 0); -lean_inc(x_73); -x_74 = lean_ctor_get_uint8(x_73, 1); -lean_dec(x_73); +uint8_t x_73; uint8_t x_74; +x_73 = lean_ctor_get_uint8(x_63, sizeof(void*)*6); +x_74 = l_Lean_MetavarKind_isSyntheticOpaque(x_73); if (x_74 == 0) { -lean_dec(x_65); -lean_dec(x_64); -lean_dec(x_62); -lean_dec(x_61); -lean_dec(x_17); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -lean_ctor_set(x_13, 0, x_2); -return x_13; -} -else -{ lean_object* x_75; uint8_t x_76; -x_75 = l_Array_empty___closed__1; -lean_inc(x_62); -lean_inc(x_64); -x_76 = l_Lean_LocalContext_isSubPrefixOf(x_64, x_62, x_75); +x_75 = lean_ctor_get(x_5, 0); +lean_inc(x_75); +x_76 = lean_ctor_get_uint8(x_75, 1); +lean_dec(x_75); if (x_76 == 0) { -lean_dec(x_65); +lean_dec(x_67); +lean_dec(x_66); lean_dec(x_64); -lean_dec(x_62); -lean_dec(x_61); +lean_dec(x_63); lean_dec(x_17); lean_dec(x_10); lean_dec(x_8); @@ -14404,232 +14404,257 @@ return x_13; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; +lean_object* x_77; uint8_t x_78; +x_77 = l_Array_empty___closed__1; +lean_inc(x_64); +lean_inc(x_66); +x_78 = l_Lean_LocalContext_isSubPrefixOf(x_66, x_64, x_77); +if (x_78 == 0) +{ +lean_dec(x_67); +lean_dec(x_66); +lean_dec(x_64); +lean_dec(x_63); +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +lean_ctor_set(x_13, 0, x_2); +return x_13; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_free_object(x_13); lean_dec(x_2); -x_77 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_checkMVar___lambda__2), 5, 3); -lean_closure_set(x_77, 0, x_64); -lean_closure_set(x_77, 1, x_65); -lean_closure_set(x_77, 2, x_17); -x_78 = l_Id_instMonadId; -x_79 = lean_unsigned_to_nat(0u); -lean_inc(x_62); -x_80 = l_Lean_LocalContext_foldlM___rarg(x_78, lean_box(0), x_62, x_77, x_75, x_79); -x_81 = lean_array_get_size(x_80); -x_82 = lean_nat_dec_lt(x_79, x_81); -x_83 = lean_ctor_get(x_61, 4); -lean_inc(x_83); -x_84 = lean_array_get_size(x_83); -lean_inc(x_80); -x_85 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_checkMVar___lambda__3___boxed), 3, 1); -lean_closure_set(x_85, 0, x_80); -x_86 = lean_nat_dec_lt(x_79, x_84); -x_87 = lean_ctor_get(x_61, 2); -lean_inc(x_87); -if (x_82 == 0) +x_79 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_checkMVar___lambda__2), 5, 3); +lean_closure_set(x_79, 0, x_66); +lean_closure_set(x_79, 1, x_67); +lean_closure_set(x_79, 2, x_17); +x_80 = l_Id_instMonadId; +x_81 = lean_unsigned_to_nat(0u); +lean_inc(x_64); +x_82 = l_Lean_LocalContext_foldlM___rarg(x_80, lean_box(0), x_64, x_79, x_77, x_81); +x_83 = lean_array_get_size(x_82); +x_84 = lean_nat_dec_lt(x_81, x_83); +x_85 = lean_ctor_get(x_63, 4); +lean_inc(x_85); +x_86 = lean_array_get_size(x_85); +lean_inc(x_82); +x_87 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_checkMVar___lambda__3___boxed), 3, 1); +lean_closure_set(x_87, 0, x_82); +x_88 = lean_nat_dec_lt(x_81, x_86); +x_89 = lean_ctor_get(x_63, 2); +lean_inc(x_89); +if (x_84 == 0) { -lean_dec(x_81); -lean_dec(x_80); -x_88 = x_62; -goto block_131; -} -else -{ -uint8_t x_132; -x_132 = lean_nat_dec_le(x_81, x_81); -if (x_132 == 0) -{ -lean_dec(x_81); -lean_dec(x_80); -x_88 = x_62; -goto block_131; -} -else -{ -size_t x_133; size_t x_134; lean_object* x_135; lean_object* x_136; -x_133 = 0; -x_134 = lean_usize_of_nat(x_81); -lean_dec(x_81); -x_135 = l_Lean_Meta_CheckAssignment_checkMVar___closed__3; -x_136 = l_Array_foldlMUnsafe_fold___rarg(x_78, x_135, x_80, x_133, x_134, x_62); -x_88 = x_136; -goto block_131; -} -} -block_131: -{ -lean_object* x_89; -if (x_86 == 0) -{ -lean_dec(x_85); -lean_dec(x_84); lean_dec(x_83); -x_89 = x_75; -goto block_126; +lean_dec(x_82); +x_90 = x_64; +goto block_133; } else { -uint8_t x_127; -x_127 = lean_nat_dec_le(x_84, x_84); -if (x_127 == 0) +uint8_t x_134; +x_134 = lean_nat_dec_le(x_83, x_83); +if (x_134 == 0) { -lean_dec(x_85); -lean_dec(x_84); lean_dec(x_83); -x_89 = x_75; -goto block_126; +lean_dec(x_82); +x_90 = x_64; +goto block_133; } else { -size_t x_128; size_t x_129; lean_object* x_130; -x_128 = 0; -x_129 = lean_usize_of_nat(x_84); -lean_dec(x_84); -x_130 = l_Array_foldlMUnsafe_fold___rarg(x_78, x_85, x_83, x_128, x_129, x_75); -x_89 = x_130; -goto block_126; +size_t x_135; size_t x_136; lean_object* x_137; lean_object* x_138; +x_135 = 0; +x_136 = lean_usize_of_nat(x_83); +lean_dec(x_83); +x_137 = l_Lean_Meta_CheckAssignment_checkMVar___closed__3; +x_138 = l_Array_foldlMUnsafe_fold___rarg(x_80, x_137, x_82, x_135, x_136, x_64); +x_90 = x_138; +goto block_133; } } -block_126: +block_133: { -lean_object* x_90; +lean_object* x_91; +if (x_88 == 0) +{ +lean_dec(x_87); +lean_dec(x_86); +lean_dec(x_85); +x_91 = x_77; +goto block_128; +} +else +{ +uint8_t x_129; +x_129 = lean_nat_dec_le(x_86, x_86); +if (x_129 == 0) +{ +lean_dec(x_87); +lean_dec(x_86); +lean_dec(x_85); +x_91 = x_77; +goto block_128; +} +else +{ +size_t x_130; size_t x_131; lean_object* x_132; +x_130 = 0; +x_131 = lean_usize_of_nat(x_86); +lean_dec(x_86); +x_132 = l_Array_foldlMUnsafe_fold___rarg(x_80, x_87, x_85, x_130, x_131, x_77); +x_91 = x_132; +goto block_128; +} +} +block_128: +{ +lean_object* x_92; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_90 = lean_apply_8(x_1, x_87, x_3, x_4, x_5, x_6, x_7, x_8, x_16); -if (lean_obj_tag(x_90) == 0) +x_92 = lean_apply_8(x_1, x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +if (lean_obj_tag(x_92) == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t 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; uint8_t x_104; -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_ctor_get(x_61, 5); +lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t 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; uint8_t x_106; +x_93 = lean_ctor_get(x_92, 0); lean_inc(x_93); -lean_dec(x_61); -x_94 = 0; -x_95 = lean_box(0); -x_96 = l_Lean_Meta_mkFreshExprMVarAt(x_88, x_89, x_91, x_94, x_95, x_93, x_5, x_6, x_7, x_8, x_92); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_ctor_get(x_63, 5); +lean_inc(x_95); +lean_dec(x_63); +x_96 = 0; +x_97 = lean_box(0); +x_98 = l_Lean_Meta_mkFreshExprMVarAt(x_90, x_91, x_93, x_96, x_97, x_95, x_5, x_6, x_7, x_8, x_94); lean_dec(x_7); lean_dec(x_5); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_st_ref_get(x_8, x_98); -lean_dec(x_8); -x_100 = lean_ctor_get(x_99, 1); +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_99); -x_101 = lean_st_ref_take(x_6, x_100); -x_102 = lean_ctor_get(x_101, 0); +lean_dec(x_98); +x_101 = lean_st_ref_get(x_8, x_100); +lean_dec(x_8); +x_102 = lean_ctor_get(x_101, 1); lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); lean_dec(x_101); -x_104 = !lean_is_exclusive(x_102); -if (x_104 == 0) +x_103 = lean_st_ref_take(x_6, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = !lean_is_exclusive(x_104); +if (x_106 == 0) { -lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_105 = lean_ctor_get(x_102, 0); -lean_inc(x_97); -x_106 = l_Lean_MetavarContext_assignExpr(x_105, x_10, x_97); -lean_ctor_set(x_102, 0, x_106); -x_107 = lean_st_ref_set(x_6, x_102, x_103); +lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; +x_107 = lean_ctor_get(x_104, 0); +lean_inc(x_99); +x_108 = l_Lean_MetavarContext_assignExpr(x_107, x_10, x_99); +lean_ctor_set(x_104, 0, x_108); +x_109 = lean_st_ref_set(x_6, x_104, x_105); lean_dec(x_6); -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) +x_110 = !lean_is_exclusive(x_109); +if (x_110 == 0) { -lean_object* x_109; -x_109 = lean_ctor_get(x_107, 0); +lean_object* x_111; +x_111 = lean_ctor_get(x_109, 0); +lean_dec(x_111); +lean_ctor_set(x_109, 0, x_99); +return x_109; +} +else +{ +lean_object* x_112; lean_object* x_113; +x_112 = lean_ctor_get(x_109, 1); +lean_inc(x_112); lean_dec(x_109); -lean_ctor_set(x_107, 0, x_97); -return x_107; -} -else -{ -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_107, 1); -lean_inc(x_110); -lean_dec(x_107); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_97); -lean_ctor_set(x_111, 1, x_110); -return x_111; +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_99); +lean_ctor_set(x_113, 1, x_112); +return x_113; } } 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_object* x_120; lean_object* x_121; -x_112 = lean_ctor_get(x_102, 0); -x_113 = lean_ctor_get(x_102, 1); -x_114 = lean_ctor_get(x_102, 2); -x_115 = lean_ctor_get(x_102, 3); +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_114 = lean_ctor_get(x_104, 0); +x_115 = lean_ctor_get(x_104, 1); +x_116 = lean_ctor_get(x_104, 2); +x_117 = lean_ctor_get(x_104, 3); +lean_inc(x_117); +lean_inc(x_116); lean_inc(x_115); lean_inc(x_114); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_102); -lean_inc(x_97); -x_116 = l_Lean_MetavarContext_assignExpr(x_112, x_10, x_97); -x_117 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_113); -lean_ctor_set(x_117, 2, x_114); -lean_ctor_set(x_117, 3, x_115); -x_118 = lean_st_ref_set(x_6, x_117, x_103); +lean_dec(x_104); +lean_inc(x_99); +x_118 = l_Lean_MetavarContext_assignExpr(x_114, x_10, x_99); +x_119 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_115); +lean_ctor_set(x_119, 2, x_116); +lean_ctor_set(x_119, 3, x_117); +x_120 = lean_st_ref_set(x_6, x_119, x_105); lean_dec(x_6); -x_119 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_120 = x_118; +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_122 = x_120; } else { - lean_dec_ref(x_118); - x_120 = lean_box(0); + lean_dec_ref(x_120); + x_122 = lean_box(0); } -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(0, 2, 0); } else { - x_121 = x_120; + x_123 = x_122; } -lean_ctor_set(x_121, 0, x_97); -lean_ctor_set(x_121, 1, x_119); -return x_121; +lean_ctor_set(x_123, 0, x_99); +lean_ctor_set(x_123, 1, x_121); +return x_123; } } else { -uint8_t x_122; -lean_dec(x_89); -lean_dec(x_88); -lean_dec(x_61); +uint8_t x_124; +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_63); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_122 = !lean_is_exclusive(x_90); -if (x_122 == 0) +x_124 = !lean_is_exclusive(x_92); +if (x_124 == 0) { -return x_90; +return x_92; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_90, 0); -x_124 = lean_ctor_get(x_90, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_90); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_92, 0); +x_126 = lean_ctor_get(x_92, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_92); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; } } } @@ -14639,28 +14664,27 @@ return x_125; } else { -lean_object* x_137; -lean_dec(x_65); +lean_object* x_139; +lean_dec(x_67); +lean_dec(x_66); lean_dec(x_64); -lean_dec(x_62); -lean_dec(x_61); +lean_dec(x_63); lean_dec(x_17); lean_free_object(x_13); -lean_dec(x_10); lean_dec(x_2); lean_dec(x_1); -x_137 = lean_box(0); -x_18 = x_137; -goto block_54; +x_139 = lean_box(0); +x_18 = x_139; +goto block_56; } } } else { -lean_dec(x_65); +lean_dec(x_67); +lean_dec(x_66); lean_dec(x_64); -lean_dec(x_62); -lean_dec(x_61); +lean_dec(x_63); lean_dec(x_17); lean_dec(x_10); lean_dec(x_8); @@ -14676,8 +14700,8 @@ return x_13; } else { -lean_object* x_138; -lean_dec(x_58); +lean_object* x_140; +lean_dec(x_60); lean_dec(x_17); lean_free_object(x_13); lean_dec(x_10); @@ -14689,319 +14713,326 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_138 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_16); -return x_138; -} -} -} -else -{ -lean_object* x_139; lean_object* x_140; -lean_dec(x_17); -lean_free_object(x_13); -lean_dec(x_10); -lean_dec(x_2); -x_139 = lean_ctor_get(x_57, 0); -lean_inc(x_139); -lean_dec(x_57); -x_140 = lean_apply_8(x_1, x_139, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +x_140 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_16); return x_140; } } +} else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; +lean_object* x_141; lean_object* x_142; +lean_dec(x_17); +lean_free_object(x_13); +lean_dec(x_10); +lean_dec(x_2); +x_141 = lean_ctor_get(x_59, 0); +lean_inc(x_141); +lean_dec(x_59); +x_142 = lean_apply_8(x_1, x_141, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +return x_142; +} +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_dec(x_17); lean_free_object(x_13); lean_dec(x_10); lean_dec(x_2); lean_dec(x_1); -x_141 = lean_st_ref_get(x_8, x_16); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_142, 3); -lean_inc(x_143); -lean_dec(x_142); -x_144 = lean_ctor_get_uint8(x_143, sizeof(void*)*1); -lean_dec(x_143); -if (x_144 == 0) -{ -lean_object* x_145; lean_object* x_146; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_145 = lean_ctor_get(x_141, 1); +x_143 = lean_st_ref_get(x_8, x_16); +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_144, 3); lean_inc(x_145); -lean_dec(x_141); -x_146 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_145); -return x_146; -} -else +lean_dec(x_144); +x_146 = lean_ctor_get_uint8(x_145, sizeof(void*)*1); +lean_dec(x_145); +if (x_146 == 0) { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_147 = lean_ctor_get(x_141, 1); +lean_object* x_147; lean_object* x_148; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_147 = lean_ctor_get(x_143, 1); lean_inc(x_147); -lean_dec(x_141); -x_148 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; -x_149 = l_Lean_Meta_CheckAssignment_checkFVar___closed__16; -x_150 = l_Lean_Meta_CheckAssignment_checkMVar___closed__5; -x_151 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_148, x_149, x_150); +lean_dec(x_143); +x_148 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_147); +return x_148; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_149 = lean_ctor_get(x_143, 1); +lean_inc(x_149); +lean_dec(x_143); +x_150 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; +x_151 = l_Lean_Meta_CheckAssignment_checkFVar___closed__16; +x_152 = l_Lean_Meta_CheckAssignment_checkMVar___closed__5; +x_153 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_150, x_151, x_152); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_152 = lean_apply_7(x_151, x_3, x_4, x_5, x_6, x_7, x_8, x_147); -if (lean_obj_tag(x_152) == 0) +x_154 = lean_apply_7(x_153, x_3, x_4, x_5, x_6, x_7, x_8, x_149); +if (lean_obj_tag(x_154) == 0) { -lean_object* x_153; uint8_t x_154; -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_unbox(x_153); -lean_dec(x_153); -if (x_154 == 0) -{ -lean_object* x_155; lean_object* x_156; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_155 = lean_ctor_get(x_152, 1); +lean_object* x_155; uint8_t x_156; +x_155 = lean_ctor_get(x_154, 0); lean_inc(x_155); -lean_dec(x_152); -x_156 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_155); -return x_156; -} -else +x_156 = lean_unbox(x_155); +lean_dec(x_155); +if (x_156 == 0) { -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; -x_157 = lean_ctor_get(x_152, 1); +lean_object* x_157; lean_object* x_158; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_157 = lean_ctor_get(x_154, 1); lean_inc(x_157); -lean_dec(x_152); -lean_inc(x_3); -x_158 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_157); -x_159 = lean_ctor_get(x_158, 0); +lean_dec(x_154); +x_158 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_157); +return x_158; +} +else +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_159 = lean_ctor_get(x_154, 1); lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); -x_161 = l_Lean_Meta_CheckAssignment_checkFVar___closed__6; -x_162 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; -x_163 = l_Lean_Meta_CheckAssignment_checkFVar___closed__12; -x_164 = l_Lean_addTrace___rarg(x_148, x_161, x_162, x_163, x_150, x_159); -x_165 = lean_apply_7(x_164, x_3, x_4, x_5, x_6, x_7, x_8, x_160); -if (lean_obj_tag(x_165) == 0) +lean_dec(x_154); +x_160 = l_Lean_Meta_CheckAssignment_checkMVar___closed__8; +lean_inc(x_3); +x_161 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_160, x_3, x_4, x_5, x_6, x_7, x_8, x_159); +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +lean_dec(x_161); +x_164 = l_Lean_Meta_CheckAssignment_checkFVar___closed__6; +x_165 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; +x_166 = l_Lean_Meta_CheckAssignment_checkFVar___closed__12; +x_167 = l_Lean_addTrace___rarg(x_150, x_164, x_165, x_166, x_152, x_162); +x_168 = lean_apply_7(x_167, x_3, x_4, x_5, x_6, x_7, x_8, x_163); +if (lean_obj_tag(x_168) == 0) { -lean_object* x_166; lean_object* x_167; -x_166 = lean_ctor_get(x_165, 1); -lean_inc(x_166); -lean_dec(x_165); -x_167 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_166); -return x_167; -} -else -{ -uint8_t x_168; -x_168 = !lean_is_exclusive(x_165); -if (x_168 == 0) -{ -return x_165; -} -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_165, 0); -x_170 = lean_ctor_get(x_165, 1); -lean_inc(x_170); +lean_object* x_169; lean_object* x_170; +x_169 = lean_ctor_get(x_168, 1); lean_inc(x_169); -lean_dec(x_165); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -return x_171; -} -} -} +lean_dec(x_168); +x_170 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_169); +return x_170; } else { -uint8_t x_172; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_172 = !lean_is_exclusive(x_152); -if (x_172 == 0) +uint8_t x_171; +x_171 = !lean_is_exclusive(x_168); +if (x_171 == 0) { -return x_152; +return x_168; } else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_173 = lean_ctor_get(x_152, 0); -x_174 = lean_ctor_get(x_152, 1); -lean_inc(x_174); +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_168, 0); +x_173 = lean_ctor_get(x_168, 1); lean_inc(x_173); -lean_dec(x_152); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -return x_175; +lean_inc(x_172); +lean_dec(x_168); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_173); +return x_174; } } } } -block_54: +else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -lean_dec(x_18); -x_19 = lean_st_ref_get(x_8, x_16); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_20, 3); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_ctor_get_uint8(x_21, sizeof(void*)*1); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; +uint8_t x_175; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_23 = lean_ctor_get(x_19, 1); -lean_inc(x_23); -lean_dec(x_19); -x_24 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_23); -return x_24; +x_175 = !lean_is_exclusive(x_154); +if (x_175 == 0) +{ +return x_154; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_25 = lean_ctor_get(x_19, 1); +lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_176 = lean_ctor_get(x_154, 0); +x_177 = lean_ctor_get(x_154, 1); +lean_inc(x_177); +lean_inc(x_176); +lean_dec(x_154); +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_176); +lean_ctor_set(x_178, 1, x_177); +return x_178; +} +} +} +} +block_56: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +lean_dec(x_18); +x_19 = l_Lean_mkMVar(x_10); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_st_ref_get(x_8, x_16); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 3); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_ctor_get_uint8(x_23, sizeof(void*)*1); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_20); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_25 = lean_ctor_get(x_21, 1); lean_inc(x_25); -lean_dec(x_19); -x_26 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; -x_27 = l_Lean_Meta_CheckAssignment_checkFVar___closed__16; -x_28 = l_Lean_Meta_CheckAssignment_checkMVar___closed__2; -x_29 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_26, x_27, x_28); +lean_dec(x_21); +x_26 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_25); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_27 = lean_ctor_get(x_21, 1); +lean_inc(x_27); +lean_dec(x_21); +x_28 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; +x_29 = l_Lean_Meta_CheckAssignment_checkFVar___closed__16; +x_30 = l_Lean_Meta_CheckAssignment_checkMVar___closed__2; +x_31 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_28, x_29, x_30); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_30 = lean_apply_7(x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_25); -if (lean_obj_tag(x_30) == 0) +x_32 = lean_apply_7(x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_27); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_31; uint8_t x_32; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_unbox(x_31); -lean_dec(x_31); -if (x_32 == 0) +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_unbox(x_33); +lean_dec(x_33); +if (x_34 == 0) { -lean_object* x_33; lean_object* x_34; +lean_object* x_35; lean_object* x_36; +lean_dec(x_20); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_dec(x_30); -x_34 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_33); -return x_34; +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_35); +return x_36; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_35 = lean_ctor_get(x_30, 1); -lean_inc(x_35); -lean_dec(x_30); -lean_inc(x_3); -x_36 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_35); -x_37 = lean_ctor_get(x_36, 0); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_37 = lean_ctor_get(x_32, 1); lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Meta_CheckAssignment_checkFVar___closed__6; -x_40 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; -x_41 = l_Lean_Meta_CheckAssignment_checkFVar___closed__12; -x_42 = l_Lean_addTrace___rarg(x_26, x_39, x_40, x_41, x_28, x_37); -x_43 = lean_apply_7(x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_38); -if (lean_obj_tag(x_43) == 0) +lean_dec(x_32); +lean_inc(x_3); +x_38 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l_Lean_Meta_CheckAssignment_checkFVar___closed__6; +x_42 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; +x_43 = l_Lean_Meta_CheckAssignment_checkFVar___closed__12; +x_44 = l_Lean_addTrace___rarg(x_28, x_41, x_42, x_43, x_30, x_39); +x_45 = lean_apply_7(x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_40); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_46); +return x_47; +} +else +{ +uint8_t x_48; +x_48 = !lean_is_exclusive(x_45); +if (x_48 == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -x_45 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_44); return x_45; } else { -uint8_t x_46; -x_46 = !lean_is_exclusive(x_43); -if (x_46 == 0) -{ -return x_43; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_43, 0); -x_48 = lean_ctor_get(x_43, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_43); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_45, 0); +x_50 = lean_ctor_get(x_45, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_45); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } } else { -uint8_t x_50; +uint8_t x_52; +lean_dec(x_20); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_50 = !lean_is_exclusive(x_30); -if (x_50 == 0) +x_52 = !lean_is_exclusive(x_32); +if (x_52 == 0) { -return x_30; +return x_32; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_30, 0); -x_52 = lean_ctor_get(x_30, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_30); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_32, 0); +x_54 = lean_ctor_get(x_32, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_32); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } @@ -15009,141 +15040,112 @@ return x_53; } else { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_216; uint8_t x_217; -x_176 = lean_ctor_get(x_13, 0); -x_177 = lean_ctor_get(x_13, 1); -lean_inc(x_177); -lean_inc(x_176); +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_221; uint8_t x_222; +x_179 = lean_ctor_get(x_13, 0); +x_180 = lean_ctor_get(x_13, 1); +lean_inc(x_180); +lean_inc(x_179); lean_dec(x_13); -x_178 = lean_ctor_get(x_176, 0); -lean_inc(x_178); -lean_dec(x_176); -x_216 = lean_ctor_get(x_3, 0); -lean_inc(x_216); -x_217 = lean_name_eq(x_10, x_216); -lean_dec(x_216); -if (x_217 == 0) +x_181 = lean_ctor_get(x_179, 0); +lean_inc(x_181); +lean_dec(x_179); +x_221 = lean_ctor_get(x_3, 0); +lean_inc(x_221); +x_222 = lean_name_eq(x_10, x_221); +lean_dec(x_221); +if (x_222 == 0) { -lean_object* x_218; +lean_object* x_223; lean_inc(x_10); -lean_inc(x_178); -x_218 = lean_metavar_ctx_get_expr_assignment(x_178, x_10); -if (lean_obj_tag(x_218) == 0) +lean_inc(x_181); +x_223 = lean_metavar_ctx_get_expr_assignment(x_181, x_10); +if (lean_obj_tag(x_223) == 0) { -lean_object* x_219; +lean_object* x_224; lean_inc(x_10); -lean_inc(x_178); -x_219 = lean_metavar_ctx_find_decl(x_178, x_10); -if (lean_obj_tag(x_219) == 0) +lean_inc(x_181); +x_224 = lean_metavar_ctx_find_decl(x_181, x_10); +if (lean_obj_tag(x_224) == 0) { -lean_object* x_220; -lean_dec(x_178); +lean_object* x_225; +lean_dec(x_181); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_220 = l_Lean_Meta_throwUnknownMVar___rarg(x_10, x_5, x_6, x_7, x_8, x_177); +x_225 = l_Lean_Meta_throwUnknownMVar___rarg(x_10, x_5, x_6, x_7, x_8, x_180); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_220; +return x_225; } else { -uint8_t x_221; -x_221 = lean_ctor_get_uint8(x_3, sizeof(void*)*4); -if (x_221 == 0) +uint8_t x_226; +x_226 = lean_ctor_get_uint8(x_3, sizeof(void*)*4); +if (x_226 == 0) { -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; -x_222 = lean_ctor_get(x_219, 0); -lean_inc(x_222); -lean_dec(x_219); -x_223 = lean_ctor_get(x_222, 1); -lean_inc(x_223); -x_224 = lean_ctor_get(x_3, 1); -lean_inc(x_224); -x_225 = lean_ctor_get(x_224, 1); -lean_inc(x_225); +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; uint8_t x_232; +x_227 = lean_ctor_get(x_224, 0); +lean_inc(x_227); lean_dec(x_224); -x_226 = lean_ctor_get(x_3, 2); -lean_inc(x_226); -lean_inc(x_225); -lean_inc(x_223); -x_227 = l_Lean_LocalContext_isSubPrefixOf(x_223, x_225, x_226); -if (x_227 == 0) -{ -lean_object* x_228; lean_object* x_229; uint8_t x_230; -x_228 = lean_ctor_get(x_222, 3); +x_228 = lean_ctor_get(x_227, 1); lean_inc(x_228); -x_229 = lean_ctor_get(x_178, 0); +x_229 = lean_ctor_get(x_3, 1); lean_inc(x_229); -x_230 = lean_nat_dec_eq(x_228, x_229); +x_230 = lean_ctor_get(x_229, 1); +lean_inc(x_230); lean_dec(x_229); -lean_dec(x_228); -if (x_230 == 0) +x_231 = lean_ctor_get(x_3, 2); +lean_inc(x_231); +lean_inc(x_230); +lean_inc(x_228); +x_232 = l_Lean_LocalContext_isSubPrefixOf(x_228, x_230, x_231); +if (x_232 == 0) { -lean_object* x_231; -lean_dec(x_226); -lean_dec(x_225); -lean_dec(x_223); -lean_dec(x_222); -lean_dec(x_178); -lean_dec(x_10); -lean_dec(x_2); -lean_dec(x_1); -x_231 = lean_box(0); -x_179 = x_231; -goto block_215; -} -else -{ -uint8_t x_232; uint8_t x_233; -x_232 = lean_ctor_get_uint8(x_222, sizeof(void*)*6); -x_233 = l_Lean_MetavarKind_isSyntheticOpaque(x_232); -if (x_233 == 0) -{ -lean_object* x_234; uint8_t x_235; -x_234 = lean_ctor_get(x_5, 0); +lean_object* x_233; lean_object* x_234; uint8_t x_235; +x_233 = lean_ctor_get(x_227, 3); +lean_inc(x_233); +x_234 = lean_ctor_get(x_181, 0); lean_inc(x_234); -x_235 = lean_ctor_get_uint8(x_234, 1); +x_235 = lean_nat_dec_eq(x_233, x_234); lean_dec(x_234); +lean_dec(x_233); if (x_235 == 0) { lean_object* x_236; -lean_dec(x_226); -lean_dec(x_225); -lean_dec(x_223); -lean_dec(x_222); -lean_dec(x_178); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_231); +lean_dec(x_230); +lean_dec(x_228); +lean_dec(x_227); +lean_dec(x_181); +lean_dec(x_2); lean_dec(x_1); -x_236 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_236, 0, x_2); -lean_ctor_set(x_236, 1, x_177); -return x_236; +x_236 = lean_box(0); +x_182 = x_236; +goto block_220; } else { -lean_object* x_237; uint8_t x_238; -x_237 = l_Array_empty___closed__1; -lean_inc(x_223); -lean_inc(x_225); -x_238 = l_Lean_LocalContext_isSubPrefixOf(x_225, x_223, x_237); +uint8_t x_237; uint8_t x_238; +x_237 = lean_ctor_get_uint8(x_227, sizeof(void*)*6); +x_238 = l_Lean_MetavarKind_isSyntheticOpaque(x_237); if (x_238 == 0) { -lean_object* x_239; -lean_dec(x_226); -lean_dec(x_225); -lean_dec(x_223); -lean_dec(x_222); -lean_dec(x_178); +lean_object* x_239; uint8_t x_240; +x_239 = lean_ctor_get(x_5, 0); +lean_inc(x_239); +x_240 = lean_ctor_get_uint8(x_239, 1); +lean_dec(x_239); +if (x_240 == 0) +{ +lean_object* x_241; +lean_dec(x_231); +lean_dec(x_230); +lean_dec(x_228); +lean_dec(x_227); +lean_dec(x_181); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -15152,219 +15154,247 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_2); -lean_ctor_set(x_239, 1, x_177); -return x_239; +x_241 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_241, 0, x_2); +lean_ctor_set(x_241, 1, x_180); +return x_241; } else { -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; lean_object* x_250; lean_object* x_251; -lean_dec(x_2); -x_240 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_checkMVar___lambda__2), 5, 3); -lean_closure_set(x_240, 0, x_225); -lean_closure_set(x_240, 1, x_226); -lean_closure_set(x_240, 2, x_178); -x_241 = l_Id_instMonadId; -x_242 = lean_unsigned_to_nat(0u); -lean_inc(x_223); -x_243 = l_Lean_LocalContext_foldlM___rarg(x_241, lean_box(0), x_223, x_240, x_237, x_242); -x_244 = lean_array_get_size(x_243); -x_245 = lean_nat_dec_lt(x_242, x_244); -x_246 = lean_ctor_get(x_222, 4); -lean_inc(x_246); -x_247 = lean_array_get_size(x_246); -lean_inc(x_243); -x_248 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_checkMVar___lambda__3___boxed), 3, 1); -lean_closure_set(x_248, 0, x_243); -x_249 = lean_nat_dec_lt(x_242, x_247); -x_250 = lean_ctor_get(x_222, 2); -lean_inc(x_250); -if (x_245 == 0) +lean_object* x_242; uint8_t x_243; +x_242 = l_Array_empty___closed__1; +lean_inc(x_228); +lean_inc(x_230); +x_243 = l_Lean_LocalContext_isSubPrefixOf(x_230, x_228, x_242); +if (x_243 == 0) { -lean_dec(x_244); -lean_dec(x_243); -x_251 = x_223; +lean_object* x_244; +lean_dec(x_231); +lean_dec(x_230); +lean_dec(x_228); +lean_dec(x_227); +lean_dec(x_181); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_244 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_244, 0, x_2); +lean_ctor_set(x_244, 1, x_180); +return x_244; +} +else +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; uint8_t x_254; lean_object* x_255; lean_object* x_256; +lean_dec(x_2); +x_245 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_checkMVar___lambda__2), 5, 3); +lean_closure_set(x_245, 0, x_230); +lean_closure_set(x_245, 1, x_231); +lean_closure_set(x_245, 2, x_181); +x_246 = l_Id_instMonadId; +x_247 = lean_unsigned_to_nat(0u); +lean_inc(x_228); +x_248 = l_Lean_LocalContext_foldlM___rarg(x_246, lean_box(0), x_228, x_245, x_242, x_247); +x_249 = lean_array_get_size(x_248); +x_250 = lean_nat_dec_lt(x_247, x_249); +x_251 = lean_ctor_get(x_227, 4); +lean_inc(x_251); +x_252 = lean_array_get_size(x_251); +lean_inc(x_248); +x_253 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_checkMVar___lambda__3___boxed), 3, 1); +lean_closure_set(x_253, 0, x_248); +x_254 = lean_nat_dec_lt(x_247, x_252); +x_255 = lean_ctor_get(x_227, 2); +lean_inc(x_255); +if (x_250 == 0) +{ +lean_dec(x_249); +lean_dec(x_248); +x_256 = x_228; +goto block_292; +} +else +{ +uint8_t x_293; +x_293 = lean_nat_dec_le(x_249, x_249); +if (x_293 == 0) +{ +lean_dec(x_249); +lean_dec(x_248); +x_256 = x_228; +goto block_292; +} +else +{ +size_t x_294; size_t x_295; lean_object* x_296; lean_object* x_297; +x_294 = 0; +x_295 = lean_usize_of_nat(x_249); +lean_dec(x_249); +x_296 = l_Lean_Meta_CheckAssignment_checkMVar___closed__3; +x_297 = l_Array_foldlMUnsafe_fold___rarg(x_246, x_296, x_248, x_294, x_295, x_228); +x_256 = x_297; +goto block_292; +} +} +block_292: +{ +lean_object* x_257; +if (x_254 == 0) +{ +lean_dec(x_253); +lean_dec(x_252); +lean_dec(x_251); +x_257 = x_242; goto block_287; } else { uint8_t x_288; -x_288 = lean_nat_dec_le(x_244, x_244); +x_288 = lean_nat_dec_le(x_252, x_252); if (x_288 == 0) { -lean_dec(x_244); -lean_dec(x_243); -x_251 = x_223; +lean_dec(x_253); +lean_dec(x_252); +lean_dec(x_251); +x_257 = x_242; goto block_287; } else { -size_t x_289; size_t x_290; lean_object* x_291; lean_object* x_292; +size_t x_289; size_t x_290; lean_object* x_291; x_289 = 0; -x_290 = lean_usize_of_nat(x_244); -lean_dec(x_244); -x_291 = l_Lean_Meta_CheckAssignment_checkMVar___closed__3; -x_292 = l_Array_foldlMUnsafe_fold___rarg(x_241, x_291, x_243, x_289, x_290, x_223); -x_251 = x_292; +x_290 = lean_usize_of_nat(x_252); +lean_dec(x_252); +x_291 = l_Array_foldlMUnsafe_fold___rarg(x_246, x_253, x_251, x_289, x_290, x_242); +x_257 = x_291; goto block_287; } } block_287: { -lean_object* x_252; -if (x_249 == 0) -{ -lean_dec(x_248); -lean_dec(x_247); -lean_dec(x_246); -x_252 = x_237; -goto block_282; -} -else -{ -uint8_t x_283; -x_283 = lean_nat_dec_le(x_247, x_247); -if (x_283 == 0) -{ -lean_dec(x_248); -lean_dec(x_247); -lean_dec(x_246); -x_252 = x_237; -goto block_282; -} -else -{ -size_t x_284; size_t x_285; lean_object* x_286; -x_284 = 0; -x_285 = lean_usize_of_nat(x_247); -lean_dec(x_247); -x_286 = l_Array_foldlMUnsafe_fold___rarg(x_241, x_248, x_246, x_284, x_285, x_237); -x_252 = x_286; -goto block_282; -} -} -block_282: -{ -lean_object* x_253; +lean_object* x_258; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_253 = lean_apply_8(x_1, x_250, x_3, x_4, x_5, x_6, x_7, x_8, x_177); -if (lean_obj_tag(x_253) == 0) +x_258 = lean_apply_8(x_1, x_255, x_3, x_4, x_5, x_6, x_7, x_8, x_180); +if (lean_obj_tag(x_258) == 0) { -lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; 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; -x_254 = lean_ctor_get(x_253, 0); -lean_inc(x_254); -x_255 = lean_ctor_get(x_253, 1); -lean_inc(x_255); -lean_dec(x_253); -x_256 = lean_ctor_get(x_222, 5); -lean_inc(x_256); -lean_dec(x_222); -x_257 = 0; -x_258 = lean_box(0); -x_259 = l_Lean_Meta_mkFreshExprMVarAt(x_251, x_252, x_254, x_257, x_258, x_256, x_5, x_6, x_7, x_8, x_255); +lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_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; lean_object* x_281; lean_object* x_282; +x_259 = lean_ctor_get(x_258, 0); +lean_inc(x_259); +x_260 = lean_ctor_get(x_258, 1); +lean_inc(x_260); +lean_dec(x_258); +x_261 = lean_ctor_get(x_227, 5); +lean_inc(x_261); +lean_dec(x_227); +x_262 = 0; +x_263 = lean_box(0); +x_264 = l_Lean_Meta_mkFreshExprMVarAt(x_256, x_257, x_259, x_262, x_263, x_261, x_5, x_6, x_7, x_8, x_260); lean_dec(x_7); lean_dec(x_5); -x_260 = lean_ctor_get(x_259, 0); -lean_inc(x_260); -x_261 = lean_ctor_get(x_259, 1); -lean_inc(x_261); -lean_dec(x_259); -x_262 = lean_st_ref_get(x_8, x_261); -lean_dec(x_8); -x_263 = lean_ctor_get(x_262, 1); -lean_inc(x_263); -lean_dec(x_262); -x_264 = lean_st_ref_take(x_6, x_263); x_265 = lean_ctor_get(x_264, 0); lean_inc(x_265); x_266 = lean_ctor_get(x_264, 1); lean_inc(x_266); lean_dec(x_264); -x_267 = lean_ctor_get(x_265, 0); -lean_inc(x_267); -x_268 = lean_ctor_get(x_265, 1); +x_267 = lean_st_ref_get(x_8, x_266); +lean_dec(x_8); +x_268 = lean_ctor_get(x_267, 1); lean_inc(x_268); -x_269 = lean_ctor_get(x_265, 2); -lean_inc(x_269); -x_270 = lean_ctor_get(x_265, 3); +lean_dec(x_267); +x_269 = lean_st_ref_take(x_6, x_268); +x_270 = lean_ctor_get(x_269, 0); lean_inc(x_270); -if (lean_is_exclusive(x_265)) { - lean_ctor_release(x_265, 0); - lean_ctor_release(x_265, 1); - lean_ctor_release(x_265, 2); - lean_ctor_release(x_265, 3); - x_271 = x_265; -} else { - lean_dec_ref(x_265); - x_271 = lean_box(0); -} -lean_inc(x_260); -x_272 = l_Lean_MetavarContext_assignExpr(x_267, x_10, x_260); -if (lean_is_scalar(x_271)) { - x_273 = lean_alloc_ctor(0, 4, 0); -} else { - x_273 = x_271; -} -lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_268); -lean_ctor_set(x_273, 2, x_269); -lean_ctor_set(x_273, 3, x_270); -x_274 = lean_st_ref_set(x_6, x_273, x_266); -lean_dec(x_6); -x_275 = lean_ctor_get(x_274, 1); +x_271 = lean_ctor_get(x_269, 1); +lean_inc(x_271); +lean_dec(x_269); +x_272 = lean_ctor_get(x_270, 0); +lean_inc(x_272); +x_273 = lean_ctor_get(x_270, 1); +lean_inc(x_273); +x_274 = lean_ctor_get(x_270, 2); +lean_inc(x_274); +x_275 = lean_ctor_get(x_270, 3); lean_inc(x_275); -if (lean_is_exclusive(x_274)) { - lean_ctor_release(x_274, 0); - lean_ctor_release(x_274, 1); - x_276 = x_274; +if (lean_is_exclusive(x_270)) { + lean_ctor_release(x_270, 0); + lean_ctor_release(x_270, 1); + lean_ctor_release(x_270, 2); + lean_ctor_release(x_270, 3); + x_276 = x_270; } else { - lean_dec_ref(x_274); + lean_dec_ref(x_270); x_276 = lean_box(0); } +lean_inc(x_265); +x_277 = l_Lean_MetavarContext_assignExpr(x_272, x_10, x_265); if (lean_is_scalar(x_276)) { - x_277 = lean_alloc_ctor(0, 2, 0); + x_278 = lean_alloc_ctor(0, 4, 0); } else { - x_277 = x_276; + x_278 = x_276; } -lean_ctor_set(x_277, 0, x_260); -lean_ctor_set(x_277, 1, x_275); -return x_277; +lean_ctor_set(x_278, 0, x_277); +lean_ctor_set(x_278, 1, x_273); +lean_ctor_set(x_278, 2, x_274); +lean_ctor_set(x_278, 3, x_275); +x_279 = lean_st_ref_set(x_6, x_278, x_271); +lean_dec(x_6); +x_280 = lean_ctor_get(x_279, 1); +lean_inc(x_280); +if (lean_is_exclusive(x_279)) { + lean_ctor_release(x_279, 0); + lean_ctor_release(x_279, 1); + x_281 = x_279; +} else { + lean_dec_ref(x_279); + x_281 = lean_box(0); +} +if (lean_is_scalar(x_281)) { + x_282 = lean_alloc_ctor(0, 2, 0); +} else { + x_282 = x_281; +} +lean_ctor_set(x_282, 0, x_265); +lean_ctor_set(x_282, 1, x_280); +return x_282; } else { -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; -lean_dec(x_252); -lean_dec(x_251); -lean_dec(x_222); +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_dec(x_257); +lean_dec(x_256); +lean_dec(x_227); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_278 = lean_ctor_get(x_253, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_253, 1); -lean_inc(x_279); -if (lean_is_exclusive(x_253)) { - lean_ctor_release(x_253, 0); - lean_ctor_release(x_253, 1); - x_280 = x_253; +x_283 = lean_ctor_get(x_258, 0); +lean_inc(x_283); +x_284 = lean_ctor_get(x_258, 1); +lean_inc(x_284); +if (lean_is_exclusive(x_258)) { + lean_ctor_release(x_258, 0); + lean_ctor_release(x_258, 1); + x_285 = x_258; } else { - lean_dec_ref(x_253); - x_280 = lean_box(0); + lean_dec_ref(x_258); + x_285 = lean_box(0); } -if (lean_is_scalar(x_280)) { - x_281 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_285)) { + x_286 = lean_alloc_ctor(1, 2, 0); } else { - x_281 = x_280; + x_286 = x_285; } -lean_ctor_set(x_281, 0, x_278); -lean_ctor_set(x_281, 1, x_279); -return x_281; +lean_ctor_set(x_286, 0, x_283); +lean_ctor_set(x_286, 1, x_284); +return x_286; } } } @@ -15373,377 +15403,383 @@ return x_281; } else { -lean_object* x_293; -lean_dec(x_226); -lean_dec(x_225); -lean_dec(x_223); -lean_dec(x_222); -lean_dec(x_178); -lean_dec(x_10); -lean_dec(x_2); -lean_dec(x_1); -x_293 = lean_box(0); -x_179 = x_293; -goto block_215; -} -} -} -else -{ -lean_object* x_294; -lean_dec(x_226); -lean_dec(x_225); -lean_dec(x_223); -lean_dec(x_222); -lean_dec(x_178); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_294 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_294, 0, x_2); -lean_ctor_set(x_294, 1, x_177); -return x_294; -} -} -else -{ -lean_object* x_295; -lean_dec(x_219); -lean_dec(x_178); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_295 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_177); -return x_295; -} -} -} -else -{ -lean_object* x_296; lean_object* x_297; -lean_dec(x_178); -lean_dec(x_10); -lean_dec(x_2); -x_296 = lean_ctor_get(x_218, 0); -lean_inc(x_296); -lean_dec(x_218); -x_297 = lean_apply_8(x_1, x_296, x_3, x_4, x_5, x_6, x_7, x_8, x_177); -return x_297; -} -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; uint8_t x_301; -lean_dec(x_178); -lean_dec(x_10); -lean_dec(x_2); -lean_dec(x_1); -x_298 = lean_st_ref_get(x_8, x_177); -x_299 = lean_ctor_get(x_298, 0); -lean_inc(x_299); -x_300 = lean_ctor_get(x_299, 3); -lean_inc(x_300); -lean_dec(x_299); -x_301 = lean_ctor_get_uint8(x_300, sizeof(void*)*1); -lean_dec(x_300); -if (x_301 == 0) -{ -lean_object* x_302; lean_object* x_303; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_302 = lean_ctor_get(x_298, 1); -lean_inc(x_302); -lean_dec(x_298); -x_303 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_302); -return x_303; -} -else -{ -lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; -x_304 = lean_ctor_get(x_298, 1); -lean_inc(x_304); -lean_dec(x_298); -x_305 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; -x_306 = l_Lean_Meta_CheckAssignment_checkFVar___closed__16; -x_307 = l_Lean_Meta_CheckAssignment_checkMVar___closed__5; -x_308 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_305, x_306, x_307); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_309 = lean_apply_7(x_308, x_3, x_4, x_5, x_6, x_7, x_8, x_304); -if (lean_obj_tag(x_309) == 0) -{ -lean_object* x_310; uint8_t x_311; -x_310 = lean_ctor_get(x_309, 0); -lean_inc(x_310); -x_311 = lean_unbox(x_310); -lean_dec(x_310); -if (x_311 == 0) -{ -lean_object* x_312; lean_object* x_313; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_312 = lean_ctor_get(x_309, 1); -lean_inc(x_312); -lean_dec(x_309); -x_313 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_312); -return x_313; -} -else -{ -lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; -x_314 = lean_ctor_get(x_309, 1); -lean_inc(x_314); -lean_dec(x_309); -lean_inc(x_3); -x_315 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_314); -x_316 = lean_ctor_get(x_315, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_315, 1); -lean_inc(x_317); -lean_dec(x_315); -x_318 = l_Lean_Meta_CheckAssignment_checkFVar___closed__6; -x_319 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; -x_320 = l_Lean_Meta_CheckAssignment_checkFVar___closed__12; -x_321 = l_Lean_addTrace___rarg(x_305, x_318, x_319, x_320, x_307, x_316); -x_322 = lean_apply_7(x_321, x_3, x_4, x_5, x_6, x_7, x_8, x_317); -if (lean_obj_tag(x_322) == 0) -{ -lean_object* x_323; lean_object* x_324; -x_323 = lean_ctor_get(x_322, 1); -lean_inc(x_323); -lean_dec(x_322); -x_324 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_323); -return x_324; -} -else -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_325 = lean_ctor_get(x_322, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_322, 1); -lean_inc(x_326); -if (lean_is_exclusive(x_322)) { - lean_ctor_release(x_322, 0); - lean_ctor_release(x_322, 1); - x_327 = x_322; -} else { - lean_dec_ref(x_322); - x_327 = lean_box(0); -} -if (lean_is_scalar(x_327)) { - x_328 = lean_alloc_ctor(1, 2, 0); -} else { - x_328 = x_327; -} -lean_ctor_set(x_328, 0, x_325); -lean_ctor_set(x_328, 1, x_326); -return x_328; -} -} -} -else -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_329 = lean_ctor_get(x_309, 0); -lean_inc(x_329); -x_330 = lean_ctor_get(x_309, 1); -lean_inc(x_330); -if (lean_is_exclusive(x_309)) { - lean_ctor_release(x_309, 0); - lean_ctor_release(x_309, 1); - x_331 = x_309; -} else { - lean_dec_ref(x_309); - x_331 = lean_box(0); -} -if (lean_is_scalar(x_331)) { - x_332 = lean_alloc_ctor(1, 2, 0); -} else { - x_332 = x_331; -} -lean_ctor_set(x_332, 0, x_329); -lean_ctor_set(x_332, 1, x_330); -return x_332; -} -} -} -block_215: -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; -lean_dec(x_179); -x_180 = lean_st_ref_get(x_8, x_177); -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_181, 3); -lean_inc(x_182); +lean_object* x_298; +lean_dec(x_231); +lean_dec(x_230); +lean_dec(x_228); +lean_dec(x_227); lean_dec(x_181); -x_183 = lean_ctor_get_uint8(x_182, sizeof(void*)*1); -lean_dec(x_182); -if (x_183 == 0) +lean_dec(x_2); +lean_dec(x_1); +x_298 = lean_box(0); +x_182 = x_298; +goto block_220; +} +} +} +else { -lean_object* x_184; lean_object* x_185; +lean_object* x_299; +lean_dec(x_231); +lean_dec(x_230); +lean_dec(x_228); +lean_dec(x_227); +lean_dec(x_181); +lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_184 = lean_ctor_get(x_180, 1); -lean_inc(x_184); -lean_dec(x_180); -x_185 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_184); -return x_185; +lean_dec(x_1); +x_299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_299, 0, x_2); +lean_ctor_set(x_299, 1, x_180); +return x_299; +} } else { -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_186 = lean_ctor_get(x_180, 1); -lean_inc(x_186); -lean_dec(x_180); -x_187 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; -x_188 = l_Lean_Meta_CheckAssignment_checkFVar___closed__16; -x_189 = l_Lean_Meta_CheckAssignment_checkMVar___closed__2; -x_190 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_187, x_188, x_189); +lean_object* x_300; +lean_dec(x_224); +lean_dec(x_181); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_300 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_180); +return x_300; +} +} +} +else +{ +lean_object* x_301; lean_object* x_302; +lean_dec(x_181); +lean_dec(x_10); +lean_dec(x_2); +x_301 = lean_ctor_get(x_223, 0); +lean_inc(x_301); +lean_dec(x_223); +x_302 = lean_apply_8(x_1, x_301, x_3, x_4, x_5, x_6, x_7, x_8, x_180); +return x_302; +} +} +else +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; +lean_dec(x_181); +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +x_303 = lean_st_ref_get(x_8, x_180); +x_304 = lean_ctor_get(x_303, 0); +lean_inc(x_304); +x_305 = lean_ctor_get(x_304, 3); +lean_inc(x_305); +lean_dec(x_304); +x_306 = lean_ctor_get_uint8(x_305, sizeof(void*)*1); +lean_dec(x_305); +if (x_306 == 0) +{ +lean_object* x_307; lean_object* x_308; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_307 = lean_ctor_get(x_303, 1); +lean_inc(x_307); +lean_dec(x_303); +x_308 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_307); +return x_308; +} +else +{ +lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +x_309 = lean_ctor_get(x_303, 1); +lean_inc(x_309); +lean_dec(x_303); +x_310 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; +x_311 = l_Lean_Meta_CheckAssignment_checkFVar___closed__16; +x_312 = l_Lean_Meta_CheckAssignment_checkMVar___closed__5; +x_313 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_310, x_311, x_312); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_191 = lean_apply_7(x_190, x_3, x_4, x_5, x_6, x_7, x_8, x_186); -if (lean_obj_tag(x_191) == 0) +x_314 = lean_apply_7(x_313, x_3, x_4, x_5, x_6, x_7, x_8, x_309); +if (lean_obj_tag(x_314) == 0) { -lean_object* x_192; uint8_t x_193; -x_192 = lean_ctor_get(x_191, 0); -lean_inc(x_192); -x_193 = lean_unbox(x_192); -lean_dec(x_192); -if (x_193 == 0) +lean_object* x_315; uint8_t x_316; +x_315 = lean_ctor_get(x_314, 0); +lean_inc(x_315); +x_316 = lean_unbox(x_315); +lean_dec(x_315); +if (x_316 == 0) { -lean_object* x_194; lean_object* x_195; +lean_object* x_317; lean_object* x_318; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_194 = lean_ctor_get(x_191, 1); -lean_inc(x_194); -lean_dec(x_191); -x_195 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_194); -return x_195; +x_317 = lean_ctor_get(x_314, 1); +lean_inc(x_317); +lean_dec(x_314); +x_318 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_317); +return x_318; } else { -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_196 = lean_ctor_get(x_191, 1); -lean_inc(x_196); -lean_dec(x_191); +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; +x_319 = lean_ctor_get(x_314, 1); +lean_inc(x_319); +lean_dec(x_314); +x_320 = l_Lean_Meta_CheckAssignment_checkMVar___closed__8; lean_inc(x_3); -x_197 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_196); -x_198 = lean_ctor_get(x_197, 0); -lean_inc(x_198); -x_199 = lean_ctor_get(x_197, 1); -lean_inc(x_199); -lean_dec(x_197); -x_200 = l_Lean_Meta_CheckAssignment_checkFVar___closed__6; -x_201 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; -x_202 = l_Lean_Meta_CheckAssignment_checkFVar___closed__12; -x_203 = l_Lean_addTrace___rarg(x_187, x_200, x_201, x_202, x_189, x_198); -x_204 = lean_apply_7(x_203, x_3, x_4, x_5, x_6, x_7, x_8, x_199); -if (lean_obj_tag(x_204) == 0) +x_321 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_320, x_3, x_4, x_5, x_6, x_7, x_8, x_319); +x_322 = lean_ctor_get(x_321, 0); +lean_inc(x_322); +x_323 = lean_ctor_get(x_321, 1); +lean_inc(x_323); +lean_dec(x_321); +x_324 = l_Lean_Meta_CheckAssignment_checkFVar___closed__6; +x_325 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; +x_326 = l_Lean_Meta_CheckAssignment_checkFVar___closed__12; +x_327 = l_Lean_addTrace___rarg(x_310, x_324, x_325, x_326, x_312, x_322); +x_328 = lean_apply_7(x_327, x_3, x_4, x_5, x_6, x_7, x_8, x_323); +if (lean_obj_tag(x_328) == 0) { -lean_object* x_205; lean_object* x_206; -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -lean_dec(x_204); -x_206 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_205); -return x_206; +lean_object* x_329; lean_object* x_330; +x_329 = lean_ctor_get(x_328, 1); +lean_inc(x_329); +lean_dec(x_328); +x_330 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_329); +return x_330; } else { -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; -x_207 = lean_ctor_get(x_204, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_204, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_204)) { - lean_ctor_release(x_204, 0); - lean_ctor_release(x_204, 1); - x_209 = x_204; +lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; +x_331 = lean_ctor_get(x_328, 0); +lean_inc(x_331); +x_332 = lean_ctor_get(x_328, 1); +lean_inc(x_332); +if (lean_is_exclusive(x_328)) { + lean_ctor_release(x_328, 0); + lean_ctor_release(x_328, 1); + x_333 = x_328; } else { - lean_dec_ref(x_204); - x_209 = lean_box(0); + lean_dec_ref(x_328); + x_333 = lean_box(0); } -if (lean_is_scalar(x_209)) { - x_210 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_333)) { + x_334 = lean_alloc_ctor(1, 2, 0); } else { - x_210 = x_209; + x_334 = x_333; } -lean_ctor_set(x_210, 0, x_207); -lean_ctor_set(x_210, 1, x_208); -return x_210; +lean_ctor_set(x_334, 0, x_331); +lean_ctor_set(x_334, 1, x_332); +return x_334; } } } else { -lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; +lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_211 = lean_ctor_get(x_191, 0); -lean_inc(x_211); -x_212 = lean_ctor_get(x_191, 1); +x_335 = lean_ctor_get(x_314, 0); +lean_inc(x_335); +x_336 = lean_ctor_get(x_314, 1); +lean_inc(x_336); +if (lean_is_exclusive(x_314)) { + lean_ctor_release(x_314, 0); + lean_ctor_release(x_314, 1); + x_337 = x_314; +} else { + lean_dec_ref(x_314); + x_337 = lean_box(0); +} +if (lean_is_scalar(x_337)) { + x_338 = lean_alloc_ctor(1, 2, 0); +} else { + x_338 = x_337; +} +lean_ctor_set(x_338, 0, x_335); +lean_ctor_set(x_338, 1, x_336); +return x_338; +} +} +} +block_220: +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +lean_dec(x_182); +x_183 = l_Lean_mkMVar(x_10); +x_184 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_184, 0, x_183); +x_185 = lean_st_ref_get(x_8, x_180); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_186, 3); +lean_inc(x_187); +lean_dec(x_186); +x_188 = lean_ctor_get_uint8(x_187, sizeof(void*)*1); +lean_dec(x_187); +if (x_188 == 0) +{ +lean_object* x_189; lean_object* x_190; +lean_dec(x_184); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_189 = lean_ctor_get(x_185, 1); +lean_inc(x_189); +lean_dec(x_185); +x_190 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_189); +return x_190; +} +else +{ +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_191 = lean_ctor_get(x_185, 1); +lean_inc(x_191); +lean_dec(x_185); +x_192 = l_Lean_Meta_CheckAssignment_checkFVar___closed__2; +x_193 = l_Lean_Meta_CheckAssignment_checkFVar___closed__16; +x_194 = l_Lean_Meta_CheckAssignment_checkMVar___closed__2; +x_195 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(x_192, x_193, x_194); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_196 = lean_apply_7(x_195, x_3, x_4, x_5, x_6, x_7, x_8, x_191); +if (lean_obj_tag(x_196) == 0) +{ +lean_object* x_197; uint8_t x_198; +x_197 = lean_ctor_get(x_196, 0); +lean_inc(x_197); +x_198 = lean_unbox(x_197); +lean_dec(x_197); +if (x_198 == 0) +{ +lean_object* x_199; lean_object* x_200; +lean_dec(x_184); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_199 = lean_ctor_get(x_196, 1); +lean_inc(x_199); +lean_dec(x_196); +x_200 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_199); +return x_200; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_201 = lean_ctor_get(x_196, 1); +lean_inc(x_201); +lean_dec(x_196); +lean_inc(x_3); +x_202 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_184, x_3, x_4, x_5, x_6, x_7, x_8, x_201); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +lean_dec(x_202); +x_205 = l_Lean_Meta_CheckAssignment_checkFVar___closed__6; +x_206 = l_Lean_Meta_CheckAssignment_checkFVar___closed__10; +x_207 = l_Lean_Meta_CheckAssignment_checkFVar___closed__12; +x_208 = l_Lean_addTrace___rarg(x_192, x_205, x_206, x_207, x_194, x_203); +x_209 = lean_apply_7(x_208, x_3, x_4, x_5, x_6, x_7, x_8, x_204); +if (lean_obj_tag(x_209) == 0) +{ +lean_object* x_210; lean_object* x_211; +x_210 = lean_ctor_get(x_209, 1); +lean_inc(x_210); +lean_dec(x_209); +x_211 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_210); +return x_211; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_212 = lean_ctor_get(x_209, 0); lean_inc(x_212); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - x_213 = x_191; +x_213 = lean_ctor_get(x_209, 1); +lean_inc(x_213); +if (lean_is_exclusive(x_209)) { + lean_ctor_release(x_209, 0); + lean_ctor_release(x_209, 1); + x_214 = x_209; } else { - lean_dec_ref(x_191); - x_213 = lean_box(0); + lean_dec_ref(x_209); + x_214 = lean_box(0); } -if (lean_is_scalar(x_213)) { - x_214 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_214)) { + x_215 = lean_alloc_ctor(1, 2, 0); } else { - x_214 = x_213; + x_215 = x_214; } -lean_ctor_set(x_214, 0, x_211); -lean_ctor_set(x_214, 1, x_212); -return x_214; +lean_ctor_set(x_215, 0, x_212); +lean_ctor_set(x_215, 1, x_213); +return x_215; +} +} +} +else +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; +lean_dec(x_184); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_216 = lean_ctor_get(x_196, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_196, 1); +lean_inc(x_217); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_218 = x_196; +} else { + lean_dec_ref(x_196); + x_218 = lean_box(0); +} +if (lean_is_scalar(x_218)) { + x_219 = lean_alloc_ctor(1, 2, 0); +} else { + x_219 = x_218; +} +lean_ctor_set(x_219, 0, x_216); +lean_ctor_set(x_219, 1, x_217); +return x_219; } } } @@ -16561,376 +16597,382 @@ x_15 = l_Array_contains___at_Lean_Meta_CheckAssignment_check___spec__2(x_14, x_1 lean_dec(x_14); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -lean_dec(x_1); -x_16 = lean_st_ref_get(x_7, x_8); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_17, 3); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_16, 0, x_1); +x_17 = lean_st_ref_get(x_7, x_8); +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_ctor_get_uint8(x_18, sizeof(void*)*1); +x_19 = lean_ctor_get(x_18, 3); +lean_inc(x_19); lean_dec(x_18); -if (x_19 == 0) +x_20 = lean_ctor_get_uint8(x_19, sizeof(void*)*1); +lean_dec(x_19); +if (x_20 == 0) { -lean_object* x_20; lean_object* x_21; +lean_object* x_21; lean_object* x_22; +lean_dec(x_16); 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_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_dec(x_16); -x_21 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_20); -return x_21; +x_21 = lean_ctor_get(x_17, 1); +lean_inc(x_21); +lean_dec(x_17); +x_22 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_21); +return x_22; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_22 = lean_ctor_get(x_16, 1); -lean_inc(x_22); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_dec(x_17); +x_24 = l_Lean_Meta_CheckAssignment_checkFVar___closed__18; +x_25 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_23); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_unbox(x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_dec(x_16); -x_23 = l_Lean_Meta_CheckAssignment_checkFVar___closed__18; -x_24 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_22); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_unbox(x_25); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); lean_dec(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_27); -return x_28; +x_29 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_28); +return x_29; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_29 = lean_ctor_get(x_24, 1); -lean_inc(x_29); -lean_dec(x_24); +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_30 = lean_ctor_get(x_25, 1); +lean_inc(x_30); +lean_dec(x_25); lean_inc(x_2); -x_30 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); +x_31 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); -lean_dec(x_30); -x_33 = l_Lean_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5(x_23, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5(x_24, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_33); 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_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_34); -return x_35; -} -} -} -else -{ -lean_object* x_36; -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_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_1); -lean_ctor_set(x_36, 1, x_8); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_35); return x_36; } } +} else { lean_object* x_37; -x_37 = lean_ctor_get(x_13, 0); -lean_inc(x_37); -lean_dec(x_13); -if (lean_obj_tag(x_37) == 0) +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_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_1); +lean_ctor_set(x_37, 1, x_8); +return x_37; +} +} +else { -lean_object* x_38; uint8_t x_39; -lean_dec(x_37); -x_38 = lean_ctor_get(x_2, 2); +lean_object* x_38; +x_38 = lean_ctor_get(x_13, 0); lean_inc(x_38); -x_39 = l_Array_contains___at_Lean_Meta_CheckAssignment_check___spec__2(x_38, x_1); +lean_dec(x_13); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; uint8_t x_40; lean_dec(x_38); -if (x_39 == 0) +x_39 = lean_ctor_get(x_2, 2); +lean_inc(x_39); +x_40 = l_Array_contains___at_Lean_Meta_CheckAssignment_check___spec__2(x_39, x_1); +lean_dec(x_39); +if (x_40 == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_1); -x_40 = lean_st_ref_get(x_7, x_8); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_41, 3); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*1); -lean_dec(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; -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_44 = lean_ctor_get(x_40, 1); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_41, 0, x_1); +x_42 = lean_st_ref_get(x_7, x_8); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_43, 3); lean_inc(x_44); -lean_dec(x_40); -x_45 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_44); -return x_45; -} -else +lean_dec(x_43); +x_45 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); +lean_dec(x_44); +if (x_45 == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_46 = lean_ctor_get(x_40, 1); +lean_object* x_46; lean_object* x_47; +lean_dec(x_41); +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_46 = lean_ctor_get(x_42, 1); lean_inc(x_46); -lean_dec(x_40); -x_47 = l_Lean_Meta_CheckAssignment_checkFVar___closed__18; -x_48 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_46); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_unbox(x_49); -lean_dec(x_49); -if (x_50 == 0) +lean_dec(x_42); +x_47 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_46); +return x_47; +} +else { -lean_object* x_51; lean_object* x_52; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_51 = lean_ctor_get(x_48, 1); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_48 = lean_ctor_get(x_42, 1); +lean_inc(x_48); +lean_dec(x_42); +x_49 = l_Lean_Meta_CheckAssignment_checkFVar___closed__18; +x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_48); +x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); -lean_dec(x_48); -x_52 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_51); -return x_52; -} -else +x_52 = lean_unbox(x_51); +lean_dec(x_51); +if (x_52 == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_53 = lean_ctor_get(x_48, 1); +lean_object* x_53; lean_object* x_54; +lean_dec(x_41); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_53 = lean_ctor_get(x_50, 1); lean_inc(x_53); -lean_dec(x_48); -lean_inc(x_2); -x_54 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_53); -x_55 = lean_ctor_get(x_54, 0); +lean_dec(x_50); +x_54 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_53); +return x_54; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_55 = lean_ctor_get(x_50, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = l_Lean_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5(x_47, x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_56); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_58 = lean_ctor_get(x_57, 1); +lean_dec(x_50); +lean_inc(x_2); +x_56 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_55); +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_57); -x_59 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_58); -return x_59; -} -} -} -else -{ -lean_object* x_60; +lean_dec(x_56); +x_59 = l_Lean_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5(x_49, x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_58); 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_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_1); -lean_ctor_set(x_60, 1, x_8); -return x_60; +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_61 = l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(x_60); +return x_61; +} } } else { -lean_object* x_61; lean_object* x_62; uint8_t x_85; +lean_object* x_62; +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_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_1); +lean_ctor_set(x_62, 1, x_8); +return x_62; +} +} +else +{ +lean_object* x_63; lean_object* x_64; uint8_t x_87; lean_dec(x_1); -x_61 = lean_ctor_get(x_37, 4); -lean_inc(x_61); -lean_dec(x_37); -x_85 = l_Lean_Expr_hasExprMVar(x_61); -if (x_85 == 0) +x_63 = lean_ctor_get(x_38, 4); +lean_inc(x_63); +lean_dec(x_38); +x_87 = l_Lean_Expr_hasExprMVar(x_63); +if (x_87 == 0) { -uint8_t x_86; -x_86 = l_Lean_Expr_hasFVar(x_61); -if (x_86 == 0) -{ -lean_object* x_87; -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_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_61); -lean_ctor_set(x_87, 1, x_8); -return x_87; -} -else -{ -lean_object* x_88; -x_88 = lean_box(0); -x_62 = x_88; -goto block_84; -} -} -else +uint8_t x_88; +x_88 = l_Lean_Expr_hasFVar(x_63); +if (x_88 == 0) { lean_object* x_89; -x_89 = lean_box(0); -x_62 = x_89; -goto block_84; +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_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_63); +lean_ctor_set(x_89, 1, x_8); +return x_89; } -block_84: +else { -lean_object* x_63; lean_object* x_64; -lean_dec(x_62); -x_63 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -if (lean_obj_tag(x_64) == 0) +lean_object* x_90; +x_90 = lean_box(0); +x_64 = x_90; +goto block_86; +} +} +else +{ +lean_object* x_91; +x_91 = lean_box(0); +x_64 = x_91; +goto block_86; +} +block_86: { lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); +lean_dec(x_64); +x_65 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_61); -x_66 = l_Lean_Meta_CheckAssignment_check(x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_65); -if (lean_obj_tag(x_66) == 0) +lean_inc(x_63); +x_68 = l_Lean_Meta_CheckAssignment_check(x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_67); +if (lean_obj_tag(x_68) == 0) { -lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -lean_inc(x_67); -x_69 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_61, x_67, x_2, x_3, x_4, x_5, x_6, x_7, x_68); +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +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); +lean_inc(x_69); +x_71 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_63, x_69, x_2, x_3, x_4, x_5, x_6, x_7, x_70); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_70 = !lean_is_exclusive(x_69); -if (x_70 == 0) +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) { -lean_object* x_71; -x_71 = lean_ctor_get(x_69, 0); +lean_object* x_73; +x_73 = lean_ctor_get(x_71, 0); +lean_dec(x_73); +lean_ctor_set(x_71, 0, x_69); +return x_71; +} +else +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_71, 1); +lean_inc(x_74); lean_dec(x_71); -lean_ctor_set(x_69, 0, x_67); -return x_69; -} -else -{ -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_69, 1); -lean_inc(x_72); -lean_dec(x_69); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_67); -lean_ctor_set(x_73, 1, x_72); -return x_73; +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_69); +lean_ctor_set(x_75, 1, x_74); +return x_75; } } else { -uint8_t x_74; -lean_dec(x_61); -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_74 = !lean_is_exclusive(x_66); -if (x_74 == 0) -{ -return x_66; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_66, 0); -x_76 = lean_ctor_get(x_66, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_66); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} -} -} -else -{ -uint8_t x_78; -lean_dec(x_61); -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_78 = !lean_is_exclusive(x_63); -if (x_78 == 0) -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_63, 0); -lean_dec(x_79); -x_80 = lean_ctor_get(x_64, 0); -lean_inc(x_80); -lean_dec(x_64); -lean_ctor_set(x_63, 0, x_80); -return x_63; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_63, 1); -lean_inc(x_81); +uint8_t x_76; lean_dec(x_63); -x_82 = lean_ctor_get(x_64, 0); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_76 = !lean_is_exclusive(x_68); +if (x_76 == 0) +{ +return x_68; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_68, 0); +x_78 = lean_ctor_get(x_68, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_68); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +else +{ +uint8_t x_80; +lean_dec(x_63); +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_80 = !lean_is_exclusive(x_65); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_65, 0); +lean_dec(x_81); +x_82 = lean_ctor_get(x_66, 0); lean_inc(x_82); -lean_dec(x_64); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -return x_83; +lean_dec(x_66); +lean_ctor_set(x_65, 0, x_82); +return x_65; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_65, 1); +lean_inc(x_83); +lean_dec(x_65); +x_84 = lean_ctor_get(x_66, 0); +lean_inc(x_84); +lean_dec(x_66); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +return x_85; } } } @@ -16939,17 +16981,17 @@ return x_83; } else { -lean_object* x_90; +lean_object* x_92; 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_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_1); -lean_ctor_set(x_90, 1, x_8); -return x_90; +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_1); +lean_ctor_set(x_92, 1, x_8); +return x_92; } } } @@ -23220,132 +23262,107 @@ x_12 = lean_st_ref_get(x_5, x_11); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_39; uint8_t x_40; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_41; uint8_t x_42; x_14 = lean_ctor_get(x_12, 0); x_15 = lean_ctor_get(x_12, 1); x_16 = lean_ctor_get(x_14, 0); lean_inc(x_16); lean_dec(x_14); -x_39 = lean_ctor_get(x_2, 0); -lean_inc(x_39); -x_40 = lean_name_eq(x_9, x_39); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_object* x_41; -lean_inc(x_9); -lean_inc(x_16); -x_41 = lean_metavar_ctx_get_expr_assignment(x_16, x_9); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; -lean_inc(x_9); -lean_inc(x_16); -x_42 = lean_metavar_ctx_find_decl(x_16, x_9); -if (lean_obj_tag(x_42) == 0) +x_41 = lean_ctor_get(x_2, 0); +lean_inc(x_41); +x_42 = lean_name_eq(x_9, x_41); +lean_dec(x_41); +if (x_42 == 0) { lean_object* x_43; +lean_inc(x_9); +lean_inc(x_16); +x_43 = lean_metavar_ctx_get_expr_assignment(x_16, x_9); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; +lean_inc(x_9); +lean_inc(x_16); +x_44 = lean_metavar_ctx_find_decl(x_16, x_9); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_dec(x_16); lean_free_object(x_12); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_43 = l_Lean_Meta_throwUnknownMVar___rarg(x_9, x_4, x_5, x_6, x_7, x_15); +x_45 = l_Lean_Meta_throwUnknownMVar___rarg(x_9, x_4, x_5, x_6, x_7, x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_43; +return x_45; } else { -uint8_t x_44; -x_44 = lean_ctor_get_uint8(x_2, sizeof(void*)*4); -if (x_44 == 0) +uint8_t x_46; +x_46 = lean_ctor_get_uint8(x_2, sizeof(void*)*4); +if (x_46 == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_45 = lean_ctor_get(x_42, 0); -lean_inc(x_45); -lean_dec(x_42); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -x_47 = lean_ctor_get(x_2, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_47 = lean_ctor_get(x_44, 0); lean_inc(x_47); +lean_dec(x_44); x_48 = lean_ctor_get(x_47, 1); lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_ctor_get(x_2, 2); +x_49 = lean_ctor_get(x_2, 1); lean_inc(x_49); -lean_inc(x_48); -lean_inc(x_46); -x_50 = l_Lean_LocalContext_isSubPrefixOf(x_46, x_48, x_49); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_51 = lean_ctor_get(x_45, 3); -lean_inc(x_51); -x_52 = lean_ctor_get(x_16, 0); -lean_inc(x_52); -x_53 = lean_nat_dec_eq(x_51, x_52); -lean_dec(x_52); -lean_dec(x_51); -if (x_53 == 0) -{ -lean_object* x_54; +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); lean_dec(x_49); +x_51 = lean_ctor_get(x_2, 2); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_48); +x_52 = l_Lean_LocalContext_isSubPrefixOf(x_48, x_50, x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_53 = lean_ctor_get(x_47, 3); +lean_inc(x_53); +x_54 = lean_ctor_get(x_16, 0); +lean_inc(x_54); +x_55 = lean_nat_dec_eq(x_53, x_54); +lean_dec(x_54); +lean_dec(x_53); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_51); +lean_dec(x_50); lean_dec(x_48); -lean_dec(x_46); -lean_dec(x_45); +lean_dec(x_47); lean_dec(x_16); lean_free_object(x_12); -lean_dec(x_9); lean_dec(x_1); -x_54 = lean_box(0); -x_17 = x_54; -goto block_38; +x_56 = lean_box(0); +x_17 = x_56; +goto block_40; } else { -uint8_t x_55; uint8_t x_56; -x_55 = lean_ctor_get_uint8(x_45, sizeof(void*)*6); -x_56 = l_Lean_MetavarKind_isSyntheticOpaque(x_55); -if (x_56 == 0) -{ -lean_object* x_57; uint8_t x_58; -x_57 = lean_ctor_get(x_4, 0); -lean_inc(x_57); -x_58 = lean_ctor_get_uint8(x_57, 1); -lean_dec(x_57); +uint8_t x_57; uint8_t x_58; +x_57 = lean_ctor_get_uint8(x_47, sizeof(void*)*6); +x_58 = l_Lean_MetavarKind_isSyntheticOpaque(x_57); if (x_58 == 0) { -lean_dec(x_49); -lean_dec(x_48); -lean_dec(x_46); -lean_dec(x_45); -lean_dec(x_16); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_ctor_set(x_12, 0, x_1); -return x_12; -} -else -{ lean_object* x_59; uint8_t x_60; -x_59 = l_Array_empty___closed__1; -lean_inc(x_46); -lean_inc(x_48); -x_60 = l_Lean_LocalContext_isSubPrefixOf(x_48, x_46, x_59); +x_59 = lean_ctor_get(x_4, 0); +lean_inc(x_59); +x_60 = lean_ctor_get_uint8(x_59, 1); +lean_dec(x_59); if (x_60 == 0) { -lean_dec(x_49); +lean_dec(x_51); +lean_dec(x_50); lean_dec(x_48); -lean_dec(x_46); -lean_dec(x_45); +lean_dec(x_47); lean_dec(x_16); lean_dec(x_9); lean_dec(x_7); @@ -23359,223 +23376,247 @@ return x_12; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; +lean_object* x_61; uint8_t x_62; +x_61 = l_Array_empty___closed__1; +lean_inc(x_48); +lean_inc(x_50); +x_62 = l_Lean_LocalContext_isSubPrefixOf(x_50, x_48, x_61); +if (x_62 == 0) +{ +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_48); +lean_dec(x_47); +lean_dec(x_16); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_ctor_set(x_12, 0, x_1); +return x_12; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_free_object(x_12); lean_dec(x_1); -x_61 = lean_unsigned_to_nat(0u); -x_62 = l_Lean_LocalContext_foldlM___at_Lean_Meta_CheckAssignment_check___spec__50(x_16, x_48, x_49, x_46, x_59, x_61); -lean_dec(x_49); -x_63 = lean_array_get_size(x_62); -x_64 = lean_nat_dec_lt(x_61, x_63); -x_65 = lean_ctor_get(x_45, 4); -lean_inc(x_65); -x_66 = lean_array_get_size(x_65); -x_67 = lean_nat_dec_lt(x_61, x_66); -x_68 = lean_ctor_get(x_45, 2); -lean_inc(x_68); -if (x_64 == 0) +x_63 = lean_unsigned_to_nat(0u); +x_64 = l_Lean_LocalContext_foldlM___at_Lean_Meta_CheckAssignment_check___spec__50(x_16, x_50, x_51, x_48, x_61, x_63); +lean_dec(x_51); +x_65 = lean_array_get_size(x_64); +x_66 = lean_nat_dec_lt(x_63, x_65); +x_67 = lean_ctor_get(x_47, 4); +lean_inc(x_67); +x_68 = lean_array_get_size(x_67); +x_69 = lean_nat_dec_lt(x_63, x_68); +x_70 = lean_ctor_get(x_47, 2); +lean_inc(x_70); +if (x_66 == 0) { -lean_dec(x_63); -x_69 = x_46; -goto block_112; -} -else -{ -uint8_t x_113; -x_113 = lean_nat_dec_le(x_63, x_63); -if (x_113 == 0) -{ -lean_dec(x_63); -x_69 = x_46; -goto block_112; -} -else -{ -size_t x_114; size_t x_115; lean_object* x_116; -x_114 = 0; -x_115 = lean_usize_of_nat(x_63); -lean_dec(x_63); -x_116 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__65(x_62, x_114, x_115, x_46); -x_69 = x_116; -goto block_112; -} -} -block_112: -{ -lean_object* x_70; -if (x_67 == 0) -{ -lean_dec(x_66); lean_dec(x_65); -lean_dec(x_62); -x_70 = x_59; -goto block_107; +x_71 = x_48; +goto block_114; } else { -uint8_t x_108; -x_108 = lean_nat_dec_le(x_66, x_66); -if (x_108 == 0) +uint8_t x_115; +x_115 = lean_nat_dec_le(x_65, x_65); +if (x_115 == 0) { -lean_dec(x_66); lean_dec(x_65); -lean_dec(x_62); -x_70 = x_59; -goto block_107; +x_71 = x_48; +goto block_114; } else { -size_t x_109; size_t x_110; lean_object* x_111; -x_109 = 0; -x_110 = lean_usize_of_nat(x_66); -lean_dec(x_66); -x_111 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__64(x_62, x_65, x_109, x_110, x_59); +size_t x_116; size_t x_117; lean_object* x_118; +x_116 = 0; +x_117 = lean_usize_of_nat(x_65); lean_dec(x_65); -lean_dec(x_62); -x_70 = x_111; -goto block_107; +x_118 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__65(x_64, x_116, x_117, x_48); +x_71 = x_118; +goto block_114; } } -block_107: +block_114: { -lean_object* x_71; +lean_object* x_72; +if (x_69 == 0) +{ +lean_dec(x_68); +lean_dec(x_67); +lean_dec(x_64); +x_72 = x_61; +goto block_109; +} +else +{ +uint8_t x_110; +x_110 = lean_nat_dec_le(x_68, x_68); +if (x_110 == 0) +{ +lean_dec(x_68); +lean_dec(x_67); +lean_dec(x_64); +x_72 = x_61; +goto block_109; +} +else +{ +size_t x_111; size_t x_112; lean_object* x_113; +x_111 = 0; +x_112 = lean_usize_of_nat(x_68); +lean_dec(x_68); +x_113 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__64(x_64, x_67, x_111, x_112, x_61); +lean_dec(x_67); +lean_dec(x_64); +x_72 = x_113; +goto block_109; +} +} +block_109: +{ +lean_object* x_73; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_71 = l_Lean_Meta_CheckAssignment_check(x_68, x_2, x_3, x_4, x_5, x_6, x_7, x_15); -if (lean_obj_tag(x_71) == 0) +x_73 = l_Lean_Meta_CheckAssignment_check(x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_15); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_72; 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; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; -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_45, 5); +lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_74 = lean_ctor_get(x_73, 0); lean_inc(x_74); -lean_dec(x_45); -x_75 = 0; -x_76 = lean_box(0); -x_77 = l_Lean_Meta_mkFreshExprMVarAt(x_69, x_70, x_72, x_75, x_76, x_74, x_4, x_5, x_6, x_7, x_73); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_ctor_get(x_47, 5); +lean_inc(x_76); +lean_dec(x_47); +x_77 = 0; +x_78 = lean_box(0); +x_79 = l_Lean_Meta_mkFreshExprMVarAt(x_71, x_72, x_74, x_77, x_78, x_76, x_4, x_5, x_6, x_7, x_75); lean_dec(x_6); lean_dec(x_4); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_st_ref_get(x_7, x_79); -lean_dec(x_7); -x_81 = lean_ctor_get(x_80, 1); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); lean_inc(x_81); -lean_dec(x_80); -x_82 = lean_st_ref_take(x_5, x_81); -x_83 = lean_ctor_get(x_82, 0); +lean_dec(x_79); +x_82 = lean_st_ref_get(x_7, x_81); +lean_dec(x_7); +x_83 = lean_ctor_get(x_82, 1); lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); lean_dec(x_82); -x_85 = !lean_is_exclusive(x_83); -if (x_85 == 0) +x_84 = lean_st_ref_take(x_5, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = !lean_is_exclusive(x_85); +if (x_87 == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; -x_86 = lean_ctor_get(x_83, 0); -lean_inc(x_78); -x_87 = l_Lean_MetavarContext_assignExpr(x_86, x_9, x_78); -lean_ctor_set(x_83, 0, x_87); -x_88 = lean_st_ref_set(x_5, x_83, x_84); +lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_88 = lean_ctor_get(x_85, 0); +lean_inc(x_80); +x_89 = l_Lean_MetavarContext_assignExpr(x_88, x_9, x_80); +lean_ctor_set(x_85, 0, x_89); +x_90 = lean_st_ref_set(x_5, x_85, x_86); lean_dec(x_5); -x_89 = !lean_is_exclusive(x_88); -if (x_89 == 0) +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) { -lean_object* x_90; -x_90 = lean_ctor_get(x_88, 0); +lean_object* x_92; +x_92 = lean_ctor_get(x_90, 0); +lean_dec(x_92); +lean_ctor_set(x_90, 0, x_80); +return x_90; +} +else +{ +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_90, 1); +lean_inc(x_93); lean_dec(x_90); -lean_ctor_set(x_88, 0, x_78); -return x_88; -} -else -{ -lean_object* x_91; lean_object* x_92; -x_91 = lean_ctor_get(x_88, 1); -lean_inc(x_91); -lean_dec(x_88); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_78); -lean_ctor_set(x_92, 1, x_91); -return x_92; +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_80); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_93 = lean_ctor_get(x_83, 0); -x_94 = lean_ctor_get(x_83, 1); -x_95 = lean_ctor_get(x_83, 2); -x_96 = lean_ctor_get(x_83, 3); +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_95 = lean_ctor_get(x_85, 0); +x_96 = lean_ctor_get(x_85, 1); +x_97 = lean_ctor_get(x_85, 2); +x_98 = lean_ctor_get(x_85, 3); +lean_inc(x_98); +lean_inc(x_97); lean_inc(x_96); lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_83); -lean_inc(x_78); -x_97 = l_Lean_MetavarContext_assignExpr(x_93, x_9, x_78); -x_98 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_94); -lean_ctor_set(x_98, 2, x_95); -lean_ctor_set(x_98, 3, x_96); -x_99 = lean_st_ref_set(x_5, x_98, x_84); +lean_dec(x_85); +lean_inc(x_80); +x_99 = l_Lean_MetavarContext_assignExpr(x_95, x_9, x_80); +x_100 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_96); +lean_ctor_set(x_100, 2, x_97); +lean_ctor_set(x_100, 3, x_98); +x_101 = lean_st_ref_set(x_5, x_100, x_86); lean_dec(x_5); -x_100 = lean_ctor_get(x_99, 1); -lean_inc(x_100); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_101 = x_99; +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_103 = x_101; } else { - lean_dec_ref(x_99); - x_101 = lean_box(0); + lean_dec_ref(x_101); + x_103 = lean_box(0); } -if (lean_is_scalar(x_101)) { - x_102 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(0, 2, 0); } else { - x_102 = x_101; + x_104 = x_103; } -lean_ctor_set(x_102, 0, x_78); -lean_ctor_set(x_102, 1, x_100); -return x_102; +lean_ctor_set(x_104, 0, x_80); +lean_ctor_set(x_104, 1, x_102); +return x_104; } } else { -uint8_t x_103; -lean_dec(x_70); -lean_dec(x_69); -lean_dec(x_45); +uint8_t x_105; +lean_dec(x_72); +lean_dec(x_71); +lean_dec(x_47); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_103 = !lean_is_exclusive(x_71); -if (x_103 == 0) +x_105 = !lean_is_exclusive(x_73); +if (x_105 == 0) { -return x_71; +return x_73; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_71, 0); -x_105 = lean_ctor_get(x_71, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_71); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_73, 0); +x_107 = lean_ctor_get(x_73, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_73); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; } } } @@ -23585,27 +23626,26 @@ return x_106; } else { -lean_object* x_117; -lean_dec(x_49); +lean_object* x_119; +lean_dec(x_51); +lean_dec(x_50); lean_dec(x_48); -lean_dec(x_46); -lean_dec(x_45); +lean_dec(x_47); lean_dec(x_16); lean_free_object(x_12); -lean_dec(x_9); lean_dec(x_1); -x_117 = lean_box(0); -x_17 = x_117; -goto block_38; +x_119 = lean_box(0); +x_17 = x_119; +goto block_40; } } } else { -lean_dec(x_49); +lean_dec(x_51); +lean_dec(x_50); lean_dec(x_48); -lean_dec(x_46); -lean_dec(x_45); +lean_dec(x_47); lean_dec(x_16); lean_dec(x_9); lean_dec(x_7); @@ -23620,8 +23660,8 @@ return x_12; } else { -lean_object* x_118; -lean_dec(x_42); +lean_object* x_120; +lean_dec(x_44); lean_dec(x_16); lean_free_object(x_12); lean_dec(x_9); @@ -23632,327 +23672,305 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_118 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_15); -return x_118; -} -} -} -else -{ -lean_object* x_119; lean_object* x_120; -lean_dec(x_16); -lean_free_object(x_12); -lean_dec(x_9); -lean_dec(x_1); -x_119 = lean_ctor_get(x_41, 0); -lean_inc(x_119); -lean_dec(x_41); -x_120 = l_Lean_Meta_CheckAssignment_check(x_119, x_2, x_3, x_4, x_5, x_6, x_7, x_15); +x_120 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_15); return x_120; } } +} else { -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +lean_object* x_121; lean_object* x_122; lean_dec(x_16); lean_free_object(x_12); lean_dec(x_9); lean_dec(x_1); -x_121 = lean_st_ref_get(x_7, x_15); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_122, 3); -lean_inc(x_123); -lean_dec(x_122); -x_124 = lean_ctor_get_uint8(x_123, sizeof(void*)*1); -lean_dec(x_123); -if (x_124 == 0) -{ -lean_object* x_125; lean_object* x_126; -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_125 = lean_ctor_get(x_121, 1); -lean_inc(x_125); -lean_dec(x_121); -x_126 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_125); -return x_126; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; -x_127 = lean_ctor_get(x_121, 1); -lean_inc(x_127); -lean_dec(x_121); -x_128 = l_Lean_Meta_CheckAssignment_checkMVar___closed__5; -x_129 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(x_128, x_2, x_3, x_4, x_5, x_6, x_7, x_127); -x_130 = lean_ctor_get(x_129, 0); -lean_inc(x_130); -x_131 = lean_unbox(x_130); -lean_dec(x_130); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -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_132 = lean_ctor_get(x_129, 1); -lean_inc(x_132); -lean_dec(x_129); -x_133 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_132); -return x_133; -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_134 = lean_ctor_get(x_129, 1); -lean_inc(x_134); -lean_dec(x_129); -lean_inc(x_2); -x_135 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_134); -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_135, 1); -lean_inc(x_137); -lean_dec(x_135); -x_138 = l_Lean_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5(x_128, x_136, x_2, x_3, x_4, x_5, x_6, x_7, x_137); -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_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); -lean_dec(x_138); -x_140 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_139); -return x_140; -} -} -} -block_38: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -lean_dec(x_17); -x_18 = lean_st_ref_get(x_7, x_15); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_19, 3); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_ctor_get_uint8(x_20, sizeof(void*)*1); -lean_dec(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -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_22 = lean_ctor_get(x_18, 1); -lean_inc(x_22); -lean_dec(x_18); -x_23 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_22); -return x_23; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_24 = lean_ctor_get(x_18, 1); -lean_inc(x_24); -lean_dec(x_18); -x_25 = l_Lean_Meta_CheckAssignment_checkMVar___closed__2; -x_26 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_24); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_unbox(x_27); -lean_dec(x_27); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; -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_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); -lean_dec(x_26); -x_30 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_29); -return x_30; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_31 = lean_ctor_get(x_26, 1); -lean_inc(x_31); -lean_dec(x_26); -lean_inc(x_2); -x_32 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_31); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5(x_25, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_34); -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_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_36); -return x_37; -} -} +x_121 = lean_ctor_get(x_43, 0); +lean_inc(x_121); +lean_dec(x_43); +x_122 = l_Lean_Meta_CheckAssignment_check(x_121, x_2, x_3, x_4, x_5, x_6, x_7, x_15); +return x_122; } } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_166; uint8_t x_167; -x_141 = lean_ctor_get(x_12, 0); -x_142 = lean_ctor_get(x_12, 1); -lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_12); -x_143 = lean_ctor_get(x_141, 0); -lean_inc(x_143); -lean_dec(x_141); -x_166 = lean_ctor_get(x_2, 0); -lean_inc(x_166); -x_167 = lean_name_eq(x_9, x_166); -lean_dec(x_166); -if (x_167 == 0) -{ -lean_object* x_168; -lean_inc(x_9); -lean_inc(x_143); -x_168 = lean_metavar_ctx_get_expr_assignment(x_143, x_9); -if (lean_obj_tag(x_168) == 0) -{ -lean_object* x_169; -lean_inc(x_9); -lean_inc(x_143); -x_169 = lean_metavar_ctx_find_decl(x_143, x_9); -if (lean_obj_tag(x_169) == 0) -{ -lean_object* x_170; -lean_dec(x_143); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_170 = l_Lean_Meta_throwUnknownMVar___rarg(x_9, x_4, x_5, x_6, x_7, x_142); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_170; -} -else -{ -uint8_t x_171; -x_171 = lean_ctor_get_uint8(x_2, sizeof(void*)*4); -if (x_171 == 0) -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_172 = lean_ctor_get(x_169, 0); -lean_inc(x_172); -lean_dec(x_169); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -x_174 = lean_ctor_get(x_2, 1); -lean_inc(x_174); -x_175 = lean_ctor_get(x_174, 1); -lean_inc(x_175); -lean_dec(x_174); -x_176 = lean_ctor_get(x_2, 2); -lean_inc(x_176); -lean_inc(x_175); -lean_inc(x_173); -x_177 = l_Lean_LocalContext_isSubPrefixOf(x_173, x_175, x_176); -if (x_177 == 0) -{ -lean_object* x_178; lean_object* x_179; uint8_t x_180; -x_178 = lean_ctor_get(x_172, 3); -lean_inc(x_178); -x_179 = lean_ctor_get(x_143, 0); -lean_inc(x_179); -x_180 = lean_nat_dec_eq(x_178, x_179); -lean_dec(x_179); -lean_dec(x_178); -if (x_180 == 0) -{ -lean_object* x_181; -lean_dec(x_176); -lean_dec(x_175); -lean_dec(x_173); -lean_dec(x_172); -lean_dec(x_143); +lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; +lean_dec(x_16); +lean_free_object(x_12); lean_dec(x_9); lean_dec(x_1); -x_181 = lean_box(0); -x_144 = x_181; -goto block_165; +x_123 = lean_st_ref_get(x_7, x_15); +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_124, 3); +lean_inc(x_125); +lean_dec(x_124); +x_126 = lean_ctor_get_uint8(x_125, sizeof(void*)*1); +lean_dec(x_125); +if (x_126 == 0) +{ +lean_object* x_127; lean_object* x_128; +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_127 = lean_ctor_get(x_123, 1); +lean_inc(x_127); +lean_dec(x_123); +x_128 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_127); +return x_128; } else { -uint8_t x_182; uint8_t x_183; -x_182 = lean_ctor_get_uint8(x_172, sizeof(void*)*6); -x_183 = l_Lean_MetavarKind_isSyntheticOpaque(x_182); -if (x_183 == 0) +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; +x_129 = lean_ctor_get(x_123, 1); +lean_inc(x_129); +lean_dec(x_123); +x_130 = l_Lean_Meta_CheckAssignment_checkMVar___closed__5; +x_131 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(x_130, x_2, x_3, x_4, x_5, x_6, x_7, x_129); +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_unbox(x_132); +lean_dec(x_132); +if (x_133 == 0) { -lean_object* x_184; uint8_t x_185; -x_184 = lean_ctor_get(x_4, 0); +lean_object* x_134; lean_object* x_135; +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_134 = lean_ctor_get(x_131, 1); +lean_inc(x_134); +lean_dec(x_131); +x_135 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_134); +return x_135; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_136 = lean_ctor_get(x_131, 1); +lean_inc(x_136); +lean_dec(x_131); +x_137 = l_Lean_Meta_CheckAssignment_checkMVar___closed__8; +lean_inc(x_2); +x_138 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_137, x_2, x_3, x_4, x_5, x_6, x_7, x_136); +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 = l_Lean_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5(x_130, x_139, x_2, x_3, x_4, x_5, x_6, x_7, x_140); +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_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_142); +return x_143; +} +} +} +block_40: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_dec(x_17); +x_18 = l_Lean_mkMVar(x_9); +x_19 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = lean_st_ref_get(x_7, x_15); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_21, 3); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_19); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_dec(x_20); +x_25 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_24); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_dec(x_20); +x_27 = l_Lean_Meta_CheckAssignment_checkMVar___closed__2; +x_28 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_26); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_19); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +x_32 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_31); +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; +x_33 = lean_ctor_get(x_28, 1); +lean_inc(x_33); +lean_dec(x_28); +lean_inc(x_2); +x_34 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5(x_27, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_36); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_38); +return x_39; +} +} +} +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_171; uint8_t x_172; +x_144 = lean_ctor_get(x_12, 0); +x_145 = lean_ctor_get(x_12, 1); +lean_inc(x_145); +lean_inc(x_144); +lean_dec(x_12); +x_146 = lean_ctor_get(x_144, 0); +lean_inc(x_146); +lean_dec(x_144); +x_171 = lean_ctor_get(x_2, 0); +lean_inc(x_171); +x_172 = lean_name_eq(x_9, x_171); +lean_dec(x_171); +if (x_172 == 0) +{ +lean_object* x_173; +lean_inc(x_9); +lean_inc(x_146); +x_173 = lean_metavar_ctx_get_expr_assignment(x_146, x_9); +if (lean_obj_tag(x_173) == 0) +{ +lean_object* x_174; +lean_inc(x_9); +lean_inc(x_146); +x_174 = lean_metavar_ctx_find_decl(x_146, x_9); +if (lean_obj_tag(x_174) == 0) +{ +lean_object* x_175; +lean_dec(x_146); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_175 = l_Lean_Meta_throwUnknownMVar___rarg(x_9, x_4, x_5, x_6, x_7, x_145); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_175; +} +else +{ +uint8_t x_176; +x_176 = lean_ctor_get_uint8(x_2, sizeof(void*)*4); +if (x_176 == 0) +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_177 = lean_ctor_get(x_174, 0); +lean_inc(x_177); +lean_dec(x_174); +x_178 = lean_ctor_get(x_177, 1); +lean_inc(x_178); +x_179 = lean_ctor_get(x_2, 1); +lean_inc(x_179); +x_180 = lean_ctor_get(x_179, 1); +lean_inc(x_180); +lean_dec(x_179); +x_181 = lean_ctor_get(x_2, 2); +lean_inc(x_181); +lean_inc(x_180); +lean_inc(x_178); +x_182 = l_Lean_LocalContext_isSubPrefixOf(x_178, x_180, x_181); +if (x_182 == 0) +{ +lean_object* x_183; lean_object* x_184; uint8_t x_185; +x_183 = lean_ctor_get(x_177, 3); +lean_inc(x_183); +x_184 = lean_ctor_get(x_146, 0); lean_inc(x_184); -x_185 = lean_ctor_get_uint8(x_184, 1); +x_185 = lean_nat_dec_eq(x_183, x_184); lean_dec(x_184); +lean_dec(x_183); if (x_185 == 0) { lean_object* x_186; -lean_dec(x_176); -lean_dec(x_175); -lean_dec(x_173); -lean_dec(x_172); -lean_dec(x_143); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_186 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_186, 0, x_1); -lean_ctor_set(x_186, 1, x_142); -return x_186; +lean_dec(x_181); +lean_dec(x_180); +lean_dec(x_178); +lean_dec(x_177); +lean_dec(x_146); +lean_dec(x_1); +x_186 = lean_box(0); +x_147 = x_186; +goto block_170; } else { -lean_object* x_187; uint8_t x_188; -x_187 = l_Array_empty___closed__1; -lean_inc(x_173); -lean_inc(x_175); -x_188 = l_Lean_LocalContext_isSubPrefixOf(x_175, x_173, x_187); +uint8_t x_187; uint8_t x_188; +x_187 = lean_ctor_get_uint8(x_177, sizeof(void*)*6); +x_188 = l_Lean_MetavarKind_isSyntheticOpaque(x_187); if (x_188 == 0) { -lean_object* x_189; -lean_dec(x_176); -lean_dec(x_175); -lean_dec(x_173); -lean_dec(x_172); -lean_dec(x_143); +lean_object* x_189; uint8_t x_190; +x_189 = lean_ctor_get(x_4, 0); +lean_inc(x_189); +x_190 = lean_ctor_get_uint8(x_189, 1); +lean_dec(x_189); +if (x_190 == 0) +{ +lean_object* x_191; +lean_dec(x_181); +lean_dec(x_180); +lean_dec(x_178); +lean_dec(x_177); +lean_dec(x_146); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -23960,447 +23978,479 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_189 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_189, 0, x_1); -lean_ctor_set(x_189, 1, x_142); -return x_189; +x_191 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_191, 0, x_1); +lean_ctor_set(x_191, 1, x_145); +return x_191; } else { -lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; lean_object* x_197; lean_object* x_198; -lean_dec(x_1); -x_190 = lean_unsigned_to_nat(0u); -x_191 = l_Lean_LocalContext_foldlM___at_Lean_Meta_CheckAssignment_check___spec__50(x_143, x_175, x_176, x_173, x_187, x_190); -lean_dec(x_176); -x_192 = lean_array_get_size(x_191); -x_193 = lean_nat_dec_lt(x_190, x_192); -x_194 = lean_ctor_get(x_172, 4); -lean_inc(x_194); -x_195 = lean_array_get_size(x_194); -x_196 = lean_nat_dec_lt(x_190, x_195); -x_197 = lean_ctor_get(x_172, 2); -lean_inc(x_197); +lean_object* x_192; uint8_t x_193; +x_192 = l_Array_empty___closed__1; +lean_inc(x_178); +lean_inc(x_180); +x_193 = l_Lean_LocalContext_isSubPrefixOf(x_180, x_178, x_192); if (x_193 == 0) { -lean_dec(x_192); -x_198 = x_173; +lean_object* x_194; +lean_dec(x_181); +lean_dec(x_180); +lean_dec(x_178); +lean_dec(x_177); +lean_dec(x_146); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_194 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_194, 0, x_1); +lean_ctor_set(x_194, 1, x_145); +return x_194; +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; lean_object* x_202; lean_object* x_203; +lean_dec(x_1); +x_195 = lean_unsigned_to_nat(0u); +x_196 = l_Lean_LocalContext_foldlM___at_Lean_Meta_CheckAssignment_check___spec__50(x_146, x_180, x_181, x_178, x_192, x_195); +lean_dec(x_181); +x_197 = lean_array_get_size(x_196); +x_198 = lean_nat_dec_lt(x_195, x_197); +x_199 = lean_ctor_get(x_177, 4); +lean_inc(x_199); +x_200 = lean_array_get_size(x_199); +x_201 = lean_nat_dec_lt(x_195, x_200); +x_202 = lean_ctor_get(x_177, 2); +lean_inc(x_202); +if (x_198 == 0) +{ +lean_dec(x_197); +x_203 = x_178; +goto block_239; +} +else +{ +uint8_t x_240; +x_240 = lean_nat_dec_le(x_197, x_197); +if (x_240 == 0) +{ +lean_dec(x_197); +x_203 = x_178; +goto block_239; +} +else +{ +size_t x_241; size_t x_242; lean_object* x_243; +x_241 = 0; +x_242 = lean_usize_of_nat(x_197); +lean_dec(x_197); +x_243 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__65(x_196, x_241, x_242, x_178); +x_203 = x_243; +goto block_239; +} +} +block_239: +{ +lean_object* x_204; +if (x_201 == 0) +{ +lean_dec(x_200); +lean_dec(x_199); +lean_dec(x_196); +x_204 = x_192; goto block_234; } else { uint8_t x_235; -x_235 = lean_nat_dec_le(x_192, x_192); +x_235 = lean_nat_dec_le(x_200, x_200); if (x_235 == 0) { -lean_dec(x_192); -x_198 = x_173; +lean_dec(x_200); +lean_dec(x_199); +lean_dec(x_196); +x_204 = x_192; goto block_234; } else { size_t x_236; size_t x_237; lean_object* x_238; x_236 = 0; -x_237 = lean_usize_of_nat(x_192); -lean_dec(x_192); -x_238 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__65(x_191, x_236, x_237, x_173); -x_198 = x_238; +x_237 = lean_usize_of_nat(x_200); +lean_dec(x_200); +x_238 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__64(x_196, x_199, x_236, x_237, x_192); +lean_dec(x_199); +lean_dec(x_196); +x_204 = x_238; goto block_234; } } block_234: { -lean_object* x_199; -if (x_196 == 0) -{ -lean_dec(x_195); -lean_dec(x_194); -lean_dec(x_191); -x_199 = x_187; -goto block_229; -} -else -{ -uint8_t x_230; -x_230 = lean_nat_dec_le(x_195, x_195); -if (x_230 == 0) -{ -lean_dec(x_195); -lean_dec(x_194); -lean_dec(x_191); -x_199 = x_187; -goto block_229; -} -else -{ -size_t x_231; size_t x_232; lean_object* x_233; -x_231 = 0; -x_232 = lean_usize_of_nat(x_195); -lean_dec(x_195); -x_233 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__64(x_191, x_194, x_231, x_232, x_187); -lean_dec(x_194); -lean_dec(x_191); -x_199 = x_233; -goto block_229; -} -} -block_229: -{ -lean_object* x_200; +lean_object* x_205; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_200 = l_Lean_Meta_CheckAssignment_check(x_197, x_2, x_3, x_4, x_5, x_6, x_7, x_142); -if (lean_obj_tag(x_200) == 0) +x_205 = l_Lean_Meta_CheckAssignment_check(x_202, x_2, x_3, x_4, x_5, x_6, x_7, x_145); +if (lean_obj_tag(x_205) == 0) { -lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_ctor_get(x_172, 5); -lean_inc(x_203); -lean_dec(x_172); -x_204 = 0; -x_205 = lean_box(0); -x_206 = l_Lean_Meta_mkFreshExprMVarAt(x_198, x_199, x_201, x_204, x_205, x_203, x_4, x_5, x_6, x_7, x_202); +lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; +x_206 = lean_ctor_get(x_205, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_205, 1); +lean_inc(x_207); +lean_dec(x_205); +x_208 = lean_ctor_get(x_177, 5); +lean_inc(x_208); +lean_dec(x_177); +x_209 = 0; +x_210 = lean_box(0); +x_211 = l_Lean_Meta_mkFreshExprMVarAt(x_203, x_204, x_206, x_209, x_210, x_208, x_4, x_5, x_6, x_7, x_207); lean_dec(x_6); lean_dec(x_4); -x_207 = lean_ctor_get(x_206, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_206, 1); -lean_inc(x_208); -lean_dec(x_206); -x_209 = lean_st_ref_get(x_7, x_208); -lean_dec(x_7); -x_210 = lean_ctor_get(x_209, 1); -lean_inc(x_210); -lean_dec(x_209); -x_211 = lean_st_ref_take(x_5, x_210); x_212 = lean_ctor_get(x_211, 0); lean_inc(x_212); x_213 = lean_ctor_get(x_211, 1); lean_inc(x_213); lean_dec(x_211); -x_214 = lean_ctor_get(x_212, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_212, 1); +x_214 = lean_st_ref_get(x_7, x_213); +lean_dec(x_7); +x_215 = lean_ctor_get(x_214, 1); lean_inc(x_215); -x_216 = lean_ctor_get(x_212, 2); -lean_inc(x_216); -x_217 = lean_ctor_get(x_212, 3); +lean_dec(x_214); +x_216 = lean_st_ref_take(x_5, x_215); +x_217 = lean_ctor_get(x_216, 0); lean_inc(x_217); -if (lean_is_exclusive(x_212)) { - lean_ctor_release(x_212, 0); - lean_ctor_release(x_212, 1); - lean_ctor_release(x_212, 2); - lean_ctor_release(x_212, 3); - x_218 = x_212; -} else { - lean_dec_ref(x_212); - x_218 = lean_box(0); -} -lean_inc(x_207); -x_219 = l_Lean_MetavarContext_assignExpr(x_214, x_9, x_207); -if (lean_is_scalar(x_218)) { - x_220 = lean_alloc_ctor(0, 4, 0); -} else { - x_220 = x_218; -} -lean_ctor_set(x_220, 0, x_219); -lean_ctor_set(x_220, 1, x_215); -lean_ctor_set(x_220, 2, x_216); -lean_ctor_set(x_220, 3, x_217); -x_221 = lean_st_ref_set(x_5, x_220, x_213); -lean_dec(x_5); -x_222 = lean_ctor_get(x_221, 1); +x_218 = lean_ctor_get(x_216, 1); +lean_inc(x_218); +lean_dec(x_216); +x_219 = lean_ctor_get(x_217, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_217, 1); +lean_inc(x_220); +x_221 = lean_ctor_get(x_217, 2); +lean_inc(x_221); +x_222 = lean_ctor_get(x_217, 3); lean_inc(x_222); -if (lean_is_exclusive(x_221)) { - lean_ctor_release(x_221, 0); - lean_ctor_release(x_221, 1); - x_223 = x_221; +if (lean_is_exclusive(x_217)) { + lean_ctor_release(x_217, 0); + lean_ctor_release(x_217, 1); + lean_ctor_release(x_217, 2); + lean_ctor_release(x_217, 3); + x_223 = x_217; } else { - lean_dec_ref(x_221); + lean_dec_ref(x_217); x_223 = lean_box(0); } +lean_inc(x_212); +x_224 = l_Lean_MetavarContext_assignExpr(x_219, x_9, x_212); if (lean_is_scalar(x_223)) { - x_224 = lean_alloc_ctor(0, 2, 0); + x_225 = lean_alloc_ctor(0, 4, 0); } else { - x_224 = x_223; + x_225 = x_223; } -lean_ctor_set(x_224, 0, x_207); -lean_ctor_set(x_224, 1, x_222); -return x_224; -} -else -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; -lean_dec(x_199); -lean_dec(x_198); -lean_dec(x_172); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); +lean_ctor_set(x_225, 0, x_224); +lean_ctor_set(x_225, 1, x_220); +lean_ctor_set(x_225, 2, x_221); +lean_ctor_set(x_225, 3, x_222); +x_226 = lean_st_ref_set(x_5, x_225, x_218); lean_dec(x_5); -lean_dec(x_4); -x_225 = lean_ctor_get(x_200, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_200, 1); -lean_inc(x_226); -if (lean_is_exclusive(x_200)) { - lean_ctor_release(x_200, 0); - lean_ctor_release(x_200, 1); - x_227 = x_200; +x_227 = lean_ctor_get(x_226, 1); +lean_inc(x_227); +if (lean_is_exclusive(x_226)) { + lean_ctor_release(x_226, 0); + lean_ctor_release(x_226, 1); + x_228 = x_226; } else { - lean_dec_ref(x_200); - x_227 = lean_box(0); + lean_dec_ref(x_226); + x_228 = lean_box(0); } -if (lean_is_scalar(x_227)) { - x_228 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_228)) { + x_229 = lean_alloc_ctor(0, 2, 0); } else { - x_228 = x_227; -} -lean_ctor_set(x_228, 0, x_225); -lean_ctor_set(x_228, 1, x_226); -return x_228; -} -} -} -} + x_229 = x_228; } +lean_ctor_set(x_229, 0, x_212); +lean_ctor_set(x_229, 1, x_227); +return x_229; } else { -lean_object* x_239; -lean_dec(x_176); -lean_dec(x_175); -lean_dec(x_173); -lean_dec(x_172); -lean_dec(x_143); -lean_dec(x_9); -lean_dec(x_1); -x_239 = lean_box(0); -x_144 = x_239; -goto block_165; -} -} -} -else -{ -lean_object* x_240; -lean_dec(x_176); -lean_dec(x_175); -lean_dec(x_173); -lean_dec(x_172); -lean_dec(x_143); +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +lean_dec(x_204); +lean_dec(x_203); +lean_dec(x_177); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_240 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_240, 0, x_1); -lean_ctor_set(x_240, 1, x_142); -return x_240; +x_230 = lean_ctor_get(x_205, 0); +lean_inc(x_230); +x_231 = lean_ctor_get(x_205, 1); +lean_inc(x_231); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + x_232 = x_205; +} else { + lean_dec_ref(x_205); + x_232 = lean_box(0); +} +if (lean_is_scalar(x_232)) { + x_233 = lean_alloc_ctor(1, 2, 0); +} else { + x_233 = x_232; +} +lean_ctor_set(x_233, 0, x_230); +lean_ctor_set(x_233, 1, x_231); +return x_233; +} } } -else -{ -lean_object* x_241; -lean_dec(x_169); -lean_dec(x_143); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_241 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_142); -return x_241; } } } else { -lean_object* x_242; lean_object* x_243; -lean_dec(x_143); -lean_dec(x_9); -lean_dec(x_1); -x_242 = lean_ctor_get(x_168, 0); -lean_inc(x_242); -lean_dec(x_168); -x_243 = l_Lean_Meta_CheckAssignment_check(x_242, x_2, x_3, x_4, x_5, x_6, x_7, x_142); -return x_243; -} -} -else -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; uint8_t x_247; -lean_dec(x_143); -lean_dec(x_9); -lean_dec(x_1); -x_244 = lean_st_ref_get(x_7, x_142); -x_245 = lean_ctor_get(x_244, 0); -lean_inc(x_245); -x_246 = lean_ctor_get(x_245, 3); -lean_inc(x_246); -lean_dec(x_245); -x_247 = lean_ctor_get_uint8(x_246, sizeof(void*)*1); -lean_dec(x_246); -if (x_247 == 0) -{ -lean_object* x_248; lean_object* x_249; -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_248 = lean_ctor_get(x_244, 1); -lean_inc(x_248); -lean_dec(x_244); -x_249 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_248); -return x_249; -} -else -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; uint8_t x_254; -x_250 = lean_ctor_get(x_244, 1); -lean_inc(x_250); -lean_dec(x_244); -x_251 = l_Lean_Meta_CheckAssignment_checkMVar___closed__5; -x_252 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(x_251, x_2, x_3, x_4, x_5, x_6, x_7, x_250); -x_253 = lean_ctor_get(x_252, 0); -lean_inc(x_253); -x_254 = lean_unbox(x_253); -lean_dec(x_253); -if (x_254 == 0) -{ -lean_object* x_255; lean_object* x_256; -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_255 = lean_ctor_get(x_252, 1); -lean_inc(x_255); -lean_dec(x_252); -x_256 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_255); -return x_256; -} -else -{ -lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; -x_257 = lean_ctor_get(x_252, 1); -lean_inc(x_257); -lean_dec(x_252); -lean_inc(x_2); -x_258 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_257); -x_259 = lean_ctor_get(x_258, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_258, 1); -lean_inc(x_260); -lean_dec(x_258); -x_261 = l_Lean_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5(x_251, x_259, x_2, x_3, x_4, x_5, x_6, x_7, x_260); -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_262 = lean_ctor_get(x_261, 1); -lean_inc(x_262); -lean_dec(x_261); -x_263 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_262); -return x_263; -} -} -} -block_165: -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; -lean_dec(x_144); -x_145 = lean_st_ref_get(x_7, x_142); -x_146 = lean_ctor_get(x_145, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_146, 3); -lean_inc(x_147); +lean_object* x_244; +lean_dec(x_181); +lean_dec(x_180); +lean_dec(x_178); +lean_dec(x_177); lean_dec(x_146); -x_148 = lean_ctor_get_uint8(x_147, sizeof(void*)*1); -lean_dec(x_147); -if (x_148 == 0) +lean_dec(x_1); +x_244 = lean_box(0); +x_147 = x_244; +goto block_170; +} +} +} +else { -lean_object* x_149; lean_object* x_150; +lean_object* x_245; +lean_dec(x_181); +lean_dec(x_180); +lean_dec(x_178); +lean_dec(x_177); +lean_dec(x_146); +lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_149 = lean_ctor_get(x_145, 1); -lean_inc(x_149); -lean_dec(x_145); -x_150 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_149); -return x_150; +x_245 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_245, 0, x_1); +lean_ctor_set(x_245, 1, x_145); +return x_245; +} } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; -x_151 = lean_ctor_get(x_145, 1); -lean_inc(x_151); -lean_dec(x_145); -x_152 = l_Lean_Meta_CheckAssignment_checkMVar___closed__2; -x_153 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(x_152, x_2, x_3, x_4, x_5, x_6, x_7, x_151); -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -x_155 = lean_unbox(x_154); -lean_dec(x_154); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; +lean_object* x_246; +lean_dec(x_174); +lean_dec(x_146); +lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_156 = lean_ctor_get(x_153, 1); -lean_inc(x_156); -lean_dec(x_153); -x_157 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_156); -return x_157; +lean_dec(x_1); +x_246 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_145); +return x_246; +} +} } else { -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; -x_158 = lean_ctor_get(x_153, 1); -lean_inc(x_158); -lean_dec(x_153); +lean_object* x_247; lean_object* x_248; +lean_dec(x_146); +lean_dec(x_9); +lean_dec(x_1); +x_247 = lean_ctor_get(x_173, 0); +lean_inc(x_247); +lean_dec(x_173); +x_248 = l_Lean_Meta_CheckAssignment_check(x_247, x_2, x_3, x_4, x_5, x_6, x_7, x_145); +return x_248; +} +} +else +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; +lean_dec(x_146); +lean_dec(x_9); +lean_dec(x_1); +x_249 = lean_st_ref_get(x_7, x_145); +x_250 = lean_ctor_get(x_249, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_250, 3); +lean_inc(x_251); +lean_dec(x_250); +x_252 = lean_ctor_get_uint8(x_251, sizeof(void*)*1); +lean_dec(x_251); +if (x_252 == 0) +{ +lean_object* x_253; lean_object* x_254; +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_253 = lean_ctor_get(x_249, 1); +lean_inc(x_253); +lean_dec(x_249); +x_254 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_253); +return x_254; +} +else +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; +x_255 = lean_ctor_get(x_249, 1); +lean_inc(x_255); +lean_dec(x_249); +x_256 = l_Lean_Meta_CheckAssignment_checkMVar___closed__5; +x_257 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(x_256, x_2, x_3, x_4, x_5, x_6, x_7, x_255); +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +x_259 = lean_unbox(x_258); +lean_dec(x_258); +if (x_259 == 0) +{ +lean_object* x_260; lean_object* x_261; +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_260 = lean_ctor_get(x_257, 1); +lean_inc(x_260); +lean_dec(x_257); +x_261 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_260); +return x_261; +} +else +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_262 = lean_ctor_get(x_257, 1); +lean_inc(x_262); +lean_dec(x_257); +x_263 = l_Lean_Meta_CheckAssignment_checkMVar___closed__8; lean_inc(x_2); -x_159 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_158); -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -x_161 = lean_ctor_get(x_159, 1); -lean_inc(x_161); -lean_dec(x_159); -x_162 = l_Lean_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5(x_152, x_160, x_2, x_3, x_4, x_5, x_6, x_7, x_161); +x_264 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_263, x_2, x_3, x_4, x_5, x_6, x_7, x_262); +x_265 = lean_ctor_get(x_264, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_264, 1); +lean_inc(x_266); +lean_dec(x_264); +x_267 = l_Lean_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5(x_256, x_265, x_2, x_3, x_4, x_5, x_6, x_7, x_266); 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_163 = lean_ctor_get(x_162, 1); +x_268 = lean_ctor_get(x_267, 1); +lean_inc(x_268); +lean_dec(x_267); +x_269 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_268); +return x_269; +} +} +} +block_170: +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; +lean_dec(x_147); +x_148 = l_Lean_mkMVar(x_9); +x_149 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_149, 0, x_148); +x_150 = lean_st_ref_get(x_7, x_145); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_151, 3); +lean_inc(x_152); +lean_dec(x_151); +x_153 = lean_ctor_get_uint8(x_152, sizeof(void*)*1); +lean_dec(x_152); +if (x_153 == 0) +{ +lean_object* x_154; lean_object* x_155; +lean_dec(x_149); +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_154 = lean_ctor_get(x_150, 1); +lean_inc(x_154); +lean_dec(x_150); +x_155 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_154); +return x_155; +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; +x_156 = lean_ctor_get(x_150, 1); +lean_inc(x_156); +lean_dec(x_150); +x_157 = l_Lean_Meta_CheckAssignment_checkMVar___closed__2; +x_158 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(x_157, x_2, x_3, x_4, x_5, x_6, x_7, x_156); +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +x_160 = lean_unbox(x_159); +lean_dec(x_159); +if (x_160 == 0) +{ +lean_object* x_161; lean_object* x_162; +lean_dec(x_149); +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_161 = lean_ctor_get(x_158, 1); +lean_inc(x_161); +lean_dec(x_158); +x_162 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_161); +return x_162; +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_163 = lean_ctor_get(x_158, 1); lean_inc(x_163); -lean_dec(x_162); -x_164 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_163); -return x_164; +lean_dec(x_158); +lean_inc(x_2); +x_164 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo(x_149, x_2, x_3, x_4, x_5, x_6, x_7, x_163); +x_165 = lean_ctor_get(x_164, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_164, 1); +lean_inc(x_166); +lean_dec(x_164); +x_167 = l_Lean_addTrace___at_Lean_Meta_CheckAssignment_check___spec__5(x_157, x_165, x_2, x_3, x_4, x_5, x_6, x_7, x_166); +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_168 = lean_ctor_get(x_167, 1); +lean_inc(x_168); +lean_dec(x_167); +x_169 = l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg(x_168); +return x_169; } } } @@ -37841,7 +37891,7 @@ x_59 = l_Lean_KernelException_toMessageData___closed__15; x_60 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); -x_61 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3; +x_61 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3; x_62 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_62, 0, x_60); lean_ctor_set(x_62, 1, x_61); @@ -39978,7 +40028,7 @@ x_128 = l_Lean_KernelException_toMessageData___closed__15; x_129 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_129, 0, x_128); lean_ctor_set(x_129, 1, x_127); -x_130 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3; +x_130 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3; x_131 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_131, 0, x_129); lean_ctor_set(x_131, 1, x_130); @@ -51576,7 +51626,7 @@ x_130 = l_Lean_KernelException_toMessageData___closed__15; x_131 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_131, 0, x_130); lean_ctor_set(x_131, 1, x_129); -x_132 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3; +x_132 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3; x_133 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_133, 0, x_131); lean_ctor_set(x_133, 1, x_132); @@ -58359,7 +58409,7 @@ x_10 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_1, x_2, x_9, x_4, x_5, x_6, return x_10; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8347____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8355____closed__1() { _start: { lean_object* x_1; @@ -58367,12 +58417,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isExprDefEqAuxImpl), 7, 0); return x_1; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8347_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8355_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; x_2 = l_Lean_Meta_isExprDefEqAuxRef; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8347____closed__1; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8355____closed__1; x_4 = lean_st_ref_set(x_2, x_3, x_1); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) @@ -58394,7 +58444,7 @@ return x_8; } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8356_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8364_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -58675,12 +58725,12 @@ l_Lean_Meta_CheckAssignment_instMonadCacheExprExprCheckAssignmentM___closed__3 = lean_mark_persistent(l_Lean_Meta_CheckAssignment_instMonadCacheExprExprCheckAssignmentM___closed__3); l_Lean_Meta_CheckAssignment_instMonadCacheExprExprCheckAssignmentM = _init_l_Lean_Meta_CheckAssignment_instMonadCacheExprExprCheckAssignmentM(); lean_mark_persistent(l_Lean_Meta_CheckAssignment_instMonadCacheExprExprCheckAssignmentM); -l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__1); -l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__2); -l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3); +l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__1); +l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__2); +l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3); l_Lean_Meta_CheckAssignment_checkFVar___closed__1 = _init_l_Lean_Meta_CheckAssignment_checkFVar___closed__1(); lean_mark_persistent(l_Lean_Meta_CheckAssignment_checkFVar___closed__1); l_Lean_Meta_CheckAssignment_checkFVar___closed__2 = _init_l_Lean_Meta_CheckAssignment_checkFVar___closed__2(); @@ -58727,6 +58777,12 @@ l_Lean_Meta_CheckAssignment_checkMVar___closed__4 = _init_l_Lean_Meta_CheckAssig lean_mark_persistent(l_Lean_Meta_CheckAssignment_checkMVar___closed__4); l_Lean_Meta_CheckAssignment_checkMVar___closed__5 = _init_l_Lean_Meta_CheckAssignment_checkMVar___closed__5(); lean_mark_persistent(l_Lean_Meta_CheckAssignment_checkMVar___closed__5); +l_Lean_Meta_CheckAssignment_checkMVar___closed__6 = _init_l_Lean_Meta_CheckAssignment_checkMVar___closed__6(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_checkMVar___closed__6); +l_Lean_Meta_CheckAssignment_checkMVar___closed__7 = _init_l_Lean_Meta_CheckAssignment_checkMVar___closed__7(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_checkMVar___closed__7); +l_Lean_Meta_CheckAssignment_checkMVar___closed__8 = _init_l_Lean_Meta_CheckAssignment_checkMVar___closed__8(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_checkMVar___closed__8); l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_check___spec__68___boxed__const__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_check___spec__68___boxed__const__1(); lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_check___spec__68___boxed__const__1); l_Lean_Meta_CheckAssignment_run___closed__1 = _init_l_Lean_Meta_CheckAssignment_run___closed__1(); @@ -58791,12 +58847,12 @@ l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__1 = _init_l_Lean_Meta_isExp lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__1); l_Lean_Meta_isExprDefEqAuxImpl___closed__1 = _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__1(); lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8347____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8347____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8347____closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8347_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8355____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8355____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8355____closed__1); +res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8355_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8356_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_8364_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index e3a246de95..4651c6cd22 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -61,9 +61,9 @@ lean_object* l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1___boxed lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_AssocList_contains___at_Lean_Meta_FVarSubst_contains___spec__1(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_whnf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__2; extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkMinorType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -88,7 +88,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTran lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__1; -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__4; lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at_Lean_Meta_Match_instantiateAltLHSMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNatValueTransition_match__1(lean_object*); @@ -137,6 +136,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatte lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__5(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Match_instInhabitedAlt; +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__4; lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedNat; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -179,8 +179,8 @@ uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isDone(lean_object* lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__1; lean_object* l_Nat_foldAux___at_Lean_Meta_Match_mkMatcher___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__1; lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__2; lean_object* l_Lean_Meta_Match_mkMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__4___boxed(lean_object*, lean_object*, lean_object*); @@ -204,6 +204,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectValues_ lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__2; lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkMinorType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__3; lean_object* l_Lean_Meta_Match_Unify_unify_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__3(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___closed__3; @@ -212,13 +213,14 @@ lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__3; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_substCore___spec__4___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__3(lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_6406_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_6423_(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__8; lean_object* l_Lean_Meta_Match_generateMatcherCode___boxed(lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop___spec__2(lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern(lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__5; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable_match__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor_match__5___rarg(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition(lean_object*); @@ -327,7 +329,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasRecursiveTy lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__1; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__7(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__3; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkArrayLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_forInUnsafe_loop___at_Lean_pushScope___spec__1___rarg___lambda__1___closed__1; @@ -347,7 +348,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatte lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_State_counterExamples___default; -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__5; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__1; uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -626,7 +626,6 @@ lean_object* l_Lean_Meta_Match_State_used___default___closed__1; lean_object* l_Lean_throwError___at_Lean_Meta_MatcherApp_addArg___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_State_used___default; -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__6; lean_object* l_Lean_Meta_Match_Unify_occurs___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Meta_Match_processInaccessibleAsCtor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -659,6 +658,7 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___privat lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable_match__3(lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__6; lean_object* l_Lean_Meta_Match_Unify_assign___closed__6; uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls___spec__1(lean_object*, uint8_t, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -687,7 +687,7 @@ extern lean_object* l_Lean_Meta_evalNat_match__1___rarg___closed__1; lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_applyFVarSubst(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable_match__1(lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426_(lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443_(lean_object*); extern lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___rarg___closed__2; uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition___spec__1(uint8_t, lean_object*); extern lean_object* l_Lean_Meta_throwLetTypeMismatchMessage___rarg___closed__8; @@ -19334,7 +19334,7 @@ static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_p _start: { lean_object* x_1; -x_1 = lean_mk_string("variable"); +x_1 = lean_mk_string("nat value to constructor"); return x_1; } } @@ -19342,7 +19342,7 @@ static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_p _start: { lean_object* x_1; -x_1 = lean_mk_string("non variable"); +x_1 = lean_mk_string("variable"); return x_1; } } @@ -19350,7 +19350,7 @@ static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_p _start: { lean_object* x_1; -x_1 = lean_mk_string("nat value to constructor"); +x_1 = lean_mk_string("non variable"); return x_1; } } @@ -19395,247 +19395,247 @@ lean_inc(x_2); x_16 = l_Lean_Meta_Match_isCurrVarInductive(x_2, x_5, x_6, x_7, x_8, x_15); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_106; +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_112; x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); lean_dec(x_16); -x_106 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isDone(x_2); -if (x_106 == 0) +x_112 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isDone(x_2); +if (x_112 == 0) { -uint8_t x_107; -x_107 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern(x_2); -if (x_107 == 0) +uint8_t x_113; +x_113 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern(x_2); +if (x_113 == 0) { -uint8_t x_108; -x_108 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNatValueTransition(x_2); -if (x_108 == 0) +uint8_t x_114; +x_114 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNatValueTransition(x_2); +if (x_114 == 0) { -uint8_t x_109; -x_109 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNextVar(x_2); -if (x_109 == 0) +uint8_t x_115; +x_115 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNextVar(x_2); +if (x_115 == 0) { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_dec(x_17); -x_110 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__2; -x_111 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_110, x_4, x_5, x_6, x_7, x_8, x_18); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -lean_dec(x_111); +x_116 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__3; +x_117 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_116, x_4, x_5, x_6, x_7, x_8, x_18); +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); +lean_dec(x_117); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_113 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable(x_2, x_5, x_6, x_7, x_8, x_112); -if (lean_obj_tag(x_113) == 0) +x_119 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable(x_2, x_5, x_6, x_7, x_8, x_118); +if (lean_obj_tag(x_119) == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_114, x_4, x_5, x_6, x_7, x_8, x_115); -return x_116; -} -else -{ -uint8_t x_117; -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_117 = !lean_is_exclusive(x_113); -if (x_117 == 0) -{ -return x_113; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_113, 0); -x_119 = lean_ctor_get(x_113, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_113); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; -} -} -} -else -{ -uint8_t x_121; -x_121 = lean_unbox(x_17); -lean_dec(x_17); -if (x_121 == 0) -{ -lean_object* x_122; -x_122 = lean_box(0); -x_19 = x_122; -goto block_105; +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec(x_119); +x_122 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_120, x_4, x_5, x_6, x_7, x_8, x_121); +return x_122; } else { uint8_t x_123; -x_123 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition(x_2); +lean_dec(x_7); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_123 = !lean_is_exclusive(x_119); if (x_123 == 0) { -lean_object* x_124; -x_124 = lean_box(0); -x_19 = x_124; -goto block_105; +return x_119; } else { -lean_object* x_125; +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_119, 0); +x_125 = lean_ctor_get(x_119, 1); +lean_inc(x_125); +lean_inc(x_124); +lean_dec(x_119); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; +} +} +} +else +{ +uint8_t x_127; +x_127 = lean_unbox(x_17); +lean_dec(x_17); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_box(0); +x_19 = x_128; +goto block_111; +} +else +{ +uint8_t x_129; +x_129 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition(x_2); +if (x_129 == 0) +{ +lean_object* x_130; +x_130 = lean_box(0); +x_19 = x_130; +goto block_111; +} +else +{ +lean_object* x_131; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_125 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor(x_2, x_5, x_6, x_7, x_8, x_18); -if (lean_obj_tag(x_125) == 0) +x_131 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor(x_2, x_5, x_6, x_7, x_8, x_18); +if (lean_obj_tag(x_131) == 0) { -uint8_t x_126; -x_126 = !lean_is_exclusive(x_125); -if (x_126 == 0) +uint8_t x_132; +x_132 = !lean_is_exclusive(x_131); +if (x_132 == 0) { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; -x_127 = lean_ctor_get(x_125, 0); -x_128 = lean_ctor_get(x_125, 1); -x_129 = lean_array_get_size(x_127); -x_130 = lean_unsigned_to_nat(0u); -x_131 = lean_nat_dec_lt(x_130, x_129); -if (x_131 == 0) +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_133 = lean_ctor_get(x_131, 0); +x_134 = lean_ctor_get(x_131, 1); +x_135 = lean_array_get_size(x_133); +x_136 = lean_unsigned_to_nat(0u); +x_137 = lean_nat_dec_lt(x_136, x_135); +if (x_137 == 0) { -lean_object* x_132; -lean_dec(x_129); -lean_dec(x_127); +lean_object* x_138; +lean_dec(x_135); +lean_dec(x_133); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_132 = lean_box(0); -lean_ctor_set(x_125, 0, x_132); -return x_125; +x_138 = lean_box(0); +lean_ctor_set(x_131, 0, x_138); +return x_131; } else { -uint8_t x_133; -x_133 = lean_nat_dec_le(x_129, x_129); -if (x_133 == 0) +uint8_t x_139; +x_139 = lean_nat_dec_le(x_135, x_135); +if (x_139 == 0) { -lean_object* x_134; -lean_dec(x_129); -lean_dec(x_127); +lean_object* x_140; +lean_dec(x_135); +lean_dec(x_133); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_134 = lean_box(0); -lean_ctor_set(x_125, 0, x_134); -return x_125; +x_140 = lean_box(0); +lean_ctor_set(x_131, 0, x_140); +return x_131; } else { -size_t x_135; size_t x_136; lean_object* x_137; lean_object* x_138; -lean_free_object(x_125); -x_135 = 0; -x_136 = lean_usize_of_nat(x_129); -lean_dec(x_129); -x_137 = lean_box(0); -x_138 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_127, x_135, x_136, x_137, x_4, x_5, x_6, x_7, x_8, x_128); -lean_dec(x_127); -return x_138; +size_t x_141; size_t x_142; lean_object* x_143; lean_object* x_144; +lean_free_object(x_131); +x_141 = 0; +x_142 = lean_usize_of_nat(x_135); +lean_dec(x_135); +x_143 = lean_box(0); +x_144 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_133, x_141, x_142, x_143, x_4, x_5, x_6, x_7, x_8, x_134); +lean_dec(x_133); +return x_144; } } } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; -x_139 = lean_ctor_get(x_125, 0); -x_140 = lean_ctor_get(x_125, 1); -lean_inc(x_140); -lean_inc(x_139); -lean_dec(x_125); -x_141 = lean_array_get_size(x_139); -x_142 = lean_unsigned_to_nat(0u); -x_143 = lean_nat_dec_lt(x_142, x_141); -if (x_143 == 0) +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; +x_145 = lean_ctor_get(x_131, 0); +x_146 = lean_ctor_get(x_131, 1); +lean_inc(x_146); +lean_inc(x_145); +lean_dec(x_131); +x_147 = lean_array_get_size(x_145); +x_148 = lean_unsigned_to_nat(0u); +x_149 = lean_nat_dec_lt(x_148, x_147); +if (x_149 == 0) { -lean_object* x_144; lean_object* x_145; -lean_dec(x_141); -lean_dec(x_139); +lean_object* x_150; lean_object* x_151; +lean_dec(x_147); +lean_dec(x_145); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_144 = lean_box(0); -x_145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_140); -return x_145; +x_150 = lean_box(0); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_146); +return x_151; } else { -uint8_t x_146; -x_146 = lean_nat_dec_le(x_141, x_141); -if (x_146 == 0) +uint8_t x_152; +x_152 = lean_nat_dec_le(x_147, x_147); +if (x_152 == 0) { -lean_object* x_147; lean_object* x_148; -lean_dec(x_141); -lean_dec(x_139); +lean_object* x_153; lean_object* x_154; +lean_dec(x_147); +lean_dec(x_145); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_147 = lean_box(0); -x_148 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_140); -return x_148; +x_153 = lean_box(0); +x_154 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_146); +return x_154; } else { -size_t x_149; size_t x_150; lean_object* x_151; lean_object* x_152; -x_149 = 0; -x_150 = lean_usize_of_nat(x_141); -lean_dec(x_141); -x_151 = lean_box(0); -x_152 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_139, x_149, x_150, x_151, x_4, x_5, x_6, x_7, x_8, x_140); -lean_dec(x_139); -return x_152; +size_t x_155; size_t x_156; lean_object* x_157; lean_object* x_158; +x_155 = 0; +x_156 = lean_usize_of_nat(x_147); +lean_dec(x_147); +x_157 = lean_box(0); +x_158 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_145, x_155, x_156, x_157, x_4, x_5, x_6, x_7, x_8, x_146); +lean_dec(x_145); +return x_158; } } } } else { -uint8_t x_153; +uint8_t x_159; lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_153 = !lean_is_exclusive(x_125); -if (x_153 == 0) +x_159 = !lean_is_exclusive(x_131); +if (x_159 == 0) { -return x_125; +return x_131; } else { -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_125, 0); -x_155 = lean_ctor_get(x_125, 1); -lean_inc(x_155); -lean_inc(x_154); -lean_dec(x_125); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_154); -lean_ctor_set(x_156, 1, x_155); -return x_156; +lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_160 = lean_ctor_get(x_131, 0); +x_161 = lean_ctor_get(x_131, 1); +lean_inc(x_161); +lean_inc(x_160); +lean_dec(x_131); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_160); +lean_ctor_set(x_162, 1, x_161); +return x_162; } } } @@ -19644,79 +19644,79 @@ return x_156; } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_dec(x_17); -x_157 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__3; -x_158 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_157, x_4, x_5, x_6, x_7, x_8, x_18); -x_159 = lean_ctor_get(x_158, 1); -lean_inc(x_159); -lean_dec(x_158); -x_160 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern(x_2); -x_161 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_160, x_4, x_5, x_6, x_7, x_8, x_159); -return x_161; +x_163 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__1; +x_164 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_163, x_4, x_5, x_6, x_7, x_8, x_18); +x_165 = lean_ctor_get(x_164, 1); +lean_inc(x_165); +lean_dec(x_164); +x_166 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern(x_2); +x_167 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_166, x_4, x_5, x_6, x_7, x_8, x_165); +return x_167; } } else { -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_dec(x_17); -x_162 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__4; -x_163 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_162, x_4, x_5, x_6, x_7, x_8, x_18); -x_164 = lean_ctor_get(x_163, 1); -lean_inc(x_164); -lean_dec(x_163); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_165 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern(x_2, x_5, x_6, x_7, x_8, x_164); -if (lean_obj_tag(x_165) == 0) -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = lean_ctor_get(x_165, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_165, 1); -lean_inc(x_167); -lean_dec(x_165); -x_168 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_166, x_4, x_5, x_6, x_7, x_8, x_167); -return x_168; -} -else -{ -uint8_t x_169; -lean_dec(x_7); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_169 = !lean_is_exclusive(x_165); -if (x_169 == 0) -{ -return x_165; -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_170 = lean_ctor_get(x_165, 0); -x_171 = lean_ctor_get(x_165, 1); -lean_inc(x_171); +x_168 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__4; +x_169 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_168, x_4, x_5, x_6, x_7, x_8, x_18); +x_170 = lean_ctor_get(x_169, 1); lean_inc(x_170); -lean_dec(x_165); -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_170); -lean_ctor_set(x_172, 1, x_171); -return x_172; +lean_dec(x_169); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_171 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern(x_2, x_5, x_6, x_7, x_8, x_170); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_171, 1); +lean_inc(x_173); +lean_dec(x_171); +x_174 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_172, x_4, x_5, x_6, x_7, x_8, x_173); +return x_174; +} +else +{ +uint8_t x_175; +lean_dec(x_7); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_175 = !lean_is_exclusive(x_171); +if (x_175 == 0) +{ +return x_171; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_176 = lean_ctor_get(x_171, 0); +x_177 = lean_ctor_get(x_171, 1); +lean_inc(x_177); +lean_inc(x_176); +lean_dec(x_171); +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_176); +lean_ctor_set(x_178, 1, x_177); +return x_178; } } } } else { -lean_object* x_173; +lean_object* x_179; lean_dec(x_17); -x_173 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf(x_2, x_4, x_5, x_6, x_7, x_8, x_18); -return x_173; +x_179 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf(x_2, x_4, x_5, x_6, x_7, x_8, x_18); +return x_179; } -block_105: +block_111: { uint8_t x_20; lean_dec(x_19); @@ -19731,400 +19731,417 @@ uint8_t x_22; x_22 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition(x_2); if (x_22 == 0) { -lean_object* x_23; +uint8_t x_23; +x_23 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNatValPattern(x_2); +if (x_23 == 0) +{ +lean_object* x_24; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_2); -x_23 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes(x_2, x_5, x_6, x_7, x_8, x_18); -if (lean_obj_tag(x_23) == 0) +x_24 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes(x_2, x_5, x_6, x_7, x_8, x_18); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported(x_2, x_5, x_6, x_7, x_8, x_24); -return x_25; +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported(x_2, x_5, x_6, x_7, x_8, x_25); +return x_26; } else { -uint8_t x_26; +uint8_t x_27; lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_26 = !lean_is_exclusive(x_23); -if (x_26 == 0) +x_27 = !lean_is_exclusive(x_24); +if (x_27 == 0) { -return x_23; +return x_24; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_24, 0); +x_29 = lean_ctor_get(x_24, 1); +lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_23); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_dec(x_24); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } else { -lean_object* x_30; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__1; +x_32 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_31, x_4, x_5, x_6, x_7, x_8, x_18); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern(x_2); +x_35 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_34, x_4, x_5, x_6, x_7, x_8, x_33); +return x_35; +} +} +else +{ +lean_object* x_36; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_30 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit(x_2, x_5, x_6, x_7, x_8, x_18); -if (lean_obj_tag(x_30) == 0) +x_36 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit(x_2, x_5, x_6, x_7, x_8, x_18); +if (lean_obj_tag(x_36) == 0) { -uint8_t x_31; -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +uint8_t x_37; +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_32 = lean_ctor_get(x_30, 0); -x_33 = lean_ctor_get(x_30, 1); -x_34 = lean_array_get_size(x_32); -x_35 = lean_unsigned_to_nat(0u); -x_36 = lean_nat_dec_lt(x_35, x_34); -if (x_36 == 0) +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_38 = lean_ctor_get(x_36, 0); +x_39 = lean_ctor_get(x_36, 1); +x_40 = lean_array_get_size(x_38); +x_41 = lean_unsigned_to_nat(0u); +x_42 = lean_nat_dec_lt(x_41, x_40); +if (x_42 == 0) { -lean_object* x_37; -lean_dec(x_34); -lean_dec(x_32); +lean_object* x_43; +lean_dec(x_40); +lean_dec(x_38); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_37 = lean_box(0); -lean_ctor_set(x_30, 0, x_37); -return x_30; +x_43 = lean_box(0); +lean_ctor_set(x_36, 0, x_43); +return x_36; } else { -uint8_t x_38; -x_38 = lean_nat_dec_le(x_34, x_34); -if (x_38 == 0) +uint8_t x_44; +x_44 = lean_nat_dec_le(x_40, x_40); +if (x_44 == 0) { -lean_object* x_39; -lean_dec(x_34); -lean_dec(x_32); +lean_object* x_45; +lean_dec(x_40); +lean_dec(x_38); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_39 = lean_box(0); -lean_ctor_set(x_30, 0, x_39); -return x_30; +x_45 = lean_box(0); +lean_ctor_set(x_36, 0, x_45); +return x_36; } else { -size_t x_40; size_t x_41; lean_object* x_42; lean_object* x_43; -lean_free_object(x_30); -x_40 = 0; -x_41 = lean_usize_of_nat(x_34); -lean_dec(x_34); -x_42 = lean_box(0); -x_43 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_32, x_40, x_41, x_42, x_4, x_5, x_6, x_7, x_8, x_33); -lean_dec(x_32); -return x_43; +size_t x_46; size_t x_47; lean_object* x_48; lean_object* x_49; +lean_free_object(x_36); +x_46 = 0; +x_47 = lean_usize_of_nat(x_40); +lean_dec(x_40); +x_48 = lean_box(0); +x_49 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_38, x_46, x_47, x_48, x_4, x_5, x_6, x_7, x_8, x_39); +lean_dec(x_38); +return x_49; } } } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_44 = lean_ctor_get(x_30, 0); -x_45 = lean_ctor_get(x_30, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_30); -x_46 = lean_array_get_size(x_44); -x_47 = lean_unsigned_to_nat(0u); -x_48 = lean_nat_dec_lt(x_47, x_46); -if (x_48 == 0) +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_36, 0); +x_51 = lean_ctor_get(x_36, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_36); +x_52 = lean_array_get_size(x_50); +x_53 = lean_unsigned_to_nat(0u); +x_54 = lean_nat_dec_lt(x_53, x_52); +if (x_54 == 0) { -lean_object* x_49; lean_object* x_50; -lean_dec(x_46); -lean_dec(x_44); +lean_object* x_55; lean_object* x_56; +lean_dec(x_52); +lean_dec(x_50); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_49 = lean_box(0); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_45); -return x_50; +x_55 = lean_box(0); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_51); +return x_56; } else { -uint8_t x_51; -x_51 = lean_nat_dec_le(x_46, x_46); -if (x_51 == 0) +uint8_t x_57; +x_57 = lean_nat_dec_le(x_52, x_52); +if (x_57 == 0) { -lean_object* x_52; lean_object* x_53; -lean_dec(x_46); -lean_dec(x_44); +lean_object* x_58; lean_object* x_59; +lean_dec(x_52); +lean_dec(x_50); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_52 = lean_box(0); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_45); -return x_53; +x_58 = lean_box(0); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_51); +return x_59; } else { -size_t x_54; size_t x_55; lean_object* x_56; lean_object* x_57; -x_54 = 0; -x_55 = lean_usize_of_nat(x_46); -lean_dec(x_46); -x_56 = lean_box(0); -x_57 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_44, x_54, x_55, x_56, x_4, x_5, x_6, x_7, x_8, x_45); -lean_dec(x_44); -return x_57; +size_t x_60; size_t x_61; lean_object* x_62; lean_object* x_63; +x_60 = 0; +x_61 = lean_usize_of_nat(x_52); +lean_dec(x_52); +x_62 = lean_box(0); +x_63 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_50, x_60, x_61, x_62, x_4, x_5, x_6, x_7, x_8, x_51); +lean_dec(x_50); +return x_63; } } } } else { -uint8_t x_58; +uint8_t x_64; lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_58 = !lean_is_exclusive(x_30); -if (x_58 == 0) +x_64 = !lean_is_exclusive(x_36); +if (x_64 == 0) { -return x_30; +return x_36; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_30, 0); -x_60 = lean_ctor_get(x_30, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_30); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_36, 0); +x_66 = lean_ctor_get(x_36, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_36); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } } else { -lean_object* x_62; +lean_object* x_68; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_62 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue(x_2, x_5, x_6, x_7, x_8, x_18); -if (lean_obj_tag(x_62) == 0) +x_68 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue(x_2, x_5, x_6, x_7, x_8, x_18); +if (lean_obj_tag(x_68) == 0) { -uint8_t x_63; -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) +uint8_t x_69; +x_69 = !lean_is_exclusive(x_68); +if (x_69 == 0) { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_64 = lean_ctor_get(x_62, 0); -x_65 = lean_ctor_get(x_62, 1); -x_66 = lean_array_get_size(x_64); -x_67 = lean_unsigned_to_nat(0u); -x_68 = lean_nat_dec_lt(x_67, x_66); -if (x_68 == 0) +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_70 = lean_ctor_get(x_68, 0); +x_71 = lean_ctor_get(x_68, 1); +x_72 = lean_array_get_size(x_70); +x_73 = lean_unsigned_to_nat(0u); +x_74 = lean_nat_dec_lt(x_73, x_72); +if (x_74 == 0) { -lean_object* x_69; -lean_dec(x_66); -lean_dec(x_64); +lean_object* x_75; +lean_dec(x_72); +lean_dec(x_70); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_69 = lean_box(0); -lean_ctor_set(x_62, 0, x_69); -return x_62; +x_75 = lean_box(0); +lean_ctor_set(x_68, 0, x_75); +return x_68; } else { -uint8_t x_70; -x_70 = lean_nat_dec_le(x_66, x_66); -if (x_70 == 0) +uint8_t x_76; +x_76 = lean_nat_dec_le(x_72, x_72); +if (x_76 == 0) { -lean_object* x_71; -lean_dec(x_66); -lean_dec(x_64); +lean_object* x_77; +lean_dec(x_72); +lean_dec(x_70); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_71 = lean_box(0); -lean_ctor_set(x_62, 0, x_71); -return x_62; +x_77 = lean_box(0); +lean_ctor_set(x_68, 0, x_77); +return x_68; } else { -size_t x_72; size_t x_73; lean_object* x_74; lean_object* x_75; -lean_free_object(x_62); -x_72 = 0; -x_73 = lean_usize_of_nat(x_66); -lean_dec(x_66); -x_74 = lean_box(0); -x_75 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_64, x_72, x_73, x_74, x_4, x_5, x_6, x_7, x_8, x_65); -lean_dec(x_64); -return x_75; +size_t x_78; size_t x_79; lean_object* x_80; lean_object* x_81; +lean_free_object(x_68); +x_78 = 0; +x_79 = lean_usize_of_nat(x_72); +lean_dec(x_72); +x_80 = lean_box(0); +x_81 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_70, x_78, x_79, x_80, x_4, x_5, x_6, x_7, x_8, x_71); +lean_dec(x_70); +return x_81; } } } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_76 = lean_ctor_get(x_62, 0); -x_77 = lean_ctor_get(x_62, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_62); -x_78 = lean_array_get_size(x_76); -x_79 = lean_unsigned_to_nat(0u); -x_80 = lean_nat_dec_lt(x_79, x_78); -if (x_80 == 0) +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_82 = lean_ctor_get(x_68, 0); +x_83 = lean_ctor_get(x_68, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_68); +x_84 = lean_array_get_size(x_82); +x_85 = lean_unsigned_to_nat(0u); +x_86 = lean_nat_dec_lt(x_85, x_84); +if (x_86 == 0) { -lean_object* x_81; lean_object* x_82; -lean_dec(x_78); -lean_dec(x_76); +lean_object* x_87; lean_object* x_88; +lean_dec(x_84); +lean_dec(x_82); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_81 = lean_box(0); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_77); -return x_82; +x_87 = lean_box(0); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_83); +return x_88; } else { -uint8_t x_83; -x_83 = lean_nat_dec_le(x_78, x_78); -if (x_83 == 0) +uint8_t x_89; +x_89 = lean_nat_dec_le(x_84, x_84); +if (x_89 == 0) { -lean_object* x_84; lean_object* x_85; -lean_dec(x_78); -lean_dec(x_76); +lean_object* x_90; lean_object* x_91; +lean_dec(x_84); +lean_dec(x_82); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_84 = lean_box(0); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_77); -return x_85; +x_90 = lean_box(0); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_83); +return x_91; } else { -size_t x_86; size_t x_87; lean_object* x_88; lean_object* x_89; -x_86 = 0; -x_87 = lean_usize_of_nat(x_78); -lean_dec(x_78); -x_88 = lean_box(0); -x_89 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_76, x_86, x_87, x_88, x_4, x_5, x_6, x_7, x_8, x_77); -lean_dec(x_76); -return x_89; +size_t x_92; size_t x_93; lean_object* x_94; lean_object* x_95; +x_92 = 0; +x_93 = lean_usize_of_nat(x_84); +lean_dec(x_84); +x_94 = lean_box(0); +x_95 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_82, x_92, x_93, x_94, x_4, x_5, x_6, x_7, x_8, x_83); +lean_dec(x_82); +return x_95; } } } } else { -uint8_t x_90; +uint8_t x_96; lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_90 = !lean_is_exclusive(x_62); -if (x_90 == 0) +x_96 = !lean_is_exclusive(x_68); +if (x_96 == 0) { -return x_62; +return x_68; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_62, 0); -x_92 = lean_ctor_get(x_62, 1); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_62); -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; -x_94 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__1; -x_95 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_94, x_4, x_5, x_6, x_7, x_8, x_18); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -lean_dec(x_95); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_97 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable(x_2, x_5, x_6, x_7, x_8, x_96); -if (lean_obj_tag(x_97) == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_97, 0); +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_68, 0); +x_98 = lean_ctor_get(x_68, 1); lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_100 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_98, x_4, x_5, x_6, x_7, x_8, x_99); -return x_100; +lean_inc(x_97); +lean_dec(x_68); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; +} +} +} } else { -uint8_t x_101; +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_100 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__2; +x_101 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_100, x_4, x_5, x_6, x_7, x_8, x_18); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +lean_dec(x_101); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_103 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable(x_2, x_5, x_6, x_7, x_8, x_102); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_104, x_4, x_5, x_6, x_7, x_8, x_105); +return x_106; +} +else +{ +uint8_t x_107; lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_101 = !lean_is_exclusive(x_97); -if (x_101 == 0) +x_107 = !lean_is_exclusive(x_103); +if (x_107 == 0) { -return x_97; +return x_103; } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_97, 0); -x_103 = lean_ctor_get(x_97, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_97); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_103, 0); +x_109 = lean_ctor_get(x_103, 1); +lean_inc(x_109); +lean_inc(x_108); +lean_dec(x_103); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +return x_110; } } } @@ -20132,785 +20149,802 @@ return x_104; } else { -uint8_t x_174; +uint8_t x_180; lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_174 = !lean_is_exclusive(x_16); -if (x_174 == 0) +x_180 = !lean_is_exclusive(x_16); +if (x_180 == 0) { return x_16; } else { -lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_175 = lean_ctor_get(x_16, 0); -x_176 = lean_ctor_get(x_16, 1); -lean_inc(x_176); -lean_inc(x_175); +lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_181 = lean_ctor_get(x_16, 0); +x_182 = lean_ctor_get(x_16, 1); +lean_inc(x_182); +lean_inc(x_181); lean_dec(x_16); -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_175); -lean_ctor_set(x_177, 1, x_176); -return x_177; +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +return x_183; } } } else { -uint8_t x_178; +uint8_t x_184; lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_178 = !lean_is_exclusive(x_14); -if (x_178 == 0) +x_184 = !lean_is_exclusive(x_14); +if (x_184 == 0) { return x_14; } else { -lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_179 = lean_ctor_get(x_14, 0); -x_180 = lean_ctor_get(x_14, 1); -lean_inc(x_180); -lean_inc(x_179); -lean_dec(x_14); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_179); -lean_ctor_set(x_181, 1, x_180); -return x_181; -} -} -} -else -{ -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_182 = lean_ctor_get(x_7, 0); -x_183 = lean_ctor_get(x_7, 2); -x_184 = lean_ctor_get(x_7, 3); -x_185 = lean_ctor_get(x_7, 4); -x_186 = lean_ctor_get(x_7, 5); +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_ctor_get(x_14, 0); +x_186 = lean_ctor_get(x_14, 1); lean_inc(x_186); lean_inc(x_185); -lean_inc(x_184); -lean_inc(x_183); -lean_inc(x_182); -lean_dec(x_7); -x_187 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_187, 0, x_182); -lean_ctor_set(x_187, 1, x_11); -lean_ctor_set(x_187, 2, x_183); -lean_ctor_set(x_187, 3, x_184); -lean_ctor_set(x_187, 4, x_185); -lean_ctor_set(x_187, 5, x_186); -lean_inc(x_8); -lean_inc(x_187); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_2); -x_188 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceState(x_2, x_5, x_6, x_187, x_8, x_9); -if (lean_obj_tag(x_188) == 0) +lean_dec(x_14); +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_185); +lean_ctor_set(x_187, 1, x_186); +return x_187; +} +} +} +else { -lean_object* x_189; lean_object* x_190; -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -lean_dec(x_188); -lean_inc(x_8); -lean_inc(x_187); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_2); -x_190 = l_Lean_Meta_Match_isCurrVarInductive(x_2, x_5, x_6, x_187, x_8, x_189); -if (lean_obj_tag(x_190) == 0) -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_256; -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 1); +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; +x_188 = lean_ctor_get(x_7, 0); +x_189 = lean_ctor_get(x_7, 2); +x_190 = lean_ctor_get(x_7, 3); +x_191 = lean_ctor_get(x_7, 4); +x_192 = lean_ctor_get(x_7, 5); lean_inc(x_192); -lean_dec(x_190); -x_256 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isDone(x_2); -if (x_256 == 0) -{ -uint8_t x_257; -x_257 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern(x_2); -if (x_257 == 0) -{ -uint8_t x_258; -x_258 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNatValueTransition(x_2); -if (x_258 == 0) -{ -uint8_t x_259; -x_259 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNextVar(x_2); -if (x_259 == 0) -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; -lean_dec(x_191); -x_260 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__2; -x_261 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_260, x_4, x_5, x_6, x_187, x_8, x_192); -x_262 = lean_ctor_get(x_261, 1); -lean_inc(x_262); -lean_dec(x_261); +lean_inc(x_191); +lean_inc(x_190); +lean_inc(x_189); +lean_inc(x_188); +lean_dec(x_7); +x_193 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_193, 0, x_188); +lean_ctor_set(x_193, 1, x_11); +lean_ctor_set(x_193, 2, x_189); +lean_ctor_set(x_193, 3, x_190); +lean_ctor_set(x_193, 4, x_191); +lean_ctor_set(x_193, 5, x_192); lean_inc(x_8); -lean_inc(x_187); +lean_inc(x_193); lean_inc(x_6); lean_inc(x_5); -x_263 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable(x_2, x_5, x_6, x_187, x_8, x_262); -if (lean_obj_tag(x_263) == 0) +lean_inc(x_2); +x_194 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceState(x_2, x_5, x_6, x_193, x_8, x_9); +if (lean_obj_tag(x_194) == 0) { -lean_object* x_264; lean_object* x_265; lean_object* x_266; -x_264 = lean_ctor_get(x_263, 0); -lean_inc(x_264); -x_265 = lean_ctor_get(x_263, 1); -lean_inc(x_265); -lean_dec(x_263); -x_266 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_264, x_4, x_5, x_6, x_187, x_8, x_265); -return x_266; -} -else +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_194, 1); +lean_inc(x_195); +lean_dec(x_194); +lean_inc(x_8); +lean_inc(x_193); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +x_196 = l_Lean_Meta_Match_isCurrVarInductive(x_2, x_5, x_6, x_193, x_8, x_195); +if (lean_obj_tag(x_196) == 0) { -lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_267 = lean_ctor_get(x_263, 0); -lean_inc(x_267); -x_268 = lean_ctor_get(x_263, 1); -lean_inc(x_268); -if (lean_is_exclusive(x_263)) { - lean_ctor_release(x_263, 0); - lean_ctor_release(x_263, 1); - x_269 = x_263; -} else { - lean_dec_ref(x_263); - x_269 = lean_box(0); -} -if (lean_is_scalar(x_269)) { - x_270 = lean_alloc_ctor(1, 2, 0); -} else { - x_270 = x_269; -} -lean_ctor_set(x_270, 0, x_267); -lean_ctor_set(x_270, 1, x_268); -return x_270; -} -} -else +lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_268; +x_197 = lean_ctor_get(x_196, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_196, 1); +lean_inc(x_198); +lean_dec(x_196); +x_268 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isDone(x_2); +if (x_268 == 0) +{ +uint8_t x_269; +x_269 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern(x_2); +if (x_269 == 0) +{ +uint8_t x_270; +x_270 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNatValueTransition(x_2); +if (x_270 == 0) { uint8_t x_271; -x_271 = lean_unbox(x_191); -lean_dec(x_191); +x_271 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNextVar(x_2); if (x_271 == 0) { -lean_object* x_272; -x_272 = lean_box(0); -x_193 = x_272; -goto block_255; -} -else -{ -uint8_t x_273; -x_273 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition(x_2); -if (x_273 == 0) -{ -lean_object* x_274; -x_274 = lean_box(0); -x_193 = x_274; -goto block_255; -} -else -{ -lean_object* x_275; +lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; +lean_dec(x_197); +x_272 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__3; +x_273 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_272, x_4, x_5, x_6, x_193, x_8, x_198); +x_274 = lean_ctor_get(x_273, 1); +lean_inc(x_274); +lean_dec(x_273); lean_inc(x_8); -lean_inc(x_187); +lean_inc(x_193); lean_inc(x_6); lean_inc(x_5); -x_275 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor(x_2, x_5, x_6, x_187, x_8, x_192); +x_275 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable(x_2, x_5, x_6, x_193, x_8, x_274); if (lean_obj_tag(x_275) == 0) { -lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; uint8_t x_281; +lean_object* x_276; lean_object* x_277; lean_object* x_278; x_276 = lean_ctor_get(x_275, 0); lean_inc(x_276); x_277 = lean_ctor_get(x_275, 1); lean_inc(x_277); +lean_dec(x_275); +x_278 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_276, x_4, x_5, x_6, x_193, x_8, x_277); +return x_278; +} +else +{ +lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_279 = lean_ctor_get(x_275, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_275, 1); +lean_inc(x_280); if (lean_is_exclusive(x_275)) { lean_ctor_release(x_275, 0); lean_ctor_release(x_275, 1); - x_278 = x_275; + x_281 = x_275; } else { lean_dec_ref(x_275); - x_278 = lean_box(0); + x_281 = lean_box(0); } -x_279 = lean_array_get_size(x_276); -x_280 = lean_unsigned_to_nat(0u); -x_281 = lean_nat_dec_lt(x_280, x_279); -if (x_281 == 0) -{ -lean_object* x_282; lean_object* x_283; -lean_dec(x_279); -lean_dec(x_276); -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_282 = lean_box(0); -if (lean_is_scalar(x_278)) { - x_283 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_281)) { + x_282 = lean_alloc_ctor(1, 2, 0); } else { - x_283 = x_278; + x_282 = x_281; } -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_277); -return x_283; -} -else -{ -uint8_t x_284; -x_284 = lean_nat_dec_le(x_279, x_279); -if (x_284 == 0) -{ -lean_object* x_285; lean_object* x_286; -lean_dec(x_279); -lean_dec(x_276); -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_285 = lean_box(0); -if (lean_is_scalar(x_278)) { - x_286 = lean_alloc_ctor(0, 2, 0); -} else { - x_286 = x_278; -} -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_277); -return x_286; -} -else -{ -size_t x_287; size_t x_288; lean_object* x_289; lean_object* x_290; -lean_dec(x_278); -x_287 = 0; -x_288 = lean_usize_of_nat(x_279); -lean_dec(x_279); -x_289 = lean_box(0); -x_290 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_276, x_287, x_288, x_289, x_4, x_5, x_6, x_187, x_8, x_277); -lean_dec(x_276); -return x_290; -} -} -} -else -{ -lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_291 = lean_ctor_get(x_275, 0); -lean_inc(x_291); -x_292 = lean_ctor_get(x_275, 1); -lean_inc(x_292); -if (lean_is_exclusive(x_275)) { - lean_ctor_release(x_275, 0); - lean_ctor_release(x_275, 1); - x_293 = x_275; -} else { - lean_dec_ref(x_275); - x_293 = lean_box(0); -} -if (lean_is_scalar(x_293)) { - x_294 = lean_alloc_ctor(1, 2, 0); -} else { - x_294 = x_293; -} -lean_ctor_set(x_294, 0, x_291); -lean_ctor_set(x_294, 1, x_292); -return x_294; -} -} -} -} -} -else -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -lean_dec(x_191); -x_295 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__3; -x_296 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_295, x_4, x_5, x_6, x_187, x_8, x_192); -x_297 = lean_ctor_get(x_296, 1); -lean_inc(x_297); -lean_dec(x_296); -x_298 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern(x_2); -x_299 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_298, x_4, x_5, x_6, x_187, x_8, x_297); -return x_299; +lean_ctor_set(x_282, 0, x_279); +lean_ctor_set(x_282, 1, x_280); +return x_282; } } else { -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; -lean_dec(x_191); -x_300 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__4; -x_301 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_300, x_4, x_5, x_6, x_187, x_8, x_192); -x_302 = lean_ctor_get(x_301, 1); -lean_inc(x_302); -lean_dec(x_301); +uint8_t x_283; +x_283 = lean_unbox(x_197); +lean_dec(x_197); +if (x_283 == 0) +{ +lean_object* x_284; +x_284 = lean_box(0); +x_199 = x_284; +goto block_267; +} +else +{ +uint8_t x_285; +x_285 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition(x_2); +if (x_285 == 0) +{ +lean_object* x_286; +x_286 = lean_box(0); +x_199 = x_286; +goto block_267; +} +else +{ +lean_object* x_287; lean_inc(x_8); -lean_inc(x_187); +lean_inc(x_193); lean_inc(x_6); lean_inc(x_5); -x_303 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern(x_2, x_5, x_6, x_187, x_8, x_302); -if (lean_obj_tag(x_303) == 0) +x_287 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor(x_2, x_5, x_6, x_193, x_8, x_198); +if (lean_obj_tag(x_287) == 0) { -lean_object* x_304; lean_object* x_305; lean_object* x_306; -x_304 = lean_ctor_get(x_303, 0); +lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; uint8_t x_293; +x_288 = lean_ctor_get(x_287, 0); +lean_inc(x_288); +x_289 = lean_ctor_get(x_287, 1); +lean_inc(x_289); +if (lean_is_exclusive(x_287)) { + lean_ctor_release(x_287, 0); + lean_ctor_release(x_287, 1); + x_290 = x_287; +} else { + lean_dec_ref(x_287); + x_290 = lean_box(0); +} +x_291 = lean_array_get_size(x_288); +x_292 = lean_unsigned_to_nat(0u); +x_293 = lean_nat_dec_lt(x_292, x_291); +if (x_293 == 0) +{ +lean_object* x_294; lean_object* x_295; +lean_dec(x_291); +lean_dec(x_288); +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_294 = lean_box(0); +if (lean_is_scalar(x_290)) { + x_295 = lean_alloc_ctor(0, 2, 0); +} else { + x_295 = x_290; +} +lean_ctor_set(x_295, 0, x_294); +lean_ctor_set(x_295, 1, x_289); +return x_295; +} +else +{ +uint8_t x_296; +x_296 = lean_nat_dec_le(x_291, x_291); +if (x_296 == 0) +{ +lean_object* x_297; lean_object* x_298; +lean_dec(x_291); +lean_dec(x_288); +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_297 = lean_box(0); +if (lean_is_scalar(x_290)) { + x_298 = lean_alloc_ctor(0, 2, 0); +} else { + x_298 = x_290; +} +lean_ctor_set(x_298, 0, x_297); +lean_ctor_set(x_298, 1, x_289); +return x_298; +} +else +{ +size_t x_299; size_t x_300; lean_object* x_301; lean_object* x_302; +lean_dec(x_290); +x_299 = 0; +x_300 = lean_usize_of_nat(x_291); +lean_dec(x_291); +x_301 = lean_box(0); +x_302 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_288, x_299, x_300, x_301, x_4, x_5, x_6, x_193, x_8, x_289); +lean_dec(x_288); +return x_302; +} +} +} +else +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_303 = lean_ctor_get(x_287, 0); +lean_inc(x_303); +x_304 = lean_ctor_get(x_287, 1); lean_inc(x_304); -x_305 = lean_ctor_get(x_303, 1); -lean_inc(x_305); -lean_dec(x_303); -x_306 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_304, x_4, x_5, x_6, x_187, x_8, x_305); +if (lean_is_exclusive(x_287)) { + lean_ctor_release(x_287, 0); + lean_ctor_release(x_287, 1); + x_305 = x_287; +} else { + lean_dec_ref(x_287); + x_305 = lean_box(0); +} +if (lean_is_scalar(x_305)) { + x_306 = lean_alloc_ctor(1, 2, 0); +} else { + x_306 = x_305; +} +lean_ctor_set(x_306, 0, x_303); +lean_ctor_set(x_306, 1, x_304); return x_306; } -else -{ -lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_307 = lean_ctor_get(x_303, 0); -lean_inc(x_307); -x_308 = lean_ctor_get(x_303, 1); -lean_inc(x_308); -if (lean_is_exclusive(x_303)) { - lean_ctor_release(x_303, 0); - lean_ctor_release(x_303, 1); - x_309 = x_303; -} else { - lean_dec_ref(x_303); - x_309 = lean_box(0); } -if (lean_is_scalar(x_309)) { - x_310 = lean_alloc_ctor(1, 2, 0); -} else { - x_310 = x_309; -} -lean_ctor_set(x_310, 0, x_307); -lean_ctor_set(x_310, 1, x_308); -return x_310; } } } else { -lean_object* x_311; -lean_dec(x_191); -x_311 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf(x_2, x_4, x_5, x_6, x_187, x_8, x_192); -return x_311; -} -block_255: -{ -uint8_t x_194; -lean_dec(x_193); -x_194 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition(x_2); -if (x_194 == 0) -{ -uint8_t x_195; -x_195 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isValueTransition(x_2); -if (x_195 == 0) -{ -uint8_t x_196; -x_196 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition(x_2); -if (x_196 == 0) -{ -lean_object* x_197; -lean_inc(x_8); -lean_inc(x_187); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_2); -x_197 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes(x_2, x_5, x_6, x_187, x_8, x_192); -if (lean_obj_tag(x_197) == 0) -{ -lean_object* x_198; lean_object* x_199; -x_198 = lean_ctor_get(x_197, 1); -lean_inc(x_198); +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_dec(x_197); -x_199 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported(x_2, x_5, x_6, x_187, x_8, x_198); -return x_199; -} -else -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_200 = lean_ctor_get(x_197, 0); -lean_inc(x_200); -x_201 = lean_ctor_get(x_197, 1); -lean_inc(x_201); -if (lean_is_exclusive(x_197)) { - lean_ctor_release(x_197, 0); - lean_ctor_release(x_197, 1); - x_202 = x_197; -} else { - lean_dec_ref(x_197); - x_202 = lean_box(0); -} -if (lean_is_scalar(x_202)) { - x_203 = lean_alloc_ctor(1, 2, 0); -} else { - x_203 = x_202; -} -lean_ctor_set(x_203, 0, x_200); -lean_ctor_set(x_203, 1, x_201); -return x_203; -} -} -else -{ -lean_object* x_204; -lean_inc(x_8); -lean_inc(x_187); -lean_inc(x_6); -lean_inc(x_5); -x_204 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit(x_2, x_5, x_6, x_187, x_8, x_192); -if (lean_obj_tag(x_204) == 0) -{ -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; -x_205 = lean_ctor_get(x_204, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_204, 1); -lean_inc(x_206); -if (lean_is_exclusive(x_204)) { - lean_ctor_release(x_204, 0); - lean_ctor_release(x_204, 1); - x_207 = x_204; -} else { - lean_dec_ref(x_204); - x_207 = lean_box(0); -} -x_208 = lean_array_get_size(x_205); -x_209 = lean_unsigned_to_nat(0u); -x_210 = lean_nat_dec_lt(x_209, x_208); -if (x_210 == 0) -{ -lean_object* x_211; lean_object* x_212; -lean_dec(x_208); -lean_dec(x_205); -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_211 = lean_box(0); -if (lean_is_scalar(x_207)) { - x_212 = lean_alloc_ctor(0, 2, 0); -} else { - x_212 = x_207; -} -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_206); -return x_212; -} -else -{ -uint8_t x_213; -x_213 = lean_nat_dec_le(x_208, x_208); -if (x_213 == 0) -{ -lean_object* x_214; lean_object* x_215; -lean_dec(x_208); -lean_dec(x_205); -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_214 = lean_box(0); -if (lean_is_scalar(x_207)) { - x_215 = lean_alloc_ctor(0, 2, 0); -} else { - x_215 = x_207; -} -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_206); -return x_215; -} -else -{ -size_t x_216; size_t x_217; lean_object* x_218; lean_object* x_219; -lean_dec(x_207); -x_216 = 0; -x_217 = lean_usize_of_nat(x_208); -lean_dec(x_208); -x_218 = lean_box(0); -x_219 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_205, x_216, x_217, x_218, x_4, x_5, x_6, x_187, x_8, x_206); -lean_dec(x_205); -return x_219; -} -} -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_220 = lean_ctor_get(x_204, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_204, 1); -lean_inc(x_221); -if (lean_is_exclusive(x_204)) { - lean_ctor_release(x_204, 0); - lean_ctor_release(x_204, 1); - x_222 = x_204; -} else { - lean_dec_ref(x_204); - x_222 = lean_box(0); -} -if (lean_is_scalar(x_222)) { - x_223 = lean_alloc_ctor(1, 2, 0); -} else { - x_223 = x_222; -} -lean_ctor_set(x_223, 0, x_220); -lean_ctor_set(x_223, 1, x_221); -return x_223; -} -} -} -else -{ -lean_object* x_224; -lean_inc(x_8); -lean_inc(x_187); -lean_inc(x_6); -lean_inc(x_5); -x_224 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue(x_2, x_5, x_6, x_187, x_8, x_192); -if (lean_obj_tag(x_224) == 0) -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -if (lean_is_exclusive(x_224)) { - lean_ctor_release(x_224, 0); - lean_ctor_release(x_224, 1); - x_227 = x_224; -} else { - lean_dec_ref(x_224); - x_227 = lean_box(0); -} -x_228 = lean_array_get_size(x_225); -x_229 = lean_unsigned_to_nat(0u); -x_230 = lean_nat_dec_lt(x_229, x_228); -if (x_230 == 0) -{ -lean_object* x_231; lean_object* x_232; -lean_dec(x_228); -lean_dec(x_225); -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_231 = lean_box(0); -if (lean_is_scalar(x_227)) { - x_232 = lean_alloc_ctor(0, 2, 0); -} else { - x_232 = x_227; -} -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_226); -return x_232; -} -else -{ -uint8_t x_233; -x_233 = lean_nat_dec_le(x_228, x_228); -if (x_233 == 0) -{ -lean_object* x_234; lean_object* x_235; -lean_dec(x_228); -lean_dec(x_225); -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_234 = lean_box(0); -if (lean_is_scalar(x_227)) { - x_235 = lean_alloc_ctor(0, 2, 0); -} else { - x_235 = x_227; -} -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_226); -return x_235; -} -else -{ -size_t x_236; size_t x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_227); -x_236 = 0; -x_237 = lean_usize_of_nat(x_228); -lean_dec(x_228); -x_238 = lean_box(0); -x_239 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_225, x_236, x_237, x_238, x_4, x_5, x_6, x_187, x_8, x_226); -lean_dec(x_225); -return x_239; -} -} -} -else -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_240 = lean_ctor_get(x_224, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_224, 1); -lean_inc(x_241); -if (lean_is_exclusive(x_224)) { - lean_ctor_release(x_224, 0); - lean_ctor_release(x_224, 1); - x_242 = x_224; -} else { - lean_dec_ref(x_224); - x_242 = lean_box(0); -} -if (lean_is_scalar(x_242)) { - x_243 = lean_alloc_ctor(1, 2, 0); -} else { - x_243 = x_242; -} -lean_ctor_set(x_243, 0, x_240); -lean_ctor_set(x_243, 1, x_241); -return x_243; -} -} -} -else -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; -x_244 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__1; -x_245 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_244, x_4, x_5, x_6, x_187, x_8, x_192); -x_246 = lean_ctor_get(x_245, 1); -lean_inc(x_246); -lean_dec(x_245); -lean_inc(x_8); -lean_inc(x_187); -lean_inc(x_6); -lean_inc(x_5); -x_247 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable(x_2, x_5, x_6, x_187, x_8, x_246); -if (lean_obj_tag(x_247) == 0) -{ -lean_object* x_248; lean_object* x_249; lean_object* x_250; -x_248 = lean_ctor_get(x_247, 0); -lean_inc(x_248); -x_249 = lean_ctor_get(x_247, 1); -lean_inc(x_249); -lean_dec(x_247); -x_250 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_248, x_4, x_5, x_6, x_187, x_8, x_249); -return x_250; -} -else -{ -lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; -lean_dec(x_187); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_251 = lean_ctor_get(x_247, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_247, 1); -lean_inc(x_252); -if (lean_is_exclusive(x_247)) { - lean_ctor_release(x_247, 0); - lean_ctor_release(x_247, 1); - x_253 = x_247; -} else { - lean_dec_ref(x_247); - x_253 = lean_box(0); -} -if (lean_is_scalar(x_253)) { - x_254 = lean_alloc_ctor(1, 2, 0); -} else { - x_254 = x_253; -} -lean_ctor_set(x_254, 0, x_251); -lean_ctor_set(x_254, 1, x_252); -return x_254; -} -} +x_307 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__1; +x_308 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_307, x_4, x_5, x_6, x_193, x_8, x_198); +x_309 = lean_ctor_get(x_308, 1); +lean_inc(x_309); +lean_dec(x_308); +x_310 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern(x_2); +x_311 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_310, x_4, x_5, x_6, x_193, x_8, x_309); +return x_311; } } else { lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; -lean_dec(x_187); +lean_dec(x_197); +x_312 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__4; +x_313 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_312, x_4, x_5, x_6, x_193, x_8, x_198); +x_314 = lean_ctor_get(x_313, 1); +lean_inc(x_314); +lean_dec(x_313); +lean_inc(x_8); +lean_inc(x_193); +lean_inc(x_6); +lean_inc(x_5); +x_315 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern(x_2, x_5, x_6, x_193, x_8, x_314); +if (lean_obj_tag(x_315) == 0) +{ +lean_object* x_316; lean_object* x_317; lean_object* x_318; +x_316 = lean_ctor_get(x_315, 0); +lean_inc(x_316); +x_317 = lean_ctor_get(x_315, 1); +lean_inc(x_317); +lean_dec(x_315); +x_318 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_316, x_4, x_5, x_6, x_193, x_8, x_317); +return x_318; +} +else +{ +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; +lean_dec(x_193); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_2); -x_312 = lean_ctor_get(x_190, 0); -lean_inc(x_312); -x_313 = lean_ctor_get(x_190, 1); -lean_inc(x_313); -if (lean_is_exclusive(x_190)) { - lean_ctor_release(x_190, 0); - lean_ctor_release(x_190, 1); - x_314 = x_190; +x_319 = lean_ctor_get(x_315, 0); +lean_inc(x_319); +x_320 = lean_ctor_get(x_315, 1); +lean_inc(x_320); +if (lean_is_exclusive(x_315)) { + lean_ctor_release(x_315, 0); + lean_ctor_release(x_315, 1); + x_321 = x_315; } else { - lean_dec_ref(x_190); - x_314 = lean_box(0); + lean_dec_ref(x_315); + x_321 = lean_box(0); } -if (lean_is_scalar(x_314)) { - x_315 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_321)) { + x_322 = lean_alloc_ctor(1, 2, 0); } else { - x_315 = x_314; + x_322 = x_321; +} +lean_ctor_set(x_322, 0, x_319); +lean_ctor_set(x_322, 1, x_320); +return x_322; } -lean_ctor_set(x_315, 0, x_312); -lean_ctor_set(x_315, 1, x_313); -return x_315; } } else { -lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; -lean_dec(x_187); +lean_object* x_323; +lean_dec(x_197); +x_323 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf(x_2, x_4, x_5, x_6, x_193, x_8, x_198); +return x_323; +} +block_267: +{ +uint8_t x_200; +lean_dec(x_199); +x_200 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition(x_2); +if (x_200 == 0) +{ +uint8_t x_201; +x_201 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isValueTransition(x_2); +if (x_201 == 0) +{ +uint8_t x_202; +x_202 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition(x_2); +if (x_202 == 0) +{ +uint8_t x_203; +x_203 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNatValPattern(x_2); +if (x_203 == 0) +{ +lean_object* x_204; +lean_inc(x_8); +lean_inc(x_193); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +x_204 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes(x_2, x_5, x_6, x_193, x_8, x_198); +if (lean_obj_tag(x_204) == 0) +{ +lean_object* x_205; lean_object* x_206; +x_205 = lean_ctor_get(x_204, 1); +lean_inc(x_205); +lean_dec(x_204); +x_206 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported(x_2, x_5, x_6, x_193, x_8, x_205); +return x_206; +} +else +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +lean_dec(x_193); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_316 = lean_ctor_get(x_188, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_188, 1); -lean_inc(x_317); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_318 = x_188; +x_207 = lean_ctor_get(x_204, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_204, 1); +lean_inc(x_208); +if (lean_is_exclusive(x_204)) { + lean_ctor_release(x_204, 0); + lean_ctor_release(x_204, 1); + x_209 = x_204; } else { - lean_dec_ref(x_188); - x_318 = lean_box(0); + lean_dec_ref(x_204); + x_209 = lean_box(0); } -if (lean_is_scalar(x_318)) { - x_319 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_209)) { + x_210 = lean_alloc_ctor(1, 2, 0); } else { - x_319 = x_318; + x_210 = x_209; } -lean_ctor_set(x_319, 0, x_316); -lean_ctor_set(x_319, 1, x_317); -return x_319; +lean_ctor_set(x_210, 0, x_207); +lean_ctor_set(x_210, 1, x_208); +return x_210; +} +} +else +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_211 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__1; +x_212 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_211, x_4, x_5, x_6, x_193, x_8, x_198); +x_213 = lean_ctor_get(x_212, 1); +lean_inc(x_213); +lean_dec(x_212); +x_214 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern(x_2); +x_215 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_214, x_4, x_5, x_6, x_193, x_8, x_213); +return x_215; +} +} +else +{ +lean_object* x_216; +lean_inc(x_8); +lean_inc(x_193); +lean_inc(x_6); +lean_inc(x_5); +x_216 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit(x_2, x_5, x_6, x_193, x_8, x_198); +if (lean_obj_tag(x_216) == 0) +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_222; +x_217 = lean_ctor_get(x_216, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_216, 1); +lean_inc(x_218); +if (lean_is_exclusive(x_216)) { + lean_ctor_release(x_216, 0); + lean_ctor_release(x_216, 1); + x_219 = x_216; +} else { + lean_dec_ref(x_216); + x_219 = lean_box(0); +} +x_220 = lean_array_get_size(x_217); +x_221 = lean_unsigned_to_nat(0u); +x_222 = lean_nat_dec_lt(x_221, x_220); +if (x_222 == 0) +{ +lean_object* x_223; lean_object* x_224; +lean_dec(x_220); +lean_dec(x_217); +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_223 = lean_box(0); +if (lean_is_scalar(x_219)) { + x_224 = lean_alloc_ctor(0, 2, 0); +} else { + x_224 = x_219; +} +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_218); +return x_224; +} +else +{ +uint8_t x_225; +x_225 = lean_nat_dec_le(x_220, x_220); +if (x_225 == 0) +{ +lean_object* x_226; lean_object* x_227; +lean_dec(x_220); +lean_dec(x_217); +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_226 = lean_box(0); +if (lean_is_scalar(x_219)) { + x_227 = lean_alloc_ctor(0, 2, 0); +} else { + x_227 = x_219; +} +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_218); +return x_227; +} +else +{ +size_t x_228; size_t x_229; lean_object* x_230; lean_object* x_231; +lean_dec(x_219); +x_228 = 0; +x_229 = lean_usize_of_nat(x_220); +lean_dec(x_220); +x_230 = lean_box(0); +x_231 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_217, x_228, x_229, x_230, x_4, x_5, x_6, x_193, x_8, x_218); +lean_dec(x_217); +return x_231; +} +} +} +else +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_232 = lean_ctor_get(x_216, 0); +lean_inc(x_232); +x_233 = lean_ctor_get(x_216, 1); +lean_inc(x_233); +if (lean_is_exclusive(x_216)) { + lean_ctor_release(x_216, 0); + lean_ctor_release(x_216, 1); + x_234 = x_216; +} else { + lean_dec_ref(x_216); + x_234 = lean_box(0); +} +if (lean_is_scalar(x_234)) { + x_235 = lean_alloc_ctor(1, 2, 0); +} else { + x_235 = x_234; +} +lean_ctor_set(x_235, 0, x_232); +lean_ctor_set(x_235, 1, x_233); +return x_235; +} +} +} +else +{ +lean_object* x_236; +lean_inc(x_8); +lean_inc(x_193); +lean_inc(x_6); +lean_inc(x_5); +x_236 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue(x_2, x_5, x_6, x_193, x_8, x_198); +if (lean_obj_tag(x_236) == 0) +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; +x_237 = lean_ctor_get(x_236, 0); +lean_inc(x_237); +x_238 = lean_ctor_get(x_236, 1); +lean_inc(x_238); +if (lean_is_exclusive(x_236)) { + lean_ctor_release(x_236, 0); + lean_ctor_release(x_236, 1); + x_239 = x_236; +} else { + lean_dec_ref(x_236); + x_239 = lean_box(0); +} +x_240 = lean_array_get_size(x_237); +x_241 = lean_unsigned_to_nat(0u); +x_242 = lean_nat_dec_lt(x_241, x_240); +if (x_242 == 0) +{ +lean_object* x_243; lean_object* x_244; +lean_dec(x_240); +lean_dec(x_237); +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_243 = lean_box(0); +if (lean_is_scalar(x_239)) { + x_244 = lean_alloc_ctor(0, 2, 0); +} else { + x_244 = x_239; +} +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_238); +return x_244; +} +else +{ +uint8_t x_245; +x_245 = lean_nat_dec_le(x_240, x_240); +if (x_245 == 0) +{ +lean_object* x_246; lean_object* x_247; +lean_dec(x_240); +lean_dec(x_237); +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_246 = lean_box(0); +if (lean_is_scalar(x_239)) { + x_247 = lean_alloc_ctor(0, 2, 0); +} else { + x_247 = x_239; +} +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_238); +return x_247; +} +else +{ +size_t x_248; size_t x_249; lean_object* x_250; lean_object* x_251; +lean_dec(x_239); +x_248 = 0; +x_249 = lean_usize_of_nat(x_240); +lean_dec(x_240); +x_250 = lean_box(0); +x_251 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__1(x_237, x_248, x_249, x_250, x_4, x_5, x_6, x_193, x_8, x_238); +lean_dec(x_237); +return x_251; +} +} +} +else +{ +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_252 = lean_ctor_get(x_236, 0); +lean_inc(x_252); +x_253 = lean_ctor_get(x_236, 1); +lean_inc(x_253); +if (lean_is_exclusive(x_236)) { + lean_ctor_release(x_236, 0); + lean_ctor_release(x_236, 1); + x_254 = x_236; +} else { + lean_dec_ref(x_236); + x_254 = lean_box(0); +} +if (lean_is_scalar(x_254)) { + x_255 = lean_alloc_ctor(1, 2, 0); +} else { + x_255 = x_254; +} +lean_ctor_set(x_255, 0, x_252); +lean_ctor_set(x_255, 1, x_253); +return x_255; +} +} +} +else +{ +lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_256 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__2; +x_257 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep(x_256, x_4, x_5, x_6, x_193, x_8, x_198); +x_258 = lean_ctor_get(x_257, 1); +lean_inc(x_258); +lean_dec(x_257); +lean_inc(x_8); +lean_inc(x_193); +lean_inc(x_6); +lean_inc(x_5); +x_259 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable(x_2, x_5, x_6, x_193, x_8, x_258); +if (lean_obj_tag(x_259) == 0) +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_260 = lean_ctor_get(x_259, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_259, 1); +lean_inc(x_261); +lean_dec(x_259); +x_262 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(x_260, x_4, x_5, x_6, x_193, x_8, x_261); +return x_262; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_263 = lean_ctor_get(x_259, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_259, 1); +lean_inc(x_264); +if (lean_is_exclusive(x_259)) { + lean_ctor_release(x_259, 0); + lean_ctor_release(x_259, 1); + x_265 = x_259; +} else { + lean_dec_ref(x_259); + x_265 = lean_box(0); +} +if (lean_is_scalar(x_265)) { + x_266 = lean_alloc_ctor(1, 2, 0); +} else { + x_266 = x_265; +} +lean_ctor_set(x_266, 0, x_263); +lean_ctor_set(x_266, 1, x_264); +return x_266; +} +} +} +} +else +{ +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_324 = lean_ctor_get(x_196, 0); +lean_inc(x_324); +x_325 = lean_ctor_get(x_196, 1); +lean_inc(x_325); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_326 = x_196; +} else { + lean_dec_ref(x_196); + x_326 = lean_box(0); +} +if (lean_is_scalar(x_326)) { + x_327 = lean_alloc_ctor(1, 2, 0); +} else { + x_327 = x_326; +} +lean_ctor_set(x_327, 0, x_324); +lean_ctor_set(x_327, 1, x_325); +return x_327; +} +} +else +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; +lean_dec(x_193); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_328 = lean_ctor_get(x_194, 0); +lean_inc(x_328); +x_329 = lean_ctor_get(x_194, 1); +lean_inc(x_329); +if (lean_is_exclusive(x_194)) { + lean_ctor_release(x_194, 0); + lean_ctor_release(x_194, 1); + x_330 = x_194; +} else { + lean_dec_ref(x_194); + x_330 = lean_box(0); +} +if (lean_is_scalar(x_330)) { + x_331 = lean_alloc_ctor(1, 2, 0); +} else { + x_331 = x_330; +} +lean_ctor_set(x_331, 0, x_328); +lean_ctor_set(x_331, 1, x_329); +return x_331; } } } @@ -21254,7 +21288,7 @@ lean_dec(x_2); return x_8; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__1() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__1() { _start: { lean_object* x_1; @@ -21262,17 +21296,17 @@ x_1 = lean_mk_string("bootstrap"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__2() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__1; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__3() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__3() { _start: { lean_object* x_1; @@ -21280,17 +21314,17 @@ x_1 = lean_mk_string("gen_matcher_code"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__4() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__2; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__3; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__2; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__5() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__5() { _start: { lean_object* x_1; @@ -21298,13 +21332,13 @@ x_1 = lean_mk_string("disable code generation for auxiliary matcher function"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__6() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__1; -x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__5; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__1; +x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__5; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -21312,12 +21346,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426_(lean_object* x_1) { +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__4; -x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__6; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__4; +x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__6; x_4 = lean_register_option(x_2, x_3, x_1); return x_4; } @@ -21326,7 +21360,7 @@ uint8_t l_Lean_Meta_Match_generateMatcherCode(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__4; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__4; x_3 = 1; x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); return x_4; @@ -24327,7 +24361,7 @@ lean_dec(x_5); return x_11; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_6406_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_6423_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -24617,19 +24651,19 @@ l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__2 lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__2); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__3 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__3(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__3); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__1); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__2); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__3); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__4); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__5(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__5); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__6(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426____closed__6); -res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5426_(lean_io_mk_world()); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__1); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__2); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__3); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__4(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__4); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__5(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__5); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__6(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443____closed__6); +res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5443_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Meta_Match_mkMatcher___lambda__1___closed__1 = _init_l_Lean_Meta_Match_mkMatcher___lambda__1___closed__1(); @@ -24690,7 +24724,7 @@ l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1 = _init_l_Lean_Meta_Matche lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1); l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2(); lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_6406_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_6423_(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/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index 57d07aaa13..97b02b2fc0 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -15,7 +15,6 @@ extern "C" { #endif lean_object* l_Lean_Parser_Term_subst___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_attr_quot___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__2; lean_object* l_Lean_Parser_Term_dbgTrace_formatter___closed__7; lean_object* l_Lean_Parser_Term_doubleQuotedName___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_scoped___elambda__1(lean_object*, lean_object*); @@ -171,6 +170,7 @@ lean_object* l_Lean_Parser_Term_explicit_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__5; lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__6; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__23; lean_object* l_Lean_Parser_Term_emptyC_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__9; lean_object* l_Lean_Parser_Term_pipeProj_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -181,6 +181,7 @@ lean_object* l_Lean_Parser_Term_matchDiscr___closed__2; extern lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__5; lean_object* l_Lean_Parser_Term_arrow___closed__6; lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__3; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__13; lean_object* l_Lean_Parser_darrow___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_explicit___closed__2; lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__13; @@ -251,7 +252,6 @@ lean_object* l_Lean_Parser_Term_arrow___closed__5; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__22; lean_object* l_Lean_Parser_Term_inaccessible___closed__1; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__11; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__21; lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_parser_x21_formatter___closed__4; lean_object* l_Lean_Parser_Term_funBinder_quot_formatter___closed__3; @@ -273,6 +273,7 @@ lean_object* l_Lean_Parser_Term_suffices___closed__2; lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_stateRefT; lean_object* l_Lean_Parser_Term_ellipsis___closed__3; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__25; lean_object* l_Lean_Parser_Term_letIdLhs___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_letRecDecl_formatter___closed__5; lean_object* l_Lean_Parser_Term_explicit___closed__1; @@ -317,6 +318,7 @@ lean_object* l_Lean_Parser_Term_bracketedBinder_quot_formatter___closed__4; lean_object* l_Lean_Parser_Term_forall___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_optType_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_lookahead_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__21; lean_object* l_Lean_Parser_Term_char___closed__3; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_match___closed__7; @@ -331,7 +333,6 @@ lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_letRecDecl_formatter___closed__7; lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalInsideQuot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_match_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__23; lean_object* l_Lean_Parser_Tactic_seq1___elambda__1___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_ensureTypeOf_formatter(lean_object*); @@ -370,7 +371,6 @@ lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_letRecDecl___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_structInstField_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_proj_parenthesizer(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__25; lean_object* l_Lean_Parser_Term_tparser_x21_formatter___closed__2; lean_object* l_Lean_Parser_Term_scientific___closed__2; lean_object* l_Lean_Parser_Term_binrel___elambda__1___closed__12; @@ -457,6 +457,7 @@ lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_prop; lean_object* l_Lean_Parser_Term_proj_formatter___closed__1; lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__5; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__2; lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_nativeRefl_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__2; @@ -604,7 +605,6 @@ lean_object* l___regBuiltin_Lean_Parser_Term_assert_formatter(lean_object*); lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_bracketedBinder_quot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__6; lean_object* l_Lean_Parser_Term_simpleBinder_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_attrInstance___closed__7; lean_object* l_Lean_Parser_Term_bracketedBinder_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -632,7 +632,6 @@ lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_cdot_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_macroDollarArg___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__10; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_type_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_prop_parenthesizer(lean_object*); lean_object* l_Lean_Parser_darrow; @@ -666,6 +665,7 @@ lean_object* l_Lean_Parser_Term_namedArgument___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_paren_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_seq1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__26; lean_object* l_Lean_Parser_Term_nativeDecide_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_namedArgument___closed__3; lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__3; @@ -821,7 +821,6 @@ lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__5; lean_object* l_Lean_Parser_unicodeSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_attr_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__26; lean_object* l_Lean_Parser_Term_instBinder___closed__3; lean_object* l_Lean_Parser_Term_doubleQuotedName___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_haveAssign_parenthesizer___closed__2; @@ -928,7 +927,6 @@ lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer(lean_object*, lean_object* l_Lean_Parser_Term_namedPattern_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_darrow_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__8; lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__8; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__14; @@ -938,6 +936,7 @@ lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_bracketedBinder_quot_formatter___closed__6; lean_object* l_Lean_Parser_Term_binderType(uint8_t); lean_object* l_Lean_Parser_Term_letDecl___closed__2; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__1; lean_object* l_Lean_Parser_Term_binrel___closed__9; lean_object* l_Lean_Parser_Term_optIdent___closed__2; lean_object* l_Lean_Parser_Term_structInstLVal_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1004,6 +1003,7 @@ extern lean_object* l_Lean_Parser_leadingNode_formatter___closed__1; lean_object* l_Lean_Parser_optional_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_funBinder_quot___closed__1; lean_object* l_Lean_Parser_Term_local___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__6; lean_object* l_Lean_Parser_Term_let_x2a___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_paren___closed__7; lean_object* l_Lean_Parser_Term_unreachable___closed__1; @@ -1133,6 +1133,7 @@ lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer(lean_object*, lean_objec extern lean_object* l_Lean_Parser_Tactic_subst___closed__1; lean_object* l_Lean_Parser_Term_doubleQuotedName___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_depArrow___closed__8; +lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__15; lean_object* l_Lean_Parser_Term_nativeDecide___elambda__1___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_sorry(lean_object*); lean_object* l_Lean_Parser_Term_nomatch___closed__4; @@ -1215,6 +1216,7 @@ lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_have___elambda__1___closed__6; extern lean_object* l_Lean_Parser_symbol_parenthesizer___rarg___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__19; lean_object* l_Lean_Parser_Term_matchDiscr_quot_formatter___closed__5; lean_object* l_Lean_Parser_Term_matchDiscr_quot_formatter___closed__3; lean_object* l_Lean_Parser_Term_dbgTrace___closed__9; @@ -1239,7 +1241,6 @@ lean_object* l_Lean_Parser_Term_let___closed__2; lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_binderTactic_formatter___closed__5; lean_object* l___regBuiltinParser_Lean_Parser_Term_app(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__11; lean_object* l_Lean_Parser_Term_structInst___closed__9; lean_object* l_Lean_Parser_Term_letPatDecl___closed__13; lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__4; @@ -1295,7 +1296,6 @@ lean_object* l_Lean_Parser_Term_type___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_type_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_funImplicitBinder_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__9; lean_object* l_Lean_Parser_Tactic_seq1___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_haveDecl___elambda__1___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_parser_x21(lean_object*); @@ -1339,7 +1339,6 @@ lean_object* l_Lean_Parser_Term_type___elambda__1___closed__15; lean_object* l_Lean_Parser_Term_attributes___closed__3; lean_object* l_Lean_Parser_Term_matchAlt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInst_formatter___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__19; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__14; lean_object* l___regBuiltin_Lean_Parser_Term_binrel_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_quot_parenthesizer___closed__3; @@ -1376,7 +1375,6 @@ lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__16; lean_object* l_Lean_Parser_Term_match_formatter___closed__8; extern lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2; lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__27; lean_object* l_Lean_Parser_Term_funBinder___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_let___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_explicitUniv_formatter___closed__1; @@ -1400,6 +1398,7 @@ lean_object* l_Lean_Parser_Term_assert___closed__1; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_sufficesDecl___closed__3; lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__8; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__11; lean_object* l_Lean_Parser_Term_nomatch; lean_object* l_Lean_Parser_Term_parenSpecial; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__9; @@ -1431,6 +1430,7 @@ lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__5; lean_object* l_Lean_Parser_Term_let___closed__4; lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__12; +lean_object* l_Lean_Parser_Term_bracketedBinderF; lean_object* l_Lean_Parser_Term_explicitBinder_formatter(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_panic___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_bracketedBinder_parenthesizer___closed__1; @@ -1532,6 +1532,7 @@ lean_object* l_Lean_Parser_Term_borrowed___elambda__1(lean_object*, lean_object* lean_object* l_Lean_Parser_Term_noindex_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__6; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__35; +lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__16; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__20; lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__7; lean_object* l_Lean_Parser_nodeWithAntiquot_formatter(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1787,7 +1788,6 @@ extern lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__16; lean_object* l_Lean_Parser_Term_structInst___closed__5; lean_object* l_Lean_Parser_Term_typeOf_formatter___closed__3; lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__4; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_ensureExpectedType_formatter___closed__2; lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13; @@ -1820,6 +1820,7 @@ lean_object* l_Lean_Parser_Term_matchDiscr_quot_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_subst___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_borrowed_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_show_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__9; lean_object* l_Lean_Parser_Term_emptyC___closed__2; lean_object* l_Lean_Parser_Term_whereDecls; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutForbidden_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1849,6 +1850,7 @@ lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_nomatch_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__17; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__27; lean_object* l_Lean_Parser_Term_cdot___closed__5; lean_object* l_Lean_Parser_Term_macroDollarArg___closed__3; lean_object* l_Lean_Parser_Term_emptyC_formatter___closed__2; @@ -1894,6 +1896,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_letrec_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__1; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__11; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__4; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__19; lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__4; @@ -2035,7 +2038,6 @@ extern lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__7; lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__10; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__10; lean_object* l___regBuiltin_Lean_Parser_Term_prop_formatter(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__20; lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__9; @@ -2308,7 +2310,6 @@ lean_object* l___regBuiltin_Lean_Parser_Term_explicitUniv_formatter(lean_object* lean_object* l_Lean_Parser_Term_stateRefT___closed__1; lean_object* l_Lean_Parser_Term_typeAscription_formatter___closed__3; lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__9; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__12; lean_object* l_Lean_Parser_Term_let___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_nomatch(lean_object*); lean_object* l_Lean_Parser_Term_structInstField; @@ -2425,7 +2426,6 @@ lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_attr_quot_formatter___closed__5; lean_object* l_Lean_Parser_Term_have___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__6; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__20; lean_object* l_Lean_Parser_Term_letIdLhs___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13068____closed__9; lean_object* l_Lean_Parser_Term_show___closed__3; @@ -2436,6 +2436,7 @@ lean_object* l_Lean_Parser_Term_ellipsis; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__10; extern lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__2; lean_object* l_Lean_Parser_Term_arrow_formatter___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__10; lean_object* l_Lean_Parser_Term_binderDefault___closed__4; lean_object* l_Lean_Parser_Term_inaccessible_formatter___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_emptyC_formatter___closed__1; @@ -2469,6 +2470,8 @@ lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_funSimpleBinder_formatter___closed__1; lean_object* l_Lean_Parser_Term_binderIdent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_attrKind_formatter___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__20; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20; lean_object* l_Lean_Parser_Term_nomatch___closed__1; lean_object* l_Lean_Parser_Term_whereDecls_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__1; @@ -2881,6 +2884,7 @@ lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_forall_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_instBinder_formatter___closed__1; lean_object* l_Lean_Parser_Term_assert___closed__3; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__12; lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_namedPattern___closed__1; lean_object* l_Lean_Parser_Term_haveDecl_formatter___closed__5; @@ -2990,7 +2994,6 @@ lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_unreachable___elambda__1___closed__4; extern lean_object* l_Lean_Parser_epsilonInfo; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__10; lean_object* l_Lean_Parser_Term_basicFun___closed__5; lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_funBinder_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3112,11 +3115,9 @@ lean_object* l_Lean_Parser_Term_typeAscription_formatter___closed__1; lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__4; lean_object* l_Lean_Parser_Term_matchDiscr_quot_formatter___closed__2; lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__28; lean_object* l_Lean_Parser_Term_letDecl___closed__12; lean_object* l_Lean_Parser_Term_binderDefault___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_letRecDecl_parenthesizer___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__14; lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_assert_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__5; @@ -3176,6 +3177,7 @@ lean_object* l_Lean_Parser_Term_structInstArrayRef; extern lean_object* l_Lean_Parser_mkAntiquotSplice_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1; lean_object* l_Lean_Parser_sepBy1_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__3; lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_tparser_x21___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_inaccessible_formatter(lean_object*); @@ -3256,7 +3258,6 @@ lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__10; lean_object* l___regBuiltin_Lean_Parser_Term_structInst_parenthesizer___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__5; lean_object* l_Lean_Parser_Term_subst_formatter___closed__3; extern lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__5___closed__2; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1098____closed__27; @@ -3303,28 +3304,29 @@ extern lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_953____closed__ lean_object* l_Lean_Parser_Term_tparser_x21___closed__4; extern lean_object* l_Lean_Parser_Tactic_show___closed__1; lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__24; lean_object* l_Lean_Parser_Term_typeAscription___closed__2; lean_object* l_Lean_Parser_Term_byTactic___closed__3; lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_structInstField_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_nativeDecide_formatter___closed__3; lean_object* l_Lean_Parser_Term_structInst___closed__7; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__18; lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__16; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1098____closed__9; lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__4; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__15; lean_object* l_Lean_Parser_Term_macroDollarArg_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_nativeDecide_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_binrel_formatter(lean_object*); lean_object* l_Lean_Parser_Term_tparser_x21___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__16; lean_object* l_Lean_Parser_Term_proj_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__18; extern lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_866____closed__19; lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__14; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__28; lean_object* l_Lean_Parser_Term_doubleQuotedName___closed__1; lean_object* l_Lean_Parser_Term_explicitBinder___closed__4; lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__1; @@ -3371,12 +3373,12 @@ lean_object* l_Lean_Parser_Term_explicitBinder_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_syntheticHole___closed__5; lean_object* l_Lean_Parser_Term_cdot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_stateRefT___closed__5; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__5; lean_object* l_Lean_Parser_Term_unreachable_formatter___closed__1; lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__2; extern lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_953____closed__7; lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_namedPattern___elambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__3; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__20; lean_object* l_Lean_Parser_Term_structInstField_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_attr_quot___closed__4; @@ -3401,6 +3403,7 @@ lean_object* l_Lean_Parser_Term_decide___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__2; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__18; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__5; extern lean_object* l_Lean_Parser_mkAntiquot___closed__6; @@ -3409,6 +3412,7 @@ lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_attr_quot___closed__2; extern lean_object* l_Lean_Parser_Tactic_intro___closed__2; lean_object* l_Lean_Parser_Tactic_quotSeq___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__15; lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_have___elambda__1___closed__5; @@ -3428,11 +3432,13 @@ lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_docComment_parenthesizer___closed__2; extern lean_object* l_Lean_Parser_Tactic_changeWith___closed__3; lean_object* l_Lean_Parser_Term_forall___closed__5; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__22; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__6; lean_object* l_Lean_Parser_Term_app_formatter___closed__7; lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__6; lean_object* l_Lean_Parser_Term_letIdDecl___closed__4; extern lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_866____closed__9; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__14; lean_object* l___regBuiltin_Lean_Parser_Term_hole_formatter(lean_object*); lean_object* l_Lean_Parser_Term_binderTactic___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_dbgTrace(lean_object*); @@ -3464,7 +3470,6 @@ lean_object* l_Lean_Parser_Term_letRecDecls___closed__1; lean_object* l_Lean_Parser_Term_let_x21___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_explicit; lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__13; lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__6; lean_object* l_Lean_Parser_Term_fun_formatter___closed__1; @@ -3603,7 +3608,6 @@ lean_object* l_Lean_Parser_Term_local___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_fun_formatter___closed__1; lean_object* l_Lean_Parser_Term_matchAltsWhereDecls; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__24; lean_object* l_Lean_Parser_Term_show_formatter___closed__2; extern lean_object* l_rawNatLit___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3658,7 +3662,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxe lean_object* l_Lean_Parser_Term_noindex___elambda__1(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2137____closed__4; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__22; lean_object* l_Lean_Parser_Term_doubleQuotedName_formatter___closed__3; lean_object* l_Lean_Parser_Term_anonymousCtor_formatter___closed__7; lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__11; @@ -3722,6 +3725,7 @@ lean_object* l_Lean_Parser_Term_matchDiscr_formatter___closed__4; lean_object* l_Lean_Parser_Term_macroLastArg_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__2; lean_object* l_Lean_Parser_Term_let___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__17; lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__10; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1098____closed__30; lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__7; @@ -3741,7 +3745,6 @@ lean_object* l_Lean_Parser_Term_panic_formatter___closed__2; lean_object* l_Lean_Parser_Term_structInst; lean_object* l_Lean_Parser_symbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Level_paren_parenthesizer___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__16; lean_object* l_Lean_Parser_Term_letRecDecl_parenthesizer___closed__8; lean_object* l_Lean_Parser_Term_show___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_match___elambda__1(lean_object*, lean_object*); @@ -3768,6 +3771,7 @@ lean_object* l_Lean_Parser_Term_let_x21_formatter___closed__2; lean_object* l_Lean_Parser_Term_simpleBinder___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_docComment_parenthesizer___closed__6; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__8; lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_docComment___closed__6; lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__7; @@ -3775,11 +3779,10 @@ lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer___closed__1; lean_object* l_Lean_Parser_checkWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__1; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_68_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876_(lean_object*); lean_object* l_Lean_Parser_Term_parenSpecial_formatter___closed__3; lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_doubleQuotedName___closed__7; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__7; lean_object* l___regBuiltin_Lean_Parser_Term_match_formatter(lean_object*); lean_object* l_Lean_Parser_Term_doubleQuotedName_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_let_x2a___closed__6; @@ -3859,7 +3862,6 @@ extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__16; lean_object* l_Lean_Parser_Term_attr_quot_formatter___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__17; lean_object* l_Lean_Parser_Term_suffices___closed__6; lean_object* l_Lean_Parser_Term_fun_formatter___closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_withoutPosition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4007,6 +4009,7 @@ lean_object* l_Lean_Parser_Term_attributes_formatter___closed__3; lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__4; extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3; lean_object* l_Lean_Parser_Term_simpleBinderWithoutType_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__7; lean_object* l_Lean_Parser_Term_whereDecls_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_prop___elambda__1(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_tparser_x21_formatter(lean_object*); @@ -38323,7 +38326,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2137____closed__2; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__20; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -41549,6 +41552,14 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +static lean_object* _init_l_Lean_Parser_Term_bracketedBinderF() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Term_forall___elambda__1___closed__10; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__1() { _start: { @@ -41593,23 +41604,19 @@ return x_4; static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_forall___elambda__1___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_evalInsideQuot___elambda__1), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("bracketedBinderF"); +return x_1; } } static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_toggleInsideQuotFn), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_2137____closed__2; +x_2 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__7() { @@ -41617,8 +41624,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__6; -x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__4; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_2 = l_Lean_Parser_Term_forall___elambda__1___closed__10; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_evalInsideQuot___elambda__1), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -41627,28 +41634,31 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__8() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("`(bracketedBinder|"); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__7; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_toggleInsideQuotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__8; -x_2 = l_String_trim(x_1); -return x_2; +x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__4; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__9; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("`(bracketedBinder|"); +return x_1; } } static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__11() { @@ -41656,41 +41666,60 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__10; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); -lean_closure_set(x_2, 0, x_1); +x_2 = l_String_trim(x_1); return x_2; } } static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__12() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__11; -x_2 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__7; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__12; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__12; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__13; +x_2 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__14; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__10; -x_2 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__13; +x_2 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__15; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -41704,7 +41733,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_3 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__4; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__14; +x_5 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__16; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -41726,7 +41755,7 @@ static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot___closed__2() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__9; +x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__11; x_2 = l_Lean_Parser_symbolInfo(x_1); return x_2; } @@ -41833,7 +41862,7 @@ static lean_object* _init_l_Lean_Parser_Term_bracketedBinder_quot_formatter___cl _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__10; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -48022,7 +48051,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_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -48032,7 +48061,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -48042,7 +48071,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -48052,7 +48081,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -48062,7 +48091,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -48072,7 +48101,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -48082,7 +48111,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -48092,7 +48121,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -48102,7 +48131,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__9() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -48112,7 +48141,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__10() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -48122,7 +48151,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__11() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -48132,7 +48161,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__12() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -48142,7 +48171,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__13() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -48152,7 +48181,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__14() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -48162,7 +48191,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__15() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -48172,7 +48201,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__16() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__16() { _start: { lean_object* x_1; lean_object* x_2; @@ -48182,7 +48211,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__17() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -48192,7 +48221,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__18() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -48202,7 +48231,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__19() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -48212,7 +48241,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__20() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__20() { _start: { lean_object* x_1; lean_object* x_2; @@ -48222,7 +48251,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__21() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__21() { _start: { lean_object* x_1; lean_object* x_2; @@ -48232,7 +48261,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__22() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -48242,7 +48271,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__23() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -48252,7 +48281,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__24() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -48262,7 +48291,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__25() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__25() { _start: { lean_object* x_1; lean_object* x_2; @@ -48272,7 +48301,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__26() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -48282,7 +48311,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__27() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -48292,7 +48321,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__28() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -48302,13 +48331,13 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Parser_parserAliasesRef; x_3 = l_Lean_Parser_Tactic_let___closed__3; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__1; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__1; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -48317,7 +48346,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); x_7 = l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; -x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__2; +x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__2; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_3, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -48326,7 +48355,7 @@ x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); x_11 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__3; +x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__3; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_3, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -48335,7 +48364,7 @@ x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); x_15 = l_Lean_Parser_Tactic_have___closed__6; -x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__4; +x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__4; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -48343,7 +48372,7 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__5; +x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__5; x_20 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_15, x_19, x_18); if (lean_obj_tag(x_20) == 0) { @@ -48351,7 +48380,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__6; +x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__6; x_23 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_15, x_22, x_21); if (lean_obj_tag(x_23) == 0) { @@ -48360,7 +48389,7 @@ x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); x_25 = l_Lean_Parser_Tactic_suffices___closed__6; -x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__7; +x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__7; x_27 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_25, x_26, x_24); if (lean_obj_tag(x_27) == 0) { @@ -48368,7 +48397,7 @@ lean_object* x_28; lean_object* x_29; lean_object* x_30; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__8; +x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__8; x_30 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_25, x_29, x_28); if (lean_obj_tag(x_30) == 0) { @@ -48376,7 +48405,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); -x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__9; +x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__9; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_25, x_32, x_31); if (lean_obj_tag(x_33) == 0) { @@ -48385,7 +48414,7 @@ x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); x_35 = l_Lean_Parser_Tactic_letrec___closed__11; -x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__10; +x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__10; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -48393,7 +48422,7 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__11; +x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__11; x_40 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_35, x_39, x_38); if (lean_obj_tag(x_40) == 0) { @@ -48401,7 +48430,7 @@ lean_object* x_41; lean_object* x_42; lean_object* x_43; x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); -x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__12; +x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__12; x_43 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_35, x_42, x_41); if (lean_obj_tag(x_43) == 0) { @@ -48410,7 +48439,7 @@ x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); x_45 = l_Lean_Parser_Tactic_inductionAlt___closed__9; -x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__13; +x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__13; x_47 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_45, x_46, x_44); if (lean_obj_tag(x_47) == 0) { @@ -48418,7 +48447,7 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; x_48 = lean_ctor_get(x_47, 1); lean_inc(x_48); lean_dec(x_47); -x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__14; +x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__14; x_50 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_45, x_49, x_48); if (lean_obj_tag(x_50) == 0) { @@ -48426,7 +48455,7 @@ lean_object* x_51; lean_object* x_52; lean_object* x_53; x_51 = lean_ctor_get(x_50, 1); lean_inc(x_51); lean_dec(x_50); -x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__15; +x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__15; x_53 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_45, x_52, x_51); if (lean_obj_tag(x_53) == 0) { @@ -48435,7 +48464,7 @@ x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); lean_dec(x_53); x_55 = l_Lean_Parser_Tactic_inductionAlt___closed__12; -x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__16; +x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__16; x_57 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_55, x_56, x_54); if (lean_obj_tag(x_57) == 0) { @@ -48443,7 +48472,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__17; +x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__17; x_60 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_55, x_59, x_58); if (lean_obj_tag(x_60) == 0) { @@ -48451,7 +48480,7 @@ lean_object* x_61; lean_object* x_62; lean_object* x_63; x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); lean_dec(x_60); -x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__18; +x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__18; x_63 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_55, x_62, x_61); if (lean_obj_tag(x_63) == 0) { @@ -48459,8 +48488,8 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); lean_dec(x_63); -x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__19; -x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__20; +x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__19; +x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__20; x_67 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_65, x_66, x_64); if (lean_obj_tag(x_67) == 0) { @@ -48468,7 +48497,7 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); lean_dec(x_67); -x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__21; +x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__21; x_70 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_65, x_69, x_68); if (lean_obj_tag(x_70) == 0) { @@ -48476,7 +48505,7 @@ lean_object* x_71; lean_object* x_72; lean_object* x_73; x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); lean_dec(x_70); -x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__22; +x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__22; x_73 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_65, x_72, x_71); if (lean_obj_tag(x_73) == 0) { @@ -48485,7 +48514,7 @@ x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); x_75 = l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__12; -x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__23; +x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__23; x_77 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_75, x_76, x_74); if (lean_obj_tag(x_77) == 0) { @@ -48493,7 +48522,7 @@ lean_object* x_78; lean_object* x_79; lean_object* x_80; x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); lean_dec(x_77); -x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__24; +x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__24; x_80 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_75, x_79, x_78); if (lean_obj_tag(x_80) == 0) { @@ -48501,7 +48530,7 @@ lean_object* x_81; lean_object* x_82; lean_object* x_83; x_81 = lean_ctor_get(x_80, 1); lean_inc(x_81); lean_dec(x_80); -x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__25; +x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__25; x_83 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_75, x_82, x_81); if (lean_obj_tag(x_83) == 0) { @@ -48510,7 +48539,7 @@ x_84 = lean_ctor_get(x_83, 1); lean_inc(x_84); lean_dec(x_83); x_85 = l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__4; -x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__26; +x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__26; x_87 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_85, x_86, x_84); if (lean_obj_tag(x_87) == 0) { @@ -48518,7 +48547,7 @@ lean_object* x_88; lean_object* x_89; lean_object* x_90; x_88 = lean_ctor_get(x_87, 1); lean_inc(x_88); lean_dec(x_87); -x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__27; +x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__27; x_90 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_85, x_89, x_88); if (lean_obj_tag(x_90) == 0) { @@ -48526,7 +48555,7 @@ lean_object* x_91; lean_object* x_92; lean_object* x_93; x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); lean_dec(x_90); -x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__28; +x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__28; x_93 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_85, x_92, x_91); return x_93; } @@ -54860,6 +54889,8 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_funBinder_quot_parenthesize res = l___regBuiltin_Lean_Parser_Term_funBinder_quot_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Term_bracketedBinderF = _init_l_Lean_Parser_Term_bracketedBinderF(); +lean_mark_persistent(l_Lean_Parser_Term_bracketedBinderF); l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__1 = _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__1); l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__2 = _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__2(); @@ -54888,6 +54919,10 @@ l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__13 = _init_l_Lean lean_mark_persistent(l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__13); l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__14 = _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__14(); lean_mark_persistent(l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__14); +l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__15 = _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__15(); +lean_mark_persistent(l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__15); +l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__16 = _init_l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__16(); +lean_mark_persistent(l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__16); l_Lean_Parser_Term_bracketedBinder_quot___closed__1 = _init_l_Lean_Parser_Term_bracketedBinder_quot___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_bracketedBinder_quot___closed__1); l_Lean_Parser_Term_bracketedBinder_quot___closed__2 = _init_l_Lean_Parser_Term_bracketedBinder_quot___closed__2(); @@ -55864,63 +55899,63 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Level_quot_parenthesizer___close res = l___regBuiltin_Lean_Parser_Level_quot_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__8); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__9(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__9); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__10(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__10); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__11(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__11); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__12(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__12); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__13(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__13); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__14(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__14); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__15(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__16(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__16); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__17(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__17); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__18(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__18); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__19(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__19); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__20(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__20); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__21(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__21); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__22(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__22); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__23(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__23); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__24(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__24); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__25(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__25); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__26(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__26); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__27(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__27); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__28(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873____closed__28); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3873_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__9(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__9); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__10(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__10); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__11(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__11); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__12(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__12); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__13(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__13); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__14(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__14); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__15(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__15); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__16(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__16); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__17(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__17); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__18(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__18); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__19(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__19); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__20(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__20); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__21(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__21); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__22(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__22); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__23(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__23); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__24(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__24); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__25(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__25); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__26(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__26); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__27(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__27); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__28(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876____closed__28); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3876_(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/Parser/Transform.c b/stage0/stdlib/Lean/Parser/Transform.c deleted file mode 100644 index 2cd81d8b83..0000000000 --- a/stage0/stdlib/Lean/Parser/Transform.c +++ /dev/null @@ -1,1586 +0,0 @@ -// Lean compiler output -// Module: Lean.Parser.Transform -// Imports: Init Lean.Parser.Basic -#include -#if defined(__clang__) -#pragma clang diagnostic ignored "-Wunused-parameter" -#pragma clang diagnostic ignored "-Wunused-label" -#elif defined(__GNUC__) && !defined(__CLANG__) -#pragma GCC diagnostic ignored "-Wunused-parameter" -#pragma GCC diagnostic ignored "-Wunused-label" -#pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#endif -#ifdef __cplusplus -extern "C" { -#endif -lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* lean_array_push(lean_object*, lean_object*); -lean_object* lean_array_get_size(lean_object*); -lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); -lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); -lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* lean_nat_add(lean_object*, lean_object*); -extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__2; -lean_object* l_Lean_Syntax_removeParen_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_match__1(lean_object*); -uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; -lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_instInhabitedSyntax; -lean_object* l_Lean_Syntax_manyToSepBy(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getNumArgs(lean_object*); -uint8_t lean_nat_dec_le(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_match__2(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_12458____closed__8; -lean_object* l_Lean_Syntax_removeParen(lean_object*); -uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Lean_Syntax_getTailInfo(lean_object*); -extern lean_object* l_prec_x28___x29___closed__7; -lean_object* l_Lean_Syntax_manyToSepBy_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -extern lean_object* l_Lean_mkOptionalNode___closed__2; -lean_object* l_Lean_Syntax_removeParen_match__1(lean_object*); -lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_match__2___rarg(lean_object*, lean_object*, lean_object*); -uint8_t lean_string_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Syntax_manyToSepBy_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_manyToSepBy_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Syntax_manyToSepBy_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_2(x_2, x_4, x_5); -return x_6; -} -else -{ -lean_object* x_7; -lean_dec(x_2); -x_7 = lean_apply_1(x_3, x_1); -return x_7; -} -} -} -lean_object* l_Lean_Syntax_manyToSepBy_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_manyToSepBy_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_ctor_get(x_3, 1); -x_8 = lean_nat_dec_le(x_7, x_5); -if (x_8 == 0) -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_nat_dec_eq(x_4, x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_sub(x_4, x_11); -lean_dec(x_4); -x_13 = l_Lean_instInhabitedSyntax; -x_14 = lean_array_get(x_13, x_2, x_5); -x_15 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_6); -x_16 = l_Lean_Syntax_getTailInfo(x_15); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_15); -x_17 = l_Lean_instInhabitedSourceInfo___closed__1; -lean_inc(x_1); -x_18 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_1); -x_19 = lean_array_push(x_6, x_18); -x_20 = lean_array_push(x_19, x_14); -x_21 = lean_ctor_get(x_3, 2); -x_22 = lean_nat_add(x_5, x_21); -lean_dec(x_5); -x_4 = x_12; -x_5 = x_22; -x_6 = x_20; -goto _start; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_24 = lean_ctor_get(x_16, 0); -lean_inc(x_24); -lean_dec(x_16); -x_25 = lean_array_get_size(x_6); -x_26 = lean_nat_sub(x_25, x_11); -lean_dec(x_25); -x_27 = lean_array_set(x_6, x_26, x_15); -lean_dec(x_26); -lean_inc(x_1); -x_28 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_28, 0, x_24); -lean_ctor_set(x_28, 1, x_1); -x_29 = lean_array_push(x_27, x_28); -x_30 = lean_array_push(x_29, x_14); -x_31 = lean_ctor_get(x_3, 2); -x_32 = lean_nat_add(x_5, x_31); -lean_dec(x_5); -x_4 = x_12; -x_5 = x_32; -x_6 = x_30; -goto _start; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -} -lean_object* l_Lean_Syntax_manyToSepBy(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -x_5 = lean_array_get_size(x_4); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_nat_dec_eq(x_5, x_6); -if (x_7 == 0) -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_1); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_9 = lean_ctor_get(x_1, 1); -lean_dec(x_9); -x_10 = lean_ctor_get(x_1, 0); -lean_dec(x_10); -x_11 = l_Lean_instInhabitedSyntax; -x_12 = lean_array_get(x_11, x_4, x_6); -x_13 = l_Lean_mkOptionalNode___closed__2; -x_14 = lean_array_push(x_13, x_12); -x_15 = lean_unsigned_to_nat(1u); -lean_inc(x_5); -x_16 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_5); -lean_ctor_set(x_16, 2, x_15); -x_17 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_2, x_4, x_16, x_5, x_15, x_14); -lean_dec(x_16); -lean_dec(x_4); -lean_ctor_set(x_1, 1, x_17); -return x_1; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_1); -x_18 = l_Lean_instInhabitedSyntax; -x_19 = lean_array_get(x_18, x_4, x_6); -x_20 = l_Lean_mkOptionalNode___closed__2; -x_21 = lean_array_push(x_20, x_19); -x_22 = lean_unsigned_to_nat(1u); -lean_inc(x_5); -x_23 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_5); -lean_ctor_set(x_23, 2, x_22); -x_24 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_2, x_4, x_23, x_5, x_22, x_21); -lean_dec(x_23); -lean_dec(x_4); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_3); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_1; -} -} -else -{ -lean_dec(x_2); -return x_1; -} -} -} -lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_Syntax_removeParen_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_1) == 2) -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_5, 2); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 0) -{ -uint8_t x_9; -lean_dec(x_3); -x_9 = !lean_is_exclusive(x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_ctor_get(x_5, 2); -lean_dec(x_10); -x_11 = lean_ctor_get(x_5, 1); -lean_dec(x_11); -x_12 = lean_ctor_get(x_5, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_1); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_1, 0); -lean_dec(x_14); -lean_ctor_set(x_5, 0, x_8); -x_15 = lean_apply_2(x_4, x_1, x_2); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_1, 1); -lean_inc(x_16); -lean_dec(x_1); -lean_ctor_set(x_5, 0, x_8); -x_17 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_17, 0, x_5); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_apply_2(x_4, x_17, x_2); -return x_18; -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_5); -x_19 = lean_ctor_get(x_1, 1); -lean_inc(x_19); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_20 = x_1; -} else { - lean_dec_ref(x_1); - x_20 = lean_box(0); -} -x_21 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_21, 0, x_8); -lean_ctor_set(x_21, 1, x_7); -lean_ctor_set(x_21, 2, x_8); -if (lean_is_scalar(x_20)) { - x_22 = lean_alloc_ctor(2, 2, 0); -} else { - x_22 = x_20; -} -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_19); -x_23 = lean_apply_2(x_4, x_22, x_2); -return x_23; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = lean_ctor_get(x_1, 1); -lean_inc(x_24); -x_25 = lean_ctor_get(x_8, 0); -lean_inc(x_25); -x_26 = l_prec_x28___x29___closed__7; -x_27 = lean_string_dec_eq(x_24, x_26); -lean_dec(x_24); -if (x_27 == 0) -{ -lean_object* x_28; -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -x_28 = lean_apply_2(x_4, x_1, x_2); -return x_28; -} -else -{ -uint8_t x_29; -x_29 = !lean_is_exclusive(x_1); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_1, 1); -lean_dec(x_30); -x_31 = lean_ctor_get(x_1, 0); -lean_dec(x_31); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_32; -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_3); -lean_ctor_set(x_1, 1, x_26); -x_32 = lean_apply_2(x_4, x_1, x_2); -return x_32; -} -else -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_2, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -if (lean_obj_tag(x_34) == 0) -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_5); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_36 = lean_ctor_get(x_5, 2); -lean_dec(x_36); -x_37 = lean_ctor_get(x_5, 1); -lean_dec(x_37); -x_38 = lean_ctor_get(x_5, 0); -lean_dec(x_38); -x_39 = lean_ctor_get(x_33, 1); -lean_inc(x_39); -if (lean_obj_tag(x_39) == 0) -{ -uint8_t x_40; -x_40 = !lean_is_exclusive(x_2); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_2, 0); -lean_dec(x_41); -x_42 = lean_ctor_get(x_33, 2); -lean_inc(x_42); -if (lean_obj_tag(x_42) == 0) -{ -uint8_t x_43; -lean_dec(x_25); -lean_dec(x_3); -x_43 = !lean_is_exclusive(x_33); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_44 = lean_ctor_get(x_33, 2); -lean_dec(x_44); -x_45 = lean_ctor_get(x_33, 1); -lean_dec(x_45); -x_46 = lean_ctor_get(x_33, 0); -lean_dec(x_46); -lean_ctor_set(x_33, 2, x_8); -lean_ctor_set(x_33, 0, x_42); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_33); -lean_ctor_set(x_5, 2, x_42); -lean_ctor_set(x_5, 1, x_39); -lean_ctor_set(x_5, 0, x_42); -lean_ctor_set(x_2, 0, x_5); -x_47 = lean_apply_2(x_4, x_1, x_2); -return x_47; -} -else -{ -lean_object* x_48; lean_object* x_49; -lean_dec(x_33); -x_48 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_48, 0, x_42); -lean_ctor_set(x_48, 1, x_39); -lean_ctor_set(x_48, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_48); -lean_ctor_set(x_5, 2, x_42); -lean_ctor_set(x_5, 1, x_39); -lean_ctor_set(x_5, 0, x_42); -lean_ctor_set(x_2, 0, x_5); -x_49 = lean_apply_2(x_4, x_1, x_2); -return x_49; -} -} -else -{ -lean_object* x_50; lean_object* x_51; -lean_free_object(x_2); -lean_free_object(x_5); -lean_free_object(x_1); -lean_dec(x_8); -lean_dec(x_4); -x_50 = lean_ctor_get(x_42, 0); -lean_inc(x_50); -lean_dec(x_42); -x_51 = lean_apply_3(x_3, x_25, x_33, x_50); -return x_51; -} -} -else -{ -lean_object* x_52; -lean_dec(x_2); -x_52 = lean_ctor_get(x_33, 2); -lean_inc(x_52); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_53 = x_33; -} else { - lean_dec_ref(x_33); - x_53 = lean_box(0); -} -if (lean_is_scalar(x_53)) { - x_54 = lean_alloc_ctor(0, 3, 0); -} else { - x_54 = x_53; -} -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_39); -lean_ctor_set(x_54, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_54); -lean_ctor_set(x_5, 2, x_52); -lean_ctor_set(x_5, 1, x_39); -lean_ctor_set(x_5, 0, x_52); -x_55 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_55, 0, x_5); -x_56 = lean_apply_2(x_4, x_1, x_55); -return x_56; -} -else -{ -lean_object* x_57; lean_object* x_58; -lean_free_object(x_5); -lean_free_object(x_1); -lean_dec(x_8); -lean_dec(x_4); -x_57 = lean_ctor_get(x_52, 0); -lean_inc(x_57); -lean_dec(x_52); -x_58 = lean_apply_3(x_3, x_25, x_33, x_57); -return x_58; -} -} -} -else -{ -uint8_t x_59; -lean_dec(x_39); -lean_free_object(x_5); -lean_dec(x_25); -lean_dec(x_3); -x_59 = !lean_is_exclusive(x_33); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_33, 2); -lean_dec(x_60); -x_61 = lean_ctor_get(x_33, 1); -lean_dec(x_61); -x_62 = lean_ctor_get(x_33, 0); -lean_dec(x_62); -lean_ctor_set(x_33, 2, x_8); -lean_ctor_set(x_33, 1, x_7); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_33); -x_63 = lean_apply_2(x_4, x_1, x_2); -return x_63; -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_33); -x_64 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_64, 0, x_34); -lean_ctor_set(x_64, 1, x_7); -lean_ctor_set(x_64, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_64); -x_65 = lean_apply_2(x_4, x_1, x_2); -return x_65; -} -} -} -else -{ -lean_object* x_66; -lean_dec(x_5); -x_66 = lean_ctor_get(x_33, 1); -lean_inc(x_66); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; lean_object* x_68; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - x_67 = x_2; -} else { - lean_dec_ref(x_2); - x_67 = lean_box(0); -} -x_68 = lean_ctor_get(x_33, 2); -lean_inc(x_68); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_69 = x_33; -} else { - lean_dec_ref(x_33); - x_69 = lean_box(0); -} -if (lean_is_scalar(x_69)) { - x_70 = lean_alloc_ctor(0, 3, 0); -} else { - x_70 = x_69; -} -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_66); -lean_ctor_set(x_70, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_70); -x_71 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_66); -lean_ctor_set(x_71, 2, x_68); -if (lean_is_scalar(x_67)) { - x_72 = lean_alloc_ctor(1, 1, 0); -} else { - x_72 = x_67; -} -lean_ctor_set(x_72, 0, x_71); -x_73 = lean_apply_2(x_4, x_1, x_72); -return x_73; -} -else -{ -lean_object* x_74; lean_object* x_75; -lean_dec(x_67); -lean_free_object(x_1); -lean_dec(x_8); -lean_dec(x_4); -x_74 = lean_ctor_get(x_68, 0); -lean_inc(x_74); -lean_dec(x_68); -x_75 = lean_apply_3(x_3, x_25, x_33, x_74); -return x_75; -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_66); -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_76 = x_33; -} else { - lean_dec_ref(x_33); - x_76 = lean_box(0); -} -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(0, 3, 0); -} else { - x_77 = x_76; -} -lean_ctor_set(x_77, 0, x_34); -lean_ctor_set(x_77, 1, x_7); -lean_ctor_set(x_77, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_77); -x_78 = lean_apply_2(x_4, x_1, x_2); -return x_78; -} -} -} -else -{ -lean_object* x_79; -lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_3); -lean_ctor_set(x_1, 1, x_26); -x_79 = lean_apply_2(x_4, x_1, x_2); -return x_79; -} -} -} -else -{ -lean_dec(x_1); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_80; lean_object* x_81; -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_3); -x_80 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_80, 0, x_5); -lean_ctor_set(x_80, 1, x_26); -x_81 = lean_apply_2(x_4, x_80, x_2); -return x_81; -} -else -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_2, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -if (lean_obj_tag(x_83) == 0) -{ -lean_object* x_84; lean_object* x_85; -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - lean_ctor_release(x_5, 2); - x_84 = x_5; -} else { - lean_dec_ref(x_5); - x_84 = lean_box(0); -} -x_85 = lean_ctor_get(x_82, 1); -lean_inc(x_85); -if (lean_obj_tag(x_85) == 0) -{ -lean_object* x_86; lean_object* x_87; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - x_86 = x_2; -} else { - lean_dec_ref(x_2); - x_86 = lean_box(0); -} -x_87 = lean_ctor_get(x_82, 2); -lean_inc(x_87); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - lean_ctor_release(x_82, 2); - x_88 = x_82; -} else { - lean_dec_ref(x_82); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(0, 3, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_85); -lean_ctor_set(x_89, 2, x_8); -x_90 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_26); -if (lean_is_scalar(x_84)) { - x_91 = lean_alloc_ctor(0, 3, 0); -} else { - x_91 = x_84; -} -lean_ctor_set(x_91, 0, x_87); -lean_ctor_set(x_91, 1, x_85); -lean_ctor_set(x_91, 2, x_87); -if (lean_is_scalar(x_86)) { - x_92 = lean_alloc_ctor(1, 1, 0); -} else { - x_92 = x_86; -} -lean_ctor_set(x_92, 0, x_91); -x_93 = lean_apply_2(x_4, x_90, x_92); -return x_93; -} -else -{ -lean_object* x_94; lean_object* x_95; -lean_dec(x_86); -lean_dec(x_84); -lean_dec(x_8); -lean_dec(x_4); -x_94 = lean_ctor_get(x_87, 0); -lean_inc(x_94); -lean_dec(x_87); -x_95 = lean_apply_3(x_3, x_25, x_82, x_94); -return x_95; -} -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_85); -lean_dec(x_84); -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - lean_ctor_release(x_82, 2); - x_96 = x_82; -} else { - lean_dec_ref(x_82); - x_96 = lean_box(0); -} -if (lean_is_scalar(x_96)) { - x_97 = lean_alloc_ctor(0, 3, 0); -} else { - x_97 = x_96; -} -lean_ctor_set(x_97, 0, x_83); -lean_ctor_set(x_97, 1, x_7); -lean_ctor_set(x_97, 2, x_8); -x_98 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_26); -x_99 = lean_apply_2(x_4, x_98, x_2); -return x_99; -} -} -else -{ -lean_object* x_100; lean_object* x_101; -lean_dec(x_83); -lean_dec(x_82); -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_3); -x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_5); -lean_ctor_set(x_100, 1, x_26); -x_101 = lean_apply_2(x_4, x_100, x_2); -return x_101; -} -} -} -} -} -} -else -{ -lean_object* x_102; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -x_102 = lean_apply_2(x_4, x_1, x_2); -return x_102; -} -} -else -{ -lean_object* x_103; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_103 = lean_apply_2(x_4, x_1, x_2); -return x_103; -} -} -else -{ -lean_object* x_104; -lean_dec(x_3); -x_104 = lean_apply_2(x_4, x_1, x_2); -return x_104; -} -} -} -lean_object* l_Lean_Syntax_removeParen_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_removeParen_match__1___rarg), 4, 0); -return x_2; -} -} -lean_object* l_Lean_Syntax_removeParen(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = l_myMacro____x40_Init_Notation___hyg_12458____closed__8; -x_5 = lean_name_eq(x_2, x_4); -if (x_5 == 0) -{ -lean_dec(x_3); -lean_dec(x_2); -return x_1; -} -else -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_1); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_7 = lean_ctor_get(x_1, 1); -lean_dec(x_7); -x_8 = lean_ctor_get(x_1, 0); -lean_dec(x_8); -lean_inc(x_3); -x_9 = l_Lean_instInhabitedSyntax; -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_array_get(x_9, x_3, x_10); -x_12 = l_Lean_Syntax_getNumArgs(x_11); -x_13 = lean_unsigned_to_nat(2u); -x_14 = lean_nat_dec_eq(x_12, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_dec(x_11); -lean_dec(x_3); -return x_1; -} -else -{ -lean_object* x_15; uint8_t x_16; -x_15 = l_Lean_Syntax_getArg(x_11, x_10); -x_16 = l_Lean_Syntax_isNone(x_15); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_dec(x_11); -lean_dec(x_3); -return x_1; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_unsigned_to_nat(0u); -x_18 = l_Lean_Syntax_getArg(x_11, x_17); -lean_dec(x_11); -x_19 = lean_array_get(x_9, x_3, x_13); -lean_dec(x_3); -if (lean_obj_tag(x_19) == 2) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Syntax_getTailInfo(x_18); -x_23 = lean_ctor_get(x_20, 0); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_20, 2); -lean_inc(x_25); -lean_dec(x_20); -if (lean_obj_tag(x_25) == 0) -{ -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_18); -return x_1; -} -else -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -lean_dec(x_25); -x_27 = l_prec_x28___x29___closed__7; -x_28 = lean_string_dec_eq(x_21, x_27); -lean_dec(x_21); -if (x_28 == 0) -{ -lean_dec(x_26); -lean_dec(x_22); -lean_dec(x_18); -return x_1; -} -else -{ -if (lean_obj_tag(x_22) == 0) -{ -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -else -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_22, 0); -lean_inc(x_29); -lean_dec(x_22); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_29); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_29, 2); -x_34 = lean_ctor_get(x_29, 1); -lean_dec(x_34); -x_35 = lean_ctor_get(x_29, 0); -lean_dec(x_35); -if (lean_obj_tag(x_33) == 0) -{ -lean_free_object(x_29); -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -else -{ -uint8_t x_36; -lean_dec(x_1); -x_36 = !lean_is_exclusive(x_33); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_37 = lean_ctor_get(x_33, 0); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -x_40 = lean_ctor_get(x_37, 2); -lean_inc(x_40); -lean_dec(x_37); -x_41 = lean_string_utf8_extract(x_38, x_39, x_40); -lean_dec(x_40); -lean_dec(x_39); -lean_dec(x_38); -x_42 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__2; -x_43 = lean_string_append(x_41, x_42); -x_44 = !lean_is_exclusive(x_26); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_45 = lean_ctor_get(x_26, 0); -x_46 = lean_ctor_get(x_26, 1); -x_47 = lean_ctor_get(x_26, 2); -x_48 = lean_string_utf8_extract(x_45, x_46, x_47); -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_45); -x_49 = lean_string_append(x_43, x_48); -lean_dec(x_48); -x_50 = lean_string_utf8_byte_size(x_49); -lean_ctor_set(x_26, 2, x_50); -lean_ctor_set(x_26, 1, x_17); -lean_ctor_set(x_26, 0, x_49); -lean_ctor_set(x_33, 0, x_26); -x_51 = l_Lean_Syntax_setTailInfo(x_18, x_29); -return x_51; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_52 = lean_ctor_get(x_26, 0); -x_53 = lean_ctor_get(x_26, 1); -x_54 = lean_ctor_get(x_26, 2); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_26); -x_55 = lean_string_utf8_extract(x_52, x_53, x_54); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_52); -x_56 = lean_string_append(x_43, x_55); -lean_dec(x_55); -x_57 = lean_string_utf8_byte_size(x_56); -x_58 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_17); -lean_ctor_set(x_58, 2, x_57); -lean_ctor_set(x_33, 0, x_58); -x_59 = l_Lean_Syntax_setTailInfo(x_18, x_29); -return x_59; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_60 = lean_ctor_get(x_33, 0); -lean_inc(x_60); -lean_dec(x_33); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -x_63 = lean_ctor_get(x_60, 2); -lean_inc(x_63); -lean_dec(x_60); -x_64 = lean_string_utf8_extract(x_61, x_62, x_63); -lean_dec(x_63); -lean_dec(x_62); -lean_dec(x_61); -x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__2; -x_66 = lean_string_append(x_64, x_65); -x_67 = lean_ctor_get(x_26, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_26, 1); -lean_inc(x_68); -x_69 = lean_ctor_get(x_26, 2); -lean_inc(x_69); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - x_70 = x_26; -} else { - lean_dec_ref(x_26); - x_70 = lean_box(0); -} -x_71 = lean_string_utf8_extract(x_67, x_68, x_69); -lean_dec(x_69); -lean_dec(x_68); -lean_dec(x_67); -x_72 = lean_string_append(x_66, x_71); -lean_dec(x_71); -x_73 = lean_string_utf8_byte_size(x_72); -if (lean_is_scalar(x_70)) { - x_74 = lean_alloc_ctor(0, 3, 0); -} else { - x_74 = x_70; -} -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_17); -lean_ctor_set(x_74, 2, x_73); -x_75 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_29, 2, x_75); -x_76 = l_Lean_Syntax_setTailInfo(x_18, x_29); -return x_76; -} -} -} -else -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_29, 2); -lean_inc(x_77); -lean_dec(x_29); -if (lean_obj_tag(x_77) == 0) -{ -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -lean_dec(x_1); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - x_79 = x_77; -} else { - lean_dec_ref(x_77); - x_79 = lean_box(0); -} -x_80 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_78, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_78, 2); -lean_inc(x_82); -lean_dec(x_78); -x_83 = lean_string_utf8_extract(x_80, x_81, x_82); -lean_dec(x_82); -lean_dec(x_81); -lean_dec(x_80); -x_84 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__2; -x_85 = lean_string_append(x_83, x_84); -x_86 = lean_ctor_get(x_26, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_26, 1); -lean_inc(x_87); -x_88 = lean_ctor_get(x_26, 2); -lean_inc(x_88); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - x_89 = x_26; -} else { - lean_dec_ref(x_26); - x_89 = lean_box(0); -} -x_90 = lean_string_utf8_extract(x_86, x_87, x_88); -lean_dec(x_88); -lean_dec(x_87); -lean_dec(x_86); -x_91 = lean_string_append(x_85, x_90); -lean_dec(x_90); -x_92 = lean_string_utf8_byte_size(x_91); -if (lean_is_scalar(x_89)) { - x_93 = lean_alloc_ctor(0, 3, 0); -} else { - x_93 = x_89; -} -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_17); -lean_ctor_set(x_93, 2, x_92); -if (lean_is_scalar(x_79)) { - x_94 = lean_alloc_ctor(1, 1, 0); -} else { - x_94 = x_79; -} -lean_ctor_set(x_94, 0, x_93); -x_95 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_95, 0, x_30); -lean_ctor_set(x_95, 1, x_31); -lean_ctor_set(x_95, 2, x_94); -x_96 = l_Lean_Syntax_setTailInfo(x_18, x_95); -return x_96; -} -} -} -else -{ -lean_dec(x_31); -lean_dec(x_29); -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -} -else -{ -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -} -} -} -} -else -{ -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_18); -return x_1; -} -} -else -{ -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_18); -return x_1; -} -} -else -{ -lean_dec(x_19); -lean_dec(x_18); -return x_1; -} -} -} -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -lean_dec(x_1); -lean_inc(x_3); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_2); -lean_ctor_set(x_97, 1, x_3); -x_98 = l_Lean_instInhabitedSyntax; -x_99 = lean_unsigned_to_nat(1u); -x_100 = lean_array_get(x_98, x_3, x_99); -x_101 = l_Lean_Syntax_getNumArgs(x_100); -x_102 = lean_unsigned_to_nat(2u); -x_103 = lean_nat_dec_eq(x_101, x_102); -lean_dec(x_101); -if (x_103 == 0) -{ -lean_dec(x_100); -lean_dec(x_3); -return x_97; -} -else -{ -lean_object* x_104; uint8_t x_105; -x_104 = l_Lean_Syntax_getArg(x_100, x_99); -x_105 = l_Lean_Syntax_isNone(x_104); -lean_dec(x_104); -if (x_105 == 0) -{ -lean_dec(x_100); -lean_dec(x_3); -return x_97; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_unsigned_to_nat(0u); -x_107 = l_Lean_Syntax_getArg(x_100, x_106); -lean_dec(x_100); -x_108 = lean_array_get(x_98, x_3, x_102); -lean_dec(x_3); -if (lean_obj_tag(x_108) == 2) -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec(x_108); -x_111 = l_Lean_Syntax_getTailInfo(x_107); -x_112 = lean_ctor_get(x_109, 0); -lean_inc(x_112); -if (lean_obj_tag(x_112) == 0) -{ -lean_object* x_113; -x_113 = lean_ctor_get(x_109, 1); -lean_inc(x_113); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; -x_114 = lean_ctor_get(x_109, 2); -lean_inc(x_114); -lean_dec(x_109); -if (lean_obj_tag(x_114) == 0) -{ -lean_dec(x_111); -lean_dec(x_110); -lean_dec(x_107); -return x_97; -} -else -{ -lean_object* x_115; lean_object* x_116; uint8_t x_117; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -lean_dec(x_114); -x_116 = l_prec_x28___x29___closed__7; -x_117 = lean_string_dec_eq(x_110, x_116); -lean_dec(x_110); -if (x_117 == 0) -{ -lean_dec(x_115); -lean_dec(x_111); -lean_dec(x_107); -return x_97; -} -else -{ -if (lean_obj_tag(x_111) == 0) -{ -lean_dec(x_115); -lean_dec(x_107); -return x_97; -} -else -{ -lean_object* x_118; lean_object* x_119; -x_118 = lean_ctor_get(x_111, 0); -lean_inc(x_118); -lean_dec(x_111); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -if (lean_obj_tag(x_119) == 0) -{ -lean_object* x_120; -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_118, 2); -lean_inc(x_121); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - lean_ctor_release(x_118, 2); - x_122 = x_118; -} else { - lean_dec_ref(x_118); - x_122 = lean_box(0); -} -if (lean_obj_tag(x_121) == 0) -{ -lean_dec(x_122); -lean_dec(x_115); -lean_dec(x_107); -return x_97; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -lean_dec(x_97); -x_123 = lean_ctor_get(x_121, 0); -lean_inc(x_123); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - x_124 = x_121; -} else { - lean_dec_ref(x_121); - x_124 = lean_box(0); -} -x_125 = lean_ctor_get(x_123, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_123, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_123, 2); -lean_inc(x_127); -lean_dec(x_123); -x_128 = lean_string_utf8_extract(x_125, x_126, x_127); -lean_dec(x_127); -lean_dec(x_126); -lean_dec(x_125); -x_129 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__2; -x_130 = lean_string_append(x_128, x_129); -x_131 = lean_ctor_get(x_115, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_115, 1); -lean_inc(x_132); -x_133 = lean_ctor_get(x_115, 2); -lean_inc(x_133); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - lean_ctor_release(x_115, 2); - x_134 = x_115; -} else { - lean_dec_ref(x_115); - x_134 = lean_box(0); -} -x_135 = lean_string_utf8_extract(x_131, x_132, x_133); -lean_dec(x_133); -lean_dec(x_132); -lean_dec(x_131); -x_136 = lean_string_append(x_130, x_135); -lean_dec(x_135); -x_137 = lean_string_utf8_byte_size(x_136); -if (lean_is_scalar(x_134)) { - x_138 = lean_alloc_ctor(0, 3, 0); -} else { - x_138 = x_134; -} -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_106); -lean_ctor_set(x_138, 2, x_137); -if (lean_is_scalar(x_124)) { - x_139 = lean_alloc_ctor(1, 1, 0); -} else { - x_139 = x_124; -} -lean_ctor_set(x_139, 0, x_138); -if (lean_is_scalar(x_122)) { - x_140 = lean_alloc_ctor(0, 3, 0); -} else { - x_140 = x_122; -} -lean_ctor_set(x_140, 0, x_119); -lean_ctor_set(x_140, 1, x_120); -lean_ctor_set(x_140, 2, x_139); -x_141 = l_Lean_Syntax_setTailInfo(x_107, x_140); -return x_141; -} -} -else -{ -lean_dec(x_120); -lean_dec(x_118); -lean_dec(x_115); -lean_dec(x_107); -return x_97; -} -} -else -{ -lean_dec(x_119); -lean_dec(x_118); -lean_dec(x_115); -lean_dec(x_107); -return x_97; -} -} -} -} -} -else -{ -lean_dec(x_113); -lean_dec(x_111); -lean_dec(x_110); -lean_dec(x_109); -lean_dec(x_107); -return x_97; -} -} -else -{ -lean_dec(x_112); -lean_dec(x_111); -lean_dec(x_110); -lean_dec(x_109); -lean_dec(x_107); -return x_97; -} -} -else -{ -lean_dec(x_108); -lean_dec(x_107); -return x_97; -} -} -} -} -} -} -else -{ -return x_1; -} -} -} -lean_object* initialize_Init(lean_object*); -lean_object* initialize_Lean_Parser_Basic(lean_object*); -static bool _G_initialized = false; -lean_object* initialize_Lean_Parser_Transform(lean_object* w) { -lean_object * res; -if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); -_G_initialized = true; -res = initialize_Init(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_Parser_Basic(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -return lean_io_result_mk_ok(lean_box(0)); -} -#ifdef __cplusplus -} -#endif diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c index 98ef0e6562..461a748044 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c @@ -195,9 +195,9 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_failure___boxed(lean_object*, lean extern lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___closed__4; lean_object* l_Lean_getPPCoercions___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__4; -extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_5890____closed__20; lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___closed__4; +extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20; lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__11; lean_object* l_Lean_PrettyPrinter_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; @@ -2111,7 +2111,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_5890____closed__20; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6168____closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; }